-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp-e0c21e6440ba1ec1346f.js
3 lines (3 loc) · 395 KB
/
app-e0c21e6440ba1ec1346f.js
1
2
3
/*! For license information please see app-e0c21e6440ba1ec1346f.js.LICENSE.txt */
(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[143],{2680:function(t,e,r){"use strict";r.d(e,{P:function(){return p}});var n=r(4925),o=r(4942),i=r(7294),a=r(3953),s=r(7066),c=r(5200),u=["children","isDisabled","__css"];function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){(0,o.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function d(t){return i.createElement(a.JO,f({focusable:"false","aria-hidden":!0},t),i.createElement("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}))}var p=(0,s.Gp)((function(t,e){var r=(0,s.mq)("CloseButton",t),o=(0,c.Lr)(t),a=o.children,l=o.isDisabled,p=o.__css,h=(0,n.Z)(o,u);return i.createElement(s.m$.button,f({type:"button","aria-label":"Close",ref:e,disabled:l,__css:f(f(f({},{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0}),r),p)},h),a||i.createElement(d,{width:"1em",height:"1em"}))}));p.displayName="CloseButton"},933:function(t,e,r){"use strict";r.d(e,{If:function(){return s},SG:function(){return g}});r(4942);var n=r(9439),o=(r(5743),r(7294)),i=r(7217);var a=(0,o.createContext)({});function s(){var t=(0,o.useContext)(a);if(void 0===t)throw new Error("useColorMode must be used within a ColorModeProvider");return t}a.displayName="ColorModeContext";var c="chakra-ui-light",u="chakra-ui-dark";var l="chakra-ui-color-mode";var f,d=(f=l,{ssr:!1,type:"localStorage",get:function(t){if(!(null==globalThis?void 0:globalThis.document))return t;var e;try{e=localStorage.getItem(f)||t}catch(r){}return e||t},set:function(t){try{localStorage.setItem(f,t)}catch(e){}}});function p(t,e){var r=t.match(new RegExp("(^| )".concat(e,"=([^;]+)")));return null==r?void 0:r[2]}function h(t,e){return{ssr:!!e,type:"cookie",get:function(r){return e?p(e,t):(null==globalThis?void 0:globalThis.document)&&p(document.cookie,t)||r},set:function(e){document.cookie="".concat(t,"=").concat(e,"; max-age=31536000; path=/")}}}h(l);var v=function(){};function m(t,e){return"cookie"===t.type&&t.ssr?t.get(e):e}function g(t){var e=t.value,r=t.children,s=t.options,l=(s=void 0===s?{}:s).useSystemColorMode,f=s.initialColorMode,p=s.disableTransitionOnChange,h=t.colorModeManager,g=void 0===h?d:h,y="dark"===f?"dark":"light",b=(0,o.useState)((function(){return m(g,y)})),w=(0,n.Z)(b,2),x=w[0],k=w[1],S=(0,o.useState)((function(){return m(g)})),O=(0,n.Z)(S,2),P=O[0],E=O[1],j=(0,o.useMemo)((function(){return function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).preventTransition,e=void 0===t||t,r={setDataset:function(t){var n=e?r.preventTransition():void 0;document.documentElement.dataset.theme=t,document.documentElement.style.colorScheme=t,null==n||n()},setClassName:function(t){document.body.classList.add(t?u:c),document.body.classList.remove(t?c:u)},query:function(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme:function(t){var e;return(null!==(e=r.query().matches)&&void 0!==e?e:"dark"===t)?"dark":"light"},addListener:function(t){var e=r.query(),n=function(e){t(e.matches?"dark":"light")};return"function"==typeof e.addListener?e.addListener(n):e.addEventListener("change",n),function(){"function"==typeof e.removeListener?e.removeListener(n):e.removeEventListener("change",n)}},preventTransition:function(){var t=document.createElement("style");return t.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),function(){window.getComputedStyle(document.body),requestAnimationFrame((function(){requestAnimationFrame((function(){document.head.removeChild(t)}))}))}}};return r}({preventTransition:p})}),[p]),C=j.getSystemTheme,A=j.setClassName,R=j.setDataset,_=j.addListener,T="system"!==f||x?x:P,D=(0,o.useCallback)((function(t){var e="system"===t?C():t;k(e),A("dark"===e),R(e),g.set(e)}),[g,C,A,R]);(0,i.G)((function(){"system"===f&&E(C())}),[]),(0,o.useEffect)((function(){var t=g.get();D(t||("system"!==f?y:"system"))}),[g,y,f,D]);var M=(0,o.useCallback)((function(){D("dark"===T?"light":"dark")}),[T,D]);(0,o.useEffect)((function(){if(l)return _(D)}),[l,_,D]);var Z=(0,o.useMemo)((function(){return{colorMode:null!=e?e:T,toggleColorMode:e?v:M,setColorMode:e?v:D,forced:void 0!==e}}),[T,M,D,e]);return o.createElement(a.Provider,{value:Z},r)}g.displayName="ColorModeProvider"},3953:function(t,e,r){"use strict";r.d(e,{JO:function(){return d}});var n=r(4942),o=r(4925),i=r(7294),a=r(7066),s=r(3410),c=["as","viewBox","color","focusable","children","className","__css"];function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var f={path:i.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},i.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),i.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),i.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},d=(0,a.Gp)((function(t,e){var r=t.as,n=t.viewBox,u=t.color,d=void 0===u?"currentColor":u,p=t.focusable,h=void 0!==p&&p,v=t.children,m=t.className,g=t.__css,y=(0,o.Z)(t,c),b={ref:e,focusable:h,className:(0,s.cx)("chakra-icon",m),__css:l({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:d},g)},w=null!=n?n:f.viewBox;if(r&&"string"!=typeof r)return i.createElement(a.m$.svg,l(l({as:r},b),y));var x=null!=v?v:f.path;return i.createElement(a.m$.svg,l(l({verticalAlign:"middle",viewBox:w},b),y),x)}));d.displayName="Icon"},4739:function(t,e,r){"use strict";r.d(e,{hE:function(){return g},h_:function(){return E}});var n=r(4942),o=r(4925),i=r(9439),a=r(7294),s=r(6219),c=r(7217),u=r(3935),l=["containerRef"];function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var p=(0,s.k)({strict:!1,name:"PortalManagerContext"}),h=(0,i.Z)(p,2),v=h[0],m=h[1];function g(t){var e=t.children,r=t.zIndex;return a.createElement(v,{value:{zIndex:r}},e)}g.displayName="PortalManager";var y=(0,s.k)({strict:!1,name:"PortalContext"}),b=(0,i.Z)(y,2),w=b[0],x=b[1],k="chakra-portal",S=function(t){return a.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:t.zIndex,top:0,left:0,right:0}},t.children)},O=function(t){var e=t.appendToParentPortal,r=t.children,n=(0,a.useState)(null),o=(0,i.Z)(n,2),s=o[0],l=o[1],f=(0,a.useRef)(null),d=(0,a.useState)({}),p=(0,i.Z)(d,2)[1];(0,a.useEffect)((function(){return p({})}),[]);var h=x(),v=m();(0,c.G)((function(){if(s){var t=s.ownerDocument,r=e&&null!=h?h:t.body;if(r){f.current=t.createElement("div"),f.current.className=k,r.appendChild(f.current),p({});var n=f.current;return function(){r.contains(n)&&r.removeChild(n)}}}}),[s]);var g=(null==v?void 0:v.zIndex)?a.createElement(S,{zIndex:null==v?void 0:v.zIndex},r):r;return f.current?(0,u.createPortal)(a.createElement(w,{value:f.current},g),f.current):a.createElement("span",{ref:function(t){t&&l(t)}})},P=function(t){var e=t.children,r=t.containerRef,n=t.appendToParentPortal,o=r.current,s=null!=o?o:"undefined"!=typeof window?document.body:void 0,l=(0,a.useMemo)((function(){var t=null==o?void 0:o.ownerDocument.createElement("div");return t&&(t.className=k),t}),[o]),f=(0,a.useState)({}),d=(0,i.Z)(f,2)[1];return(0,c.G)((function(){return d({})}),[]),(0,c.G)((function(){if(l&&s)return s.appendChild(l),function(){s.removeChild(l)}}),[l,s]),s&&l?(0,u.createPortal)(a.createElement(w,{value:n?l:null},e),l):null};function E(t){var e=t.containerRef,r=(0,o.Z)(t,l);return e?a.createElement(P,d({containerRef:e},r)):a.createElement(O,d({},r))}E.defaultProps={appendToParentPortal:!0},E.className=k,E.selector=".chakra-portal",E.displayName="Portal"},6219:function(t,e,r){"use strict";r.d(e,{k:function(){return i}});var n=r(7294);function o(t,e){return"".concat(t," returned `undefined`. Seems you forgot to wrap component within ").concat(e)}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.name,r=t.strict,i=void 0===r||r,a=t.hookName,s=void 0===a?"useContext":a,c=t.providerName,u=void 0===c?"Provider":c,l=t.errorMessage,f=(0,n.createContext)(void 0);function d(){var t,e=(0,n.useContext)(f);if(!e&&i){var r=new Error(null!=l?l:o(s,u));throw r.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,r,d),r}return e}return f.displayName=e,[f.Provider,d,f]}},7217:function(t,e,r){"use strict";r.d(e,{G:function(){return o}});r(5743);var n=r(7294),o=Boolean(null==globalThis?void 0:globalThis.document)?n.useLayoutEffect:n.useEffect},9037:function(t,e,r){"use strict";r.d(e,{xjn:function(){return yt}});var n=r(4942),o=r(4925),i=r(7294),a=r(3431),s="\n :root {\n --chakra-vh: 100vh;\n }\n\n @supports (height: -webkit-fill-available) {\n :root {\n --chakra-vh: -webkit-fill-available;\n }\n }\n\n @supports (height: -moz-fill-available) {\n :root {\n --chakra-vh: -moz-fill-available;\n }\n }\n\n @supports (height: 100lvh) {\n :root {\n --chakra-vh: 100lvh;\n }\n }\n",c=function(){return i.createElement(a.xB,{styles:s})},u=function(){return i.createElement(a.xB,{styles:'\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n font-family: system-ui, sans-serif;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: \'kern\';\n }\n\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n padding: 0.35em 0.75em 0.625em;\n }\n\n legend {\n box-sizing: border-box;\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type="checkbox"],\n [type="radio"] {\n box-sizing: border-box;\n padding: 0;\n }\n\n [type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type="number"] {\n -moz-appearance: textfield;\n }\n\n [type="search"] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type="search"]::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul {\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role="button"] {\n cursor: pointer;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]):not([data-focus-visible-disabled]) {\n outline: none;\n box-shadow: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n\n '.concat(s,"\n ")})},l=r(4739),f=r(7066),d=r(933),p=r(9439),h={body:{classList:{add:function(){},remove:function(){}}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}}},v=function(){},m="undefined"!=typeof window?{window:window,document:document}:{window:{document:h,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:v,removeEventListener:v,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:v,removeListener:v}},requestAnimationFrame:function(t){return"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){"undefined"!=typeof setTimeout&&clearTimeout(t)},setTimeout:function(){return 0},clearTimeout:v,setInterval:function(){return 0},clearInterval:v},document:h},g=(0,i.createContext)(m);function y(t){var e=t.children,r=t.environment,n=(0,i.useState)(null),o=(0,p.Z)(n,2),a=o[0],s=o[1],c=(0,i.useState)(!1),u=(0,p.Z)(c,2),l=u[0],f=u[1];(0,i.useEffect)((function(){return f(!0)}),[]);var d=(0,i.useMemo)((function(){if(r)return r;var t=null==a?void 0:a.ownerDocument,e=null==a?void 0:a.ownerDocument.defaultView;return t?{document:t,window:e}:m}),[a,r]);return i.createElement(g.Provider,{value:d},e,!r&&l&&i.createElement("span",{id:"__chakra_env",hidden:!0,ref:function(t){(0,i.startTransition)((function(){t&&s(t)}))}}))}g.displayName="EnvironmentContext",y.displayName="EnvironmentProvider";var b=function(t){var e=t.children,r=t.colorModeManager,n=t.portalZIndex,o=t.resetCSS,a=void 0===o||o,s=t.theme,p=void 0===s?{}:s,h=t.environment,v=t.cssVarsRoot,m=i.createElement(y,{environment:h},e);return i.createElement(f.f6,{theme:p,cssVarsRoot:v},i.createElement(d.SG,{colorModeManager:r,options:p.config},a?i.createElement(u,null):i.createElement(c,null),i.createElement(f.ZL,null),n?i.createElement(l.hE,{zIndex:n},m):m))},w=r(7284),x=r(3433),k=r(5200),S=r(6219),O=r(3953),P=r(8746),E=["status","addRole"];function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var A=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.filter(Boolean).join(" ")};function R(t){return i.createElement(O.JO,C({viewBox:"0 0 24 24"},t),i.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))}var _=(0,S.k)({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),T=(0,p.Z)(_,2),D=T[0],M=T[1],Z=(0,S.k)({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),B=(0,p.Z)(Z,2),I=B[0],L=B[1],z={info:{icon:function(t){return i.createElement(O.JO,C({viewBox:"0 0 24 24"},t),i.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"}))},colorScheme:"blue"},warning:{icon:R,colorScheme:"orange"},success:{icon:function(t){return i.createElement(O.JO,C({viewBox:"0 0 24 24"},t),i.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"}))},colorScheme:"green"},error:{icon:R,colorScheme:"red"},loading:{icon:P.$,colorScheme:"blue"}};var F=(0,f.Gp)((function(t,e){var r,n=(0,k.Lr)(t),a=n.status,s=void 0===a?"info":a,c=n.addRole,u=void 0===c||c,l=(0,o.Z)(n,E),d=null!==(r=t.colorScheme)&&void 0!==r?r:function(t){return z[t].colorScheme}(s),p=(0,f.jC)("Alert",C(C({},t),{},{colorScheme:d})),h=C({width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden"},p.container);return i.createElement(D,{value:{status:s}},i.createElement(I,{value:p},i.createElement(f.m$.div,C(C({role:u?"alert":void 0,ref:e},l),{},{className:A("chakra-alert",t.className),__css:h}))))}));F.displayName="Alert";var V=(0,f.Gp)((function(t,e){var r=C({display:"inline"},L().description);return i.createElement(f.m$.div,C(C({ref:e},t),{},{className:A("chakra-alert__desc",t.className),__css:r}))}));function W(t){var e=M().status,r=function(t){return z[t].icon}(e),n=L(),o="loading"===e?n.spinner:n.icon;return i.createElement(f.m$.span,C(C({display:"inherit"},t),{},{className:A("chakra-alert__icon",t.className),__css:o}),t.children||i.createElement(r,{h:"100%",w:"100%"}))}V.displayName="AlertDescription",W.displayName="AlertIcon";var N=(0,f.Gp)((function(t,e){var r=L();return i.createElement(f.m$.div,C(C({ref:e},t),{},{className:A("chakra-alert__title",t.className),__css:r.title}))}));N.displayName="AlertTitle";var H=r(2680),U=r(4567);function $(t,e){var r=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=(0,i.useRef)(t);return(0,i.useEffect)((function(){r.current=t})),(0,i.useCallback)((function(){for(var t,e,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return null==(e=r.current)?void 0:(t=e).call.apply(t,[r].concat(o))}),e)}(t);(0,i.useEffect)((function(){if(null!=e){var t;return t=window.setTimeout((function(){r()}),e),function(){t&&window.clearTimeout(t)}}}),[e,r])}function q(t,e){var r=(0,i.useRef)(!1),n=(0,i.useRef)(!1);(0,i.useEffect)((function(){if(r.current&&n.current)return t();n.current=!0}),e),(0,i.useEffect)((function(){return r.current=!0,function(){r.current=!1}}),[])}var G=r(5284),Y=r(9064);function X(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function J(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?X(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):X(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Q(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return K(t)?t.apply(void 0,r):t}var K=function(t){return"function"==typeof t};var tt=function(t,e){return t.find((function(t){return t.id===e}))};function et(t,e){var r=rt(t,e);return{position:r,index:r?t[r].findIndex((function(t){return t.id===e})):-1}}function rt(t,e){for(var r=0,n=Object.entries(t);r<n.length;r++){var o=(0,p.Z)(n[r],2),i=o[0],a=o[1];if(tt(a,e))return i}}function nt(t){return{position:"fixed",zIndex:5500,pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===t||"bottom"===t?"0 auto":void 0,top:t.includes("top")?"env(safe-area-inset-top, 0px)":void 0,bottom:t.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,right:t.includes("left")?void 0:"env(safe-area-inset-right, 0px)",left:t.includes("right")?void 0:"env(safe-area-inset-left, 0px)"}}var ot,it,at,st,ct=(it=ot={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},at=new Set,st=function(t){it=t(it),at.forEach((function(t){return t()}))},{getState:function(){return it},subscribe:function(t){return at.add(t),function(){st((function(){return ot})),at.delete(t)}},removeToast:function(t,e){st((function(r){return J(J({},r),{},(0,n.Z)({},e,r[e].filter((function(e){return e.id!=t}))))}))},notify:function(t,e){var r=function(t){var e,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ut+=1;var o=null!==(e=n.id)&&void 0!==e?e:ut,i=null!==(r=n.position)&&void 0!==r?r:"bottom";return{id:o,message:t,position:i,duration:n.duration,onCloseComplete:n.onCloseComplete,onRequestRemove:function(){return ct.removeToast(String(o),i)},status:n.status,requestClose:!1,containerStyle:n.containerStyle}}(t,e),o=r.position,i=r.id;return st((function(t){var e,i,a=o.includes("top")?[r].concat((0,x.Z)(null!==(e=t[o])&&void 0!==e?e:[])):[].concat((0,x.Z)(null!==(i=t[o])&&void 0!==i?i:[]),[r]);return J(J({},t),{},(0,n.Z)({},o,a))})),i},update:function(t,e){t&&st((function(r){var n=J({},r),o=et(n,t),i=o.position,a=o.index;return i&&-1!==a&&(n[i][a]=J(J(J({},n[i][a]),e),{},{message:ft(e)})),n}))},closeAll:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.positions;st((function(t){return(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((function(e,r){return e[r]=t[r].map((function(t){return J(J({},t),{},{requestClose:!0})})),e}),J({},t))}))},close:function(t){st((function(e){var r=rt(e,t);return r?J(J({},e),{},(0,n.Z)({},r,e[r].map((function(e){return e.id==t?J(J({},e),{},{requestClose:!0}):e})))):e}))},isActive:function(t){return Boolean(et(ct.getState(),t).position)}});var ut=0;var lt=function(t){var e=t.status,r=t.variant,n=void 0===r?"solid":r,o=t.id,a=t.title,s=t.isClosable,c=t.onClose,u=t.description,l=t.icon,d=o?{root:"toast-".concat(o),title:"toast-".concat(o,"-title"),description:"toast-".concat(o,"-description")}:void 0;return i.createElement(F,{addRole:!1,status:e,variant:n,id:null==d?void 0:d.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto"},i.createElement(W,null,l),i.createElement(f.m$.div,{flex:"1",maxWidth:"100%"},a&&i.createElement(N,{id:null==d?void 0:d.title},a),u&&i.createElement(V,{id:null==d?void 0:d.description,display:"block"},u)),s&&i.createElement(H.P,{size:"sm",onClick:c,position:"absolute",insetEnd:1,top:1}))};function ft(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.render,r=t.toastComponent,n=void 0===r?lt:r,o=function(r){return"function"==typeof e?e(J(J({},r),t)):i.createElement(n,J(J({},r),t))};return o}var dt={initial:function(t){var e=t.position,r=["top","bottom"].includes(e)?"y":"x",o=["top-right","bottom-right"].includes(e)?1:-1;return"bottom"===e&&(o=1),(0,n.Z)({opacity:0},r,24*o)},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},pt=(0,i.memo)((function(t){var e=t.id,r=t.message,n=t.onCloseComplete,o=t.onRequestRemove,a=t.requestClose,s=void 0!==a&&a,c=t.position,u=void 0===c?"bottom":c,l=t.duration,d=void 0===l?5e3:l,h=t.containerStyle,v=t.motionVariants,m=void 0===v?dt:v,g=t.toastSpacing,y=void 0===g?"0.5rem":g,b=(0,i.useState)(d),w=(0,p.Z)(b,2),x=w[0],k=w[1],S=(0,G.hO)();q((function(){S||null==n||n()}),[S]),q((function(){k(d)}),[d]);var O=function(){S&&o()};(0,i.useEffect)((function(){S&&s&&o()}),[S,s,o]),$(O,x);var P=(0,i.useMemo)((function(){return J({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:y},h)}),[h,y]),E=(0,i.useMemo)((function(){return function(t){var e="center";return t.includes("right")&&(e="flex-end"),t.includes("left")&&(e="flex-start"),{display:"flex",flexDirection:"column",alignItems:e}}(u)}),[u]);return i.createElement(Y.E.li,{layout:!0,className:"chakra-toast",variants:m,initial:"initial",animate:"animate",exit:"exit",onHoverStart:function(){return k(null)},onHoverEnd:function(){return k(d)},custom:{position:u},style:E},i.createElement(f.m$.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:P},Q(r,{id:e,onClose:O})))}));pt.displayName="ToastComponent";var ht=function(t){var e=(0,i.useSyncExternalStore)(ct.subscribe,ct.getState,ct.getState),r=t.children,n=t.motionVariants,o=t.component,a=void 0===o?pt:o,s=t.portalProps,c=Object.keys(e).map((function(t){var r=e[t];return i.createElement("ul",{role:"region","aria-live":"polite",key:t,id:"chakra-toast-manager-".concat(t),style:nt(t)},i.createElement(U.M,{initial:!1},r.map((function(t){return i.createElement(a,J({key:t.id,motionVariants:n},t))}))))}));return i.createElement(i.Fragment,null,r,i.createElement(l.h_,J({},s),c))};w.ZP;var vt=["children","theme","toastOptions"];function mt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function gt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?mt(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yt(t){var e=t.children,r=t.theme,n=void 0===r?w.rS:r,a=t.toastOptions,s=(0,o.Z)(t,vt);return i.createElement(b,gt({theme:n},s),e,i.createElement(ht,gt({},a)))}},3410:function(t,e,r){"use strict";r.d(e,{cx:function(){return n}});var n=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.filter(Boolean).join(" ")}},8746:function(t,e,r){"use strict";r.d(e,{$:function(){return p}});var n=r(4942),o=r(4925),i=r(7294),a=r(3431),s=r(7066),c=r(5200),u=["label","thickness","speed","emptyColor","className"];function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var d=(0,a.F4)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),p=(0,s.Gp)((function(t,e){var r=(0,s.mq)("Spinner",t),n=(0,c.Lr)(t),a=n.label,l=void 0===a?"Loading...":a,p=n.thickness,h=void 0===p?"2px":p,v=n.speed,m=void 0===v?"0.45s":v,g=n.emptyColor,y=void 0===g?"transparent":g,b=n.className,w=(0,o.Z)(n,u),x=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.filter(Boolean).join(" ")}("chakra-spinner",b),k=f({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:h,borderBottomColor:y,borderLeftColor:y,animation:"".concat(d," ").concat(m," linear infinite")},r);return i.createElement(s.m$.div,f({ref:e,__css:k,className:x},w),l&&i.createElement(s.m$.span,{srOnly:!0},l))}));p.displayName="Spinner"},5200:function(t,e,r){"use strict";r.d(e,{D:function(){return de},iv:function(){return ue},gJ:function(){return jt},k0:function(){return le},fj:function(){return fe},ZR:function(){return ie},Lr:function(){return ve},cC:function(){return ne},Ud:function(){return he},c0:function(){return te},fr:function(){return E}});var n=r(4925),o=r(3433),i=r(9439),a=r(3878),s=r(9199),c=r(181),u=r(5267);function l(t){return(0,a.Z)(t)||(0,s.Z)(t)||(0,c.Z)(t)||(0,u.Z)()}var f=r(136),d=r(9611),p=r(4942),h=(r(8559),r(3971)),v=r.n(h),m=["__cssMap","__cssVars","__breakpoints"];function g(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){(0,p.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function x(){x=function(t,e){return new r(t,void 0,e)};var t=RegExp.prototype,e=new WeakMap;function r(t,n,o){var i=new RegExp(t,n);return e.set(i,o||e.get(t)),(0,d.Z)(i,r.prototype)}function n(t,r){var n=e.get(r);return Object.keys(n).reduce((function(e,r){var o=n[r];if("number"==typeof o)e[r]=t[o];else{for(var i=0;void 0===t[o[i]]&&i+1<o.length;)i++;e[r]=t[o[i]]}return e}),Object.create(null))}return(0,f.Z)(r,RegExp),r.prototype.exec=function(e){var r=t.exec.call(this,e);return r&&(r.groups=n(r,this)),r},r.prototype[Symbol.replace]=function(r,o){if("string"==typeof o){var i=e.get(this);return t[Symbol.replace].call(this,r,o.replace(/\$<([^>]+)>/g,(function(t,e){return"$"+i[e]})))}if("function"==typeof o){var a=this;return t[Symbol.replace].call(this,r,(function(){var t=arguments;return"object"!=typeof t[t.length-1]&&(t=[].slice.call(t)).push(n(t,a)),o.apply(this,t)}))}return t[Symbol.replace].call(this,r,o)},x.apply(this,arguments)}function k(t){var e=typeof t;return null!=t&&("object"===e||"function"===e)&&!Array.isArray(t)}function S(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return O(t)?t.apply(void 0,r):t}var O=function(t){return"function"==typeof t},P=function(t){return"string"==typeof t?t.replace(/!(important)?$/,"").trim():t},E=function(t,e){return function(r){var n=String(e),o=function(t){return/!(important)?$/.test(t)}(n),i=P(n),a=t?"".concat(t,".").concat(i):i,s=k(r.__cssMap)&&a in r.__cssMap?r.__cssMap[a].varRef:e;return s=P(s),o?"".concat(s," !important"):s}};function j(t){var e=t.scale,r=t.transform,n=t.compose;return function(t,o){var i,a=E(e,t)(o),s=null!==(i=null==r?void 0:r(a,o))&&void 0!==i?i:a;return n&&(s=n(s,o)),s}}var C=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce((function(t,e){return e(t)}),t)}};function A(t,e){return function(r){var n={property:r,scale:t};return n.transform=j({scale:t,transform:e}),n}}var R=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];var _={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},T={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};var D={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},M="& > :not(style) ~ :not(style)",Z=(0,p.Z)({},M,{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}),B=(0,p.Z)({},M,{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}),I={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},L=new Set(Object.values(I)),z=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),F=function(t){return t.trim()};var V=function(t){return"string"==typeof t&&t.includes("(")&&t.includes(")")};var W=function(t){return function(e){return"".concat(t,"(").concat(e,")")}},N={filter:function(t){return"auto"!==t?t:_},backdropFilter:function(t){return"auto"!==t?t:T},ring:function(t){return function(t){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":t,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(N.px(t))},bgClip:function(t){return"text"===t?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}},transform:function(t){return"auto"===t?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))"].concat(R).join(" "):"auto-gpu"===t?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)"].concat(R).join(" "):t},vh:function(t){return"$100vh"===t?"var(--chakra-vh)":t},px:function(t){if(null==t)return t;var e=function(t){var e=parseFloat(t.toString()),r=t.toString().replace(String(e),"");return{unitless:!r,value:e,unit:r}}(t);return e.unitless||"number"==typeof t?"".concat(t,"px"):t},fraction:function(t){return"number"!=typeof t||t>1?t:"".concat(100*t,"%")},float:function(t,e){return"rtl"===e.direction?{left:"right",right:"left"}[t]:t},degree:function(t){if(function(t){return/^var\(--.+\)$/.test(t)}(t)||null==t)return t;var e="string"==typeof t&&!t.endsWith("deg");return"number"==typeof t||e?"".concat(t,"deg"):t},gradient:function(t,e){return function(t,e){var r,n;if(null==t||z.has(t))return t;var a=null!==(r=null==(n=x(/(^[a-z-A-Z]+)\(((.*))\)/g,{type:1,values:2}).exec(t))?void 0:n.groups)&&void 0!==r?r:{},s=a.type,c=a.values;if(!s||!c)return t;var u=s.includes("-gradient")?s:"".concat(s,"-gradient"),f=l(c.split(",").map(F).filter(Boolean)),d=f[0],p=f.slice(1);if(0===(null==p?void 0:p.length))return t;var h=d in I?I[d]:d;p.unshift(h);var v=p.map((function(t){if(L.has(t))return t;var r=t.indexOf(" "),n=-1!==r?[t.substr(0,r),t.substr(r+1)]:[t],a=(0,i.Z)(n,2),s=a[0],c=a[1],u=V(c)?c:c&&c.split(" "),l="colors.".concat(s),f=l in e.__cssMap?e.__cssMap[l].varRef:s;return u?[f].concat((0,o.Z)(Array.isArray(u)?u:[u])).join(" "):f}));return"".concat(u,"(").concat(v.join(", "),")")}(t,null!=e?e:{})},blur:W("blur"),opacity:W("opacity"),brightness:W("brightness"),contrast:W("contrast"),dropShadow:W("drop-shadow"),grayscale:W("grayscale"),hueRotate:W("hue-rotate"),invert:W("invert"),saturate:W("saturate"),sepia:W("sepia"),bgImage:function(t){return null==t||V(t)||z.has(t)?t:"url(".concat(t,")")},outline:function(t){var e="0"===String(t)||"none"===String(t);return null!==t&&e?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:t}},flexDirection:function(t){var e,r=null!==(e=D[t])&&void 0!==e?e:{},n=r.space,o=r.divide,i={flexDirection:t};return n&&(i[n]=1),o&&(i[o]=1),i}},H={borderWidths:A("borderWidths"),borderStyles:A("borderStyles"),colors:A("colors"),borders:A("borders"),radii:A("radii",N.px),space:A("space",C(N.vh,N.px)),spaceT:A("space",C(N.vh,N.px)),degreeT:function(t){return{property:t,transform:N.degree}},prop:function(t,e,r){return w({property:t,scale:e},e&&{transform:j({scale:e,transform:r})})},propT:function(t,e){return{property:t,transform:e}},sizes:A("sizes",C(N.vh,N.px)),sizesT:A("sizes",C(N.vh,N.fraction)),shadows:A("shadows"),logical:function(t){var e,r,n,o=t.property,i=t.scale,a=t.transform;return{scale:i,property:(e=o,r=e.rtl,n=e.ltr,function(t){return"rtl"===t.direction?r:n}),transform:i?j({scale:i,compose:a}):a}},blur:A("blur",N.blur)},U={background:H.colors("background"),backgroundColor:H.colors("backgroundColor"),backgroundImage:H.propT("backgroundImage",N.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:N.bgClip},bgSize:H.prop("backgroundSize"),bgPosition:H.prop("backgroundPosition"),bg:H.colors("background"),bgColor:H.colors("backgroundColor"),bgPos:H.prop("backgroundPosition"),bgRepeat:H.prop("backgroundRepeat"),bgAttachment:H.prop("backgroundAttachment"),bgGradient:H.propT("backgroundImage",N.gradient),bgClip:{transform:N.bgClip}};Object.assign(U,{bgImage:U.backgroundImage,bgImg:U.backgroundImage});var $={border:H.borders("border"),borderWidth:H.borderWidths("borderWidth"),borderStyle:H.borderStyles("borderStyle"),borderColor:H.colors("borderColor"),borderRadius:H.radii("borderRadius"),borderTop:H.borders("borderTop"),borderBlockStart:H.borders("borderBlockStart"),borderTopLeftRadius:H.radii("borderTopLeftRadius"),borderStartStartRadius:H.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:H.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:H.radii("borderTopRightRadius"),borderStartEndRadius:H.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:H.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:H.borders("borderRight"),borderInlineEnd:H.borders("borderInlineEnd"),borderBottom:H.borders("borderBottom"),borderBlockEnd:H.borders("borderBlockEnd"),borderBottomLeftRadius:H.radii("borderBottomLeftRadius"),borderBottomRightRadius:H.radii("borderBottomRightRadius"),borderLeft:H.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:H.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:H.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:H.borders(["borderLeft","borderRight"]),borderInline:H.borders("borderInline"),borderY:H.borders(["borderTop","borderBottom"]),borderBlock:H.borders("borderBlock"),borderTopWidth:H.borderWidths("borderTopWidth"),borderBlockStartWidth:H.borderWidths("borderBlockStartWidth"),borderTopColor:H.colors("borderTopColor"),borderBlockStartColor:H.colors("borderBlockStartColor"),borderTopStyle:H.borderStyles("borderTopStyle"),borderBlockStartStyle:H.borderStyles("borderBlockStartStyle"),borderBottomWidth:H.borderWidths("borderBottomWidth"),borderBlockEndWidth:H.borderWidths("borderBlockEndWidth"),borderBottomColor:H.colors("borderBottomColor"),borderBlockEndColor:H.colors("borderBlockEndColor"),borderBottomStyle:H.borderStyles("borderBottomStyle"),borderBlockEndStyle:H.borderStyles("borderBlockEndStyle"),borderLeftWidth:H.borderWidths("borderLeftWidth"),borderInlineStartWidth:H.borderWidths("borderInlineStartWidth"),borderLeftColor:H.colors("borderLeftColor"),borderInlineStartColor:H.colors("borderInlineStartColor"),borderLeftStyle:H.borderStyles("borderLeftStyle"),borderInlineStartStyle:H.borderStyles("borderInlineStartStyle"),borderRightWidth:H.borderWidths("borderRightWidth"),borderInlineEndWidth:H.borderWidths("borderInlineEndWidth"),borderRightColor:H.colors("borderRightColor"),borderInlineEndColor:H.colors("borderInlineEndColor"),borderRightStyle:H.borderStyles("borderRightStyle"),borderInlineEndStyle:H.borderStyles("borderInlineEndStyle"),borderTopRadius:H.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:H.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:H.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:H.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign($,{rounded:$.borderRadius,roundedTop:$.borderTopRadius,roundedTopLeft:$.borderTopLeftRadius,roundedTopRight:$.borderTopRightRadius,roundedTopStart:$.borderStartStartRadius,roundedTopEnd:$.borderStartEndRadius,roundedBottom:$.borderBottomRadius,roundedBottomLeft:$.borderBottomLeftRadius,roundedBottomRight:$.borderBottomRightRadius,roundedBottomStart:$.borderEndStartRadius,roundedBottomEnd:$.borderEndEndRadius,roundedLeft:$.borderLeftRadius,roundedRight:$.borderRightRadius,roundedStart:$.borderInlineStartRadius,roundedEnd:$.borderInlineEndRadius,borderStart:$.borderInlineStart,borderEnd:$.borderInlineEnd,borderTopStartRadius:$.borderStartStartRadius,borderTopEndRadius:$.borderStartEndRadius,borderBottomStartRadius:$.borderEndStartRadius,borderBottomEndRadius:$.borderEndEndRadius,borderStartRadius:$.borderInlineStartRadius,borderEndRadius:$.borderInlineEndRadius,borderStartWidth:$.borderInlineStartWidth,borderEndWidth:$.borderInlineEndWidth,borderStartColor:$.borderInlineStartColor,borderEndColor:$.borderInlineEndColor,borderStartStyle:$.borderInlineStartStyle,borderEndStyle:$.borderInlineEndStyle});var q={color:H.colors("color"),textColor:H.colors("color"),fill:H.colors("fill"),stroke:H.colors("stroke")},G={boxShadow:H.shadows("boxShadow"),mixBlendMode:!0,blendMode:H.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:H.prop("backgroundBlendMode"),opacity:!0};Object.assign(G,{shadow:G.boxShadow});var Y={filter:{transform:N.filter},blur:H.blur("--chakra-blur"),brightness:H.propT("--chakra-brightness",N.brightness),contrast:H.propT("--chakra-contrast",N.contrast),hueRotate:H.degreeT("--chakra-hue-rotate"),invert:H.propT("--chakra-invert",N.invert),saturate:H.propT("--chakra-saturate",N.saturate),dropShadow:H.propT("--chakra-drop-shadow",N.dropShadow),backdropFilter:{transform:N.backdropFilter},backdropBlur:H.blur("--chakra-backdrop-blur"),backdropBrightness:H.propT("--chakra-backdrop-brightness",N.brightness),backdropContrast:H.propT("--chakra-backdrop-contrast",N.contrast),backdropHueRotate:H.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:H.propT("--chakra-backdrop-invert",N.invert),backdropSaturate:H.propT("--chakra-backdrop-saturate",N.saturate)},X={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:N.flexDirection},experimental_spaceX:{static:Z,transform:j({scale:"space",transform:function(t){return null!==t?{"--chakra-space-x":t}:null}})},experimental_spaceY:{static:B,transform:j({scale:"space",transform:function(t){return null!=t?{"--chakra-space-y":t}:null}})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:H.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:H.space("gap"),rowGap:H.space("rowGap"),columnGap:H.space("columnGap")};Object.assign(X,{flexDir:X.flexDirection});var J={gridGap:H.space("gridGap"),gridColumnGap:H.space("gridColumnGap"),gridRowGap:H.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},Q={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:N.outline},outlineOffset:!0,outlineColor:H.colors("outlineColor")},K={width:H.sizesT("width"),inlineSize:H.sizesT("inlineSize"),height:H.sizes("height"),blockSize:H.sizes("blockSize"),boxSize:H.sizes(["width","height"]),minWidth:H.sizes("minWidth"),minInlineSize:H.sizes("minInlineSize"),minHeight:H.sizes("minHeight"),minBlockSize:H.sizes("minBlockSize"),maxWidth:H.sizes("maxWidth"),maxInlineSize:H.sizes("maxInlineSize"),maxHeight:H.sizes("maxHeight"),maxBlockSize:H.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:H.propT("float",N.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(K,{w:K.width,h:K.height,minW:K.minWidth,maxW:K.maxWidth,minH:K.minHeight,maxH:K.maxHeight,overscroll:K.overscrollBehavior,overscrollX:K.overscrollBehaviorX,overscrollY:K.overscrollBehaviorY});var tt={listStyleType:!0,listStylePosition:!0,listStylePos:H.prop("listStylePosition"),listStyleImage:!0,listStyleImg:H.prop("listStyleImage")};var et,rt,nt=(et=function(t,e,r,n){var o="string"==typeof e?e.split("."):[e];for(n=0;n<o.length&&t;n+=1)t=t[o[n]];return void 0===t?r:t},rt=new WeakMap,function(t,e,r,n){if(void 0===t)return et(t,e,r);rt.has(t)||rt.set(t,new Map);var o=rt.get(t);if(o.has(e))return o.get(e);var i=et(t,e,r,n);return o.set(e,i),i}),ot={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},it={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},at=function(t,e,r){var n={},o=nt(t,e,{});for(var i in o){i in r&&null!=r[i]||(n[i]=o[i])}return n},st={srOnly:{transform:function(t){return!0===t?ot:"focusable"===t?it:{}}},layerStyle:{processResult:!0,transform:function(t,e,r){return at(e,"layerStyles.".concat(t),r)}},textStyle:{processResult:!0,transform:function(t,e,r){return at(e,"textStyles.".concat(t),r)}},apply:{processResult:!0,transform:function(t,e,r){return at(e,t,r)}}},ct={position:!0,pos:H.prop("position"),zIndex:H.prop("zIndex","zIndices"),inset:H.spaceT("inset"),insetX:H.spaceT(["left","right"]),insetInline:H.spaceT("insetInline"),insetY:H.spaceT(["top","bottom"]),insetBlock:H.spaceT("insetBlock"),top:H.spaceT("top"),insetBlockStart:H.spaceT("insetBlockStart"),bottom:H.spaceT("bottom"),insetBlockEnd:H.spaceT("insetBlockEnd"),left:H.spaceT("left"),insetInlineStart:H.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:H.spaceT("right"),insetInlineEnd:H.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(ct,{insetStart:ct.insetInlineStart,insetEnd:ct.insetInlineEnd});var ut={ring:{transform:N.ring},ringColor:H.colors("--chakra-ring-color"),ringOffset:H.prop("--chakra-ring-offset-width"),ringOffsetColor:H.colors("--chakra-ring-offset-color"),ringInset:H.prop("--chakra-ring-inset")},lt={margin:H.spaceT("margin"),marginTop:H.spaceT("marginTop"),marginBlockStart:H.spaceT("marginBlockStart"),marginRight:H.spaceT("marginRight"),marginInlineEnd:H.spaceT("marginInlineEnd"),marginBottom:H.spaceT("marginBottom"),marginBlockEnd:H.spaceT("marginBlockEnd"),marginLeft:H.spaceT("marginLeft"),marginInlineStart:H.spaceT("marginInlineStart"),marginX:H.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:H.spaceT("marginInline"),marginY:H.spaceT(["marginTop","marginBottom"]),marginBlock:H.spaceT("marginBlock"),padding:H.space("padding"),paddingTop:H.space("paddingTop"),paddingBlockStart:H.space("paddingBlockStart"),paddingRight:H.space("paddingRight"),paddingBottom:H.space("paddingBottom"),paddingBlockEnd:H.space("paddingBlockEnd"),paddingLeft:H.space("paddingLeft"),paddingInlineStart:H.space("paddingInlineStart"),paddingInlineEnd:H.space("paddingInlineEnd"),paddingX:H.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:H.space("paddingInline"),paddingY:H.space(["paddingTop","paddingBottom"]),paddingBlock:H.space("paddingBlock")};Object.assign(lt,{m:lt.margin,mt:lt.marginTop,mr:lt.marginRight,me:lt.marginInlineEnd,marginEnd:lt.marginInlineEnd,mb:lt.marginBottom,ml:lt.marginLeft,ms:lt.marginInlineStart,marginStart:lt.marginInlineStart,mx:lt.marginX,my:lt.marginY,p:lt.padding,pt:lt.paddingTop,py:lt.paddingY,px:lt.paddingX,pb:lt.paddingBottom,pl:lt.paddingLeft,ps:lt.paddingInlineStart,paddingStart:lt.paddingInlineStart,pr:lt.paddingRight,pe:lt.paddingInlineEnd,paddingEnd:lt.paddingInlineEnd});var ft={textDecorationColor:H.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:H.shadows("textShadow")},dt={clipPath:!0,transform:H.propT("transform",N.transform),transformOrigin:!0,translateX:H.spaceT("--chakra-translate-x"),translateY:H.spaceT("--chakra-translate-y"),skewX:H.degreeT("--chakra-skew-x"),skewY:H.degreeT("--chakra-skew-y"),scaleX:H.prop("--chakra-scale-x"),scaleY:H.prop("--chakra-scale-y"),scale:H.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:H.degreeT("--chakra-rotate")},pt={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:H.prop("transitionDuration","transition.duration"),transitionProperty:H.prop("transitionProperty","transition.property"),transitionTimingFunction:H.prop("transitionTimingFunction","transition.easing")},ht={fontFamily:H.prop("fontFamily","fonts"),fontSize:H.prop("fontSize","fontSizes",N.px),fontWeight:H.prop("fontWeight","fontWeights"),lineHeight:H.prop("lineHeight","lineHeights"),letterSpacing:H.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},vt={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:H.spaceT("scrollMargin"),scrollMarginTop:H.spaceT("scrollMarginTop"),scrollMarginBottom:H.spaceT("scrollMarginBottom"),scrollMarginLeft:H.spaceT("scrollMarginLeft"),scrollMarginRight:H.spaceT("scrollMarginRight"),scrollMarginX:H.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:H.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:H.spaceT("scrollPadding"),scrollPaddingTop:H.spaceT("scrollPaddingTop"),scrollPaddingBottom:H.spaceT("scrollPaddingBottom"),scrollPaddingLeft:H.spaceT("scrollPaddingLeft"),scrollPaddingRight:H.spaceT("scrollPaddingRight"),scrollPaddingX:H.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:H.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function mt(t){return k(t)&&t.reference?t.reference:String(t)}var gt=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return r.map(mt).join(" ".concat(t," ")).replace(/calc/g,"")},yt=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return"calc(".concat(gt.apply(void 0,["+"].concat(e)),")")},bt=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return"calc(".concat(gt.apply(void 0,["-"].concat(e)),")")},wt=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return"calc(".concat(gt.apply(void 0,["*"].concat(e)),")")},xt=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return"calc(".concat(gt.apply(void 0,["/"].concat(e)),")")},kt=function(t){var e=mt(t);return null==e||Number.isNaN(parseFloat(e))?wt(e,-1):String(e).startsWith("-")?String(e).slice(1):"-".concat(e)},St=Object.assign((function(t){return{add:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return St(yt.apply(void 0,[t].concat(r)))},subtract:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return St(bt.apply(void 0,[t].concat(r)))},multiply:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return St(wt.apply(void 0,[t].concat(r)))},divide:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return St(xt.apply(void 0,[t].concat(r)))},negate:function(){return St(kt(t))},toString:function(){return t.toString()}}}),{add:yt,subtract:bt,multiply:wt,divide:xt,negate:kt});function Ot(t){var e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return t.replace(/\s+/g,e)}(t.toString());return function(t){return t.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(t){return t.includes("\\.")||Number.isInteger(parseFloat(t.toString()))?t:t.replace(".","\\.")}(e))}function Pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return[e,t].filter(Boolean).join("-")}function Et(t,e){return"var(".concat(t).concat(e?", ".concat(e):"",")")}function jt(t,e,r){var n=function(t){return Ot("--".concat(Pt(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")))}(t,r);return{variable:n,reference:Et(n,e)}}function Ct(t){if(null==t)return t;var e=function(t){var e=parseFloat(t.toString()),r=t.toString().replace(String(e),"");return{unitless:!r,value:e,unit:r}}(t);return e.unitless||"number"==typeof t?"".concat(t,"px"):t}var At=function(t,e){return parseInt(t[1],10)>parseInt(e[1],10)?1:-1},Rt=function(t){return Object.fromEntries(Object.entries(t).sort(At))};function _t(t){var e=Rt(t);return Object.assign(Object.values(e),e)}function Tt(t){var e;if(!t)return t;var r=(t=null!==(e=Ct(t))&&void 0!==e?e:t).endsWith("px")?-1:-.0625;return"number"==typeof t?"".concat(t+r):t.replace(/([0-9]+\.?[0-9]*)/,(function(t){return"".concat(parseFloat(t)+r)}))}function Dt(t,e){var r=["@media screen"];return t&&r.push("and","(min-width: ".concat(Ct(t),")")),e&&r.push("and","(max-width: ".concat(Ct(e),")")),r.join(" ")}function Mt(t){var e;if(!t)return null;t.base=null!==(e=t.base)&&void 0!==e?e:"0px";var r=_t(t),n=Object.entries(t).sort(At).map((function(t,e,r){var n,o=(0,i.Z)(t,2),a=o[0],s=o[1],c=null!==(n=r[e+1])&&void 0!==n?n:[],u=(0,i.Z)(c,2)[1];return u=parseFloat(u)>0?Tt(u):void 0,{_minW:Tt(s),breakpoint:a,minW:s,maxW:u,maxWQuery:Dt(null,u),minWQuery:Dt(s),minMaxQuery:Dt(s,u)}})),a=function(t){var e=Object.keys(Rt(t));return new Set(e)}(t),s=Array.from(a.values());return{keys:a,normalized:r,isResponsive:function(t){var e=Object.keys(t);return e.length>0&&e.every((function(t){return a.has(t)}))},asObject:Rt(t),asArray:_t(t),details:n,media:[null].concat((0,o.Z)(r.map((function(t){return Dt(t)})).slice(1))),toArrayValue:function(t){if(!k(t))throw new Error("toArrayValue: value must be an object");for(var e,r,n=s.map((function(e){var r;return null!==(r=t[e])&&void 0!==r?r:null}));null===(r=void 0,(r=null==(e=n)?0:e.length)?e[r-1]:void 0);)n.pop();return n},toObjectValue:function(t){if(!Array.isArray(t))throw new Error("toObjectValue: value must be an array");return t.reduce((function(t,e,r){var n=s[r];return null!=n&&null!=e&&(t[n]=e),t}),{})}}}var Zt=function(t,e){return"".concat(t,":hover ").concat(e,", ").concat(t,"[data-hover] ").concat(e)},Bt=function(t,e){return"".concat(t,":focus ").concat(e,", ").concat(t,"[data-focus] ").concat(e)},It=function(t,e){return"".concat(t,":focus-visible ").concat(e)},Lt=function(t,e){return"".concat(t,":focus-within ").concat(e)},zt=function(t,e){return"".concat(t,":active ").concat(e,", ").concat(t,"[data-active] ").concat(e)},Ft=function(t,e){return"".concat(t,":disabled ").concat(e,", ").concat(t,"[data-disabled] ").concat(e)},Vt=function(t,e){return"".concat(t,":invalid ").concat(e,", ").concat(t,"[data-invalid] ").concat(e)},Wt=function(t,e){return"".concat(t,":checked ").concat(e,", ").concat(t,"[data-checked] ").concat(e)},Nt=function(t,e){return"".concat(t,":placeholder-shown ").concat(e)},Ht=function(t){return $t((function(e){return t(e,"&")}),"[role=group]","[data-group]",".group")},Ut=function(t){return $t((function(e){return t(e,"~ &")}),"[data-peer]",".peer")},$t=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return r.map(t).join(", ")},qt={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:Ht(Zt),_peerHover:Ut(Zt),_groupFocus:Ht(Bt),_peerFocus:Ut(Bt),_groupFocusVisible:Ht(It),_peerFocusVisible:Ut(It),_groupActive:Ht(zt),_peerActive:Ut(zt),_groupDisabled:Ht(Ft),_peerDisabled:Ut(Ft),_groupInvalid:Ht(Vt),_peerInvalid:Ut(Vt),_groupChecked:Ht(Wt),_peerChecked:Ut(Wt),_groupFocusWithin:Ht(Lt),_peerFocusWithin:Ut(Lt),_peerPlaceholderShown:Ut(Nt),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},Gt=Object.keys(qt);function Yt(t,e){return jt(String(t).replace(/\./g,"-"),void 0,e)}function Xt(t,e){for(var r={},n={},o=function(){var o=(0,i.Z)(s[a],2),c=o[0],u=o[1],f=u.isSemantic,d=u.value,h=Yt(c,null==e?void 0:e.cssVarPrefix),m=h.variable,g=h.reference;if(!f){if(c.startsWith("space")){var y=l(c.split(".")),b=y[0],w=y.slice(1),x="".concat(b,".-").concat(w.join(".")),S=St.negate(d),O=St.negate(g);n[x]={value:S,var:m,varRef:O}}return r[m]=d,n[c]={value:d,var:m,varRef:g},"continue"}var P=k(d)?d:{default:d};r=v()(r,Object.entries(P).reduce((function(r,n){var o,a,s,u,l=(0,i.Z)(n,2),f=l[0],d=l[1],h=(s=d,u=[String(c).split(".")[0],s].join("."),t[u]?Yt(u,null==e?void 0:e.cssVarPrefix).reference:s);return"default"===f?(r[m]=h,r):(r[null!==(o=null==(a=qt)?void 0:a[f])&&void 0!==o?o:f]=(0,p.Z)({},m,h),r)}),{})),n[c]={value:g,var:m,varRef:g}},a=0,s=Object.entries(t);a<s.length;a++)o();return{cssVars:r,cssMap:n}}var Jt=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Qt(t){return function(t,e){var r,n={},o=g(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;i in t&&(n[i]=t[i])}}catch(a){o.e(a)}finally{o.f()}return n}(t,Jt)}function Kt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0;return(k(t)||Array.isArray(t))&&e?Object.entries(t).reduce((function(t,r){var n=(0,i.Z)(r,2),o=n[0],a=n[1];return k(a)||Array.isArray(a)?Object.entries(Kt(a,e-1)).forEach((function(e){var r=(0,i.Z)(e,2),n=r[0],a=r[1];t["".concat(o,".").concat(n)]=a})):t[o]=a,t}),{}):t}function te(t){var e,r=function(t){return t.__cssMap,t.__cssVars,t.__breakpoints,(0,n.Z)(t,m)}(t),a=Qt(r),s=function(t){return t.semanticTokens}(r),c=function(t){var e,r,n=t.tokens,a=t.semanticTokens,s=Object.entries(null!==(e=Kt(n))&&void 0!==e?e:{}).map((function(t){var e=(0,i.Z)(t,2);return[e[0],{isSemantic:!1,value:e[1]}]})),c=Object.entries(null!==(r=Kt(a,1))&&void 0!==r?r:{}).map((function(t){var e=(0,i.Z)(t,2);return[e[0],{isSemantic:!0,value:e[1]}]}));return Object.fromEntries([].concat((0,o.Z)(s),(0,o.Z)(c)))}({tokens:a,semanticTokens:s}),u=Xt(c,{cssVarPrefix:null==(e=r.config)?void 0:e.cssVarPrefix}),l=u.cssMap,f=u.cssVars;return Object.assign(r,{__cssVars:w(w({},{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"}),f),__cssMap:l,__breakpoints:Mt(r.breakpoints)}),r}var ee=v()({},U,$,q,X,K,Y,ut,Q,J,st,ct,G,lt,vt,ht,ft,dt,tt,pt),re=Object.assign({},lt,K,X,J,ct),ne=(Object.keys(re),[].concat((0,o.Z)(Object.keys(ee)),Gt)),oe=w(w({},ee),qt),ie=function(t){return t in oe},ae=function(t){return function(e){if(!e.__breakpoints)return t;var r=e.__breakpoints,n=r.isResponsive,o=r.toArrayValue,i=r.media,a={};for(var s in t){var c=S(t[s],e);if(null!=c)if(c=k(c)&&n(c)?o(c):c,Array.isArray(c))for(var u=c.slice(0,i.length).length,l=0;l<u;l+=1){var f=null==i?void 0:i[l];f?(a[f]=a[f]||{},null!=c[l]&&(a[f][s]=c[l])):a[s]=c[l]}else a[s]=c}return a}};var se=function(t,e){return t.startsWith("--")&&"string"==typeof e&&!function(t){return/^var\(--.+\)$/.test(t)}(e)},ce=function(t,e){var r,n;if(null==e)return e;var o=function(e){var r,n;return null==(n=null==(r=t.__cssMap)?void 0:r[e])?void 0:n.varRef},a=function(t){var e;return null!==(e=o(t))&&void 0!==e?e:t},s=function(t){for(var e=[],r="",n=!1,o=0;o<t.length;o++){var i=t[o];"("===i?(n=!0,r+=i):")"===i?(n=!1,r+=i):","!==i||n?r+=i:(e.push(r),r="")}return(r=r.trim())&&e.push(r),e}(e),c=(0,i.Z)(s,2),u=c[0],l=c[1];return e=null!==(r=null!==(n=o(u))&&void 0!==n?n:a(l))&&void 0!==r?r:a(e)};var ue=function(t){return function(e){var r=function(t){var e=t.configs,r=void 0===e?{}:e,n=t.pseudos,o=void 0===n?{}:n,i=t.theme;return function t(e){var n,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=S(e,i),c=ae(s)(i),u={};for(var l in c){var f,d=S(c[l],i);l in o&&(l=o[l]),se(l,d)&&(d=ce(i,d));var p=r[l];if(!0===p&&(p={property:l}),k(d)){var h;u[l]=null!==(h=u[l])&&void 0!==h?h:{},u[l]=v()({},u[l],t(d,!0))}else{var m=null!==(f=null==(n=null==p?void 0:p.transform)?void 0:n.call(p,d,i,s))&&void 0!==f?f:d;m=(null==p?void 0:p.processResult)?t(m,!0):m;var y=S(null==p?void 0:p.property,i);if(!a&&(null==p?void 0:p.static)){var b=S(p.static,i);u=v()({},u,b)}if(y&&Array.isArray(y)){var w,x=g(y);try{for(x.s();!(w=x.n()).done;){u[w.value]=m}}catch(O){x.e(O)}finally{x.f()}}else y?"&"===y&&k(m)?u=v()({},u,m):u[y]=m:k(m)?u=v()({},u,m):u[l]=m}}return u}}({theme:e,pseudos:qt,configs:ee});return r(t)}};function le(t){return t}function fe(t){return t}function de(t){return{definePartsStyle:function(t){return t},defineMultiStyleConfig:function(e){return w({parts:t},e)}}}function pe(t){var e=t.__breakpoints;return function(t,r,n,o){var i,a;if(e){var s={},c=function(t,e){return Array.isArray(t)?t:k(t)?e(t):null!=t?[t]:void 0}(n,e.toArrayValue);if(!c)return s;for(var u=c.length,l=1===u,f=!!t.parts,d=function(n){var u=e.details[n],d=e.details[function(t,e){for(var r=e+1;r<t.length;r++)if(null!=t[r])return r;return-1}(c,n)],h=Dt(u.minW,null==d?void 0:d._minW),m=S(null==(i=t[r])?void 0:i[c[n]],o);return m?f?(null==(a=t.parts)||a.forEach((function(t){v()(s,(0,p.Z)({},t,l?m[t]:(0,p.Z)({},h,m[t])))})),"continue"):f?void(s[h]=m):(l?v()(s,m):s[h]=m,"continue"):"continue"},h=0;h<u;h++)d(h);return s}}}function he(t){return function(e){var r,n=e.variant,o=e.size,i=pe(e.theme);return v()({},S(null!==(r=t.baseStyle)&&void 0!==r?r:{},e),i(t,"sizes",o,e),i(t,"variants",n,e))}}function ve(t){return function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},t),o=g(r);try{for(o.s();!(e=o.n()).done;){var i=e.value;i in n&&delete n[i]}}catch(a){o.e(a)}finally{o.f()}return n}(t,["styleConfig","size","variant","colorScheme"])}},7066:function(t,e,r){"use strict";r.d(e,{ZL:function(){return H},f6:function(){return F},m$:function(){return tt},Gp:function(){return Y},LP:function(){return z},jC:function(){return Q},mq:function(){return J},Fg:function(){return I}});var n=r(4925),o=r(3433),i=r(9439),a=r(4942),s=r(7294),c=r(933),u=r(3798);var l=r(5200),f=r(7684),d=r(3431),p=(r(434),r(7462)),h=r(9846),v=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,m=(0,h.Z)((function(t){return v.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})),g=r(4660),y=r(5594),b=r(4858),w=m,x=function(t){return"theme"!==t},k=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?w:x},S=function(t,e,r){var n;if(e){var o=e.shouldForwardProp;n=t.__emotion_forwardProp&&o?function(e){return t.__emotion_forwardProp(e)&&o(e)}:o}return"function"!=typeof n&&r&&(n=t.__emotion_forwardProp),n},O=function(t){var e=t.cache,r=t.serialized,n=t.isStringTag;(0,g.hC)(e,r,n);(0,b.L)((function(){return(0,g.My)(e,r,n)}));return null},P=function t(e,r){var n,o,i=e.__emotion_real===e,a=i&&e.__emotion_base||e;void 0!==r&&(n=r.label,o=r.target);var c=S(e,r,i),l=c||k(a),f=!l("as");return function(){var d=arguments,h=i&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==n&&h.push("label:"+n+";"),null==d[0]||void 0===d[0].raw)h.push.apply(h,d);else{0,h.push(d[0][0]);for(var v=d.length,m=1;m<v;m++)h.push(d[m],d[0][m])}var b=(0,u.w)((function(t,e,r){var n=f&&t.as||a,i="",d=[],p=t;if(null==t.theme){for(var v in p={},t)p[v]=t[v];p.theme=(0,s.useContext)(u.T)}"string"==typeof t.className?i=(0,g.fp)(e.registered,d,t.className):null!=t.className&&(i=t.className+" ");var m=(0,y.O)(h.concat(d),e.registered,p);i+=e.key+"-"+m.name,void 0!==o&&(i+=" "+o);var b=f&&void 0===c?k(n):l,w={};for(var x in t)f&&"as"===x||b(x)&&(w[x]=t[x]);return w.className=i,w.ref=r,(0,s.createElement)(s.Fragment,null,(0,s.createElement)(O,{cache:e,serialized:m,isStringTag:"string"==typeof n}),(0,s.createElement)(n,w))}));return b.displayName=void 0!==n?n:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",b.defaultProps=e.defaultProps,b.__emotion_real=b,b.__emotion_base=a,b.__emotion_styles=h,b.__emotion_forwardProp=c,Object.defineProperty(b,"toString",{value:function(){return"."+o}}),b.withComponent=function(e,n){return t(e,(0,p.Z)({},r,n,{shouldForwardProp:S(b,n,!0)})).apply(void 0,h)},b}},E=P.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(t){E[t]=E(t)}));var j=E,C=r(3971),A=r.n(C),R=r(2993),_=r.n(R),T=["theme","css","__css","sx"],D=["baseStyle"],M=["styleConfig"];function Z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(r),!0).forEach((function(e){(0,a.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function I(){var t=(0,s.useContext)(u.T);if(!t)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return t}function L(){var t=(0,c.If)(),e=I();return B(B({},t),{},{theme:e})}function z(t,e,r){var n=Array.isArray(e)?e:[e],o=Array.isArray(r)?r:[r];return function(r){var i=o.filter(Boolean),a=n.map((function(e,n){var o,a;if("breakpoints"===t)return function(t,e,r){var n,o;if(null==e)return e;var i=function(e){var r,n;return null==(n=null==(r=t.__breakpoints)?void 0:r.asArray)?void 0:n[e]};return null!==(n=null!==(o=i(e))&&void 0!==o?o:i(r))&&void 0!==n?n:r}(r,e,null!==(a=i[n])&&void 0!==a?a:e);var s="".concat(t,".").concat(e);return function(t,e,r){var n,o;if(null==e)return e;var i=function(e){var r,n;return null==(n=null==(r=t.__cssMap)?void 0:r[e])?void 0:n.value};return null!==(n=null!==(o=i(e))&&void 0!==o?o:i(r))&&void 0!==n?n:r}(r,s,null!==(o=i[n])&&void 0!==o?o:e)}));return Array.isArray(e)?a:a[0]}}function F(t){var e=t.cssVarsRoot,r=t.theme,n=t.children,o=(0,s.useMemo)((function(){return(0,l.c0)(r)}),[r]);return s.createElement(u.a,{theme:o},s.createElement(V,{root:e}),n)}function V(t){var e=t.root,r=[void 0===e?":host, :root":e,"[data-theme]"].join(",");return s.createElement(d.xB,{styles:function(t){return(0,a.Z)({},r,t.__cssVars)}})}var W=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.strict,r=void 0===e||e,n=t.errorMessage,o=void 0===n?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":n,i=t.name,a=(0,s.createContext)(void 0);function c(){var t,e=(0,s.useContext)(a);if(!e&&r){var n=new Error(o);throw n.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,n,c),n}return e}return a.displayName=i,[a.Provider,c,a]}({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),N=(0,i.Z)(W,2);N[0],N[1];function H(){var t=(0,c.If)().colorMode;return s.createElement(d.xB,{styles:function(e){var r=(0,f.Wf)(e,"styles.global"),n=(0,f.Pu)(r,{theme:e,colorMode:t});if(n){var o=(0,l.iv)(n)(e);return o}}})}var U=new Set([].concat((0,o.Z)(l.cC),["textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),$=new Set(["htmlWidth","htmlHeight","htmlSize"]);function q(t){return $.has(t)||!U.has(t)}function G(t,e){var r=null!=e?e:{},o=r.baseStyle,i=(0,n.Z)(r,D);i.shouldForwardProp||(i.shouldForwardProp=q);var a=function(t){var e=t.baseStyle;return function(t){t.theme;var r=t.css,o=t.__css,i=t.sx,a=(0,n.Z)(t,T),s=(0,f.lw)(a,(function(t,e){return(0,l.ZR)(e)})),c=(0,f.Pu)(e,t),u=Object.assign({},o,c,(0,f.YU)(s),i),d=(0,l.iv)(u)(t.theme);return r?[d,r]:d}}({baseStyle:o}),u=j(t,i)(a);return s.forwardRef((function(t,e){var r=(0,c.If)(),n=r.colorMode,o=r.forced;return s.createElement(u,B({ref:e,"data-theme":o?n:void 0},t))}))}function Y(t){return(0,s.forwardRef)(t)}function X(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.styleConfig,i=(0,n.Z)(r,M),a=L(),c=a.theme,u=a.colorMode,d=t?(0,f.Wf)(c,"components.".concat(t)):void 0,p=o||d,h=A()({theme:c,colorMode:u},null!==(e=null==p?void 0:p.defaultProps)&&void 0!==e?e:{},(0,f.YU)((0,f.CE)(i,["children"]))),v=(0,s.useRef)({});if(p){var m=(0,l.Ud)(p),g=m(h),y=_()(v.current,g);y||(v.current=g)}return v.current}function J(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return X(t,e)}function Q(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return X(t,e)}var K,tt=(K=new Map,new Proxy(G,{apply:function(t,e,r){return G.apply(void 0,(0,o.Z)(r))},get:function(t,e){return K.has(e)||K.set(e,G(e)),K.get(e)}}))},7284:function(t,e,r){"use strict";r.d(e,{ZP:function(){return Ui},gk:function(){return Ni},rS:function(){return Hi}});var n=r(4942),o=r(9439);r(8559);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=!1;function n(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}function a(){n();for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];for(var s=0,c=o;s<c.length;s++){var u=c[s];e[u]=l(u)}return i(t,e)}function s(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];for(var a=0,s=n;a<s.length;a++){var c=s[a];c in e||(e[c]=l(c))}return i(t,e)}function c(){return Object.fromEntries(Object.entries(e).map((function(t){var e=(0,o.Z)(t,2);return[e[0],e[1].selector]})))}function u(){return Object.fromEntries(Object.entries(e).map((function(t){var e=(0,o.Z)(t,2);return[e[0],e[1].className]})))}function l(e){var r=(["container","root"].includes(null!=e?e:"")?[t]:[t,e]).filter(Boolean).join("__"),n="chakra-".concat(r);return{className:n,selector:".".concat(n),toString:function(){return e}}}var f={};return{parts:a,toPart:l,extend:s,selectors:c,classnames:u,get keys(){return Object.keys(e)},__type:f}}var a=i("accordion").parts("root","container","button","panel").extend("icon"),s=i("alert").parts("title","description","container").extend("icon","spinner"),c=i("avatar").parts("label","badge","container").extend("excessLabel","group"),u=i("breadcrumb").parts("link","item","container").extend("separator"),l=(i("button").parts(),i("checkbox").parts("control","icon","container").extend("label")),f=(i("progress").parts("track","filledTrack").extend("label"),i("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),d=i("editable").parts("preview","input","textarea"),p=i("form").parts("container","requiredIndicator","helperText"),h=i("formError").parts("text","icon"),v=i("input").parts("addon","field","element"),m=i("list").parts("container","item","icon"),g=i("menu").parts("button","list","item").extend("groupTitle","command","divider"),y=i("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),b=i("numberinput").parts("root","field","stepperGroup","stepper"),w=(i("pininput").parts("field"),i("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),x=i("progress").parts("label","filledTrack","track"),k=i("radio").parts("container","control","label"),S=i("select").parts("field","icon"),O=i("slider").parts("container","track","thumb","filledTrack","mark"),P=i("stat").parts("container","label","helpText","number","icon"),E=i("switch").parts("container","track","thumb"),j=i("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),C=i("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),A=i("tag").parts("container","label","closeButton"),R=r(5200);function _(t,e){(function(t){return"string"==typeof t&&-1!==t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var r=function(t){return"string"==typeof t&&-1!==t.indexOf("%")}(t);return t=360===e?t:Math.min(e,Math.max(0,parseFloat(t))),r&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:t=360===e?(t<0?t%e+e:t%e)/parseFloat(String(e)):t%e/parseFloat(String(e))}function T(t){return Math.min(1,Math.max(0,t))}function D(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function M(t){return t<=1?"".concat(100*Number(t),"%"):t}function Z(t){return 1===t.length?"0"+t:String(t)}function B(t,e,r){t=_(t,255),e=_(e,255),r=_(r,255);var n=Math.max(t,e,r),o=Math.min(t,e,r),i=0,a=0,s=(n+o)/2;if(n===o)a=0,i=0;else{var c=n-o;switch(a=s>.5?c/(2-n-o):c/(n+o),n){case t:i=(e-r)/c+(e<r?6:0);break;case e:i=(r-t)/c+2;break;case r:i=(t-e)/c+4}i/=6}return{h:i,s:a,l:s}}function I(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*r*(e-t):r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function L(t,e,r){t=_(t,255),e=_(e,255),r=_(r,255);var n=Math.max(t,e,r),o=Math.min(t,e,r),i=0,a=n,s=n-o,c=0===n?0:s/n;if(n===o)i=0;else{switch(n){case t:i=(e-r)/s+(e<r?6:0);break;case e:i=(r-t)/s+2;break;case r:i=(t-e)/s+4}i/=6}return{h:i,s:c,v:a}}function z(t,e,r,n){var o=[Z(Math.round(t).toString(16)),Z(Math.round(e).toString(16)),Z(Math.round(r).toString(16))];return n&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function F(t){return Math.round(255*parseFloat(t)).toString(16)}function V(t){return W(t)/255}function W(t){return parseInt(t,16)}var N={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function H(t){var e,r,n,o={r:0,g:0,b:0},i=1,a=null,s=null,c=null,u=!1,l=!1;return"string"==typeof t&&(t=function(t){if(0===(t=t.trim().toLowerCase()).length)return!1;var e=!1;if(N[t])t=N[t],e=!0;else if("transparent"===t)return{r:0,g:0,b:0,a:0,format:"name"};var r=G.rgb.exec(t);if(r)return{r:r[1],g:r[2],b:r[3]};if(r=G.rgba.exec(t))return{r:r[1],g:r[2],b:r[3],a:r[4]};if(r=G.hsl.exec(t))return{h:r[1],s:r[2],l:r[3]};if(r=G.hsla.exec(t))return{h:r[1],s:r[2],l:r[3],a:r[4]};if(r=G.hsv.exec(t))return{h:r[1],s:r[2],v:r[3]};if(r=G.hsva.exec(t))return{h:r[1],s:r[2],v:r[3],a:r[4]};if(r=G.hex8.exec(t))return{r:W(r[1]),g:W(r[2]),b:W(r[3]),a:V(r[4]),format:e?"name":"hex8"};if(r=G.hex6.exec(t))return{r:W(r[1]),g:W(r[2]),b:W(r[3]),format:e?"name":"hex"};if(r=G.hex4.exec(t))return{r:W(r[1]+r[1]),g:W(r[2]+r[2]),b:W(r[3]+r[3]),a:V(r[4]+r[4]),format:e?"name":"hex8"};if(r=G.hex3.exec(t))return{r:W(r[1]+r[1]),g:W(r[2]+r[2]),b:W(r[3]+r[3]),format:e?"name":"hex"};return!1}(t)),"object"==typeof t&&(Y(t.r)&&Y(t.g)&&Y(t.b)?(e=t.r,r=t.g,n=t.b,o={r:255*_(e,255),g:255*_(r,255),b:255*_(n,255)},u=!0,l="%"===String(t.r).substr(-1)?"prgb":"rgb"):Y(t.h)&&Y(t.s)&&Y(t.v)?(a=M(t.s),s=M(t.v),o=function(t,e,r){t=6*_(t,360),e=_(e,100),r=_(r,100);var n=Math.floor(t),o=t-n,i=r*(1-e),a=r*(1-o*e),s=r*(1-(1-o)*e),c=n%6;return{r:255*[r,a,i,i,s,r][c],g:255*[s,r,r,a,i,i][c],b:255*[i,i,s,r,r,a][c]}}(t.h,a,s),u=!0,l="hsv"):Y(t.h)&&Y(t.s)&&Y(t.l)&&(a=M(t.s),c=M(t.l),o=function(t,e,r){var n,o,i;if(t=_(t,360),e=_(e,100),r=_(r,100),0===e)o=r,i=r,n=r;else{var a=r<.5?r*(1+e):r+e-r*e,s=2*r-a;n=I(s,a,t+1/3),o=I(s,a,t),i=I(s,a,t-1/3)}return{r:255*n,g:255*o,b:255*i}}(t.h,a,c),u=!0,l="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(i=t.a)),i=D(i),{ok:u,format:t.format||l,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:i}}var U="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),$="[\\s|\\(]+(".concat(U,")[,|\\s]+(").concat(U,")[,|\\s]+(").concat(U,")\\s*\\)?"),q="[\\s|\\(]+(".concat(U,")[,|\\s]+(").concat(U,")[,|\\s]+(").concat(U,")[,|\\s]+(").concat(U,")\\s*\\)?"),G={CSS_UNIT:new RegExp(U),rgb:new RegExp("rgb"+$),rgba:new RegExp("rgba"+q),hsl:new RegExp("hsl"+$),hsla:new RegExp("hsla"+q),hsv:new RegExp("hsv"+$),hsva:new RegExp("hsva"+q),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Y(t){return Boolean(G.CSS_UNIT.exec(String(t)))}var X=function(){function t(e,r){var n;if(void 0===e&&(e=""),void 0===r&&(r={}),e instanceof t)return e;"number"==typeof e&&(e=function(t){return{r:t>>16,g:(65280&t)>>8,b:255&t}}(e)),this.originalInput=e;var o=H(e);this.originalInput=e,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(n=r.format)&&void 0!==n?n:o.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},t.prototype.getLuminance=function(){var t=this.toRgb(),e=t.r/255,r=t.g/255,n=t.b/255;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(t){return this.a=D(t),this.roundA=Math.round(100*this.a)/100,this},t.prototype.toHsv=function(){var t=L(this.r,this.g,this.b);return{h:360*t.h,s:t.s,v:t.v,a:this.a}},t.prototype.toHsvString=function(){var t=L(this.r,this.g,this.b),e=Math.round(360*t.h),r=Math.round(100*t.s),n=Math.round(100*t.v);return 1===this.a?"hsv(".concat(e,", ").concat(r,"%, ").concat(n,"%)"):"hsva(".concat(e,", ").concat(r,"%, ").concat(n,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var t=B(this.r,this.g,this.b);return{h:360*t.h,s:t.s,l:t.l,a:this.a}},t.prototype.toHslString=function(){var t=B(this.r,this.g,this.b),e=Math.round(360*t.h),r=Math.round(100*t.s),n=Math.round(100*t.l);return 1===this.a?"hsl(".concat(e,", ").concat(r,"%, ").concat(n,"%)"):"hsla(".concat(e,", ").concat(r,"%, ").concat(n,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(t){return void 0===t&&(t=!1),z(this.r,this.g,this.b,t)},t.prototype.toHexString=function(t){return void 0===t&&(t=!1),"#"+this.toHex(t)},t.prototype.toHex8=function(t){return void 0===t&&(t=!1),function(t,e,r,n,o){var i=[Z(Math.round(t).toString(16)),Z(Math.round(e).toString(16)),Z(Math.round(r).toString(16)),Z(F(n))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this.r,this.g,this.b,this.a,t)},t.prototype.toHex8String=function(t){return void 0===t&&(t=!1),"#"+this.toHex8(t)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var t=Math.round(this.r),e=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb(".concat(t,", ").concat(e,", ").concat(r,")"):"rgba(".concat(t,", ").concat(e,", ").concat(r,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var t=function(t){return"".concat(Math.round(100*_(t,255)),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var t=function(t){return Math.round(100*_(t,255))};return 1===this.a?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var t="#"+z(this.r,this.g,this.b,!1),e=0,r=Object.entries(N);e<r.length;e++){var n=r[e],o=n[0];if(t===n[1])return o}return!1},t.prototype.toString=function(t){var e=Boolean(t);t=null!=t?t:this.format;var r=!1,n=this.a<1&&this.a>=0;return e||!n||!t.startsWith("hex")&&"name"!==t?("rgb"===t&&(r=this.toRgbString()),"prgb"===t&&(r=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(r=this.toHexString()),"hex3"===t&&(r=this.toHexString(!0)),"hex4"===t&&(r=this.toHex8String(!0)),"hex8"===t&&(r=this.toHex8String()),"name"===t&&(r=this.toName()),"hsl"===t&&(r=this.toHslString()),"hsv"===t&&(r=this.toHsvString()),r||this.toHexString()):"name"===t&&0===this.a?this.toName():this.toRgbString()},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(e){void 0===e&&(e=10);var r=this.toHsl();return r.l+=e/100,r.l=T(r.l),new t(r)},t.prototype.brighten=function(e){void 0===e&&(e=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-e/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-e/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-e/100*255))),new t(r)},t.prototype.darken=function(e){void 0===e&&(e=10);var r=this.toHsl();return r.l-=e/100,r.l=T(r.l),new t(r)},t.prototype.tint=function(t){return void 0===t&&(t=10),this.mix("white",t)},t.prototype.shade=function(t){return void 0===t&&(t=10),this.mix("black",t)},t.prototype.desaturate=function(e){void 0===e&&(e=10);var r=this.toHsl();return r.s-=e/100,r.s=T(r.s),new t(r)},t.prototype.saturate=function(e){void 0===e&&(e=10);var r=this.toHsl();return r.s+=e/100,r.s=T(r.s),new t(r)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(e){var r=this.toHsl(),n=(r.h+e)%360;return r.h=n<0?360+n:n,new t(r)},t.prototype.mix=function(e,r){void 0===r&&(r=50);var n=this.toRgb(),o=new t(e).toRgb(),i=r/100;return new t({r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a})},t.prototype.analogous=function(e,r){void 0===e&&(e=6),void 0===r&&(r=30);var n=this.toHsl(),o=360/r,i=[this];for(n.h=(n.h-(o*e>>1)+720)%360;--e;)n.h=(n.h+o)%360,i.push(new t(n));return i},t.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new t(e)},t.prototype.monochromatic=function(e){void 0===e&&(e=6);for(var r=this.toHsv(),n=r.h,o=r.s,i=r.v,a=[],s=1/e;e--;)a.push(new t({h:n,s:o,v:i})),i=(i+s)%1;return a},t.prototype.splitcomplement=function(){var e=this.toHsl(),r=e.h;return[this,new t({h:(r+72)%360,s:e.s,l:e.l}),new t({h:(r+216)%360,s:e.s,l:e.l})]},t.prototype.onBackground=function(e){var r=this.toRgb(),n=new t(e).toRgb();return new t({r:n.r+(r.r-n.r)*r.a,g:n.g+(r.g-n.g)*r.a,b:n.b+(r.b-n.b)*r.a})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(e){for(var r=this.toHsl(),n=r.h,o=[this],i=360/e,a=1;a<e;a++)o.push(new t({h:(n+a*i)%360,s:r.s,l:r.l}));return o},t.prototype.equals=function(e){return this.toRgbString()===new t(e).toRgbString()},t}();function J(t){if(void 0===t&&(t={}),void 0!==t.count&&null!==t.count){var e=t.count,r=[];for(t.count=void 0;e>r.length;)t.count=null,t.seed&&(t.seed+=1),r.push(J(t));return t.count=e,r}var n=function(t,e){var r=K(function(t){var e=parseInt(t,10);if(!Number.isNaN(e)&&e<360&&e>0)return[e,e];if("string"==typeof t){var r=et.find((function(e){return e.name===t}));if(r){var n=tt(r);if(n.hueRange)return n.hueRange}var o=new X(t);if(o.isValid){var i=o.toHsv().h;return[i,i]}}return[0,360]}(t),e);r<0&&(r=360+r);return r}(t.hue,t.seed),o=function(t,e){if("monochrome"===e.hue)return 0;if("random"===e.luminosity)return K([0,100],e.seed);var r=Q(t).saturationRange,n=r[0],o=r[1];switch(e.luminosity){case"bright":n=55;break;case"dark":n=o-10;break;case"light":o=55}return K([n,o],e.seed)}(n,t),i=function(t,e,r){var n=function(t,e){for(var r=Q(t).lowerBounds,n=0;n<r.length-1;n++){var o=r[n][0],i=r[n][1],a=r[n+1][0],s=r[n+1][1];if(e>=o&&e<=a){var c=(s-i)/(a-o);return c*e+(i-c*o)}}return 0}(t,e),o=100;switch(r.luminosity){case"dark":o=n+20;break;case"light":n=(o+n)/2;break;case"random":n=0,o=100}return K([n,o],r.seed)}(n,o,t),a={h:n,s:o,v:i};return void 0!==t.alpha&&(a.a=t.alpha),new X(a)}function Q(t){t>=334&&t<=360&&(t-=360);for(var e=0,r=et;e<r.length;e++){var n=tt(r[e]);if(n.hueRange&&t>=n.hueRange[0]&&t<=n.hueRange[1])return n}throw Error("Color not found")}function K(t,e){if(void 0===e)return Math.floor(t[0]+Math.random()*(t[1]+1-t[0]));var r=t[1]||1,n=t[0]||0,o=(e=(9301*e+49297)%233280)/233280;return Math.floor(n+o*(r-n))}function tt(t){var e=t.lowerBounds[0][0],r=t.lowerBounds[t.lowerBounds.length-1][0],n=t.lowerBounds[t.lowerBounds.length-1][1],o=t.lowerBounds[0][1];return{name:t.name,hueRange:t.hueRange,lowerBounds:t.lowerBounds,saturationRange:[e,r],brightnessRange:[n,o]}}var et=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}];var rt=function(t,e,r){var n=function(t,e,r,n,o){for(e=e.split?e.split("."):e,n=0;n<e.length;n++)t=t?t[e[n]]:o;return t===o?r:t}(t,"colors.".concat(e),e);return new X(n).isValid?n:r},nt=function(t){return function(e){var r=rt(e,t);return new X(r).isDark()?"dark":"light"}},ot=function(t,e){return function(r){var n=rt(r,t);return new X(n).setAlpha(e).toRgbString()}};function it(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"1rem",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgba(255, 255, 255, 0.15)";return{backgroundImage:"linear-gradient(\n 45deg,\n ".concat(e," 25%,\n transparent 25%,\n transparent 50%,\n ").concat(e," 50%,\n ").concat(e," 75%,\n transparent 75%,\n transparent\n )"),backgroundSize:"".concat(t," ").concat(t)}}function at(t){var e,r,n=J().toHexString();return t&&(e=t,0!==Object.keys(e).length)?t.string&&t.colors?function(t,e){var r=0;if(0===t.length)return e[0];for(var n=0;n<t.length;n+=1)r=t.charCodeAt(n)+((r<<5)-r),r&=r;return r=(r%e.length+e.length)%e.length,e[r]}(t.string,t.colors):t.string&&!t.colors?function(t){var e=0;if(0===t.length)return e.toString();for(var r=0;r<t.length;r+=1)e=t.charCodeAt(r)+((e<<5)-e),e&=e;for(var n="#",o=0;o<3;o+=1){n+="00".concat((e>>8*o&255).toString(16)).substr(-2)}return n}(t.string):t.colors&&!t.string?(r=t.colors)[Math.floor(Math.random()*r.length)]:n:n}function st(t,e){return function(r){return"dark"===r.colorMode?e:t}}function ct(t){var e=t.orientation,r=t.vertical,n=t.horizontal;return e?"vertical"===e?r:n:{}}function ut(t){return r=typeof(e=t),null==e||"object"!==r&&"function"!==r||Array.isArray(e)||!t.reference?String(t):t.reference;var e,r}var lt,ft,dt,pt,ht,vt,mt,gt,yt,bt,wt,xt,kt,St,Ot,Pt,Et,jt,Ct=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return r.map(ut).join(" ".concat(t," ")).replace(/calc/g,"")},At=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return"calc(".concat(Ct.apply(void 0,["+"].concat(e)),")")},Rt=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return"calc(".concat(Ct.apply(void 0,["-"].concat(e)),")")},_t=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return"calc(".concat(Ct.apply(void 0,["*"].concat(e)),")")},Tt=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return"calc(".concat(Ct.apply(void 0,["/"].concat(e)),")")},Dt=function(t){var e=ut(t);return null==e||Number.isNaN(parseFloat(e))?_t(e,-1):String(e).startsWith("-")?String(e).slice(1):"-".concat(e)},Mt=Object.assign((function(t){return{add:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return Mt(At.apply(void 0,[t].concat(r)))},subtract:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return Mt(Rt.apply(void 0,[t].concat(r)))},multiply:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return Mt(_t.apply(void 0,[t].concat(r)))},divide:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return Mt(Tt.apply(void 0,[t].concat(r)))},negate:function(){return Mt(Dt(t))},toString:function(){return t.toString()}}}),{add:At,subtract:Rt,multiply:_t,divide:Tt,negate:Dt});function Zt(t){var e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return t.replace(/\s+/g,e)}(t.toString());return e.includes("\\.")?t:function(t){return!Number.isInteger(parseFloat(t.toString()))}(t)?e.replace(".","\\."):t}function Bt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return[e,Zt(t)].filter(Boolean).join("-")}function It(t,e){return"var(".concat(Zt(t)).concat(e?", ".concat(e):"",")")}function Lt(t,e){var r=function(t){return"--".concat(Bt(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""))}(t,null==e?void 0:e.prefix);return{variable:r,reference:It(r,zt(null==e?void 0:e.fallback))}}function zt(t){return"string"==typeof t?t:null==t?void 0:t.reference}function Ft(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ft(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ft(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Wt=(0,R.D)(a.keys),Nt=Wt.definePartsStyle,Ht=(0,Wt.defineMultiStyleConfig)({baseStyle:Nt({container:(0,R.k0)({borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}}),button:(0,R.k0)({transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"}),panel:(0,R.k0)({pt:"2",px:"4",pb:"5"}),icon:(0,R.k0)({fontSize:"1.25em"})})}),Ut=(0,R.D)(s.keys),$t=Ut.definePartsStyle,qt=Ut.defineMultiStyleConfig,Gt=(0,R.gJ)("alert-fg"),Yt=(0,R.gJ)("alert-bg");function Xt(t){var e=t.theme,r=t.colorScheme,n=ot("".concat(r,".200"),.16)(e);return{light:"colors.".concat(r,".100"),dark:n}}var Jt=qt({baseStyle:$t({container:{bg:Yt.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Gt.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Gt.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:$t((function(t){var e,r,o=t.colorScheme,i=Xt(t);return{container:(r={},(0,n.Z)(r,Gt.variable,"colors.".concat(o,".500")),(0,n.Z)(r,Yt.variable,i.light),(0,n.Z)(r,"_dark",(e={},(0,n.Z)(e,Gt.variable,"colors.".concat(o,".200")),(0,n.Z)(e,Yt.variable,i.dark),e)),r)}})),"left-accent":$t((function(t){var e,r,o=t.colorScheme,i=Xt(t);return{container:(r={},(0,n.Z)(r,Gt.variable,"colors.".concat(o,".500")),(0,n.Z)(r,Yt.variable,i.light),(0,n.Z)(r,"_dark",(e={},(0,n.Z)(e,Gt.variable,"colors.".concat(o,".200")),(0,n.Z)(e,Yt.variable,i.dark),e)),(0,n.Z)(r,"paddingStart","3"),(0,n.Z)(r,"borderStartWidth","4px"),(0,n.Z)(r,"borderStartColor",Gt.reference),r)}})),"top-accent":$t((function(t){var e,r,o=t.colorScheme,i=Xt(t);return{container:(r={},(0,n.Z)(r,Gt.variable,"colors.".concat(o,".500")),(0,n.Z)(r,Yt.variable,i.light),(0,n.Z)(r,"_dark",(e={},(0,n.Z)(e,Gt.variable,"colors.".concat(o,".200")),(0,n.Z)(e,Yt.variable,i.dark),e)),(0,n.Z)(r,"pt","2"),(0,n.Z)(r,"borderTopWidth","4px"),(0,n.Z)(r,"borderTopColor",Gt.reference),r)}})),solid:$t((function(t){var e,r,o=t.colorScheme;return{container:(r={},(0,n.Z)(r,Gt.variable,"colors.white"),(0,n.Z)(r,Yt.variable,"colors.".concat(o,".500")),(0,n.Z)(r,"_dark",(e={},(0,n.Z)(e,Gt.variable,"colors.gray.900"),(0,n.Z)(e,Yt.variable,"colors.".concat(o,".200")),e)),(0,n.Z)(r,"color",Gt.reference),r)}}))},defaultProps:{variant:"subtle",colorScheme:"blue"}}),Qt={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},Kt=Vt(Vt(Vt({},Qt),{max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"}),{},{container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}}),te=function(t){return"function"==typeof t};function ee(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return te(t)?t.apply(void 0,r):t}var re=(0,R.D)(c.keys),ne=re.definePartsStyle,oe=re.defineMultiStyleConfig,ie=(0,R.gJ)("avatar-border-color"),ae=(0,R.gJ)("avatar-bg"),se=(0,R.k0)((lt={borderRadius:"full",border:"0.2em solid"},(0,n.Z)(lt,ie.variable,"white"),(0,n.Z)(lt,"_dark",(0,n.Z)({},ie.variable,"colors.gray.800")),(0,n.Z)(lt,"borderColor",ie.reference),lt)),ce=(0,R.k0)((ft={},(0,n.Z)(ft,ae.variable,"colors.gray.200"),(0,n.Z)(ft,"_dark",(0,n.Z)({},ae.variable,"colors.whiteAlpha.400")),(0,n.Z)(ft,"bgColor",ae.reference),ft)),ue=(0,R.gJ)("avatar-background"),le=(0,R.k0)((function(t){var e,r=t.name,o=t.theme,i=r?at({string:r}):"colors.gray.400",a=function(t){return function(e){return"dark"===nt(t)(e)}}(i)(o),s="white";return a||(s="gray.800"),e={bg:ue.reference,"&:not([data-loaded])":(0,n.Z)({},ue.variable,i),color:s},(0,n.Z)(e,ie.variable,"colors.white"),(0,n.Z)(e,"_dark",(0,n.Z)({},ie.variable,"colors.gray.800")),(0,n.Z)(e,"borderColor",ie.reference),(0,n.Z)(e,"verticalAlign","top"),e}));function fe(t){var e="100%"!==t?Kt[t]:void 0;return ne({container:{width:t,height:t,fontSize:"calc(".concat(null!=e?e:t," / 2.5)")},excessLabel:{width:t,height:t},label:{fontSize:"calc(".concat(null!=e?e:t," / 2.5)"),lineHeight:"100%"!==t?null!=e?e:t:void 0}})}var de=oe({baseStyle:ne((function(t){return{badge:ee(se,t),excessLabel:ee(ce,t),container:ee(le,t)}})),sizes:{"2xs":fe(4),xs:fe(6),sm:fe(8),md:fe(12),lg:fe(16),xl:fe(24),"2xl":fe(32),full:fe("100%")},defaultProps:{size:"md"}}),pe=(0,R.k0)({px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"}),he=(0,R.gJ)("badge-bg"),ve=(0,R.gJ)("badge-color"),me={solid:(0,R.k0)((function(t){var e,r,o=t.colorScheme,i=t.theme,a=ot("".concat(o,".500"),.6)(i);return r={},(0,n.Z)(r,he.variable,"colors.".concat(o,".500")),(0,n.Z)(r,ve.variable,"colors.white"),(0,n.Z)(r,"_dark",(e={},(0,n.Z)(e,he.variable,a),(0,n.Z)(e,ve.variable,"colors.whiteAlpha.800"),e)),(0,n.Z)(r,"bg",he.reference),(0,n.Z)(r,"color",ve.reference),r})),subtle:(0,R.k0)((function(t){var e,r,o=t.colorScheme,i=t.theme,a=ot("".concat(o,".200"),.16)(i);return r={},(0,n.Z)(r,he.variable,"colors.".concat(o,".100")),(0,n.Z)(r,ve.variable,"colors.".concat(o,".800")),(0,n.Z)(r,"_dark",(e={},(0,n.Z)(e,he.variable,a),(0,n.Z)(e,ve.variable,"colors.".concat(o,".200")),e)),(0,n.Z)(r,"bg",he.reference),(0,n.Z)(r,"color",ve.reference),r})),outline:(0,R.k0)((function(t){var e,r=t.colorScheme,o=t.theme,i=ot("".concat(r,".200"),.8)(o);return e={},(0,n.Z)(e,ve.variable,"colors.".concat(r,".500")),(0,n.Z)(e,"_dark",(0,n.Z)({},ve.variable,i)),(0,n.Z)(e,"color",ve.reference),(0,n.Z)(e,"boxShadow","inset 0 0 0px 1px ".concat(ve.reference)),e}))},ge=(0,R.fj)({baseStyle:pe,variants:me,defaultProps:{variant:"subtle",colorScheme:"gray"}}),ye=(0,R.D)(u.keys),be=(0,ye.defineMultiStyleConfig)({baseStyle:(0,ye.definePartsStyle)({link:(0,R.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}})})}),we=(0,R.k0)({lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}}),xe=(0,R.k0)((function(t){var e=t.colorScheme,r=t.theme;if("gray"===e)return{color:st("inherit","whiteAlpha.900")(t),_hover:{bg:st("gray.100","whiteAlpha.200")(t)},_active:{bg:st("gray.200","whiteAlpha.300")(t)}};var n=ot("".concat(e,".200"),.12)(r),o=ot("".concat(e,".200"),.24)(r);return{color:st("".concat(e,".600"),"".concat(e,".200"))(t),bg:"transparent",_hover:{bg:st("".concat(e,".50"),n)(t)},_active:{bg:st("".concat(e,".100"),o)(t)}}})),ke=(0,R.k0)((function(t){var e=t.colorScheme,r=st("gray.200","whiteAlpha.300")(t);return Vt({border:"1px solid",borderColor:"gray"===e?r:"currentColor",".chakra-button__group[data-attached] > &:not(:last-of-type)":{marginEnd:"-1px"}},ee(xe,t))})),Se={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Oe=(0,R.k0)((function(t){var e,r=t.colorScheme;if("gray"===r){var n=st("gray.100","whiteAlpha.200")(t);return{bg:n,_hover:{bg:st("gray.200","whiteAlpha.300")(t),_disabled:{bg:n}},_active:{bg:st("gray.300","whiteAlpha.400")(t)}}}var o=null!==(e=Se[r])&&void 0!==e?e:{},i=o.bg,a=void 0===i?"".concat(r,".500"):i,s=o.color,c=void 0===s?"white":s,u=o.hoverBg,l=void 0===u?"".concat(r,".600"):u,f=o.activeBg,d=void 0===f?"".concat(r,".700"):f,p=st(a,"".concat(r,".200"))(t);return{bg:p,color:st(c,"gray.800")(t),_hover:{bg:st(l,"".concat(r,".300"))(t),_disabled:{bg:p}},_active:{bg:st(d,"".concat(r,".400"))(t)}}})),Pe=(0,R.k0)((function(t){var e=t.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:st("".concat(e,".500"),"".concat(e,".200"))(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:st("".concat(e,".700"),"".concat(e,".500"))(t)}}})),Ee=(0,R.k0)({bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}),je={ghost:xe,outline:ke,solid:Oe,link:Pe,unstyled:Ee},Ce={lg:(0,R.k0)({h:"12",minW:"12",fontSize:"lg",px:"6"}),md:(0,R.k0)({h:"10",minW:"10",fontSize:"md",px:"4"}),sm:(0,R.k0)({h:"8",minW:"8",fontSize:"sm",px:"3"}),xs:(0,R.k0)({h:"6",minW:"6",fontSize:"xs",px:"2"})},Ae=(0,R.fj)({baseStyle:we,variants:je,sizes:Ce,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}}),Re=(0,R.D)(l.keys),_e=Re.definePartsStyle,Te=Re.defineMultiStyleConfig,De=(0,R.gJ)("checkbox-size"),Me=(0,R.k0)((function(t){var e=t.colorScheme;return{w:De.reference,h:De.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:st("".concat(e,".500"),"".concat(e,".200"))(t),borderColor:st("".concat(e,".500"),"".concat(e,".200"))(t),color:st("white","gray.900")(t),_hover:{bg:st("".concat(e,".600"),"".concat(e,".300"))(t),borderColor:st("".concat(e,".600"),"".concat(e,".300"))(t)},_disabled:{borderColor:st("gray.200","transparent")(t),bg:st("gray.200","whiteAlpha.300")(t),color:st("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:st("".concat(e,".500"),"".concat(e,".200"))(t),borderColor:st("".concat(e,".500"),"".concat(e,".200"))(t),color:st("white","gray.900")(t)},_disabled:{bg:st("gray.100","whiteAlpha.100")(t),borderColor:st("gray.100","transparent")(t)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:st("red.500","red.300")(t)}}})),Ze=(0,R.k0)({_disabled:{cursor:"not-allowed"}}),Be=(0,R.k0)({userSelect:"none",_disabled:{opacity:.4}}),Ie=(0,R.k0)({transitionProperty:"transform",transitionDuration:"normal"}),Le=Te({baseStyle:_e((function(t){return{icon:Ie,container:Ze,control:ee(Me,t),label:Be}})),sizes:{sm:_e({control:(0,n.Z)({},De.variable,"sizes.3"),label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:_e({control:(0,n.Z)({},De.variable,"sizes.4"),label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:_e({control:(0,n.Z)({},De.variable,"sizes.5"),label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),ze=Lt("close-button-size"),Fe=(0,R.k0)((function(t){var e=st("blackAlpha.100","whiteAlpha.100")(t),r=st("blackAlpha.200","whiteAlpha.200")(t);return{w:[ze.reference],h:[ze.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:e},_active:{bg:r},_focusVisible:{boxShadow:"outline"}}})),Ve={lg:(0,R.k0)((dt={},(0,n.Z)(dt,ze.variable,"sizes.10"),(0,n.Z)(dt,"fontSize","md"),dt)),md:(0,R.k0)((pt={},(0,n.Z)(pt,ze.variable,"sizes.8"),(0,n.Z)(pt,"fontSize","xs"),pt)),sm:(0,R.k0)((ht={},(0,n.Z)(ht,ze.variable,"sizes.6"),(0,n.Z)(ht,"fontSize","2xs"),ht))},We=(0,R.fj)({baseStyle:Fe,sizes:Ve,defaultProps:{size:"md"}}),Ne=ge.variants,He=ge.defaultProps,Ue=(0,R.k0)({fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"}),$e=(0,R.fj)({baseStyle:Ue,variants:Ne,defaultProps:He}),qe=(0,R.k0)({w:"100%",mx:"auto",maxW:"prose",px:"4"}),Ge=(0,R.fj)({baseStyle:qe}),Ye=(0,R.k0)({opacity:.6,borderColor:"inherit"}),Xe={solid:(0,R.k0)({borderStyle:"solid"}),dashed:(0,R.k0)({borderStyle:"dashed"})},Je=(0,R.fj)({baseStyle:Ye,variants:Xe,defaultProps:{variant:"solid"}}),Qe=(0,R.D)(f.keys),Ke=Qe.definePartsStyle,tr=Qe.defineMultiStyleConfig;function er(t){return Ke("full"===t?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:t}})}var rr=(0,R.k0)({bg:"blackAlpha.600",zIndex:"overlay"}),nr=(0,R.k0)({display:"flex",zIndex:"modal",justifyContent:"center"}),or=(0,R.k0)((function(t){return Vt(Vt({},t.isFullHeight&&{height:"100vh"}),{},{zIndex:"modal",maxH:"100vh",bg:st("white","gray.700")(t),color:"inherit",boxShadow:st("lg","dark-lg")(t)})})),ir=(0,R.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),ar=(0,R.k0)({position:"absolute",top:"2",insetEnd:"3"}),sr=(0,R.k0)({px:"6",py:"2",flex:"1",overflow:"auto"}),cr=(0,R.k0)({px:"6",py:"4"}),ur=tr({baseStyle:Ke((function(t){return{overlay:rr,dialogContainer:nr,dialog:ee(or,t),header:ir,closeButton:ar,body:sr,footer:cr}})),sizes:{xs:er("xs"),sm:er("md"),md:er("lg"),lg:er("2xl"),xl:er("4xl"),full:er("full")},defaultProps:{size:"xs"}}),lr=(0,R.D)(d.keys),fr=lr.definePartsStyle,dr=(0,lr.defineMultiStyleConfig)({baseStyle:fr({preview:(0,R.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"}),input:(0,R.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}),textarea:(0,R.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}})})}),pr=(0,R.D)(p.keys),hr=pr.definePartsStyle,vr=pr.defineMultiStyleConfig,mr=(0,R.k0)((function(t){return{marginStart:"1",color:st("red.500","red.300")(t)}})),gr=(0,R.k0)((function(t){return{mt:"2",color:st("gray.600","whiteAlpha.600")(t),lineHeight:"normal",fontSize:"sm"}})),yr=vr({baseStyle:hr((function(t){return{container:{width:"100%",position:"relative"},requiredIndicator:ee(mr,t),helperText:ee(gr,t)}}))}),br=(0,R.D)(h.keys),wr=br.definePartsStyle,xr=br.defineMultiStyleConfig,kr=(0,R.k0)((function(t){return{color:st("red.500","red.300")(t),mt:"2",fontSize:"sm",lineHeight:"normal"}})),Sr=(0,R.k0)((function(t){return{marginEnd:"0.5em",color:st("red.500","red.300")(t)}})),Or=xr({baseStyle:wr((function(t){return{text:ee(kr,t),icon:ee(Sr,t)}}))}),Pr=(0,R.k0)({fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}),Er=(0,R.fj)({baseStyle:Pr}),jr=(0,R.k0)({fontFamily:"heading",fontWeight:"bold"}),Cr={"4xl":(0,R.k0)({fontSize:["6xl",null,"7xl"],lineHeight:1}),"3xl":(0,R.k0)({fontSize:["5xl",null,"6xl"],lineHeight:1}),"2xl":(0,R.k0)({fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]}),xl:(0,R.k0)({fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]}),lg:(0,R.k0)({fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]}),md:(0,R.k0)({fontSize:"xl",lineHeight:1.2}),sm:(0,R.k0)({fontSize:"md",lineHeight:1.2}),xs:(0,R.k0)({fontSize:"sm",lineHeight:1.2})},Ar=(0,R.fj)({baseStyle:jr,sizes:Cr,defaultProps:{size:"xl"}}),Rr=(0,R.D)(v.keys),_r=Rr.definePartsStyle,Tr=Rr.defineMultiStyleConfig,Dr=_r({field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Mr={lg:(0,R.k0)({fontSize:"lg",px:"4",h:"12",borderRadius:"md"}),md:(0,R.k0)({fontSize:"md",px:"4",h:"10",borderRadius:"md"}),sm:(0,R.k0)({fontSize:"sm",px:"3",h:"8",borderRadius:"sm"}),xs:(0,R.k0)({fontSize:"xs",px:"2",h:"6",borderRadius:"sm"})};function Zr(t){var e=t.focusBorderColor,r=t.errorBorderColor;return{focusBorderColor:e||st("blue.500","blue.300")(t),errorBorderColor:r||st("red.500","red.300")(t)}}var Br=Tr({baseStyle:Dr,sizes:{lg:_r({field:Mr.lg,addon:Mr.lg}),md:_r({field:Mr.md,addon:Mr.md}),sm:_r({field:Mr.sm,addon:Mr.sm}),xs:_r({field:Mr.xs,addon:Mr.xs})},variants:{outline:_r((function(t){var e=t.theme,r=Zr(t),n=r.focusBorderColor,o=r.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:st("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:rt(e,o),boxShadow:"0 0 0 1px ".concat(rt(e,o))},_focusVisible:{zIndex:1,borderColor:rt(e,n),boxShadow:"0 0 0 1px ".concat(rt(e,n))}},addon:{border:"1px solid",borderColor:st("inherit","whiteAlpha.50")(t),bg:st("gray.100","whiteAlpha.300")(t)}}})),filled:_r((function(t){var e=t.theme,r=Zr(t),n=r.focusBorderColor,o=r.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:st("gray.100","whiteAlpha.50")(t),_hover:{bg:st("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:rt(e,o)},_focusVisible:{bg:"transparent",borderColor:rt(e,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:st("gray.100","whiteAlpha.50")(t)}}})),flushed:_r((function(t){var e=t.theme,r=Zr(t),n=r.focusBorderColor,o=r.errorBorderColor;return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:rt(e,o),boxShadow:"0px 1px 0px 0px ".concat(rt(e,o))},_focusVisible:{borderColor:rt(e,n),boxShadow:"0px 1px 0px 0px ".concat(rt(e,n))}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}})),unstyled:_r({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),Ir=(0,R.k0)((function(t){return{bg:st("gray.100","whiteAlpha")(t),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}})),Lr=(0,R.fj)({baseStyle:Ir}),zr=(0,R.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}),Fr=(0,R.fj)({baseStyle:zr}),Vr=(0,R.D)(m.keys),Wr=(0,Vr.defineMultiStyleConfig)({baseStyle:(0,Vr.definePartsStyle)({icon:(0,R.k0)({marginEnd:"2",display:"inline",verticalAlign:"text-bottom"})})}),Nr=(0,R.D)(g.keys),Hr=Nr.defineMultiStyleConfig,Ur=Nr.definePartsStyle,$r=(0,R.k0)((function(t){return{bg:st("#fff","gray.700")(t),boxShadow:st("sm","dark-lg")(t),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}})),qr=(0,R.k0)((function(t){return{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:st("gray.100","whiteAlpha.100")(t)},_active:{bg:st("gray.200","whiteAlpha.200")(t)},_expanded:{bg:st("gray.100","whiteAlpha.100")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}})),Gr=(0,R.k0)({mx:4,my:2,fontWeight:"semibold",fontSize:"sm"}),Yr=(0,R.k0)({opacity:.6}),Xr=(0,R.k0)({border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}),Jr=(0,R.k0)({transitionProperty:"common",transitionDuration:"normal"}),Qr=Hr({baseStyle:Ur((function(t){return{button:Jr,list:ee($r,t),item:ee(qr,t),groupTitle:Gr,command:Yr,divider:Xr}}))}),Kr=(0,R.D)(y.keys),tn=Kr.defineMultiStyleConfig,en=Kr.definePartsStyle,rn=(0,R.k0)({bg:"blackAlpha.600",zIndex:"modal"}),nn=(0,R.k0)((function(t){return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t.isCentered?"center":"flex-start",overflow:"inside"===t.scrollBehavior?"hidden":"auto"}})),on=(0,R.k0)((function(t){var e=t.scrollBehavior;return{borderRadius:"md",bg:st("white","gray.700")(t),color:"inherit",my:"16",zIndex:"modal",maxH:"inside"===e?"calc(100% - 7.5rem)":void 0,boxShadow:st("lg","dark-lg")(t)}})),an=(0,R.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),sn=(0,R.k0)({position:"absolute",top:"2",insetEnd:"3"}),cn=(0,R.k0)((function(t){return{px:"6",py:"2",flex:"1",overflow:"inside"===t.scrollBehavior?"auto":void 0}})),un=(0,R.k0)({px:"6",py:"4"});function ln(t){return en("full"===t?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:t}})}var fn=tn({baseStyle:en((function(t){return{overlay:rn,dialogContainer:ee(nn,t),dialog:ee(on,t),header:an,closeButton:sn,body:ee(cn,t),footer:un}})),sizes:{xs:ln("xs"),sm:ln("sm"),md:ln("md"),lg:ln("lg"),xl:ln("xl"),"2xl":ln("2xl"),"3xl":ln("3xl"),"4xl":ln("4xl"),"5xl":ln("5xl"),"6xl":ln("6xl"),full:ln("full")},defaultProps:{size:"md"}}),dn={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},pn=(0,R.D)(b.keys),hn=pn.defineMultiStyleConfig,vn=pn.definePartsStyle,mn=Lt("number-input-stepper-width"),gn=Lt("number-input-input-padding"),yn=Mt(mn).add("0.5rem").toString(),bn=(0,R.k0)((vt={},(0,n.Z)(vt,mn.variable,"sizes.6"),(0,n.Z)(vt,gn.variable,yn),vt)),wn=(0,R.k0)((function(t){var e,r;return null!==(e=null==(r=ee(Br.baseStyle,t))?void 0:r.field)&&void 0!==e?e:{}})),xn=(0,R.k0)({width:[mn.reference]}),kn=(0,R.k0)((function(t){return{borderStart:"1px solid",borderStartColor:st("inherit","whiteAlpha.300")(t),color:st("inherit","whiteAlpha.800")(t),_active:{bg:st("gray.200","whiteAlpha.300")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}}));function Sn(t){var e,r,n,o=null==(r=Br.sizes)?void 0:r[t],i={lg:"md",md:"md",sm:"sm",xs:"sm"},a=null!==(e=null==(n=o.field)?void 0:n.fontSize)&&void 0!==e?e:"md",s=dn.fontSizes[a];return vn({field:Vt(Vt({},o.field),{},{paddingInlineEnd:gn.reference,verticalAlign:"top"}),stepper:{fontSize:Mt(s).multiply(.75).toString(),_first:{borderTopEndRadius:i[t]},_last:{borderBottomEndRadius:i[t],mt:"-1px",borderTopWidth:1}}})}var On,Pn,En,jn,Cn,An,Rn,_n,Tn,Dn,Mn,Zn,Bn,In,Ln,zn,Fn=hn({baseStyle:vn((function(t){var e,r;return{root:bn,field:null!==(e=ee(wn,t))&&void 0!==e?e:{},stepperGroup:xn,stepper:null!==(r=ee(kn,t))&&void 0!==r?r:{}}})),sizes:{xs:Sn("xs"),sm:Sn("sm"),md:Sn("md"),lg:Sn("lg")},variants:Br.variants,defaultProps:Br.defaultProps}),Vn=(0,R.k0)(Vt(Vt({},null==(On=Br.baseStyle)?void 0:On.field),{},{textAlign:"center"})),Wn={lg:(0,R.k0)({fontSize:"lg",w:12,h:12,borderRadius:"md"}),md:(0,R.k0)({fontSize:"md",w:10,h:10,borderRadius:"md"}),sm:(0,R.k0)({fontSize:"sm",w:8,h:8,borderRadius:"sm"}),xs:(0,R.k0)({fontSize:"xs",w:6,h:6,borderRadius:"sm"})},Nn={outline:(0,R.k0)((function(t){var e,r,n;return null!==(e=null==(n=ee(null==(r=Br.variants)?void 0:r.outline,t))?void 0:n.field)&&void 0!==e?e:{}})),flushed:(0,R.k0)((function(t){var e,r,n;return null!==(e=null==(n=ee(null==(r=Br.variants)?void 0:r.flushed,t))?void 0:n.field)&&void 0!==e?e:{}})),filled:(0,R.k0)((function(t){var e,r,n;return null!==(e=null==(n=ee(null==(r=Br.variants)?void 0:r.filled,t))?void 0:n.field)&&void 0!==e?e:{}})),unstyled:null!==(mt=null==(Pn=Br.variants)?void 0:Pn.unstyled.field)&&void 0!==mt?mt:{}},Hn=(0,R.fj)({baseStyle:Vn,sizes:Wn,variants:Nn,defaultProps:Br.defaultProps}),Un=(0,R.D)(w.keys),$n=Un.defineMultiStyleConfig,qn=Un.definePartsStyle,Gn=Lt("popper-bg"),Yn=Lt("popper-arrow-bg"),Xn=Lt("popper-arrow-shadow-color"),Jn=(0,R.k0)({zIndex:10}),Qn=(0,R.k0)((function(t){var e,r=st("white","gray.700")(t),o=st("gray.200","whiteAlpha.300")(t);return e={},(0,n.Z)(e,Gn.variable,"colors.".concat(r)),(0,n.Z)(e,"bg",Gn.reference),(0,n.Z)(e,Yn.variable,Gn.reference),(0,n.Z)(e,Xn.variable,"colors.".concat(o)),(0,n.Z)(e,"width","xs"),(0,n.Z)(e,"border","1px solid"),(0,n.Z)(e,"borderColor","inherit"),(0,n.Z)(e,"borderRadius","md"),(0,n.Z)(e,"boxShadow","sm"),(0,n.Z)(e,"zIndex","inherit"),(0,n.Z)(e,"_focusVisible",{outline:0,boxShadow:"outline"}),e})),Kn=(0,R.k0)({px:3,py:2,borderBottomWidth:"1px"}),to=(0,R.k0)({px:3,py:2}),eo=(0,R.k0)({px:3,py:2,borderTopWidth:"1px"}),ro=(0,R.k0)({position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2}),no=$n({baseStyle:qn((function(t){return{popper:Jn,content:Qn(t),header:Kn,body:to,footer:eo,closeButton:ro}}))}),oo=(0,R.D)(x.keys),io=oo.defineMultiStyleConfig,ao=oo.definePartsStyle,so=(0,R.k0)((function(t){var e=t.colorScheme,r=t.theme,n=t.isIndeterminate,o=t.hasStripe,i=st(it(),it("1rem","rgba(0,0,0,0.1)"))(t),a=st("".concat(e,".500"),"".concat(e,".200"))(t),s="linear-gradient(\n to right,\n transparent 0%,\n ".concat(rt(r,a)," 50%,\n transparent 100%\n )");return Vt(Vt({},!n&&o&&i),n?{bgImage:s}:{bgColor:a})})),co=(0,R.k0)({lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"}),uo=(0,R.k0)((function(t){return{bg:st("gray.100","whiteAlpha.300")(t)}})),lo=(0,R.k0)((function(t){return Vt({transitionProperty:"common",transitionDuration:"slow"},so(t))})),fo=ao((function(t){return{label:co,filledTrack:lo(t),track:uo(t)}})),po=io({sizes:{xs:ao({track:{h:"1"}}),sm:ao({track:{h:"2"}}),md:ao({track:{h:"3"}}),lg:ao({track:{h:"4"}})},baseStyle:fo,defaultProps:{size:"md",colorScheme:"blue"}}),ho=(0,R.D)(k.keys),vo=ho.defineMultiStyleConfig,mo=ho.definePartsStyle,go=(0,R.k0)((function(t){var e,r=null==(e=ee(Le.baseStyle,t))?void 0:e.control;return Vt(Vt({},r),{},{borderRadius:"full",_checked:Vt(Vt({},null==r?void 0:r._checked),{},{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})})),yo=vo({baseStyle:mo((function(t){var e,r,n,o;return{label:null==(r=(e=Le).baseStyle)?void 0:r.call(e,t).label,container:null==(o=(n=Le).baseStyle)?void 0:o.call(n,t).container,control:go(t)}})),sizes:{md:mo({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:mo({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:mo({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),bo=(0,R.D)(S.keys),wo=bo.defineMultiStyleConfig,xo=bo.definePartsStyle,ko=(0,R.k0)((function(t){var e;return Vt(Vt({},null==(e=Br.baseStyle)?void 0:e.field),{},{bg:st("white","gray.700")(t),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:st("white","gray.700")(t)}})})),So=(0,R.k0)({width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}),Oo=xo((function(t){return{field:ko(t),icon:So}})),Po=(0,R.k0)({paddingInlineEnd:"8"}),Eo=wo({baseStyle:Oo,sizes:{lg:Vt(Vt({},null==(En=Br.sizes)?void 0:En.lg),{},{field:Vt(Vt({},null==(jn=Br.sizes)?void 0:jn.lg.field),Po)}),md:Vt(Vt({},null==(Cn=Br.sizes)?void 0:Cn.md),{},{field:Vt(Vt({},null==(An=Br.sizes)?void 0:An.md.field),Po)}),sm:Vt(Vt({},null==(Rn=Br.sizes)?void 0:Rn.sm),{},{field:Vt(Vt({},null==(_n=Br.sizes)?void 0:_n.sm.field),Po)}),xs:Vt(Vt({},null==(Tn=Br.sizes)?void 0:Tn.xs),{},{field:Vt(Vt({},null==(Dn=Br.sizes)?void 0:Dn.xs.field),Po),icon:{insetEnd:"1"}})},variants:Br.variants,defaultProps:Br.defaultProps}),jo=(0,R.gJ)("skeleton-start-color"),Co=(0,R.gJ)("skeleton-end-color"),Ao=(0,R.k0)((function(t){var e,r=st("gray.100","gray.800")(t),o=st("gray.400","gray.600")(t),i=t.startColor,a=void 0===i?r:i,s=t.endColor,c=void 0===s?o:s,u=t.theme,l=rt(u,a),f=rt(u,c);return e={},(0,n.Z)(e,jo.variable,l),(0,n.Z)(e,Co.variable,f),(0,n.Z)(e,"opacity",.7),(0,n.Z)(e,"borderRadius","2px"),(0,n.Z)(e,"borderColor",l),(0,n.Z)(e,"background",f),e})),Ro=(0,R.fj)({baseStyle:Ao}),_o=(0,R.k0)((function(t){return{borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",bg:st("white","gray.700")(t)}}})),To=(0,R.fj)({baseStyle:_o}),Do=(0,R.D)(O.keys),Mo=Do.defineMultiStyleConfig,Zo=Do.definePartsStyle,Bo=(0,R.gJ)("slider-thumb-size"),Io=(0,R.gJ)("slider-track-size"),Lo=(0,R.k0)((function(t){return Vt({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},ct({orientation:t.orientation,vertical:{h:"100%"},horizontal:{w:"100%"}}))})),zo=(0,R.k0)((function(t){return Vt(Vt({},ct({orientation:t.orientation,horizontal:{h:Io.reference},vertical:{w:Io.reference}})),{},{overflow:"hidden",borderRadius:"sm",bg:st("gray.200","whiteAlpha.200")(t),_disabled:{bg:st("gray.300","whiteAlpha.300")(t)}})})),Fo=(0,R.k0)((function(t){return Vt(Vt({},ct({orientation:t.orientation,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}})),{},{w:Bo.reference,h:Bo.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}})})),Vo=(0,R.k0)((function(t){var e=t.colorScheme;return{width:"inherit",height:"inherit",bg:st("".concat(e,".500"),"".concat(e,".200"))(t)}})),Wo=Mo({baseStyle:Zo((function(t){return{container:Lo(t),track:zo(t),thumb:Fo(t),filledTrack:Vo(t)}})),sizes:{lg:Zo({container:(gt={},(0,n.Z)(gt,Bo.variable,"sizes.4"),(0,n.Z)(gt,Io.variable,"sizes.1"),gt)}),md:Zo({container:(yt={},(0,n.Z)(yt,Bo.variable,"sizes.3.5"),(0,n.Z)(yt,Io.variable,"sizes.1"),yt)}),sm:Zo({container:(bt={},(0,n.Z)(bt,Bo.variable,"sizes.2.5"),(0,n.Z)(bt,Io.variable,"sizes.0.5"),bt)})},defaultProps:{size:"md",colorScheme:"blue"}}),No=Lt("spinner-size"),Ho=(0,R.k0)({width:[No.reference],height:[No.reference]}),Uo={xs:(0,R.k0)((0,n.Z)({},No.variable,"sizes.3")),sm:(0,R.k0)((0,n.Z)({},No.variable,"sizes.4")),md:(0,R.k0)((0,n.Z)({},No.variable,"sizes.6")),lg:(0,R.k0)((0,n.Z)({},No.variable,"sizes.8")),xl:(0,R.k0)((0,n.Z)({},No.variable,"sizes.12"))},$o=(0,R.fj)({baseStyle:Ho,sizes:Uo,defaultProps:{size:"md"}}),qo=(0,R.D)(P.keys),Go=qo.defineMultiStyleConfig,Yo=qo.definePartsStyle,Xo=Go({baseStyle:Yo({container:{},label:(0,R.k0)({fontWeight:"medium"}),helpText:(0,R.k0)({opacity:.8,marginBottom:"2"}),number:(0,R.k0)({verticalAlign:"baseline",fontWeight:"semibold"}),icon:(0,R.k0)({marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"})}),sizes:{md:Yo({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),Jo=(0,R.D)(E.keys),Qo=Jo.defineMultiStyleConfig,Ko=Jo.definePartsStyle,ti=Lt("switch-track-width"),ei=Lt("switch-track-height"),ri=Lt("switch-track-diff"),ni=Mt.subtract(ti,ei),oi=Lt("switch-thumb-x"),ii=(0,R.k0)((function(t){var e=t.colorScheme;return{borderRadius:"full",p:"0.5",width:[ti.reference],height:[ei.reference],transitionProperty:"common",transitionDuration:"fast",bg:st("gray.300","whiteAlpha.400")(t),_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:st("".concat(e,".500"),"".concat(e,".200"))(t)}}})),ai=(0,R.k0)({bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[ei.reference],height:[ei.reference],_checked:{transform:"translateX(".concat(oi.reference,")")}}),si=Qo({baseStyle:Ko((function(t){var e;return{container:(e={},(0,n.Z)(e,ri.variable,ni),(0,n.Z)(e,oi.variable,ri.reference),(0,n.Z)(e,"_rtl",(0,n.Z)({},oi.variable,Mt(ri).negate().toString())),e),track:ii(t),thumb:ai}})),sizes:{sm:Ko({container:(wt={},(0,n.Z)(wt,ti.variable,"1.375rem"),(0,n.Z)(wt,ei.variable,"sizes.3"),wt)}),md:Ko({container:(xt={},(0,n.Z)(xt,ti.variable,"1.875rem"),(0,n.Z)(xt,ei.variable,"sizes.4"),xt)}),lg:Ko({container:(kt={},(0,n.Z)(kt,ti.variable,"2.875rem"),(0,n.Z)(kt,ei.variable,"sizes.6"),kt)})},defaultProps:{size:"md",colorScheme:"blue"}}),ci=(0,R.D)(j.keys),ui=ci.defineMultiStyleConfig,li=ci.definePartsStyle,fi=li({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),di=(0,R.k0)({"&[data-is-numeric=true]":{textAlign:"end"}}),pi=ui({baseStyle:fi,variants:{simple:li((function(t){var e=t.colorScheme;return{th:Vt({color:st("gray.600","gray.400")(t),borderBottom:"1px",borderColor:st("".concat(e,".100"),"".concat(e,".700"))(t)},di),td:Vt({borderBottom:"1px",borderColor:st("".concat(e,".100"),"".concat(e,".700"))(t)},di),caption:{color:st("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),striped:li((function(t){var e=t.colorScheme;return{th:Vt({color:st("gray.600","gray.400")(t),borderBottom:"1px",borderColor:st("".concat(e,".100"),"".concat(e,".700"))(t)},di),td:Vt({borderBottom:"1px",borderColor:st("".concat(e,".100"),"".concat(e,".700"))(t)},di),caption:{color:st("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:st("".concat(e,".100"),"".concat(e,".700"))(t)},td:{background:st("".concat(e,".100"),"".concat(e,".700"))(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),unstyled:(0,R.k0)({})},sizes:{sm:li({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:li({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:li({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),hi=(0,R.D)(C.keys),vi=hi.defineMultiStyleConfig,mi=hi.definePartsStyle,gi=(0,R.k0)((function(t){return{display:"vertical"===t.orientation?"flex":"block"}})),yi=(0,R.k0)((function(t){return{flex:t.isFitted?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}})),bi=(0,R.k0)((function(t){var e=t.align,r=void 0===e?"start":e,n=t.orientation;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[r],flexDirection:"vertical"===n?"column":"row"}})),wi=(0,R.k0)({p:4}),xi=vi({baseStyle:mi((function(t){return{root:gi(t),tab:yi(t),tablist:bi(t),tabpanel:wi}})),sizes:{sm:mi({tab:{py:1,px:4,fontSize:"sm"}}),md:mi({tab:{fontSize:"md",py:2,px:4}}),lg:mi({tab:{fontSize:"lg",py:3,px:4}})},variants:{line:mi((function(t){var e,r,o=t.colorScheme,i=t.orientation,a="vertical"===i?"borderStart":"borderBottom",s="vertical"===i?"marginStart":"marginBottom";return{tablist:(e={},(0,n.Z)(e,a,"2px solid"),(0,n.Z)(e,"borderColor","inherit"),e),tab:(r={},(0,n.Z)(r,a,"2px solid"),(0,n.Z)(r,"borderColor","transparent"),(0,n.Z)(r,s,"-2px"),(0,n.Z)(r,"_selected",{color:st("".concat(o,".600"),"".concat(o,".300"))(t),borderColor:"currentColor"}),(0,n.Z)(r,"_active",{bg:st("gray.200","whiteAlpha.300")(t)}),(0,n.Z)(r,"_disabled",{_active:{bg:"none"}}),r)}})),enclosed:mi((function(t){var e=t.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:st("".concat(e,".600"),"".concat(e,".300"))(t),borderColor:"inherit",borderBottomColor:st("white","gray.800")(t)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),"enclosed-colored":mi((function(t){var e=t.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:st("gray.50","whiteAlpha.50")(t),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:st("#fff","gray.800")(t),color:st("".concat(e,".600"),"".concat(e,".300"))(t),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),"soft-rounded":mi((function(t){var e=t.colorScheme,r=t.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:rt(r,"".concat(e,".700")),bg:rt(r,"".concat(e,".100"))}}}})),"solid-rounded":mi((function(t){var e=t.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:st("gray.600","inherit")(t),_selected:{color:st("#fff","gray.800")(t),bg:st("".concat(e,".600"),"".concat(e,".300"))(t)}}}})),unstyled:mi({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),ki=(0,R.D)(A.keys),Si=ki.defineMultiStyleConfig,Oi=ki.definePartsStyle,Pi=Oi({container:(0,R.k0)({fontWeight:"medium",lineHeight:1.2,outline:0,borderRadius:"md",_focusVisible:{boxShadow:"outline"}}),label:(0,R.k0)({lineHeight:1.2,overflow:"visible"}),closeButton:(0,R.k0)({fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}})}),Ei={sm:Oi({container:{minH:"5",minW:"5",fontSize:"xs",px:"2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:Oi({container:{minH:"6",minW:"6",fontSize:"sm",px:"2"}}),lg:Oi({container:{minH:"8",minW:"8",fontSize:"md",px:"3"}})},ji=Si({variants:{subtle:Oi((function(t){var e;return{container:null==(e=ge.variants)?void 0:e.subtle(t)}})),solid:Oi((function(t){var e;return{container:null==(e=ge.variants)?void 0:e.solid(t)}})),outline:Oi((function(t){var e;return{container:null==(e=ge.variants)?void 0:e.outline(t)}}))},baseStyle:Pi,sizes:Ei,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),Ci=(0,R.k0)(Vt(Vt({},null==(Mn=Br.baseStyle)?void 0:Mn.field),{},{paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"})),Ai={outline:(0,R.k0)((function(t){var e,r;return null!==(e=null==(r=Br.variants)?void 0:r.outline(t).field)&&void 0!==e?e:{}})),flushed:(0,R.k0)((function(t){var e,r;return null!==(e=null==(r=Br.variants)?void 0:r.flushed(t).field)&&void 0!==e?e:{}})),filled:(0,R.k0)((function(t){var e,r;return null!==(e=null==(r=Br.variants)?void 0:r.filled(t).field)&&void 0!==e?e:{}})),unstyled:null!==(St=null==(Zn=Br.variants)?void 0:Zn.unstyled.field)&&void 0!==St?St:{}},Ri={xs:null!==(Ot=null==(Bn=Br.sizes)?void 0:Bn.xs.field)&&void 0!==Ot?Ot:{},sm:null!==(Pt=null==(In=Br.sizes)?void 0:In.sm.field)&&void 0!==Pt?Pt:{},md:null!==(Et=null==(Ln=Br.sizes)?void 0:Ln.md.field)&&void 0!==Et?Et:{},lg:null!==(jt=null==(zn=Br.sizes)?void 0:zn.lg.field)&&void 0!==jt?jt:{}},_i=(0,R.fj)({baseStyle:Ci,sizes:Ri,variants:Ai,defaultProps:{size:"md",variant:"outline"}}),Ti=Lt("tooltip-bg"),Di=Lt("tooltip-fg"),Mi=Lt("popper-arrow-bg"),Zi=(0,R.k0)((function(t){var e,r=st("gray.700","gray.300")(t),o=st("whiteAlpha.900","gray.900")(t);return e={bg:Ti.reference,color:Di.reference},(0,n.Z)(e,Ti.variable,"colors.".concat(r)),(0,n.Z)(e,Di.variable,"colors.".concat(o)),(0,n.Z)(e,Mi.variable,Ti.reference),(0,n.Z)(e,"px","2"),(0,n.Z)(e,"py","0.5"),(0,n.Z)(e,"borderRadius","sm"),(0,n.Z)(e,"fontWeight","medium"),(0,n.Z)(e,"fontSize","sm"),(0,n.Z)(e,"boxShadow","md"),(0,n.Z)(e,"maxW","xs"),(0,n.Z)(e,"zIndex","tooltip"),e})),Bi=(0,R.fj)({baseStyle:Zi}),Ii={Accordion:Ht,Alert:Jt,Avatar:de,Badge:ge,Breadcrumb:be,Button:Ae,Checkbox:Le,CloseButton:We,Code:$e,Container:Ge,Divider:Je,Drawer:ur,Editable:dr,Form:yr,FormError:Or,FormLabel:Er,Heading:Ar,Input:Br,Kbd:Lr,Link:Fr,List:Wr,Menu:Qr,Modal:fn,NumberInput:Fn,PinInput:Hn,Popover:no,Progress:po,Radio:yo,Select:Eo,Skeleton:Ro,SkipLink:To,Slider:Wo,Spinner:$o,Stat:Xo,Switch:si,Table:pi,Tabs:xi,Tag:ji,Textarea:_i,Tooltip:Bi},Li={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},zi={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},Fi={property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}},Vi=Vt(Vt({breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}}},dn),{},{sizes:Kt,shadows:zi,space:Qt,borders:Li,transition:Fi});var Wi=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function Ni(t){return r=typeof(e=t),!(null==e||"object"!==r&&"function"!==r||Array.isArray(e))&&Wi.every((function(e){return Object.prototype.hasOwnProperty.call(t,e)}));var e,r}var Hi=Vt(Vt({semanticTokens:{colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},direction:"ltr"},Vi),{},{components:Ii,styles:{global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color",wordWrap:"break-word"}}},config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}}),Ui=Hi},7684:function(t,e,r){"use strict";r.d(e,{v0:function(){return v},YU:function(){return f},jU:function(){return p},Wf:function(){return u},lw:function(){return l},CE:function(){return a},Pu:function(){return h}});r(3971);var n=1/60*1e3,o="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()};function i(t){return"function"==typeof t}function a(t,e){var r={};return Object.keys(t).forEach((function(n){e.includes(n)||(r[n]=t[n])})),r}var s,c,u=(s=function(t,e,r,n){var o="string"==typeof e?e.split("."):[e];for(n=0;n<o.length&&t;n+=1)t=t[o[n]];return void 0===t?r:t},c=new WeakMap,function(t,e,r,n){if(void 0===t)return s(t,e,r);c.has(t)||c.set(t,new Map);var o=c.get(t);if(o.has(e))return o.get(e);var i=s(t,e,r,n);return o.set(e,i),i});function l(t,e){var r={};return Object.keys(t).forEach((function(n){var o=t[n];e(o,n,t)&&(r[n]=o)})),r}var f=function(t){return l(t,(function(t){return null!=t}))};function d(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var p=d();["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function h(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return i(t)?t.apply(void 0,r):t}function v(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){e.some((function(e){return null==e||e(t),null==t?void 0:t.defaultPrevented}))}}Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER;Object.freeze(["base","sm","md","lg","xl","2xl"])},9917:function(t,e,r){"use strict";r.d(e,{Z:function(){return ot}});var n=function(){function t(t){var e=this;this._insertTag=function(t){var r;r=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,r),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(e);try{r.insertRule(t,r.cssRules.length)}catch(n){0}}else e.appendChild(document.createTextNode(t));this.ctr++},e.flush=function(){this.tags.forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),this.tags=[],this.ctr=0},t}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(t){return t.trim()}function c(t,e,r){return t.replace(e,r)}function u(t,e){return t.indexOf(e)}function l(t,e){return 0|t.charCodeAt(e)}function f(t,e,r){return t.slice(e,r)}function d(t){return t.length}function p(t){return t.length}function h(t,e){return e.push(t),t}var v=1,m=1,g=0,y=0,b=0,w="";function x(t,e,r,n,o,i,a){return{value:t,root:e,parent:r,type:n,props:o,children:i,line:v,column:m,length:a,return:""}}function k(t,e){return a(x("",null,null,"",null,null,0),t,{length:-t.length},e)}function S(){return b=y>0?l(w,--y):0,m--,10===b&&(m=1,v--),b}function O(){return b=y<g?l(w,y++):0,m++,10===b&&(m=1,v++),b}function P(){return l(w,y)}function E(){return y}function j(t,e){return f(w,t,e)}function C(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function A(t){return v=m=1,g=d(w=t),y=0,[]}function R(t){return w="",t}function _(t){return s(j(y-1,M(91===t?t+2:40===t?t+1:t)))}function T(t){for(;(b=P())&&b<33;)O();return C(t)>2||C(b)>3?"":" "}function D(t,e){for(;--e&&O()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return j(t,E()+(e<6&&32==P()&&32==O()))}function M(t){for(;O();)switch(b){case t:return y;case 34:case 39:34!==t&&39!==t&&M(b);break;case 40:41===t&&M(t);break;case 92:O()}return y}function Z(t,e){for(;O()&&t+b!==57&&(t+b!==84||47!==P()););return"/*"+j(e,y-1)+"*"+i(47===t?t:O())}function B(t){for(;!C(P());)O();return j(t,y)}var I="-ms-",L="-moz-",z="-webkit-",F="comm",V="rule",W="decl",N="@keyframes";function H(t,e){for(var r="",n=p(t),o=0;o<n;o++)r+=e(t[o],o,t,e)||"";return r}function U(t,e,r,n){switch(t.type){case"@import":case W:return t.return=t.return||t.value;case F:return"";case N:return t.return=t.value+"{"+H(t.children,n)+"}";case V:t.value=t.props.join(",")}return d(r=H(t.children,n))?t.return=t.value+"{"+r+"}":""}function $(t){return R(q("",null,null,null,[""],t=A(t),0,[0],t))}function q(t,e,r,n,o,a,s,f,p){for(var v=0,m=0,g=s,y=0,b=0,w=0,x=1,k=1,j=1,C=0,A="",R=o,M=a,I=n,L=A;k;)switch(w=C,C=O()){case 40:if(108!=w&&58==l(L,g-1)){-1!=u(L+=c(_(C),"&","&\f"),"&\f")&&(j=-1);break}case 34:case 39:case 91:L+=_(C);break;case 9:case 10:case 13:case 32:L+=T(w);break;case 92:L+=D(E()-1,7);continue;case 47:switch(P()){case 42:case 47:h(Y(Z(O(),E()),e,r),p);break;default:L+="/"}break;case 123*x:f[v++]=d(L)*j;case 125*x:case 59:case 0:switch(C){case 0:case 125:k=0;case 59+m:b>0&&d(L)-g&&h(b>32?X(L+";",n,r,g-1):X(c(L," ","")+";",n,r,g-2),p);break;case 59:L+=";";default:if(h(I=G(L,e,r,v,m,o,f,A,R=[],M=[],g),a),123===C)if(0===m)q(L,e,I,I,R,a,g,f,M);else switch(99===y&&110===l(L,3)?100:y){case 100:case 109:case 115:q(t,I,I,n&&h(G(t,I,I,0,0,o,f,A,o,R=[],g),M),o,M,g,f,n?R:M);break;default:q(L,I,I,I,[""],M,0,f,M)}}v=m=b=0,x=j=1,A=L="",g=s;break;case 58:g=1+d(L),b=w;default:if(x<1)if(123==C)--x;else if(125==C&&0==x++&&125==S())continue;switch(L+=i(C),C*x){case 38:j=m>0?1:(L+="\f",-1);break;case 44:f[v++]=(d(L)-1)*j,j=1;break;case 64:45===P()&&(L+=_(O())),y=P(),m=g=d(A=L+=B(E())),C++;break;case 45:45===w&&2==d(L)&&(x=0)}}return a}function G(t,e,r,n,i,a,u,l,d,h,v){for(var m=i-1,g=0===i?a:[""],y=p(g),b=0,w=0,k=0;b<n;++b)for(var S=0,O=f(t,m+1,m=o(w=u[b])),P=t;S<y;++S)(P=s(w>0?g[S]+" "+O:c(O,/&\f/g,g[S])))&&(d[k++]=P);return x(t,e,r,0===i?V:l,d,h,v)}function Y(t,e,r){return x(t,e,r,F,i(b),f(t,2,-2),0)}function X(t,e,r,n){return x(t,e,r,W,f(t,0,n),f(t,n+1,-1),n)}var J=function(t,e,r){for(var n=0,o=0;n=o,o=P(),38===n&&12===o&&(e[r]=1),!C(o);)O();return j(t,y)},Q=function(t,e){return R(function(t,e){var r=-1,n=44;do{switch(C(n)){case 0:38===n&&12===P()&&(e[r]=1),t[r]+=J(y-1,e,r);break;case 2:t[r]+=_(n);break;case 4:if(44===n){t[++r]=58===P()?"&\f":"",e[r]=t[r].length;break}default:t[r]+=i(n)}}while(n=O());return t}(A(t),e))},K=new WeakMap,tt=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,r=t.parent,n=t.column===r.column&&t.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||K.get(r))&&!n){K.set(t,!0);for(var o=[],i=Q(e,o),a=r.props,s=0,c=0;s<i.length;s++)for(var u=0;u<a.length;u++,c++)t.props[c]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},et=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}};function rt(t,e){switch(function(t,e){return 45^l(t,0)?(((e<<2^l(t,0))<<2^l(t,1))<<2^l(t,2))<<2^l(t,3):0}(t,e)){case 5103:return"-webkit-print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return z+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return z+t+L+t+I+t+t;case 6828:case 4268:return z+t+I+t+t;case 6165:return z+t+I+"flex-"+t+t;case 5187:return z+t+c(t,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+t;case 5443:return z+t+I+"flex-item-"+c(t,/flex-|-self/,"")+t;case 4675:return z+t+I+"flex-line-pack"+c(t,/align-content|flex-|-self/,"")+t;case 5548:return z+t+I+c(t,"shrink","negative")+t;case 5292:return z+t+I+c(t,"basis","preferred-size")+t;case 6060:return"-webkit-box-"+c(t,"-grow","")+z+t+I+c(t,"grow","positive")+t;case 4554:return z+c(t,/([^-])(transform)/g,"$1-webkit-$2")+t;case 6187:return c(c(c(t,/(zoom-|grab)/,"-webkit-$1"),/(image-set)/,"-webkit-$1"),t,"")+t;case 5495:case 3959:return c(t,/(image-set\([^]*)/,"-webkit-$1$`$1");case 4968:return c(c(t,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+t+t;case 4095:case 3583:case 4068:case 2532:return c(t,/(.+)-inline(.+)/,"-webkit-$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(t)-1-e>6)switch(l(t,e+1)){case 109:if(45!==l(t,e+4))break;case 102:return c(t,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==l(t,e+3)?"$3":"$2-$3"))+t;case 115:return~u(t,"stretch")?rt(c(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==l(t,e+1))break;case 6444:switch(l(t,d(t)-3-(~u(t,"!important")&&10))){case 107:return c(t,":",":-webkit-")+t;case 101:return c(t,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===l(t,14)?"inline-":"")+"box$3$1"+"-webkit-$2$3$1"+"-ms-$2box$3")+t}break;case 5936:switch(l(t,e+11)){case 114:return z+t+I+c(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return z+t+I+c(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return z+t+I+c(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return z+t+I+t+t}return t}var nt=[function(t,e,r,n){if(t.length>-1&&!t.return)switch(t.type){case W:t.return=rt(t.value,t.length);break;case N:return H([k(t,{value:c(t.value,"@","@-webkit-")})],n);case V:if(t.length)return function(t,e){return t.map(e).join("")}(t.props,(function(e){switch(function(t,e){return(t=e.exec(t))?t[0]:t}(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return H([k(t,{props:[c(e,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return H([k(t,{props:[c(e,/:(plac\w+)/,":-webkit-input-$1")]}),k(t,{props:[c(e,/:(plac\w+)/,":-moz-$1")]}),k(t,{props:[c(e,/:(plac\w+)/,"-ms-input-$1")]})],n)}return""}))}}],ot=function(t){var e=t.key;if("css"===e){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var o=t.stylisPlugins||nt;var i,a,s={},c=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),r=1;r<e.length;r++)s[e[r]]=!0;c.push(t)}));var u,l,f,d,h=[U,(d=function(t){u.insert(t)},function(t){t.root||(t=t.return)&&d(t)})],v=(l=[tt,et].concat(o,h),f=p(l),function(t,e,r,n){for(var o="",i=0;i<f;i++)o+=l[i](t,e,r,n)||"";return o});a=function(t,e,r,n){u=r,H($(t?t+"{"+e.styles+"}":e.styles),v),n&&(m.inserted[e.name]=!0)};var m={key:e,sheet:new n({key:e,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:a};return m.sheet.hydrate(c),m}},9846:function(t,e){"use strict";e.Z=function(t){var e=Object.create(null);return function(r){return void 0===e[r]&&(e[r]=t(r)),e[r]}}},3798:function(t,e,r){"use strict";r.d(e,{T:function(){return u},a:function(){return f},w:function(){return c}});var n=r(7294),o=r(9917),i=r(7462),a=function(t){var e=new WeakMap;return function(r){if(e.has(r))return e.get(r);var n=t(r);return e.set(r,n),n}},s=(r(5594),r(4858),(0,n.createContext)("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null));s.Provider;var c=function(t){return(0,n.forwardRef)((function(e,r){var o=(0,n.useContext)(s);return t(e,o,r)}))},u=(0,n.createContext)({});var l=a((function(t){return a((function(e){return function(t,e){return"function"==typeof e?e(t):(0,i.Z)({},t,e)}(t,e)}))})),f=function(t){var e=(0,n.useContext)(u);return t.theme!==e&&(e=l(e)(t.theme)),(0,n.createElement)(u.Provider,{value:e},t.children)}},3431:function(t,e,r){"use strict";r.d(e,{F4:function(){return l},xB:function(){return c}});r(5743);var n=r(7294),o=(r(9917),r(3798)),i=(r(434),r(5706),r(4660)),a=r(5594),s=r(4858),c=(0,o.w)((function(t,e){var r=t.styles,c=(0,a.O)([r],void 0,(0,n.useContext)(o.T)),u=(0,n.useRef)();return(0,s.j)((function(){var t=e.key+"-global",r=new e.sheet.constructor({key:t,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+t+" "+c.name+'"]');return e.sheet.tags.length&&(r.before=e.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",t),r.hydrate([o])),u.current=[r,n],function(){r.flush()}}),[e]),(0,s.j)((function(){var t=u.current,r=t[0];if(t[1])t[1]=!1;else{if(void 0!==c.next&&(0,i.My)(e,c.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}e.insert("",c,r,!1)}}),[e,c.name]),null}));function u(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return(0,a.O)(e)}var l=function(){var t=u.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},5594:function(t,e,r){"use strict";r.d(e,{O:function(){return v}});var n=function(t){for(var e,r=0,n=0,o=t.length;o>=4;++n,o-=4)e=1540483477*(65535&(e=255&t.charCodeAt(n)|(255&t.charCodeAt(++n))<<8|(255&t.charCodeAt(++n))<<16|(255&t.charCodeAt(++n))<<24))+(59797*(e>>>16)<<16),r=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&t.charCodeAt(n+2))<<16;case 2:r^=(255&t.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&t.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},o={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=r(9846),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(t){return 45===t.charCodeAt(1)},u=function(t){return null!=t&&"boolean"!=typeof t},l=(0,i.Z)((function(t){return c(t)?t:t.replace(a,"-$&").toLowerCase()})),f=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(s,(function(t,e,r){return p={name:e,styles:r,next:p},e}))}return 1===o[t]||c(t)||"number"!=typeof e||0===e?e:e+"px"};function d(t,e,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return p={name:r.name,styles:r.styles,next:p},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)p={name:n.name,styles:n.styles,next:p},n=n.next;return r.styles+";"}return function(t,e,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=d(t,e,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a)null!=e&&void 0!==e[a]?n+=i+"{"+e[a]+"}":u(a)&&(n+=l(i)+":"+f(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=e&&void 0!==e[a[0]]){var s=d(t,e,a);switch(i){case"animation":case"animationName":n+=l(i)+":"+s+";";break;default:n+=i+"{"+s+"}"}}else for(var c=0;c<a.length;c++)u(a[c])&&(n+=l(i)+":"+f(i,a[c])+";")}return n}(t,e,r);case"function":if(void 0!==t){var o=p,i=r(t);return p=o,d(t,e,i)}}if(null==e)return r;var a=e[r];return void 0!==a?a:r}var p,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var v=function(t,e,r){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var o=!0,i="";p=void 0;var a=t[0];null==a||void 0===a.raw?(o=!1,i+=d(r,e,a)):i+=a[0];for(var s=1;s<t.length;s++)i+=d(r,e,t[s]),o&&(i+=a[s]);h.lastIndex=0;for(var c,u="";null!==(c=h.exec(i));)u+="-"+c[1];return{name:n(i)+u,styles:i,next:p}}},4858:function(t,e,r){"use strict";var n;r.d(e,{L:function(){return a},j:function(){return s}});var o=r(7294),i=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,a=i||function(t){return t()},s=i||o.useLayoutEffect},4660:function(t,e,r){"use strict";r.d(e,{My:function(){return i},fp:function(){return n},hC:function(){return o}});function n(t,e,r){var n="";return r.split(" ").forEach((function(r){void 0!==t[r]?e.push(t[r]+";"):n+=r+" "})),n}var o=function(t,e,r){var n=t.key+"-"+e.name;!1===r&&void 0===t.registered[n]&&(t.registered[n]=e.styles)},i=function(t,e,r){o(t,e,r);var n=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var i=e;do{t.insert(e===i?"."+n:"",i,t.sheet,!0);i=i.next}while(void 0!==i)}}},2393:function(t,e){"use strict";var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},n=function(t){var e=t.location,r=e.search,n=e.hash,o=e.href,i=e.origin,s=e.protocol,c=e.host,u=e.hostname,l=e.port,f=t.location.pathname;!f&&o&&a&&(f=new URL(o).pathname);return{pathname:encodeURI(decodeURI(f)),search:r,hash:n,href:o,origin:i,protocol:s,host:c,hostname:u,port:l,state:t.history.state,key:t.history.state&&t.history.state.key||"initial"}},o=function(t,e){var o=[],i=n(t),a=!1,s=function(){};return{get location(){return i},get transitioning(){return a},_onTransitionComplete:function(){a=!1,s()},listen:function(e){o.push(e);var r=function(){i=n(t),e({location:i,action:"POP"})};return t.addEventListener("popstate",r),function(){t.removeEventListener("popstate",r),o=o.filter((function(t){return t!==e}))}},navigate:function(e){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=c.state,l=c.replace,f=void 0!==l&&l;if("number"==typeof e)t.history.go(e);else{u=r({},u,{key:Date.now()+""});try{a||f?t.history.replaceState(u,null,e):t.history.pushState(u,null,e)}catch(p){t.location[f?"replace":"assign"](e)}}i=n(t),a=!0;var d=new Promise((function(t){return s=t}));return o.forEach((function(t){return t({location:i,action:"PUSH"})})),d}}},i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),r={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""},n=0,o=[r],i=[null];return{get location(){return o[n]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return n},get state(){return i[n]},pushState:function(t,e,r){var a=r.split("?"),s=a[0],c=a[1],u=void 0===c?"":c;n++,o.push({pathname:s,search:u.length?"?"+u:u}),i.push(t)},replaceState:function(t,e,r){var a=r.split("?"),s=a[0],c=a[1],u=void 0===c?"":c;o[n]={pathname:s,search:u},i[n]=t},go:function(t){var e=n+t;e<0||e>i.length-1||(n=e)}}}},a=!("undefined"==typeof window||!window.document||!window.document.createElement),s=o(a?window:i()),c=s.navigate;e.V5=s},2098:function(t,e,r){"use strict";e.ei=void 0;var n,o=r(1143),i=(n=o)&&n.__esModule?n:{default:n};var a=function(t,e){return t.substr(0,e.length)===e},s=function(t,e){for(var r=void 0,n=void 0,o=e.split("?")[0],a=p(o),s=""===a[0],u=d(t),f=0,h=u.length;f<h;f++){var m=!1,g=u[f].route;if(g.default)n={route:g,params:{},uri:e};else{for(var y=p(g.path),b={},w=Math.max(a.length,y.length),x=0;x<w;x++){var k=y[x],S=a[x];if(l(k)){b[k.slice(1)||"*"]=a.slice(x).map(decodeURIComponent).join("/");break}if(void 0===S){m=!0;break}var O=c.exec(k);if(O&&!s){-1===v.indexOf(O[1])||(0,i.default)(!1);var P=decodeURIComponent(S);b[O[1]]=P}else if(k!==S){m=!0;break}}if(!m){r={route:g,params:b,uri:"/"+a.slice(0,x).join("/")};break}}}return r||n||null},c=/^:(.+)/,u=function(t){return c.test(t)},l=function(t){return t&&"*"===t[0]},f=function(t,e){return{route:t,score:t.default?0:p(t.path).reduce((function(t,e){return t+=4,!function(t){return""===t}(e)?u(e)?t+=2:l(e)?t-=5:t+=3:t+=1,t}),0),index:e}},d=function(t){return t.map(f).sort((function(t,e){return t.score<e.score?1:t.score>e.score?-1:t.index-e.index}))},p=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},h=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return t+((r=r.filter((function(t){return t&&t.length>0})))&&r.length>0?"?"+r.join("&"):"")},v=["uri","path"];e.ei=s},4567:function(t,e,r){"use strict";r.d(e,{M:function(){return C}});var n=r(3433),o=r(9439),i=r(7294),a=r(8612),s=r(9471),c=r(1e3);function u(){var t=(0,i.useRef)(!1);return(0,c.L)((function(){return t.current=!0,function(){t.current=!1}}),[]),t}var l=r(5749),f=r(1751),d=r(5671),p=r(3144),h=r(136),v=r(4575),m=r(1120);function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=(0,m.Z)(t);if(e){var o=(0,m.Z)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,v.Z)(this,r)}}var y=function(t){(0,h.Z)(r,t);var e=g(r);function r(){return(0,d.Z)(this,r),e.apply(this,arguments)}return(0,p.Z)(r,[{key:"getSnapshotBeforeUpdate",value:function(t){var e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){var r=this.props.sizeRef.current;r.height=e.offsetHeight||0,r.width=e.offsetWidth||0,r.top=e.offsetTop,r.left=e.offsetLeft}return null}},{key:"componentDidUpdate",value:function(){}},{key:"render",value:function(){return this.props.children}}]),r}(i.Component);function b(t){var e=t.children,r=t.isPresent,n=(0,i.useId)(),o=(0,i.useRef)(null),a=(0,i.useRef)({width:0,height:0,top:0,left:0});return(0,i.useInsertionEffect)((function(){var t=a.current,e=t.width,i=t.height,s=t.top,c=t.left;if(!r&&o.current&&e&&i){o.current.dataset.motionPopId=n;var u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule('\n [data-motion-pop-id="'.concat(n,'"] {\n position: absolute !important;\n width: ').concat(e,"px !important;\n height: ").concat(i,"px !important;\n top: ").concat(s,"px !important;\n left: ").concat(c,"px !important;\n }\n ")),function(){document.head.removeChild(u)}}}),[r]),i.createElement(y,{isPresent:r,childRef:o,sizeRef:a},i.cloneElement(e,{ref:o}))}function w(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var k=function(t){var e=t.children,r=t.initial,n=t.isPresent,o=t.onExitComplete,a=t.custom,s=t.presenceAffectsLayout,c=t.mode,u=(0,f.h)(S),d=(0,i.useId)(),p=(0,i.useMemo)((function(){return{id:d,initial:r,isPresent:n,custom:a,onExitComplete:function(t){u.set(t,!0);var e,r=w(u.values());try{for(r.s();!(e=r.n()).done;){if(!e.value)return}}catch(n){r.e(n)}finally{r.f()}o&&o()},register:function(t){return u.set(t,!1),function(){return u.delete(t)}}}}),s?void 0:[n]);return(0,i.useMemo)((function(){u.forEach((function(t,e){return u.set(e,!1)}))}),[n]),i.useEffect((function(){!n&&!u.size&&o&&o()}),[n]),"popLayout"===c&&(e=i.createElement(b,{isPresent:n},e)),i.createElement(l.O.Provider,{value:p},e)};function S(){return new Map}var O=r(8522),P=r(296),E=r(4282),j=function(t){return t.key||""};var C=function(t){var e=t.children,r=t.custom,l=t.initial,f=void 0===l||l,d=t.onExitComplete,p=t.exitBeforeEnter,h=t.presenceAffectsLayout,v=void 0===h||h,m=t.mode,g=void 0===m?"sync":m;p&&(g="wait",(0,E.O)(!1,"Replace exitBeforeEnter with mode='wait'"));var y=function(){var t=u(),e=(0,i.useState)(0),r=(0,o.Z)(e,2),n=r[0],a=r[1],c=(0,i.useCallback)((function(){t.current&&a(n+1)}),[n]);return[(0,i.useCallback)((function(){return s.ZP.postRender(c)}),[c]),n]}(),b=(0,o.Z)(y,1)[0],w=(0,i.useContext)(O.p).forceRender;w&&(b=w);var x=u(),S=function(t){var e=[];return i.Children.forEach(t,(function(t){(0,i.isValidElement)(t)&&e.push(t)})),e}(e),C=S,A=new Set,R=(0,i.useRef)(C),_=(0,i.useRef)(new Map).current,T=(0,i.useRef)(!0);if((0,c.L)((function(){T.current=!1,function(t,e){t.forEach((function(t){var r=j(t);e.set(r,t)}))}(S,_),R.current=C})),(0,P.z)((function(){T.current=!0,_.clear(),A.clear()})),T.current)return i.createElement(i.Fragment,null,C.map((function(t){return i.createElement(k,{key:j(t),isPresent:!0,initial:!!f&&void 0,presenceAffectsLayout:v,mode:g},t)})));C=(0,n.Z)(C);for(var D=R.current.map(j),M=S.map(j),Z=D.length,B=0;B<Z;B++){var I=D[B];-1===M.indexOf(I)&&A.add(I)}return"wait"===g&&A.size&&(C=[]),A.forEach((function(t){if(-1===M.indexOf(t)){var e=_.get(t);if(e){var n=D.indexOf(t);C.splice(n,0,i.createElement(k,{key:j(e),isPresent:!1,onExitComplete:function(){_.delete(t),A.delete(t);var e=R.current.findIndex((function(e){return e.key===t}));if(R.current.splice(e,1),!A.size){if(R.current=S,!1===x.current)return;b(),d&&d()}},custom:r,presenceAffectsLayout:v,mode:g},e))}}})),C=C.map((function(t){var e=t.key;return A.has(e)?t:i.createElement(k,{key:j(t),isPresent:!0,presenceAffectsLayout:v,mode:g},t)})),"production"!==a.O&&"wait"===g&&C.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),i.createElement(i.Fragment,null,A.size?C:C.map((function(t){return(0,i.cloneElement)(t)})))}},5284:function(t,e,r){"use strict";r.d(e,{hO:function(){return a},oO:function(){return i}});var n=r(7294),o=r(5749);function i(){var t=(0,n.useContext)(o.O);if(null===t)return[!0,null];var e=t.isPresent,r=t.onExitComplete,i=t.register,a=(0,n.useId)();(0,n.useEffect)((function(){return i(a)}),[]);return!e&&r?[!1,function(){return r&&r(a)}]:[!0]}function a(){return null===(t=(0,n.useContext)(o.O))||t.isPresent;var t}},8522:function(t,e,r){"use strict";r.d(e,{p:function(){return n}});var n=(0,r(7294).createContext)({})},5749:function(t,e,r){"use strict";r.d(e,{O:function(){return n}});var n=(0,r(7294).createContext)(null)},9064:function(t,e,r){"use strict";r.d(e,{E:function(){return Qs}});var n=r(4942),o=r(7294),i=(0,o.createContext)({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"}),a=(0,o.createContext)({});var s=r(5749),c=r(1e3),u=(0,o.createContext)({strict:!1});function l(t,e,r,n){var l=(0,o.useContext)(a).visualElement,f=(0,o.useContext)(u),d=(0,o.useContext)(s.O),p=(0,o.useContext)(i).reducedMotion,h=(0,o.useRef)(void 0);n=n||f.renderer,!h.current&&n&&(h.current=n(t,{visualState:e,parent:l,props:r,presenceId:d?d.id:void 0,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:p}));var v=h.current;return(0,c.L)((function(){v&&v.syncRender()})),(0,o.useEffect)((function(){v&&v.animationState&&v.animationState.animateChanges()})),(0,c.L)((function(){return function(){return v&&v.notifyUnmount()}}),[]),v}function f(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function d(t){return"string"==typeof t||Array.isArray(t)}function p(t){return"object"==typeof t&&"function"==typeof t.start}var h=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function v(t){return p(t.animate)||h.some((function(e){return d(t[e])}))}function m(t){return Boolean(v(t)||t.variants)}function g(t){var e=function(t,e){if(v(t)){var r=t.initial,n=t.animate;return{initial:!1===r||d(r)?r:void 0,animate:d(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(a)),r=e.initial,n=e.animate;return(0,o.useMemo)((function(){return{initial:r,animate:n}}),[y(r),y(n)])}function y(t){return Array.isArray(t)?t.join(" "):t}var b=function(t){return{isEnabled:function(e){return t.some((function(t){return!!e[t]}))}}},w={measureLayout:b(["layout","layoutId","drag"]),animation:b(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:b(["exit"]),drag:b(["drag","dragControls"]),focus:b(["whileFocus"]),hover:b(["whileHover","onHoverStart","onHoverEnd"]),tap:b(["whileTap","onTap","onTapStart","onTapCancel"]),pan:b(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:b(["whileInView","onViewportEnter","onViewportLeave"])};var x=r(7037),k=r(1751),S={hasAnimatedSinceResize:!0,hasEverUpdated:!1},O=1;var P=r(8522),E=r(5671),j=r(3144),C=r(136),A=r(4575),R=r(1120);function _(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=(0,R.Z)(t);if(e){var o=(0,R.Z)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,A.Z)(this,r)}}var T=function(t){(0,C.Z)(r,t);var e=_(r);function r(){return(0,E.Z)(this,r),e.apply(this,arguments)}return(0,j.Z)(r,[{key:"getSnapshotBeforeUpdate",value:function(){var t=this.props,e=t.visualElement,r=t.props;return e&&e.setProps(r),null}},{key:"componentDidUpdate",value:function(){}},{key:"render",value:function(){return this.props.children}}]),r}(o.Component),D=(0,o.createContext)({}),M=Symbol.for("motionComponentSymbol");function Z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function B(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function I(t){var e=t.preloadedFeatures,r=t.createVisualElement,n=t.projectionNodeConstructor,s=t.useRender,c=t.useVisualState,d=t.Component;e&&function(t){for(var e in t)"projectionNodeConstructor"===e?w.projectionNodeConstructor=t[e]:w[e].Component=t[e]}(e);var p=(0,o.forwardRef)((function(t,p){var h,v,m,y=B(B(B({},(0,o.useContext)(i)),t),{},{layoutId:(h=t,v=h.layoutId,m=(0,o.useContext)(P.p).id,m&&void 0!==v?m+"-"+v:v)}),b=y.isStatic,E=null,j=g(t),C=b?void 0:(0,k.h)((function(){if(S.hasEverUpdated)return O++})),A=c(t,b);if(!b&&x.j){j.visualElement=l(d,A,y,r);var R=(0,o.useContext)(u).strict,_=(0,o.useContext)(D);j.visualElement&&(E=j.visualElement.loadFeatures(y,R,e,C,n||w.projectionNodeConstructor,_))}return o.createElement(T,{visualElement:j.visualElement,props:y},E,o.createElement(a.Provider,{value:j},s(d,t,C,function(t,e,r){return(0,o.useCallback)((function(n){n&&t.mount&&t.mount(n),e&&(n?e.mount(n):e.unmount()),r&&("function"==typeof r?r(n):f(r)&&(r.current=n))}),[e])}(A,j.visualElement,p),A,b,j.visualElement)))}));return p[M]=d,p}function L(t){function e(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return I(t(e,r))}if("undefined"==typeof Proxy)return e;var r=new Map;return new Proxy(e,{get:function(t,n){return r.has(n)||r.set(n,e(n)),r.get(n)}})}var z=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function F(t){return"string"==typeof t&&!t.includes("-")&&!!(z.indexOf(t)>-1||/[A-Z]/.test(t))}var V={};var W=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],N=new Set(W);function H(t,e){var r=e.layout,n=e.layoutId;return N.has(t)||t.startsWith("origin")||(r||void 0!==n)&&(!!V[t]||"opacity"===t)}var U=function(t){return!!(null==t?void 0:t.getVelocity)};function $(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return q(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return q(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var G={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Y=function(t,e){return W.indexOf(t)-W.indexOf(e)};function X(t){return t.startsWith("--")}var J=function(t,e){return e&&"number"==typeof t?e.transform(t):t},Q=function(t,e){return function(r){return Math.max(Math.min(r,e),t)}},K=function(t){return t%1?Number(t.toFixed(5)):t},tt=/(-)?([\d]*\.?[\d])+/g,et=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,rt=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function nt(t){return"string"==typeof t}var ot=function(t){return{test:function(e){return nt(e)&&e.endsWith(t)&&1===e.split(" ").length},parse:parseFloat,transform:function(e){return"".concat(e).concat(t)}}},it=ot("deg"),at=ot("%"),st=ot("px"),ct=ot("vh"),ut=ot("vw"),lt=Object.assign(Object.assign({},at),{parse:function(t){return at.parse(t)/100},transform:function(t){return at.transform(100*t)}}),ft={test:function(t){return"number"==typeof t},parse:parseFloat,transform:function(t){return t}},dt=Object.assign(Object.assign({},ft),{transform:Q(0,1)}),pt=Object.assign(Object.assign({},ft),{default:1});function ht(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ht(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ht(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var mt=vt(vt({},ft),{},{transform:Math.round}),gt={borderWidth:st,borderTopWidth:st,borderRightWidth:st,borderBottomWidth:st,borderLeftWidth:st,borderRadius:st,radius:st,borderTopLeftRadius:st,borderTopRightRadius:st,borderBottomRightRadius:st,borderBottomLeftRadius:st,width:st,maxWidth:st,height:st,maxHeight:st,size:st,top:st,right:st,bottom:st,left:st,padding:st,paddingTop:st,paddingRight:st,paddingBottom:st,paddingLeft:st,margin:st,marginTop:st,marginRight:st,marginBottom:st,marginLeft:st,rotate:it,rotateX:it,rotateY:it,rotateZ:it,scale:pt,scaleX:pt,scaleY:pt,scaleZ:pt,skew:it,skewX:it,skewY:it,distance:st,translateX:st,translateY:st,translateZ:st,x:st,y:st,z:st,perspective:st,transformPerspective:st,opacity:dt,originX:lt,originY:lt,originZ:st,zIndex:mt,fillOpacity:dt,strokeOpacity:dt,numOctaves:mt};function yt(t,e,r,n){var o=t.style,i=t.vars,a=t.transform,s=t.transformKeys,c=t.transformOrigin;s.length=0;var u=!1,l=!1,f=!0;for(var d in e){var p=e[d];if(X(d))i[d]=p;else{var h=gt[d],v=J(p,h);if(N.has(d)){if(u=!0,a[d]=v,s.push(d),!f)continue;p!==(h.default||0)&&(f=!1)}else d.startsWith("origin")?(l=!0,c[d]=v):o[d]=v}}if(e.transform||(u||n?o.transform=function(t,e,r,n){var o=t.transform,i=t.transformKeys,a=e.enableHardwareAcceleration,s=void 0===a||a,c=e.allowTransformNone,u=void 0===c||c,l="";i.sort(Y);var f,d=$(i);try{for(d.s();!(f=d.n()).done;){var p=f.value;l+="".concat(G[p]||p,"(").concat(o[p],") ")}}catch(h){d.e(h)}finally{d.f()}return s&&!o.z&&(l+="translateZ(0)"),l=l.trim(),n?l=n(o,r?"":l):u&&r&&(l="none"),l}(t,r,f,n):o.transform&&(o.transform="none")),l){var m=c.originX,g=void 0===m?"50%":m,y=c.originY,b=void 0===y?"50%":y,w=c.originZ,x=void 0===w?0:w;o.transformOrigin="".concat(g," ").concat(b," ").concat(x)}}var bt=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function wt(t,e,r){for(var n in e)U(e[n])||H(n,r)||(t[n]=e[n])}function xt(t,e,r){var n={};return wt(n,t.style||{},t),Object.assign(n,function(t,e,r){var n=t.transformTemplate;return(0,o.useMemo)((function(){var t={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};return yt(t,e,{enableHardwareAcceleration:!r},n),Object.assign({},t.vars,t.style)}),[e])}(t,e,r)),t.transformValues?t.transformValues(n):n}function kt(t,e,r){var n={},o=xt(t,e,r);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),n.style=o,n}var St=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll"].concat(["whileInView","onViewportEnter","onViewportLeave","viewport"],["whileTap","onTap","onTapStart","onTapCancel"],["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],["onPan","onPanStart","onPanSessionStart","onPanEnd"]));function Ot(t){return St.has(t)}var Pt,Et=function(t){return!Ot(t)};try{(Pt=r(7333).Z)&&(Et=function(t){return t.startsWith("on")?!Ot(t):Pt(t)})}catch(Ks){}function jt(t,e,r){var n={};for(var o in t)(Et(o)||!0===r&&Ot(o)||!e&&!Ot(o)||t.draggable&&o.startsWith("onDrag"))&&(n[o]=t[o]);return n}var Ct=r(4925);function At(t,e,r){return"string"==typeof t?t:st.transform(e+r*t)}var Rt={offset:"stroke-dashoffset",array:"stroke-dasharray"},_t={offset:"strokeDashoffset",array:"strokeDasharray"};var Tt=["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"];function Dt(t,e,r,n){var o=e.attrX,i=e.attrY,a=e.originX,s=e.originY,c=e.pathLength,u=e.pathSpacing,l=void 0===u?1:u,f=e.pathOffset,d=void 0===f?0:f;yt(t,(0,Ct.Z)(e,Tt),r,n),t.attrs=t.style,t.style={};var p=t.attrs,h=t.style,v=t.dimensions;p.transform&&(v&&(h.transform=p.transform),delete p.transform),v&&(void 0!==a||void 0!==s||h.transform)&&(h.transformOrigin=function(t,e,r){var n=At(e,t.x,t.width),o=At(r,t.y,t.height);return"".concat(n," ").concat(o)}(v,void 0!==a?a:.5,void 0!==s?s:.5)),void 0!==o&&(p.x=o),void 0!==i&&(p.y=i),void 0!==c&&function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];t.pathLength=1;var i=o?Rt:_t;t[i.offset]=st.transform(-n);var a=st.transform(e),s=st.transform(r);t[i.array]="".concat(a," ").concat(s)}(p,c,l,d,!1)}function Mt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Zt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Mt(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Bt=function(){return Zt(Zt({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{},{attrs:{}})};function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?It(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):It(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function zt(t,e){var r=(0,o.useMemo)((function(){var r=Bt();return Dt(r,e,{enableHardwareAcceleration:!1},t.transformTemplate),Lt(Lt({},r.attrs),{},{style:Lt({},r.style)})}),[e]);if(t.style){var n={};wt(n,t.style,t),r.style=Lt(Lt({},n),r.style)}return r}function Ft(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ft(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ft(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Wt(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=function(e,r,n,i,a,s){var c=a.latestValues,u=(F(e)?zt:kt)(r,c,s),l=Vt(Vt(Vt({},jt(r,"string"==typeof e,t)),u),{},{ref:i});return n&&(l["data-projection-id"]=n),(0,o.createElement)(e,l)};return e}var Nt=function(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()};function Ht(t,e,r,n){var o=e.style,i=e.vars;for(var a in Object.assign(t.style,o,n&&n.getProjectionStyles(r)),i)t.style.setProperty(a,i[a])}var Ut=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function $t(t,e,r,n){for(var o in Ht(t,e,void 0,n),e.attrs)t.setAttribute(Ut.has(o)?o:Nt(o),e.attrs[o])}function qt(t){var e=t.style,r={};for(var n in e)(U(e[n])||H(n,t))&&(r[n]=e[n]);return r}function Gt(t){var e=qt(t);for(var r in t){if(U(t[r]))e["x"===r||"y"===r?"attr"+r.toUpperCase():r]=t[r]}return e}function Yt(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return"function"==typeof e&&(e=e(void 0!==r?r:t.custom,n,o)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==r?r:t.custom,n,o)),e}var Xt=function(t){return Array.isArray(t)},Jt=function(t){return Xt(t)?t[t.length-1]||0:t};function Qt(t){var e,r=U(t)?t.get():t;return e=r,Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)?r.toValue():r}var Kt=["transitionEnd","transition"];var te=function(t){return function(e,r){var n=(0,o.useContext)(a),i=(0,o.useContext)(s.O),c=function(){return function(t,e,r,n){var o=t.scrapeMotionValuesFromProps,i=t.createRenderState,a=t.onMount,s={latestValues:ee(e,r,n,o),renderState:i()};return a&&(s.mount=function(t){return a(e,t,s)}),s}(t,e,n,i)};return r?c():(0,k.h)(c)}};function ee(t,e,r,n){var o={},i=n(t);for(var a in i)o[a]=Qt(i[a]);var s=t.initial,c=t.animate,u=v(t),l=m(t);e&&l&&!u&&!1!==t.inherit&&(void 0===s&&(s=e.initial),void 0===c&&(c=e.animate));var f=!!r&&!1===r.initial,d=(f=f||!1===s)?c:s;d&&"boolean"!=typeof d&&!p(d)&&(Array.isArray(d)?d:[d]).forEach((function(e){var r=Yt(t,e);if(r){var n=r.transitionEnd,i=(r.transition,(0,Ct.Z)(r,Kt));for(var a in i){var s=i[a];if(Array.isArray(s))s=s[f?s.length-1:0];null!==s&&(o[a]=s)}for(var c in n)o[c]=n[c]}}));return o}var re,ne={useVisualState:te({scrapeMotionValuesFromProps:Gt,createRenderState:Bt,onMount:function(t,e,r){var n=r.renderState,o=r.latestValues;try{n.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(i){n.dimensions={x:0,y:0,width:0,height:0}}Dt(n,o,{enableHardwareAcceleration:!1},t.transformTemplate),$t(e,n)}})},oe={useVisualState:te({scrapeMotionValuesFromProps:qt,createRenderState:bt})};function ie(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ae(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ie(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ie(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function se(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,r,n),function(){return t.removeEventListener(e,r)}}function ce(t,e,r,n){(0,o.useEffect)((function(){var o=t.current;if(r&&o)return se(o,e,r,n)}),[t,e,r,n])}function ue(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function le(t){return!!t.touches}function fe(t){return function(e){var r=e instanceof MouseEvent;(!r||r&&0===e.button)&&t(e)}}!function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"}(re||(re={}));var de={pageX:0,pageY:0};function pe(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page",r=t.touches[0]||t.changedTouches[0],n=r||de;return{x:n[e+"X"],y:n[e+"Y"]}}function he(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{x:t[e+"X"],y:t[e+"Y"]}}function ve(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{point:le(t)?pe(t,e):he(t,e)}}var me=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=function(e){return t(e,ve(e))};return e?fe(r):r},ge={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},ye={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function be(t){return x.j&&null===window.onpointerdown?t:x.j&&null===window.ontouchstart?ye[t]:x.j&&null===window.onmousedown?ge[t]:t}function we(t,e,r,n){return se(t,be(e),me(r,"pointerdown"===e),n)}function xe(t,e,r,n){return ce(t,be(e),r&&me(r,"pointerdown"===e),n)}function ke(t){var e=null;return function(){return null===e&&(e=t,function(){e=null})}}var Se=ke("dragHorizontal"),Oe=ke("dragVertical");function Pe(t){var e=!1;if("y"===t)e=Oe();else if("x"===t)e=Se();else{var r=Se(),n=Oe();r&&n?e=function(){r(),n()}:(r&&r(),n&&n())}return e}function Ee(){var t=Pe(!0);return!t||(t(),!1)}function je(t,e,r){return function(n,o){ue(n)&&!Ee()&&(t.animationState&&t.animationState.setActive(re.Hover,e),r&&r(n,o))}}var Ce=function t(e,r){return!!r&&(e===r||t(e,r.parentElement))},Ae=r(296),Re=function(t,e){return function(r){return e(t(r))}},_e=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.reduce(Re)};var Te=r(8612),De=r(4282),Me=["root"];function Ze(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}var Be=new WeakMap,Ie=new WeakMap,Le=function(t){var e=Be.get(t.target);e&&e(t)},ze=function(t){t.forEach(Le)};function Fe(t){var e=t.root,r=(0,Ct.Z)(t,Me),o=e||document;Ie.has(o)||Ie.set(o,{});var i=Ie.get(o),a=JSON.stringify(r);return i[a]||(i[a]=new IntersectionObserver(ze,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ze(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ze(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({root:e},r))),i[a]}var Ve={some:0,all:1};function We(t,e,r,n){var i=n.root,a=n.margin,s=n.amount,c=void 0===s?"some":s,u=n.once;(0,o.useEffect)((function(){if(t){var n={root:null==i?void 0:i.current,rootMargin:a,threshold:"number"==typeof c?c:Ve[c]};return function(t,e,r){var n=Fe(e);return Be.set(t,r),n.observe(t),function(){Be.delete(t),n.unobserve(t)}}(r.getInstance(),n,(function(t){var n=t.isIntersecting;if(e.isInView!==n&&(e.isInView=n,!u||n||!e.hasEnteredView)){n&&(e.hasEnteredView=!0),r.animationState&&r.animationState.setActive(re.InView,n);var o=r.getProps(),i=n?o.onViewportEnter:o.onViewportLeave;i&&i(t)}}))}}),[t,i,a,c])}function Ne(t,e,r,n){var i=n.fallback,a=void 0===i||i;(0,o.useEffect)((function(){t&&a&&("production"!==Te.O&&(0,De.O)(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame((function(){e.hasEnteredView=!0;var t=r.getProps().onViewportEnter;t&&t(null),r.animationState&&r.animationState.setActive(re.InView,!0)})))}),[t])}var He=function(t){return function(e){return t(e),null}},Ue={inView:He((function(t){var e=t.visualElement,r=t.whileInView,n=t.onViewportEnter,i=t.onViewportLeave,a=t.viewport,s=void 0===a?{}:a,c=(0,o.useRef)({hasEnteredView:!1,isInView:!1}),u=Boolean(r||n||i);s.once&&c.current.hasEnteredView&&(u=!1),("undefined"==typeof IntersectionObserver?Ne:We)(u,c.current,e,s)})),tap:He((function(t){var e=t.onTap,r=t.onTapStart,n=t.onTapCancel,i=t.whileTap,a=t.visualElement,s=e||r||n||i,c=(0,o.useRef)(!1),u=(0,o.useRef)(null),l={passive:!(r||e||n||v)};function f(){u.current&&u.current(),u.current=null}function d(){return f(),c.current=!1,a.animationState&&a.animationState.setActive(re.Tap,!1),!Ee()}function p(t,r){d()&&(Ce(a.getInstance(),t.target)?e&&e(t,r):n&&n(t,r))}function h(t,e){d()&&n&&n(t,e)}function v(t,e){f(),c.current||(c.current=!0,u.current=_e(we(window,"pointerup",p,l),we(window,"pointercancel",h,l)),a.animationState&&a.animationState.setActive(re.Tap,!0),r&&r(t,e))}xe(a,"pointerdown",s?v:void 0,l),(0,Ae.z)(f)})),focus:He((function(t){var e=t.whileFocus,r=t.visualElement,n=r.animationState;ce(r,"focus",e?function(){n&&n.setActive(re.Focus,!0)}:void 0),ce(r,"blur",e?function(){n&&n.setActive(re.Focus,!1)}:void 0)})),hover:He((function(t){var e=t.onHoverStart,r=t.onHoverEnd,n=t.whileHover,o=t.visualElement;xe(o,"pointerenter",e||n?je(o,!0,e):void 0,{passive:!e}),xe(o,"pointerleave",r||n?je(o,!1,r):void 0,{passive:!r})}))},$e=r(9439),qe=r(5284),Ge=r(3433);function Ye(t,e){if(!Array.isArray(e))return!1;var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}var Xe=r(9900);var Je=function(t,e,r){return Math.min(Math.max(r,t),e)},Qe=.001;function Ke(t){var e,r,n=t.duration,o=void 0===n?800:n,i=t.bounce,a=void 0===i?.25:i,s=t.velocity,c=void 0===s?0:s,u=t.mass,l=void 0===u?1:u,f=1-a;f=Je(.05,1,f),o=Je(.01,10,o/1e3),f<1?(e=function(t){var e=t*f,r=e*o,n=e-c,i=tr(t,f),a=Math.exp(-r);return Qe-n/i*a},r=function(t){var r=t*f*o,n=r*c+c,i=Math.pow(f,2)*Math.pow(t,2)*o,a=Math.exp(-r),s=tr(Math.pow(t,2),f);return(-e(t)+Qe>0?-1:1)*((n-i)*a)/s}):(e=function(t){return Math.exp(-t*o)*((t-c)*o+1)-.001},r=function(t){return Math.exp(-t*o)*(o*o*(c-t))});var d=function(t,e,r){for(var n=r,o=1;o<12;o++)n-=t(n)/e(n);return n}(e,r,5/o);if(o*=1e3,isNaN(d))return{stiffness:100,damping:10,duration:o};var p=Math.pow(d,2)*l;return{stiffness:p,damping:2*f*Math.sqrt(l*p),duration:o}}function tr(t,e){return t*Math.sqrt(1-e*e)}var er=["duration","bounce"],rr=["stiffness","damping","mass"];function nr(t,e){return e.some((function(e){return void 0!==t[e]}))}function or(t){var e=t.from,r=void 0===e?0:e,n=t.to,o=void 0===n?1:n,i=t.restSpeed,a=void 0===i?2:i,s=t.restDelta,c=(0,Xe._T)(t,["from","to","restSpeed","restDelta"]),u={done:!1,value:r},l=function(t){var e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!nr(t,rr)&&nr(t,er)){var r=Ke(t);(e=Object.assign(Object.assign(Object.assign({},e),r),{velocity:0,mass:1})).isResolvedFromDuration=!0}return e}(c),f=l.stiffness,d=l.damping,p=l.mass,h=l.velocity,v=l.duration,m=l.isResolvedFromDuration,g=ir,y=ir;function b(){var t=h?-h/1e3:0,e=o-r,n=d/(2*Math.sqrt(f*p)),i=Math.sqrt(f/p)/1e3;if(void 0===s&&(s=Math.min(Math.abs(o-r)/100,.4)),n<1){var a=tr(i,n);g=function(r){var s=Math.exp(-n*i*r);return o-s*((t+n*i*e)/a*Math.sin(a*r)+e*Math.cos(a*r))},y=function(r){var o=Math.exp(-n*i*r);return n*i*o*(Math.sin(a*r)*(t+n*i*e)/a+e*Math.cos(a*r))-o*(Math.cos(a*r)*(t+n*i*e)-a*e*Math.sin(a*r))}}else if(1===n)g=function(r){return o-Math.exp(-i*r)*(e+(t+i*e)*r)};else{var c=i*Math.sqrt(n*n-1);g=function(r){var a=Math.exp(-n*i*r),s=Math.min(c*r,300);return o-a*((t+n*i*e)*Math.sinh(s)+c*e*Math.cosh(s))/c}}}return b(),{next:function(t){var e=g(t);if(m)u.done=t>=v;else{var r=1e3*y(t),n=Math.abs(r)<=a,i=Math.abs(o-e)<=s;u.done=n&&i}return u.value=u.done?o:e,u},flipTarget:function(){h=-h;var t=[o,r];r=t[0],o=t[1],b()}}}or.needsInterpolation=function(t,e){return"string"==typeof t||"string"==typeof e};var ir=function(t){return 0},ar=function(t,e,r){var n=e-t;return 0===n?1:(r-t)/n},sr=function(t,e,r){return-r*t+r*e+t},cr=function(t,e){return function(r){return Boolean(nt(r)&&rt.test(r)&&r.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(r,e))}},ur=function(t,e,r){return function(o){var i;if(!nt(o))return o;var a=o.match(tt),s=(0,$e.Z)(a,4),c=s[0],u=s[1],l=s[2],f=s[3];return i={},(0,n.Z)(i,t,parseFloat(c)),(0,n.Z)(i,e,parseFloat(u)),(0,n.Z)(i,r,parseFloat(l)),(0,n.Z)(i,"alpha",void 0!==f?parseFloat(f):1),i}},lr=Q(0,255),fr=Object.assign(Object.assign({},ft),{transform:function(t){return Math.round(lr(t))}}),dr={test:cr("rgb","red"),parse:ur("red","green","blue"),transform:function(t){var e=t.red,r=t.green,n=t.blue,o=t.alpha,i=void 0===o?1:o;return"rgba("+fr.transform(e)+", "+fr.transform(r)+", "+fr.transform(n)+", "+K(dt.transform(i))+")"}};var pr={test:cr("#"),parse:function(t){var e="",r="",n="",o="";return t.length>5?(e=t.substr(1,2),r=t.substr(3,2),n=t.substr(5,2),o=t.substr(7,2)):(e=t.substr(1,1),r=t.substr(2,1),n=t.substr(3,1),o=t.substr(4,1),e+=e,r+=r,n+=n,o+=o),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}},transform:dr.transform},hr={test:cr("hsl","hue"),parse:ur("hue","saturation","lightness"),transform:function(t){var e=t.hue,r=t.saturation,n=t.lightness,o=t.alpha,i=void 0===o?1:o;return"hsla("+Math.round(e)+", "+at.transform(K(r))+", "+at.transform(K(n))+", "+K(dt.transform(i))+")"}};function vr(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function mr(t){var e=t.hue,r=t.saturation,n=t.lightness,o=t.alpha;e/=360,n/=100;var i=0,a=0,s=0;if(r/=100){var c=n<.5?n*(1+r):n+r-n*r,u=2*n-c;i=vr(u,c,e+1/3),a=vr(u,c,e),s=vr(u,c,e-1/3)}else i=a=s=n;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*s),alpha:o}}var gr=function(t,e,r){var n=t*t,o=e*e;return Math.sqrt(Math.max(0,r*(o-n)+n))},yr=[pr,dr,hr],br=function(t){return yr.find((function(e){return e.test(t)}))},wr=function(t){return"'".concat(t,"' is not an animatable color. Use the equivalent color code instead.")},xr=function(t,e){var r=br(t),n=br(e);wr(t),wr(e);var o=r.parse(t),i=n.parse(e);r===hr&&(o=mr(o),r=dr),n===hr&&(i=mr(i),n=dr);var a=Object.assign({},o);return function(t){for(var e in a)"alpha"!==e&&(a[e]=gr(o[e],i[e],t));return a.alpha=sr(o.alpha,i.alpha,t),r.transform(a)}},kr={test:function(t){return dr.test(t)||pr.test(t)||hr.test(t)},parse:function(t){return dr.test(t)?dr.parse(t):hr.test(t)?hr.parse(t):pr.parse(t)},transform:function(t){return nt(t)?t:t.hasOwnProperty("red")?dr.transform(t):hr.transform(t)}},Sr="${c}",Or="${n}";function Pr(t){"number"==typeof t&&(t="".concat(t));var e=[],r=0,n=t.match(et);n&&(r=n.length,t=t.replace(et,Sr),e.push.apply(e,(0,Ge.Z)(n.map(kr.parse))));var o=t.match(tt);return o&&(t=t.replace(tt,Or),e.push.apply(e,(0,Ge.Z)(o.map(ft.parse)))),{values:e,numColors:r,tokenised:t}}function Er(t){return Pr(t).values}function jr(t){var e=Pr(t),r=e.values,n=e.numColors,o=e.tokenised,i=r.length;return function(t){for(var e=o,r=0;r<i;r++)e=e.replace(r<n?Sr:Or,r<n?kr.transform(t[r]):K(t[r]));return e}}var Cr=function(t){return"number"==typeof t?0:t};var Ar={test:function(t){var e,r,n,o;return isNaN(t)&&nt(t)&&(null!==(r=null===(e=t.match(tt))||void 0===e?void 0:e.length)&&void 0!==r?r:0)+(null!==(o=null===(n=t.match(et))||void 0===n?void 0:n.length)&&void 0!==o?o:0)>0},parse:Er,createTransformer:jr,getAnimatableNone:function(t){var e=Er(t);return jr(t)(e.map(Cr))}},Rr=function(t){return"number"==typeof t};function _r(t,e){return Rr(t)?function(r){return sr(t,e,r)}:kr.test(t)?xr(t,e):Zr(t,e)}var Tr=function(t,e){var r=(0,Ge.Z)(t),n=r.length,o=t.map((function(t,r){return _r(t,e[r])}));return function(t){for(var e=0;e<n;e++)r[e]=o[e](t);return r}},Dr=function(t,e){var r=Object.assign(Object.assign({},t),e),n={};for(var o in r)void 0!==t[o]&&void 0!==e[o]&&(n[o]=_r(t[o],e[o]));return function(t){for(var e in n)r[e]=n[e](t);return r}};function Mr(t){for(var e=Ar.parse(t),r=e.length,n=0,o=0,i=0,a=0;a<r;a++)n||"number"==typeof e[a]?n++:void 0!==e[a].hue?i++:o++;return{parsed:e,numNumbers:n,numRGB:o,numHSL:i}}var Zr=function(t,e){var r=Ar.createTransformer(e),n=Mr(t),o=Mr(e);return n.numHSL===o.numHSL&&n.numRGB===o.numRGB&&n.numNumbers>=o.numNumbers?_e(Tr(n.parsed,o.parsed),r):("Complex values '".concat(t,"' and '").concat(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."),function(r){return"".concat(r>0?e:t)})},Br=function(t,e){return function(r){return sr(t,e,r)}};function Ir(t,e,r){for(var n,o=[],i=r||("number"==typeof(n=t[0])?Br:"string"==typeof n?kr.test(n)?xr:Zr:Array.isArray(n)?Tr:"object"==typeof n?Dr:void 0),a=t.length-1,s=0;s<a;s++){var c=i(t[s],t[s+1]);if(e){var u=Array.isArray(e)?e[s]:e;c=_e(u,c)}o.push(c)}return o}function Lr(t,e){var r=(0,$e.Z)(t,2),n=r[0],o=r[1],i=(0,$e.Z)(e,1)[0];return function(t){return i(ar(n,o,t))}}function zr(t,e){var r=t.length,n=r-1;return function(o){var i=0,a=!1;if(o<=t[0]?a=!0:o>=t[n]&&(i=n-1,a=!0),!a){for(var s=1;s<r&&!(t[s]>o||s===n);s++);i=s-1}var c=ar(t[i],t[i+1],o);return e[i](c)}}function Fr(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.clamp,o=void 0===n||n,i=r.ease,a=r.mixer,s=t.length;e.length,!i||!Array.isArray(i)||i.length,t[0]>t[s-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());var c=Ir(e,i,a),u=2===s?Lr(t,c):zr(t,c);return o?function(e){return u(Je(t[0],t[s-1],e))}:u}var Vr,Wr=function(t){return function(e){return 1-t(1-e)}},Nr=function(t){return function(e){return e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2}},Hr=function(t){return function(e){return e*e*((t+1)*e-t)}},Ur=function(t){return t},$r=(Vr=2,function(t){return Math.pow(t,Vr)}),qr=Wr($r),Gr=Nr($r),Yr=function(t){return 1-Math.sin(Math.acos(t))},Xr=Wr(Yr),Jr=Nr(Xr),Qr=Hr(1.525),Kr=Wr(Qr),tn=Nr(Qr),en=function(t){var e=Hr(t);return function(t){return(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))}}(1.525),rn=function(t){if(1===t||0===t)return t;var e=t*t;return t<.36363636363636365?7.5625*e:t<.7272727272727273?9.075*e-9.9*t+3.4:t<.9?12.066481994459833*e-19.63545706371191*t+8.898060941828255:10.8*t*t-20.52*t+10.72},nn=Wr(rn);function on(t,e){return t.map((function(){return e||Gr})).splice(0,t.length-1)}function an(t){var e=t.from,r=void 0===e?0:e,n=t.to,o=void 0===n?1:n,i=t.ease,a=t.offset,s=t.duration,c=void 0===s?300:s,u={done:!1,value:r},l=Array.isArray(o)?o:[r,o],f=function(t,e){return t.map((function(t){return t*e}))}(a&&a.length===l.length?a:function(t){var e=t.length;return t.map((function(t,r){return 0!==r?r/(e-1):0}))}(l),c);function d(){return Fr(f,l,{ease:Array.isArray(i)?i:on(l,i)})}var p=d();return{next:function(t){return u.value=p(t),u.done=t>=c,u},flipTarget:function(){l.reverse(),p=d()}}}var sn={keyframes:an,spring:or,decay:function(t){var e=t.velocity,r=void 0===e?0:e,n=t.from,o=void 0===n?0:n,i=t.power,a=void 0===i?.8:i,s=t.timeConstant,c=void 0===s?350:s,u=t.restDelta,l=void 0===u?.5:u,f=t.modifyTarget,d={done:!1,value:o},p=a*r,h=o+p,v=void 0===f?h:f(h);return v!==h&&(p=v-o),{next:function(t){var e=-p*Math.exp(-t/c);return d.done=!(e>l||e<-l),d.value=d.done?v:v+e,d},flipTarget:function(){}}}};var cn=1/60*1e3,un="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},ln="undefined"!=typeof window?function(t){return window.requestAnimationFrame(t)}:function(t){return setTimeout((function(){return t(un())}),cn)};var fn=!0,dn=!1,pn=!1,hn={delta:0,timestamp:0},vn=["read","update","preRender","render","postRender"],mn=vn.reduce((function(t,e){return t[e]=function(t){var e=[],r=[],n=0,o=!1,i=!1,a=new WeakSet,s={schedule:function(t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&o,s=i?e:r;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(t),-1===s.indexOf(t)&&(s.push(t),i&&o&&(n=e.length)),t},cancel:function(t){var e=r.indexOf(t);-1!==e&&r.splice(e,1),a.delete(t)},process:function(c){if(o)i=!0;else{o=!0;var u=[r,e];if(e=u[0],(r=u[1]).length=0,n=e.length)for(var l=0;l<n;l++){var f=e[l];f(c),a.has(f)&&(s.schedule(f),t())}o=!1,i&&(i=!1,s.process(c))}}};return s}((function(){return dn=!0})),t}),{}),gn=vn.reduce((function(t,e){var r=mn[e];return t[e]=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return dn||xn(),r.schedule(t,e,n)},t}),{}),yn=vn.reduce((function(t,e){return t[e]=mn[e].cancel,t}),{}),bn=(vn.reduce((function(t,e){return t[e]=function(){return mn[e].process(hn)},t}),{}),function(t){return mn[t].process(hn)}),wn=function t(e){dn=!1,hn.delta=fn?cn:Math.max(Math.min(e-hn.timestamp,40),1),hn.timestamp=e,pn=!0,vn.forEach(bn),pn=!1,dn&&(fn=!1,ln(t))},xn=function(){dn=!0,fn=!0,pn||ln(wn)},kn=gn;function Sn(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t-e-r}var On=function(t){var e=function(e){var r=e.delta;return t(r)};return{start:function(){return kn.update(e,!0)},stop:function(){return yn.update(e)}}};function Pn(t){var e,r,n,o,i,a=t.from,s=t.autoplay,c=void 0===s||s,u=t.driver,l=void 0===u?On:u,f=t.elapsed,d=void 0===f?0:f,p=t.repeat,h=void 0===p?0:p,v=t.repeatType,m=void 0===v?"loop":v,g=t.repeatDelay,y=void 0===g?0:g,b=t.onPlay,w=t.onStop,x=t.onComplete,k=t.onRepeat,S=t.onUpdate,O=(0,Xe._T)(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),P=O.to,E=0,j=O.duration,C=!1,A=!0,R=function(t){if(Array.isArray(t.to))return an;if(sn[t.type])return sn[t.type];var e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?an:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?or:an}(O);(null===(r=(e=R).needsInterpolation)||void 0===r?void 0:r.call(e,a,P))&&(i=Fr([0,100],[a,P],{clamp:!1}),a=0,P=100);var _=R(Object.assign(Object.assign({},O),{from:a,to:P}));function T(){E++,"reverse"===m?d=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?e-(t-e)+r:Sn(e+-t,e,r)}(d,j,y,A=E%2==0):(d=Sn(d,j,y),"mirror"===m&&_.flipTarget()),C=!1,k&&k()}function D(t){if(A||(t=-t),d+=t,!C){var e=_.next(Math.max(0,d));o=e.value,i&&(o=i(o)),C=A?e.done:d<=0}null==S||S(o),C&&(0===E&&(null!=j||(j=d)),E<h?function(t,e,r,n){return n?t>=e+r:t<=-r}(d,j,y,A)&&T():(n.stop(),x&&x()))}return c&&(null==b||b(),(n=l(D)).start()),{stop:function(){null==w||w(),n.stop()}}}function En(t,e){return e?t*(1e3/e):0}function jn(t){var e,r=t.from,n=void 0===r?0:r,o=t.velocity,i=void 0===o?0:o,a=t.min,s=t.max,c=t.power,u=void 0===c?.8:c,l=t.timeConstant,f=void 0===l?750:l,d=t.bounceStiffness,p=void 0===d?500:d,h=t.bounceDamping,v=void 0===h?10:h,m=t.restDelta,g=void 0===m?1:m,y=t.modifyTarget,b=t.driver,w=t.onUpdate,x=t.onComplete,k=t.onStop;function S(t){return void 0!==a&&t<a||void 0!==s&&t>s}function O(t){return void 0===a?s:void 0===s||Math.abs(a-t)<Math.abs(s-t)?a:s}function P(t){null==e||e.stop(),e=Pn(Object.assign(Object.assign({},t),{driver:b,onUpdate:function(e){var r;null==w||w(e),null===(r=t.onUpdate)||void 0===r||r.call(t,e)},onComplete:x,onStop:k}))}function E(t){P(Object.assign({type:"spring",stiffness:p,damping:v,restDelta:g},t))}if(S(n))E({from:n,velocity:i,to:O(n)});else{var j=u*i+n;void 0!==y&&(j=y(j));var C,A,R=O(j),_=R===a?-1:1;P({type:"decay",from:n,velocity:i,timeConstant:f,power:u,restDelta:g,modifyTarget:y,onUpdate:S(j)?function(t){C=A,A=t,i=En(t-C,hn.delta),(1===_&&t>R||-1===_&&t<R)&&E({from:t,to:R,velocity:i})}:void 0})}return{stop:function(){return null==e?void 0:e.stop()}}}var Cn=function(t){return 1e3*t},An=function(t,e){return 1-3*e+3*t},Rn=function(t,e){return 3*e-6*t},_n=function(t){return 3*t},Tn=function(t,e,r){return((An(e,r)*t+Rn(e,r))*t+_n(e))*t},Dn=function(t,e,r){return 3*An(e,r)*t*t+2*Rn(e,r)*t+_n(e)};var Mn=.1;function Zn(t,e,r,n){if(t===e&&r===n)return Ur;for(var o=new Float32Array(11),i=0;i<11;++i)o[i]=Tn(i*Mn,t,r);function a(e){for(var n=0,i=1;10!==i&&o[i]<=e;++i)n+=Mn;--i;var a=n+(e-o[i])/(o[i+1]-o[i])*Mn,s=Dn(a,t,r);return s>=.001?function(t,e,r,n){for(var o=0;o<8;++o){var i=Dn(e,r,n);if(0===i)return e;e-=(Tn(e,r,n)-t)/i}return e}(e,a,t,r):0===s?a:function(t,e,r,n,o){var i,a,s=0;do{(i=Tn(a=e+(r-e)/2,n,o)-t)>0?r=a:e=a}while(Math.abs(i)>1e-7&&++s<10);return a}(e,n,n+Mn,t,r)}return function(t){return 0===t||1===t?t:Tn(a(t),e,n)}}var Bn={linear:Ur,easeIn:$r,easeInOut:Gr,easeOut:qr,circIn:Yr,circInOut:Jr,circOut:Xr,backIn:Qr,backInOut:tn,backOut:Kr,anticipate:en,bounceIn:nn,bounceInOut:function(t){return t<.5?.5*(1-rn(1-2*t)):.5*rn(2*t-1)+.5},bounceOut:rn},In=function(t){if(Array.isArray(t)){t.length;var e=(0,$e.Z)(t,4);return Zn(e[0],e[1],e[2],e[3])}return"string"==typeof t?("Invalid easing type '".concat(t,"'"),Bn[t]):t},Ln=function(t,e){return"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!Ar.test(e)||e.startsWith("url(")))};function zn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}var Fn=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Vn=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}},Wn=function(){return{type:"keyframes",ease:"linear",duration:.3}},Nn=function(t){return{type:"keyframes",duration:.8,values:t}},Hn={x:Fn,y:Fn,z:Fn,rotate:Fn,rotateX:Fn,rotateY:Fn,rotateZ:Fn,scaleX:Vn,scaleY:Vn,scale:Vn,opacity:Wn,backgroundColor:Wn,color:Wn,default:Vn},Un=function(t,e){return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?zn(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({to:e},(Xt(e)?Nn:Hn[t]||Hn.default)(e))},$n=new Set(["brightness","contrast","saturate","opacity"]);function qn(t){var e=t.slice(0,-1).split("("),r=(0,$e.Z)(e,2),n=r[0],o=r[1];if("drop-shadow"===n)return t;var i=o.match(tt)||[],a=(0,$e.Z)(i,1)[0];if(!a)return t;var s=o.replace(a,""),c=$n.has(n)?1:0;return a!==o&&(c*=100),n+"("+c+s+")"}var Gn=/([a-z-]*)\(.*?\)/g,Yn=Object.assign(Object.assign({},Ar),{getAnimatableNone:function(t){var e=t.match(Gn);return e?e.map(qn).join(" "):t}});function Xn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Xn(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Xn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Qn=Jn(Jn({},gt),{},{color:kr,backgroundColor:kr,outlineColor:kr,fill:kr,stroke:kr,borderColor:kr,borderTopColor:kr,borderRightColor:kr,borderBottomColor:kr,borderLeftColor:kr,filter:Yn,WebkitFilter:Yn}),Kn=function(t){return Qn[t]};function to(t,e){var r,n=Kn(t);return n!==Yn&&(n=Ar),null===(r=n.getAnimatableNone)||void 0===r?void 0:r.call(n,e)}var eo=!1,ro=r(9471);function no(t,e){var r=performance.now(),n=function n(o){var i=o.timestamp-r;i>=e&&(ro.qY.read(n),t(i-e))};return ro.ZP.read(n,!0),function(){return ro.qY.read(n)}}var oo=["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"],io=["ease","times","yoyo","flip","loop"];function ao(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function so(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ao(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ao(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function co(t){var e=t.ease,r=t.times,n=t.yoyo,o=t.flip,i=t.loop,a=(0,Ct.Z)(t,io),s=so({},a);return r&&(s.offset=r),a.duration&&(s.duration=Cn(a.duration)),a.repeatDelay&&(s.repeatDelay=Cn(a.repeatDelay)),e&&(s.ease=function(t){return Array.isArray(t)&&"number"!=typeof t[0]}(e)?e.map(In):In(e)),"tween"===a.type&&(s.type="keyframes"),(n||i||o)&&(!0,n?s.repeatType="reverse":i?s.repeatType="loop":o&&(s.repeatType="mirror"),s.repeat=i||n||o||a.repeat),"spring"!==a.type&&(s.type="keyframes"),s}function uo(t,e){var r,n;return null!==(n=null!==(r=(vo(t,e)||{}).delay)&&void 0!==r?r:t.delay)&&void 0!==n?n:0}function lo(t,e,r){return Array.isArray(e.to)&&void 0===t.duration&&(t.duration=.8),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=(0,Ge.Z)(t.to),t.to[0]=t.from)}(e),function(t){t.when,t.delay,t.delayChildren,t.staggerChildren,t.staggerDirection,t.repeat,t.repeatType,t.repeatDelay,t.from;var e=(0,Ct.Z)(t,oo);return!!Object.keys(e).length}(t)||(t=so(so({},t),Un(r,e.to))),so(so({},e),co(t))}function fo(t,e,r,n,o){var i=vo(n,t)||{},a=void 0!==i.from?i.from:e.get(),s=Ln(t,r);"none"===a&&s&&"string"==typeof r?a=to(t,r):po(a)&&"string"==typeof r?a=ho(r):!Array.isArray(r)&&po(r)&&"string"==typeof a&&(r=ho(a));var c=Ln(t,a);return"You are trying to animate ".concat(t,' from "').concat(a,'" to "').concat(r,'". ').concat(a," is not an animatable value - to enable this animation set ").concat(a," to a value animatable to ").concat(r," via the `style` property."),c&&s&&!1!==i.type?function(){var n={from:a,to:r,velocity:e.getVelocity(),onComplete:o,onUpdate:function(t){return e.set(t)}};return"inertia"===i.type||"decay"===i.type?jn(so(so({},n),i)):Pn(so(so({},lo(i,n,t)),{},{onUpdate:function(t){n.onUpdate(t),i.onUpdate&&i.onUpdate(t)},onComplete:function(){n.onComplete(),i.onComplete&&i.onComplete()}}))}:function(){var t=Jt(r);return e.set(t),o(),i.onUpdate&&i.onUpdate(t),i.onComplete&&i.onComplete(),{stop:function(){}}}}function po(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function ho(t){return"number"==typeof t?0:to("",t)}function vo(t,e){return t[e]||t.default||t}function mo(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return eo&&(n={type:!1}),e.start((function(o){var i,a,s=fo(t,e,r,n,o),c=uo(n,t),u=function(){return i=s()};return c?a=no(u,Cn(c)):u(),function(){a&&a(),i&&i.stop()}}))}var go=function(t){return/^0[^.\s]+$/.test(t)};function yo(t,e){-1===t.indexOf(e)&&t.push(e)}function bo(t,e){var r=t.indexOf(e);r>-1&&t.splice(r,1)}var wo=function(){function t(){(0,E.Z)(this,t),this.subscriptions=[]}return(0,j.Z)(t,[{key:"add",value:function(t){var e=this;return yo(this.subscriptions,t),function(){return bo(e.subscriptions,t)}}},{key:"notify",value:function(t,e,r){var n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,r);else for(var o=0;o<n;o++){var i=this.subscriptions[o];i&&i(t,e,r)}}},{key:"getSize",value:function(){return this.subscriptions.length}},{key:"clear",value:function(){this.subscriptions.length=0}}]),t}(),xo=function(){function t(e){var r,n=this;(0,E.Z)(this,t),this.version="7.6.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new wo,this.velocityUpdateSubscribers=new wo,this.renderSubscribers=new wo,this.canTrackVelocity=!1,this.updateAndNotify=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n.prev=n.current,n.current=t;var r=(0,ro.$B)(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,ro.ZP.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),e&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return ro.ZP.postRender(n.velocityCheck)},this.velocityCheck=function(t){t.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(r=this.current,!isNaN(parseFloat(r)))}return(0,j.Z)(t,[{key:"onChange",value:function(t){return this.updateSubscribers.add(t)}},{key:"clearListeners",value:function(){this.updateSubscribers.clear()}},{key:"onRenderRequest",value:function(t){return t(this.get()),this.renderSubscribers.add(t)}},{key:"attach",value:function(t){this.passiveEffect=t}},{key:"set",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}},{key:"get",value:function(){return this.current}},{key:"getPrevious",value:function(){return this.prev}},{key:"getVelocity",value:function(){return this.canTrackVelocity?En(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}},{key:"start",value:function(t){var e=this;return this.stop(),new Promise((function(r){e.hasAnimated=!0,e.stopAnimation=t(r)})).then((function(){return e.clearAnimation()}))}},{key:"stop",value:function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}},{key:"isAnimating",value:function(){return!!this.stopAnimation}},{key:"clearAnimation",value:function(){this.stopAnimation=null}},{key:"destroy",value:function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}}]),t}();function ko(t){return new xo(t)}var So=function(t){return function(e){return e.test(t)}},Oo=[ft,st,at,it,ut,ct,{test:function(t){return"auto"===t},parse:function(t){return t}}],Po=function(t){return Oo.find(So(t))},Eo=[].concat((0,Ge.Z)(Oo),[kr,Ar]),jo=function(t){return Eo.find(So(t))};function Co(t,e,r){var n=t.getProps();return Yt(n,e,void 0!==r?r:n.custom,function(t){var e={};return t.forEachValue((function(t,r){return e[r]=t.get()})),e}(t),function(t){var e={};return t.forEachValue((function(t,r){return e[r]=t.getVelocity()})),e}(t))}var Ao=["transitionEnd","transition"];function Ro(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ro(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ro(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function To(t,e,r){t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,ko(r))}function Do(t,e){var r=Co(t,e),n=r?t.makeTargetAnimatable(r,!1):{},o=n.transitionEnd,i=void 0===o?{}:o,a=(n.transition,(0,Ct.Z)(n,Ao));for(var s in a=_o(_o({},a),i)){To(t,s,Jt(a[s]))}}function Mo(t,e,r){var n,o,i=Object.keys(e).filter((function(e){return!t.hasValue(e)})),a=i.length;if(a)for(var s=0;s<a;s++){var c=i[s],u=e[c],l=null;Array.isArray(u)&&(l=u[0]),null===l&&(l=null!==(o=null!==(n=r[c])&&void 0!==n?n:t.readValue(c))&&void 0!==o?o:e[c]),null!=l&&("string"==typeof l&&(/^\-?\d*\.?\d+$/.test(l)||go(l))?l=parseFloat(l):!jo(l)&&Ar.test(u)&&(l=to(c,u)),t.addValue(c,ko(l)),void 0===r[c]&&(r[c]=l),t.setBaseTarget(c,l))}}function Zo(t,e){if(e)return(e[t]||e.default||e).from}function Bo(t,e,r){var n,o={};for(var i in t){var a=Zo(i,e);o[i]=void 0!==a?a:null===(n=r.getValue(i))||void 0===n?void 0:n.get()}return o}function Io(t){return Boolean(U(t)&&t.add)}var Lo=["transition","transitionEnd"];function zo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Fo(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?zo(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zo(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Vo(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Co(t,e,n.custom),i=o||{},a=i.transition,s=void 0===a?t.getDefaultTransition()||{}:a;n.transitionOverride&&(s=n.transitionOverride);var c=o?function(){return Wo(t,o,n)}:function(){return Promise.resolve()},u=(null===(r=t.variantChildren)||void 0===r?void 0:r.size)?function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,o=s,i=o.delayChildren,a=void 0===i?0:i,c=o.staggerChildren,u=o.staggerDirection;return No(t,e,a+r,c,u,n)}:function(){return Promise.resolve()},l=s,f=l.when;if(f){var d="beforeChildren"===f?[c,u]:[u,c],p=(0,$e.Z)(d,2),h=p[0],v=p[1];return h().then(v)}return Promise.all([c(),u(n.delay)])}function Wo(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.delay,i=void 0===o?0:o,a=n.transitionOverride,s=n.type,c=t.makeTargetAnimatable(e),u=c.transition,l=void 0===u?t.getDefaultTransition():u,f=c.transitionEnd,d=(0,Ct.Z)(c,Lo),p=t.getValue("willChange");a&&(l=a);var h=[],v=s&&(null===(r=t.animationState)||void 0===r?void 0:r.getState()[s]),m=function(e){var r=t.getValue(e),n=d[e];if(!r||void 0===n||v&&Uo(v,e))return"continue";var o=Fo({delay:i},l);t.shouldReduceMotion&&N.has(e)&&(o=Fo(Fo({},o),{},{type:!1,delay:0}));var a=mo(e,r,n,o);Io(p)&&(p.add(e),a=a.then((function(){return p.remove(e)}))),h.push(a)};for(var g in d)m(g);return Promise.all(h).then((function(){f&&Do(t,f)}))}function No(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=arguments.length>5?arguments[5]:void 0,a=[],s=(t.variantChildren.size-1)*n,c=1===o?function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return t*n}:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return s-t*n};return Array.from(t.variantChildren).sort(Ho).forEach((function(t,n){a.push(Vo(t,e,Fo(Fo({},i),{},{delay:r+c(n)})).then((function(){return t.notifyAnimationComplete(e)})))})),Promise.all(a)}function Ho(t,e){return t.sortNodePosition(e)}function Uo(t,e){var r=t.protectedKeys,n=t.needsAnimating,o=r.hasOwnProperty(e)&&!0!==n[e];return n[e]=!1,o}var $o=["transition","transitionEnd"];function qo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Go(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?qo(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qo(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Yo=[re.Animate,re.InView,re.Focus,re.Hover,re.Tap,re.Drag,re.Exit],Xo=[].concat(Yo).reverse(),Jo=Yo.length;function Qo(t){return function(e){return Promise.all(e.map((function(e){var r=e.animation,n=e.options;return function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notifyAnimationStart(e),Array.isArray(e)){var o=e.map((function(e){return Vo(t,e,n)}));r=Promise.all(o)}else if("string"==typeof e)r=Vo(t,e,n);else{var i="function"==typeof e?Co(t,e,n.custom):e;r=Wo(t,i,n)}return r.then((function(){return t.notifyAnimationComplete(e)}))}(t,r,n)})))}}function Ko(t){var e,r=Qo(t),o=(e={},(0,n.Z)(e,re.Animate,ti(!0)),(0,n.Z)(e,re.InView,ti()),(0,n.Z)(e,re.Hover,ti()),(0,n.Z)(e,re.Tap,ti()),(0,n.Z)(e,re.Drag,ti()),(0,n.Z)(e,re.Focus,ti()),(0,n.Z)(e,re.Exit,ti()),e),i=!0,a=function(e,r){var n=Co(t,r);if(n){n.transition;var o=n.transitionEnd,i=(0,Ct.Z)(n,$o);e=Go(Go(Go({},e),i),o)}return e};function s(e,n){for(var s,c=t.getProps(),u=t.getVariantContext(!0)||{},l=[],f=new Set,h={},v=1/0,m=function(r){var m=Xo[r],g=o[m],y=null!==(s=c[m])&&void 0!==s?s:u[m],b=d(y),w=m===n?g.isActive:null;!1===w&&(v=r);var x=y===u[m]&&y!==c[m]&&b;if(x&&i&&t.manuallyAnimateOnMount&&(x=!1),g.protectedKeys=Go({},h),!g.isActive&&null===w||!y&&!g.prevProp||p(y)||"boolean"==typeof y)return"continue";var k=function(t,e){if("string"==typeof e)return e!==t;if(Array.isArray(e))return!Ye(e,t);return!1}(g.prevProp,y),S=k||m===n&&g.isActive&&!x&&b||r>v&&b,O=Array.isArray(y)?y:[y],P=O.reduce(a,{});!1===w&&(P={});var E=g.prevResolvedValues,j=void 0===E?{}:E,C=Go(Go({},j),P),A=function(t){S=!0,f.delete(t),g.needsAnimating[t]=!0};for(var R in C){var _=P[R],T=j[R];h.hasOwnProperty(R)||(_!==T?Xt(_)&&Xt(T)?!Ye(_,T)||k?A(R):g.protectedKeys[R]=!0:void 0!==_?A(R):f.add(R):void 0!==_&&f.has(R)?A(R):g.protectedKeys[R]=!0)}g.prevProp=y,g.prevResolvedValues=P,g.isActive&&(h=Go(Go({},h),P)),i&&t.blockInitialAnimation&&(S=!1),S&&!x&&l.push.apply(l,(0,Ge.Z)(O.map((function(t){return{animation:t,options:Go({type:m},e)}}))))},g=0;g<Jo;g++)m(g);if(f.size){var y={};f.forEach((function(e){var r=t.getBaseTarget(e);void 0!==r&&(y[e]=r)})),l.push({animation:y})}var b=Boolean(l.length);return i&&!1===c.initial&&!t.manuallyAnimateOnMount&&(b=!1),i=!1,b?r(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,r,n){var i;if(o[e].isActive===r)return Promise.resolve();null===(i=t.variantChildren)||void 0===i||i.forEach((function(t){var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,r)})),o[e].isActive=r;var a=s(n,e);for(var c in o)o[c].protectedKeys={};return a},setAnimateFunction:function(e){r=e(t)},getState:function(){return o}}}function ti(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var ei={animation:He((function(t){var e=t.visualElement,r=t.animate;e.animationState||(e.animationState=Ko(e)),p(r)&&(0,o.useEffect)((function(){return r.subscribe(e)}),[r])})),exit:He((function(t){var e=t.custom,r=t.visualElement,n=(0,qe.oO)(),i=(0,$e.Z)(n,2),a=i[0],c=i[1],u=(0,o.useContext)(s.O);(0,o.useEffect)((function(){r.isPresent=a;var t=r.animationState&&r.animationState.setActive(re.Exit,!a,{custom:u&&u.custom||e});t&&!a&&t.then(c)}),[a])}))},ri=function(t){return t.hasOwnProperty("x")&&t.hasOwnProperty("y")},ni=function(t){return ri(t)&&t.hasOwnProperty("z")},oi=function(t,e){return Math.abs(t-e)};function ii(t,e){if(Rr(t)&&Rr(e))return oi(t,e);if(ri(t)&&ri(e)){var r=oi(t.x,e.x),n=oi(t.y,e.y),o=ni(t)&&ni(e)?oi(t.z,e.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(o,2))}}function ai(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function si(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ai(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ai(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var ci=function(){function t(e,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.transformPagePoint;if((0,E.Z)(this,t),this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(n.lastMoveEvent&&n.lastMoveEventInfo){var t=fi(n.lastMoveEventInfo,n.history),e=null!==n.startEvent,r=ii(t.offset,{x:0,y:0})>=3;if(e||r){var o=t.point,i=(0,ro.$B)().timestamp;n.history.push(si(si({},o),{},{timestamp:i}));var a=n.handlers,s=a.onStart,c=a.onMove;e||(s&&s(n.lastMoveEvent,t),n.startEvent=n.lastMoveEvent),c&&c(n.lastMoveEvent,t)}}},this.handlePointerMove=function(t,e){n.lastMoveEvent=t,n.lastMoveEventInfo=ui(e,n.transformPagePoint),ue(t)&&0===t.buttons?n.handlePointerUp(t,e):ro.ZP.update(n.updatePoint,!0)},this.handlePointerUp=function(t,e){n.end();var r=n.handlers,o=r.onEnd,i=r.onSessionEnd,a=fi(ui(e,n.transformPagePoint),n.history);n.startEvent&&o&&o(t,a),i&&i(t,a)},!(le(e)&&e.touches.length>1)){this.handlers=r,this.transformPagePoint=i;var a=ve(e),s=ui(a,this.transformPagePoint),c=s.point,u=(0,ro.$B)(),l=u.timestamp;this.history=[si(si({},c),{},{timestamp:l})];var f=r.onSessionStart;f&&f(e,fi(s,this.history)),this.removeListeners=_e(we(window,"pointermove",this.handlePointerMove),we(window,"pointerup",this.handlePointerUp),we(window,"pointercancel",this.handlePointerUp))}}return(0,j.Z)(t,[{key:"updateHandlers",value:function(t){this.handlers=t}},{key:"end",value:function(){this.removeListeners&&this.removeListeners(),ro.qY.update(this.updatePoint)}}]),t}();function ui(t,e){return e?{point:e(t.point)}:t}function li(t,e){return{x:t.x-e.x,y:t.y-e.y}}function fi(t,e){var r=t.point;return{point:r,delta:li(r,pi(e)),offset:li(r,di(e)),velocity:hi(e,.1)}}function di(t){return t[0]}function pi(t){return t[t.length-1]}function hi(t,e){if(t.length<2)return{x:0,y:0};for(var r=t.length-1,n=null,o=pi(t);r>=0&&(n=t[r],!(o.timestamp-n.timestamp>Cn(e)));)r--;if(!n)return{x:0,y:0};var i=(o.timestamp-n.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function vi(t){return t.max-t.min}function mi(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.01;return ii(t,e)<r}function gi(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=n,t.originPoint=sr(e.min,e.max,t.origin),t.scale=vi(r)/vi(e),(mi(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=sr(r.min,r.max,t.origin)-t.originPoint,(mi(t.translate)||isNaN(t.translate))&&(t.translate=0)}function yi(t,e,r,n){gi(t.x,e.x,r.x,null==n?void 0:n.originX),gi(t.y,e.y,r.y,null==n?void 0:n.originY)}function bi(t,e,r){t.min=r.min+e.min,t.max=t.min+vi(e)}function wi(t,e,r){t.min=e.min-r.min,t.max=t.min+vi(e)}function xi(t,e,r){wi(t.x,e.x,r.x),wi(t.y,e.y,r.y)}function ki(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 Si(t,e){var r=e.min-t.min,n=e.max-t.max;if(e.max-e.min<t.max-t.min){var o=[n,r];r=o[0],n=o[1]}return{min:r,max:n}}var Oi=.35;function Pi(t,e,r){return{min:Ei(t,e),max:Ei(t,r)}}function Ei(t,e){var r;return"number"==typeof t?t:null!==(r=t[e])&&void 0!==r?r:0}function ji(t){return[t("x"),t("y")]}function Ci(t){var e=t.top;return{x:{min:t.left,max:t.right},y:{min:e,max:t.bottom}}}function Ai(t){return void 0===t||1===t}function Ri(t){var e=t.scale,r=t.scaleX,n=t.scaleY;return!Ai(e)||!Ai(r)||!Ai(n)}function _i(t){return Ri(t)||Ti(t)||t.z||t.rotate||t.rotateX||t.rotateY}function Ti(t){return Di(t.x)||Di(t.y)}function Di(t){return t&&"0%"!==t}function Mi(t,e,r){return r+e*(t-r)}function Zi(t,e,r,n,o){return void 0!==o&&(t=Mi(t,o,n)),Mi(t,r,n)+e}function Bi(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;t.min=Zi(t.min,e,r,n,o),t.max=Zi(t.max,e,r,n,o)}function Ii(t,e){var r=e.x,n=e.y;Bi(t.x,r.translate,r.scale,r.originPoint),Bi(t.y,n.translate,n.scale,n.originPoint)}function Li(t,e){t.min=t.min+e,t.max=t.max+e}function zi(t,e,r){var n=(0,$e.Z)(r,3),o=n[0],i=n[1],a=n[2],s=void 0!==e[a]?e[a]:.5,c=sr(t.min,t.max,s);Bi(t,e[o],e[i],c,e.scale)}var Fi=["x","scaleX","originX"],Vi=["y","scaleY","originY"];function Wi(t,e){zi(t.x,e,Fi),zi(t.y,e,Vi)}function Ni(t,e){return Ci(function(t,e){if(!e)return t;var 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))}function Hi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ui(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Hi(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Hi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var $i=new WeakMap,qi=function(){function t(e){(0,E.Z)(this,t),this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}return(0,j.Z)(t,[{key:"start",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.snapToCursor,o=void 0!==n&&n;if(!1!==this.visualElement.isPresent){var i=function(t){e.stopAnimation(),o&&e.snapToCursor(ve(t,"page").point)},a=function(t,r){var n,o=e.getProps(),i=o.drag,a=o.dragPropagation,s=o.onDragStart;(!i||a||(e.openGlobalLock&&e.openGlobalLock(),e.openGlobalLock=Pe(i),e.openGlobalLock))&&(e.isDragging=!0,e.currentDirection=null,e.resolveConstraints(),e.visualElement.projection&&(e.visualElement.projection.isAnimationBlocked=!0,e.visualElement.projection.target=void 0),ji((function(t){var r,n,o=e.getAxisMotionValue(t).get()||0;if(at.test(o)){var i=null===(n=null===(r=e.visualElement.projection)||void 0===r?void 0:r.layout)||void 0===n?void 0:n.actual[t];if(i)o=vi(i)*(parseFloat(o)/100)}e.originPoint[t]=o})),null==s||s(t,r),null===(n=e.visualElement.animationState)||void 0===n||n.setActive(re.Drag,!0))},s=function(t,r){var n=e.getProps(),o=n.dragPropagation,i=n.dragDirectionLock,a=n.onDirectionLock,s=n.onDrag;if(o||e.openGlobalLock){var c=r.offset;if(i&&null===e.currentDirection)return e.currentDirection=Yi(c),void(null!==e.currentDirection&&(null==a||a(e.currentDirection)));e.updateAxis("x",r.point,c),e.updateAxis("y",r.point,c),e.visualElement.syncRender(),null==s||s(t,r)}},c=function(t,r){return e.stop(t,r)};this.panSession=new ci(t,{onSessionStart:i,onStart:a,onMove:s,onSessionEnd:c},{transformPagePoint:this.visualElement.getTransformPagePoint()})}}},{key:"stop",value:function(t,e){var r=this.isDragging;if(this.cancel(),r){var n=e.velocity;this.startAnimation(n);var o=this.getProps().onDragEnd;null==o||o(t,e)}}},{key:"cancel",value:function(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(re.Drag,!1)}},{key:"updateAxis",value:function(t,e,r){var n=this.getProps().drag;if(r&&Gi(t,n,this.currentDirection)){var o,i,a,s,c,u=this.getAxisMotionValue(t),l=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=l,i=this.constraints[t],a=this.elastic[t],s=i.min,c=i.max,void 0!==s&&o<s?o=a?sr(s,o,a.min):Math.max(o,s):void 0!==c&&o>c&&(o=a?sr(c,o,a.max):Math.min(o,c)),l=o),u.set(l)}}},{key:"resolveConstraints",value:function(){var t=this,e=this.getProps(),r=e.dragConstraints,n=e.dragElastic,o=(this.visualElement.projection||{}).layout,i=this.constraints;r&&f(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!r||!o)&&function(t,e){var r=e.top,n=e.left,o=e.bottom,i=e.right;return{x:ki(t.x,n,i),y:ki(t.y,r,o)}}(o.actual,r),this.elastic=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Oi;return!1===t?t=0:!0===t&&(t=Oi),{x:Pi(t,"left","right"),y:Pi(t,"top","bottom")}}(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&ji((function(e){t.getAxisMotionValue(e)&&(t.constraints[e]=function(t,e){var r={};return void 0!==e.min&&(r.min=e.min-t.min),void 0!==e.max&&(r.max=e.max-t.min),r}(o.actual[e],t.constraints[e]))}))}},{key:"resolveRefConstraints",value:function(){var t=this.getProps(),e=t.dragConstraints,r=t.onMeasureDragConstraints;if(!e||!f(e))return!1;var n=e.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var i,a,s,c=function(t,e,r){var n=Ni(t,r),o=e.scroll;return o&&(Li(n.x,o.x),Li(n.y,o.y)),n}(n,o.root,this.visualElement.getTransformPagePoint()),u=function(t,e){return{x:Si(t.x,e.x),y:Si(t.y,e.y)}}(o.layout.actual,c);if(r){var l=r((a=(i=u).x,{top:(s=i.y).min,right:a.max,bottom:s.max,left:a.min}));this.hasMutatedConstraints=!!l,l&&(u=Ci(l))}return u}},{key:"startAnimation",value:function(t){var e=this,r=this.getProps(),n=r.drag,o=r.dragMomentum,i=r.dragElastic,a=r.dragTransition,s=r.dragSnapToOrigin,c=r.onDragTransitionEnd,u=this.constraints||{},l=ji((function(r){var c;if(Gi(r,n,e.currentDirection)){var l=null!==(c=null==u?void 0:u[r])&&void 0!==c?c:{};s&&(l={min:0,max:0});var f=i?200:1e6,d=i?40:1e7,p=Ui(Ui({type:"inertia",velocity:o?t[r]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},a),l);return e.startAxisValueAnimation(r,p)}}));return Promise.all(l).then(c)}},{key:"startAxisValueAnimation",value:function(t,e){return mo(t,this.getAxisMotionValue(t),0,e)}},{key:"stopAnimation",value:function(){var t=this;ji((function(e){return t.getAxisMotionValue(e).stop()}))}},{key:"getAxisMotionValue",value:function(t){var e,r,n="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[n];return o||this.visualElement.getValue(t,null!==(r=null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])&&void 0!==r?r:0)}},{key:"snapToCursor",value:function(t){var e=this;ji((function(r){if(Gi(r,e.getProps().drag,e.currentDirection)){var n=e.visualElement.projection,o=e.getAxisMotionValue(r);if(n&&n.layout){var i=n.layout.actual[r],a=i.min,s=i.max;o.set(t[r]-sr(a,s,.5))}}}))}},{key:"scalePositionWithinConstraints",value:function(){var t,e=this,r=this.getProps(),n=r.drag,o=r.dragConstraints,i=this.visualElement.projection;if(f(o)&&i&&this.constraints){this.stopAnimation();var a={x:0,y:0};ji((function(t){var r,n,o,i,s,c=e.getAxisMotionValue(t);if(c){var u=c.get();a[t]=(r={min:u,max:u},n=e.constraints[t],o=.5,i=vi(r),(s=vi(n))>i?o=ar(n.min,n.max-i,r.min):i>s&&(o=ar(r.min,r.max-s,n.min)),Je(0,1,o))}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(t=i.root)||void 0===t||t.updateScroll(),i.updateLayout(),this.resolveConstraints(),ji((function(t){if(Gi(t,n,null)){var r=e.getAxisMotionValue(t),o=e.constraints[t],i=o.min,s=o.max;r.set(sr(i,s,a[t]))}}))}}},{key:"addListeners",value:function(){var t,e=this;$i.set(this.visualElement,this);var r=we(this.visualElement.getInstance(),"pointerdown",(function(t){var r=e.getProps(),n=r.drag,o=r.dragListener;n&&(void 0===o||o)&&e.start(t)})),n=function(){f(e.getProps().dragConstraints)&&(e.constraints=e.resolveRefConstraints())},o=this.visualElement.projection,i=o.addEventListener("measure",n);o&&!o.layout&&(null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout()),n();var a=se(window,"resize",(function(){return e.scalePositionWithinConstraints()})),s=o.addEventListener("didUpdate",(function(t){var r=t.delta,n=t.hasLayoutChanged;e.isDragging&&n&&(ji((function(t){var n=e.getAxisMotionValue(t);n&&(e.originPoint[t]+=r[t].translate,n.set(n.get()+r[t].translate))})),e.visualElement.syncRender())}));return function(){a(),r(),i(),null==s||s()}}},{key:"getProps",value:function(){var t=this.visualElement.getProps(),e=t.drag,r=void 0!==e&&e,n=t.dragDirectionLock,o=void 0!==n&&n,i=t.dragPropagation,a=void 0!==i&&i,s=t.dragConstraints,c=void 0!==s&&s,u=t.dragElastic,l=void 0===u?Oi:u,f=t.dragMomentum,d=void 0===f||f;return Ui(Ui({},t),{},{drag:r,dragDirectionLock:o,dragPropagation:a,dragConstraints:c,dragElastic:l,dragMomentum:d})}}]),t}();function Gi(t,e,r){return!(!0!==e&&e!==t||null!==r&&r!==t)}function Yi(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,r=null;return Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x"),r}var Xi={pan:He((function(t){var e=t.onPan,r=t.onPanStart,n=t.onPanEnd,a=t.onPanSessionStart,s=t.visualElement,c=e||r||n||a,u=(0,o.useRef)(null),l=(0,o.useContext)(i).transformPagePoint,f={onSessionStart:a,onStart:r,onMove:e,onEnd:function(t,e){u.current=null,n&&n(t,e)}};(0,o.useEffect)((function(){null!==u.current&&u.current.updateHandlers(f)})),xe(s,"pointerdown",c&&function(t){u.current=new ci(t,f,{transformPagePoint:l})}),(0,Ae.z)((function(){return u.current&&u.current.end()}))})),drag:He((function(t){var e=t.dragControls,r=t.visualElement,n=(0,k.h)((function(){return new qi(r)}));(0,o.useEffect)((function(){return e&&e.subscribe(n)}),[n,e]),(0,o.useEffect)((function(){return n.addListeners()}),[n])}))},Ji={current:null},Qi={current:!1};function Ki(){if(Qi.current=!0,x.j)if(window.matchMedia){var t=window.matchMedia("(prefers-reduced-motion)"),e=function(){return Ji.current=t.matches};t.addListener(e),e()}else Ji.current=!1}var ta=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function ea(){var t=ta.map((function(){return new wo})),e={},r={clearAllListeners:function(){return t.forEach((function(t){return t.clear()}))},updatePropListeners:function(t){ta.forEach((function(n){var o,i="on"+n,a=t[i];null===(o=e[n])||void 0===o||o.call(e),a&&(e[n]=r[i](a))}))}};return t.forEach((function(t,e){r["on"+ta[e]]=function(e){return t.add(e)},r["notify"+ta[e]]=function(){return t.notify.apply(t,arguments)}})),r}function ra(t,e,r){var n=e.willChange;for(var o in e){var i=e[o],a=r[o];if(U(i))t.addValue(o,i),Io(n)&&n.add(o);else if(U(a))t.addValue(o,ko(i)),Io(n)&&n.remove(o);else if(a!==i)if(t.hasValue(o)){var s=t.getValue(o);!s.hasAnimated&&s.set(i)}else{var c=t.getStaticValue(o);t.addValue(o,ko(void 0!==c?c:i))}}for(var u in r)void 0===e[u]&&t.removeValue(u);return e}var na=["willChange"];function oa(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ia(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?oa(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oa(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var aa=Object.keys(w),sa=aa.length,ca=function(t){var e=t.treeType,r=void 0===e?"":e,n=t.build,i=t.getBaseTarget,a=t.makeTargetAnimatable,s=t.measureViewportBox,c=t.render,u=t.readValueFromInstance,l=t.removeValueFromRenderState,p=t.sortNodePosition,h=t.scrapeMotionValuesFromProps;return function(t){var e,g,y=t.parent,b=t.props,x=t.presenceId,k=t.blockInitialAnimation,S=t.visualState,O=t.reducedMotionConfig,P=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=!1,j=S.latestValues,C=S.renderState,A=ea(),R=new Map,_=new Map,T={},D=ia({},j),M=b.initial?ia({},j):{};function Z(){e&&E&&(B(),c(e,C,b.style,Y.projection))}function B(){n(Y,C,j,P,b)}function I(){A.notifyUpdate(j)}function L(t,e){var r=e.onChange((function(e){j[t]=e,b.onUpdate&&ro.ZP.update(I,!1,!0)})),n=e.onRenderRequest(Y.scheduleRender);_.set(t,(function(){r(),n()}))}var z=h(b),F=z.willChange,V=(0,Ct.Z)(z,na);for(var W in V){var N=V[W];void 0!==j[W]&&U(N)&&(N.set(j[W],!1),Io(F)&&F.add(W))}if(b.values)for(var H in b.values){var $=b.values[H];void 0!==j[H]&&U($)&&$.set(j[H])}var q=v(b),G=m(b),Y=ia(ia({treeType:r,current:null,depth:y?y.depth+1:0,parent:y,children:new Set,presenceId:x,shouldReduceMotion:null,variantChildren:G?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==y?void 0:y.isMounted()),blockInitialAnimation:k,isMounted:function(){return Boolean(e)},mount:function(t){E=!0,e=Y.current=t,Y.projection&&Y.projection.mount(t),G&&y&&!q&&(g=null==y?void 0:y.addVariantChild(Y)),R.forEach((function(t,e){return L(e,t)})),Qi.current||Ki(),Y.shouldReduceMotion="never"!==O&&("always"===O||Ji.current),null==y||y.children.add(Y),Y.setProps(b)},unmount:function(){var t;null===(t=Y.projection)||void 0===t||t.unmount(),ro.qY.update(I),ro.qY.render(Z),_.forEach((function(t){return t()})),null==g||g(),null==y||y.children.delete(Y),A.clearAllListeners(),e=void 0,E=!1},loadFeatures:function(t,e,r,n,i,a){var s=[];Te.O;for(var c=0;c<sa;c++){var u=aa[c],l=w[u],d=l.isEnabled,p=l.Component;d(t)&&p&&s.push((0,o.createElement)(p,ia(ia({key:u},t),{},{visualElement:Y})))}if(!Y.projection&&i){Y.projection=new i(n,Y.getLatestValues(),y&&y.projection);var h=t.layoutId,v=t.layout,m=t.drag,g=t.dragConstraints,b=t.layoutScroll;Y.projection.setOptions({layoutId:h,layout:v,alwaysMeasureLayout:Boolean(m)||g&&f(g),visualElement:Y,scheduleRender:function(){return Y.scheduleRender()},animationType:"string"==typeof v?v:"both",initialPromotionConfig:a,layoutScroll:b})}return s},addVariantChild:function(t){var e,r=Y.getClosestVariantNode();if(r)return null===(e=r.variantChildren)||void 0===e||e.add(t),function(){return r.variantChildren.delete(t)}},sortNodePosition:function(t){return p&&r===t.treeType?p(Y.getInstance(),t.getInstance()):0},getClosestVariantNode:function(){return G?Y:null==y?void 0:y.getClosestVariantNode()},getLayoutId:function(){return b.layoutId},getInstance:function(){return e},getStaticValue:function(t){return j[t]},setStaticValue:function(t,e){return j[t]=e},getLatestValues:function(){return j},setVisibility:function(t){Y.isVisible!==t&&(Y.isVisible=t,Y.scheduleRender())},makeTargetAnimatable:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return a(Y,t,b,e)},measureViewportBox:function(){return s(e,b)},addValue:function(t,e){Y.hasValue(t)&&Y.removeValue(t),R.set(t,e),j[t]=e.get(),L(t,e)},removeValue:function(t){var e;R.delete(t),null===(e=_.get(t))||void 0===e||e(),_.delete(t),delete j[t],l(t,C)},hasValue:function(t){return R.has(t)},getValue:function(t,e){if(b.values&&b.values[t])return b.values[t];var r=R.get(t);return void 0===r&&void 0!==e&&(r=ko(e),Y.addValue(t,r)),r},forEachValue:function(t){return R.forEach(t)},readValue:function(t){return void 0!==j[t]?j[t]:u(e,t,P)},setBaseTarget:function(t,e){D[t]=e},getBaseTarget:function(t){var e,r=b.initial,n="string"==typeof r||"object"==typeof r?null===(e=Yt(b,r))||void 0===e?void 0:e[t]:void 0;if(r&&void 0!==n)return n;if(i){var o=i(b,t);if(void 0!==o&&!U(o))return o}return void 0!==M[t]&&void 0===n?void 0:D[t]}},A),{},{build:function(){return B(),C},scheduleRender:function(){ro.ZP.render(Z,!1,!0)},syncRender:Z,setProps:function(t){(t.transformTemplate||b.transformTemplate)&&Y.scheduleRender(),b=t,A.updatePropListeners(t),T=ra(Y,h(b),T)},getProps:function(){return b},getVariant:function(t){var e;return null===(e=b.variants)||void 0===e?void 0:e[t]},getDefaultTransition:function(){return b.transition},getTransformPagePoint:function(){return b.transformPagePoint},getVariantContext:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(t)return null==y?void 0:y.getVariantContext();if(!q){var e=(null==y?void 0:y.getVariantContext())||{};return void 0!==b.initial&&(e.initial=b.initial),e}for(var r={},n=0;n<la;n++){var o=ua[n],i=b[o];(d(i)||!1===i)&&(r[o]=i)}return r}});return Y}},ua=["initial"].concat((0,Ge.Z)(Yo)),la=ua.length;function fa(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function da(t){return"string"==typeof t&&t.startsWith("var(--")}var pa=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ha(t){var e=pa.exec(t);if(!e)return[,];var r=(0,$e.Z)(e,3);return[r[1],r[2]]}function va(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.');var n=ha(t),o=(0,$e.Z)(n,2),i=o[0],a=o[1];if(i){var s=window.getComputedStyle(e).getPropertyValue(i);return s?s.trim():da(a)?va(a,e,r+1):a}}function ma(t,e,r){var o=Object.assign({},(function(t){if(null==t)throw new TypeError("Cannot destructure "+t)}(e),e)),i=t.getInstance();if(!(i instanceof Element))return{target:o,transitionEnd:r};for(var a in r&&(r=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fa(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fa(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},r)),t.forEachValue((function(t){var e=t.get();if(da(e)){var r=va(e,i);r&&t.set(r)}})),o){var s=o[a];if(da(s)){var c=va(s,i);c&&(o[a]=c,r&&void 0===r[a]&&(r[a]=s))}}return{target:o,transitionEnd:r}}function ga(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ya(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ga(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ga(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var ba,wa=new Set(["width","height","top","left","right","bottom","x","y"]),xa=function(t){return wa.has(t)},ka=function(t,e){t.set(e,!1),t.set(e)},Sa=function(t){return t===ft||t===st};!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(ba||(ba={}));var Oa=function(t,e){return parseFloat(t.split(", ")[e])},Pa=function(t,e){return function(r,n){var o=n.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return Oa(i[1],e);var a=o.match(/^matrix\((.+)\)$/);return a?Oa(a[1],t):0}},Ea=new Set(["x","y","z"]),ja=W.filter((function(t){return!Ea.has(t)}));function Ca(t){var e=[];return ja.forEach((function(r){var n=t.getValue(r);void 0!==n&&(e.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))})),e.length&&t.syncRender(),e}var Aa={width:function(t,e){var r=t.x,n=e.paddingLeft,o=void 0===n?"0":n,i=e.paddingRight,a=void 0===i?"0":i;return r.max-r.min-parseFloat(o)-parseFloat(a)},height:function(t,e){var r=t.y,n=e.paddingTop,o=void 0===n?"0":n,i=e.paddingBottom,a=void 0===i?"0":i;return r.max-r.min-parseFloat(o)-parseFloat(a)},top:function(t,e){var r=e.top;return parseFloat(r)},left:function(t,e){var r=e.left;return parseFloat(r)},bottom:function(t,e){var r=t.y,n=e.top;return parseFloat(n)+(r.max-r.min)},right:function(t,e){var r=t.x,n=e.left;return parseFloat(n)+(r.max-r.min)},x:Pa(4,13),y:Pa(5,14)},Ra=function(t,e,r){var n=e.measureViewportBox(),o=e.getInstance(),i=getComputedStyle(o),a=i.display,s={};"none"===a&&e.setStaticValue("display",t.display||"block"),r.forEach((function(t){s[t]=Aa[t](n,i)})),e.syncRender();var c=e.measureViewportBox();return r.forEach((function(r){var n=e.getValue(r);ka(n,s[r]),t[r]=Aa[r](c,i)})),t};function _a(t,e,r,n){return function(t){return Object.keys(t).some(xa)}(e)?function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e=ya({},e),n=ya({},n);var o=Object.keys(e).filter(xa),i=[],a=!1,s=[];if(o.forEach((function(o){var c=t.getValue(o);if(t.hasValue(o)){var u,l=r[o],f=Po(l),d=e[o];if(Xt(d)){var p=d.length,h=null===d[0]?1:0;l=d[h],f=Po(l);for(var v=h;v<p;v++)u?Po(d[v]):(u=Po(d[v]))===f||Sa(f)&&Sa(u)}else u=Po(d);if(f!==u)if(Sa(f)&&Sa(u)){var m=c.get();"string"==typeof m&&c.set(parseFloat(m)),"string"==typeof d?e[o]=parseFloat(d):Array.isArray(d)&&u===st&&(e[o]=d.map(parseFloat))}else(null==f?void 0:f.transform)&&(null==u?void 0:u.transform)&&(0===l||0===d)?0===l?c.set(u.transform(l)):e[o]=f.transform(d):(a||(i=Ca(t),a=!0),s.push(o),n[o]=void 0!==n[o]?n[o]:e[o],ka(c,d))}})),s.length){var c=s.indexOf("height")>=0?window.pageYOffset:null,u=Ra(e,t,s);return i.length&&i.forEach((function(e){var r=(0,$e.Z)(e,2),n=r[0],o=r[1];t.getValue(n).set(o)})),t.syncRender(),x.j&&null!==c&&window.scrollTo({top:c}),{target:u,transitionEnd:n}}return{target:e,transitionEnd:n}}(t,e,r,n):{target:e,transitionEnd:n}}var Ta=function(t,e,r,n){var o=ma(t,e,n);return _a(t,e=o.target,r,n=o.transitionEnd)},Da=["transition","transitionEnd"];function Ma(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Za(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ma(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ma(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Ba={treeType:"dom",readValueFromInstance:function(t,e){if(N.has(e)){var r=Kn(e);return r&&r.default||0}var n,o=(n=t,window.getComputedStyle(n)),i=(X(e)?o.getPropertyValue(e):o[e])||0;return"string"==typeof i?i.trim():i},sortNodePosition:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1},getBaseTarget:function(t,e){var r;return null===(r=t.style)||void 0===r?void 0:r[e]},measureViewportBox:function(t,e){return Ni(t,e.transformPagePoint)},resetTransform:function(t,e,r){var n=r.transformTemplate;e.style.transform=n?n({},""):"none",t.scheduleRender()},restoreTransform:function(t,e){t.style.transform=e.style.transform},removeValueFromRenderState:function(t,e){var r=e.vars,n=e.style;delete r[t],delete n[t]},makeTargetAnimatable:function(t,e,r){var n=e.transition,o=e.transitionEnd,i=(0,Ct.Z)(e,Da),a=r.transformValues,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],c=Bo(i,n||{},t);if(a&&(o&&(o=a(o)),i&&(i=a(i)),c&&(c=a(c))),s){Mo(t,i,c);var u=Ta(t,i,c,o);o=u.transitionEnd,i=u.target}return Za({transition:n,transitionEnd:o},i)},scrapeMotionValuesFromProps:qt,build:function(t,e,r,n,o){void 0!==t.isVisible&&(e.style.visibility=t.isVisible?"visible":"hidden"),yt(e,r,n,o.transformTemplate)},render:Ht},Ia=ca(Ba);function La(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function za(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?La(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):La(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Fa=ca(za(za({},Ba),{},{getBaseTarget:function(t,e){return t[e]},readValueFromInstance:function(t,e){var r;return N.has(e)?(null===(r=Kn(e))||void 0===r?void 0:r.default)||0:(e=Ut.has(e)?e:Nt(e),t.getAttribute(e))},scrapeMotionValuesFromProps:Gt,build:function(t,e,r,n,o){Dt(e,r,n,o.transformTemplate)},render:$t})),Va=function(t,e){return F(t)?Fa(e,{enableHardwareAcceleration:!1}):Ia(e,{enableHardwareAcceleration:!0})};function Wa(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}var Na={correct:function(t,e){if(!e.target)return t;if("string"==typeof t){if(!st.test(t))return t;t=parseFloat(t)}var r=Wa(t,e.target.x),n=Wa(t,e.target.y);return"".concat(r,"% ").concat(n,"%")}},Ha="_$css",Ua={correct:function(t,e){var r=e.treeScale,n=e.projectionDelta,o=t,i=t.includes("var("),a=[];i&&(t=t.replace(pa,(function(t){return a.push(t),Ha})));var s=Ar.parse(t);if(s.length>5)return o;var c=Ar.createTransformer(t),u="number"!=typeof s[0]?1:0,l=n.x.scale*r.x,f=n.y.scale*r.y;s[0+u]/=l,s[1+u]/=f;var d=sr(l,f,.5);"number"==typeof s[2+u]&&(s[2+u]/=d),"number"==typeof s[3+u]&&(s[3+u]/=d);var p=c(s);if(i){var h=0;p=p.replace(Ha,(function(){var t=a[h];return h++,t}))}return p}};function $a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qa(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$a(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ga(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=(0,R.Z)(t);if(e){var o=(0,R.Z)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,A.Z)(this,r)}}var Ya=function(t){(0,C.Z)(r,t);var e=Ga(r);function r(){return(0,E.Z)(this,r),e.apply(this,arguments)}return(0,j.Z)(r,[{key:"componentDidMount",value:function(){var t,e=this,r=this.props,n=r.visualElement,o=r.layoutGroup,i=r.switchLayoutGroup,a=r.layoutId,s=n.projection;t=Xa,Object.assign(V,t),s&&(o.group&&o.group.add(s),i&&i.register&&a&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",(function(){e.safeToRemove()})),s.setOptions(qa(qa({},s.options),{},{onExitComplete:function(){return e.safeToRemove()}}))),S.hasEverUpdated=!0}},{key:"getSnapshotBeforeUpdate",value:function(t){var e=this,r=this.props,n=r.layoutDependency,o=r.visualElement,i=r.drag,a=r.isPresent,s=o.projection;return s?(s.isPresent=a,i||t.layoutDependency!==n||void 0===n?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||ro.ZP.postRender((function(){var t;(null===(t=s.getStack())||void 0===t?void 0:t.members.length)||e.safeToRemove()}))),null):null}},{key:"componentDidUpdate",value:function(){var t=this.props.visualElement.projection;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}},{key:"componentWillUnmount",value:function(){var t=this.props,e=t.visualElement,r=t.layoutGroup,n=t.switchLayoutGroup,o=e.projection;o&&(o.scheduleCheckAfterUnmount(),(null==r?void 0:r.group)&&r.group.remove(o),(null==n?void 0:n.deregister)&&n.deregister(o))}},{key:"safeToRemove",value:function(){var t=this.props.safeToRemove;null==t||t()}},{key:"render",value:function(){return null}}]),r}(o.Component);var Xa={borderRadius:qa(qa({},Na),{},{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Na,borderTopRightRadius:Na,borderBottomLeftRadius:Na,borderBottomRightRadius:Na,boxShadow:Ua},Ja={measureLayout:function(t){var e=(0,qe.oO)(),r=(0,$e.Z)(e,2),n=r[0],i=r[1],a=(0,o.useContext)(P.p);return o.createElement(Ya,qa(qa({},t),{},{layoutGroup:a,switchLayoutGroup:(0,o.useContext)(D),isPresent:n,safeToRemove:i}))}};function Qa(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=U(t)?t:ko(t);return mo("",n,e,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}var Ka=["TopLeft","TopRight","BottomLeft","BottomRight"],ts=Ka.length,es=function(t){return"string"==typeof t?parseFloat(t):t},rs=function(t){return"number"==typeof t||st.test(t)};function ns(t,e,r,n,o,i){var a,s,c,u;o?(t.opacity=sr(0,null!==(a=r.opacity)&&void 0!==a?a:1,is(n)),t.opacityExit=sr(null!==(s=e.opacity)&&void 0!==s?s:1,0,as(n))):i&&(t.opacity=sr(null!==(c=e.opacity)&&void 0!==c?c:1,null!==(u=r.opacity)&&void 0!==u?u:1,n));for(var l=0;l<ts;l++){var f="border".concat(Ka[l],"Radius"),d=os(e,f),p=os(r,f);if(void 0!==d||void 0!==p)d||(d=0),p||(p=0),0===d||0===p||rs(d)===rs(p)?(t[f]=Math.max(sr(es(d),es(p),n),0),(at.test(p)||at.test(d))&&(t[f]+="%")):t[f]=p}(e.rotate||r.rotate)&&(t.rotate=sr(e.rotate||0,r.rotate||0,n))}function os(t,e){var r;return null!==(r=t[e])&&void 0!==r?r:t.borderRadius}var is=ss(0,.5,Xr),as=ss(.5,.95,Ur);function ss(t,e,r){return function(n){return n<t?0:n>e?1:r(ar(t,e,n))}}function cs(t,e){t.min=e.min,t.max=e.max}function us(t,e){cs(t.x,e.x),cs(t.y,e.y)}function ls(t,e,r,n,o){return t=Mi(t-=e,1/r,n),void 0!==o&&(t=Mi(t,1/o,n)),t}function fs(t,e,r,n,o){var i=(0,$e.Z)(r,3),a=i[0],s=i[1],c=i[2];!function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;if(at.test(e)){e=parseFloat(e),e=sr(a.min,a.max,e/100)-a.min}if("number"==typeof e){var s=sr(i.min,i.max,n);t===i&&(s-=e),t.min=ls(t.min,e,r,s,o),t.max=ls(t.max,e,r,s,o)}}(t,e[a],e[s],e[c],e.scale,n,o)}var ds=["x","scaleX","originX"],ps=["y","scaleY","originY"];function hs(t,e,r,n){fs(t.x,e,ds,null==r?void 0:r.x,null==n?void 0:n.x),fs(t.y,e,ps,null==r?void 0:r.y,null==n?void 0:n.y)}function vs(t){return 0===t.translate&&1===t.scale}function ms(t){return vs(t.x)&&vs(t.y)}function gs(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function ys(t){return vi(t.x)/vi(t.y)}var bs=function(){function t(){(0,E.Z)(this,t),this.members=[]}return(0,j.Z)(t,[{key:"add",value:function(t){yo(this.members,t),t.scheduleRender()}},{key:"remove",value:function(t){if(bo(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var e=this.members[this.members.length-1];e&&this.promote(e)}}},{key:"relegate",value:function(t){var e,r=this.members.findIndex((function(e){return t===e}));if(0===r)return!1;for(var n=r;n>=0;n--){var o=this.members[n];if(!1!==o.isPresent){e=o;break}}return!!e&&(this.promote(e),!0)}},{key:"promote",value:function(t,e){var r,n=this.lead;t!==n&&(this.prevLead=n,this.lead=t,t.show(),n&&(n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues,t.snapshot.isShared=!0),(null===(r=t.root)||void 0===r?void 0:r.isUpdating)&&(t.isLayoutDirty=!0),!1===t.options.crossfade&&n.hide()))}},{key:"exitAnimationComplete",value:function(){this.members.forEach((function(t){var e,r,n,o,i;null===(r=(e=t.options).onExitComplete)||void 0===r||r.call(e),null===(i=null===(n=t.resumingFrom)||void 0===n?void 0:(o=n.options).onExitComplete)||void 0===i||i.call(o)}))}},{key:"scheduleRender",value:function(){this.members.forEach((function(t){t.instance&&t.scheduleRender(!1)}))}},{key:"removeLeadSnapshot",value:function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}]),t}();function ws(t,e,r){var n=t.x.translate/e.x,o=t.y.translate/e.y,i="translate3d(".concat(n,"px, ").concat(o,"px, 0) ");if(i+="scale(".concat(1/e.x,", ").concat(1/e.y,") "),r){var a=r.rotate,s=r.rotateX,c=r.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),s&&(i+="rotateX(".concat(s,"deg) ")),c&&(i+="rotateY(".concat(c,"deg) "))}var u=t.x.scale*e.x,l=t.y.scale*e.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(i+="scale(".concat(u,", ").concat(l,")"))?"none":i}var xs=function(t,e){return t.depth-e.depth},ks=function(){function t(){(0,E.Z)(this,t),this.children=[],this.isDirty=!1}return(0,j.Z)(t,[{key:"add",value:function(t){yo(this.children,t),this.isDirty=!0}},{key:"remove",value:function(t){bo(this.children,t),this.isDirty=!0}},{key:"forEach",value:function(t){this.isDirty&&this.children.sort(xs),this.isDirty=!1,this.children.forEach(t)}}]),t}();function Ss(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Os(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ss(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ss(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Ps=["","X","Y","Z"];function Es(t){var e=t.attachResizeListener,r=t.defaultParent,n=t.measureScroll,o=t.checkIsScrollRoot,i=t.resetTransform;return function(){function t(e){var n=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null==r?void 0:r();(0,E.Z)(this,t),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!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.potentialNodes=new Map,this.checkUpdateFailed=function(){n.isUpdating&&(n.isUpdating=!1,n.clearAllSnapshots())},this.updateProjection=function(){n.nodes.forEach(Ds),n.nodes.forEach(Ms)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=o,this.root=i?i.root||i:this,this.path=i?[].concat((0,Ge.Z)(i.path),[i]):[],this.parent=i,this.depth=i?i.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new ks)}return(0,j.Z)(t,[{key:"addEventListener",value:function(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new wo),this.eventHandlers.get(t).add(e)}},{key:"notifyListeners",value:function(t){for(var e=this.eventHandlers.get(t),r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];null==e||e.notify.apply(e,n)}},{key:"hasListeners",value:function(t){return this.eventHandlers.has(t)}},{key:"registerPotentialNode",value:function(t,e){this.potentialNodes.set(t,e)}},{key:"mount",value:function(t){var r,n=this,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.instance){this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;var i=this.options,a=i.layoutId,s=i.layout,c=i.visualElement;if(c&&!c.getInstance()&&c.mount(t),this.root.nodes.add(this),null===(r=this.parent)||void 0===r||r.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),o&&(s||a)&&(this.isLayoutDirty=!0),e){var u,l=function(){return n.root.updateBlockedByResize=!1};e(t,(function(){n.root.updateBlockedByResize=!0,u&&u(),u=no(l,250),S.hasAnimatedSinceResize&&(S.hasAnimatedSinceResize=!1,n.nodes.forEach(Ts))}))}a&&this.root.registerSharedNode(a,this),!1!==this.options.animate&&c&&(a||s)&&this.addEventListener("didUpdate",(function(t){var e,r,o,i,a,s=t.delta,u=t.hasLayoutChanged,l=t.hasRelativeTargetChanged,f=t.layout;if(n.isTreeAnimationBlocked())return n.target=void 0,void(n.relativeTarget=void 0);var d=null!==(r=null!==(e=n.options.transition)&&void 0!==e?e:c.getDefaultTransition())&&void 0!==r?r:Vs,p=c.getProps(),h=p.onLayoutAnimationStart,v=p.onLayoutAnimationComplete,m=!n.targetLayout||!gs(n.targetLayout,f)||l,g=!u&&l;if((null===(o=n.resumeFrom)||void 0===o?void 0:o.instance)||g||u&&(m||!n.currentAnimation)){n.resumeFrom&&(n.resumingFrom=n.resumeFrom,n.resumingFrom.resumingFrom=void 0),n.setAnimationOrigin(s,g);var y=Os(Os({},vo(d,"layout")),{},{onPlay:h,onComplete:v});c.shouldReduceMotion&&(y.delay=0,y.type=!1),n.startAnimation(y)}else u||0!==n.animationProgress||Ts(n),n.isLead()&&(null===(a=(i=n.options).onExitComplete)||void 0===a||a.call(i));n.targetLayout=f}))}}},{key:"unmount",value:function(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,ro.qY.preRender(this.updateProjection)}},{key:"blockUpdate",value:function(){this.updateManuallyBlocked=!0}},{key:"unblockUpdate",value:function(){this.updateManuallyBlocked=!1}},{key:"isUpdateBlocked",value:function(){return this.updateManuallyBlocked||this.updateBlockedByResize}},{key:"isTreeAnimationBlocked",value:function(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1}},{key:"startUpdate",value:function(){var t;this.isUpdateBlocked()||(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(Zs))}},{key:"willUpdate",value:function(){var t,e,r,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.root.isUpdateBlocked())null===(e=(t=this.options).onExitComplete)||void 0===e||e.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var o=0;o<this.path.length;o++){var i=this.path[o];i.shouldResetTransform=!0,i.updateScroll()}var a=this.options,s=a.layoutId,c=a.layout;if(void 0!==s||c){var u=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==u?void 0:u(this.latestValues,""),this.updateSnapshot(),n&&this.notifyListeners("willUpdate")}}}},{key:"didUpdate",value:function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Rs);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(Ws),this.potentialNodes.clear()),this.nodes.forEach(_s),this.nodes.forEach(js),this.nodes.forEach(Cs),this.clearAllSnapshots(),ro.iW.update(),ro.iW.preRender(),ro.iW.render())}},{key:"clearAllSnapshots",value:function(){this.nodes.forEach(As),this.sharedNodes.forEach(Bs)}},{key:"scheduleUpdateProjection",value:function(){ro.ZP.preRender(this.updateProjection,!1,!0)}},{key:"scheduleCheckAfterUnmount",value:function(){var t=this;ro.ZP.postRender((function(){t.isLayoutDirty?t.root.didUpdate():t.root.checkUpdateFailed()}))}},{key:"updateSnapshot",value:function(){if(!this.snapshot&&this.instance){var t=this.measure(),e=this.removeTransform(this.removeElementScroll(t));Hs(e),this.snapshot={measured:t,layout:e,latestValues:{}}}}},{key:"updateLayout",value:function(){var t;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var e=0;e<this.path.length;e++){this.path[e].updateScroll()}var r=this.measure();Hs(r);var n=this.layout;this.layout={measured:r,actual:this.removeElementScroll(r)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(t=this.options.visualElement)||void 0===t||t.notifyLayoutMeasure(this.layout.actual,null==n?void 0:n.actual)}}},{key:"updateScroll",value:function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=o(this.instance),this.scroll=n(this.instance))}},{key:"resetTransform",value:function(){var t;if(i){var e=this.isLayoutDirty||this.shouldResetTransform,r=this.projectionDelta&&!ms(this.projectionDelta),n=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,o=null==n?void 0:n(this.latestValues,""),a=o!==this.prevTransformTemplateValue;e&&(r||_i(this.latestValues)||a)&&(i(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}}},{key:"measure",value:function(){var t=this.options.visualElement;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};var e=t.measureViewportBox(),r=this.root.scroll;return r&&(Li(e.x,r.x),Li(e.y,r.y)),e}},{key:"removeElementScroll",value:function(t){var e={x:{min:0,max:0},y:{min:0,max:0}};us(e,t);for(var r=0;r<this.path.length;r++){var n=this.path[r],o=n.scroll,i=n.options,a=n.isScrollRoot;if(n!==this.root&&o&&i.layoutScroll){if(a){us(e,t);var s=this.root.scroll;s&&(Li(e.x,-s.x),Li(e.y,-s.y))}Li(e.x,o.x),Li(e.y,o.y)}}return e}},{key:"applyTransform",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={x:{min:0,max:0},y:{min:0,max:0}};us(r,t);for(var n=0;n<this.path.length;n++){var o=this.path[n];!e&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Wi(r,{x:-o.scroll.x,y:-o.scroll.y}),_i(o.latestValues)&&Wi(r,o.latestValues)}return _i(this.latestValues)&&Wi(r,this.latestValues),r}},{key:"removeTransform",value:function(t){var e,r={x:{min:0,max:0},y:{min:0,max:0}};us(r,t);for(var n=0;n<this.path.length;n++){var o=this.path[n];if(o.instance&&_i(o.latestValues)){Ri(o.latestValues)&&o.updateSnapshot();var i={x:{min:0,max:0},y:{min:0,max:0}};us(i,o.measure()),hs(r,o.latestValues,null===(e=o.snapshot)||void 0===e?void 0:e.layout,i)}}return _i(this.latestValues)&&hs(r,this.latestValues),r}},{key:"setTargetDelta",value:function(t){this.targetDelta=t,this.root.scheduleUpdateProjection()}},{key:"setOptions",value:function(t){this.options=Os(Os(Os({},this.options),t),{},{crossfade:void 0===t.crossfade||t.crossfade})}},{key:"clearMeasurements",value:function(){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}},{key:"resolveTargetDelta",value:function(){var t,e,r,n,o=this.options,i=o.layout,a=o.layoutId;this.layout&&(i||a)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},xi(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),us(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(t=this.relativeParent)||void 0===t?void 0:t.target)?(e=this.target,r=this.relativeTarget,n=this.relativeParent.target,bi(e.x,r.x,n.x),bi(e.y,r.y,n.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):us(this.target,this.layout.actual),Ii(this.target,this.targetDelta)):us(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},xi(this.relativeTargetOrigin,this.target,this.relativeParent.target),us(this.relativeTarget,this.relativeTargetOrigin)))))}},{key:"getClosestProjectingParent",value:function(){if(this.parent&&!Ri(this.parent.latestValues)&&!Ti(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}},{key:"calcProjection",value:function(){var t,e=this.options,r=e.layout,n=e.layoutId;if(this.isTreeAnimating=Boolean((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(r||n)){var o=this.getLead();us(this.layoutCorrected,this.layout.actual),function(t,e,r){var n,o,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=r.length;if(a){var s,c;e.x=e.y=1;for(var u=0;u<a;u++)c=(s=r[u]).projectionDelta,"contents"!==(null===(o=null===(n=s.instance)||void 0===n?void 0:n.style)||void 0===o?void 0:o.display)&&(i&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Wi(t,{x:-s.scroll.x,y:-s.scroll.y}),c&&(e.x*=c.x.scale,e.y*=c.y.scale,Ii(t,c)),i&&_i(s.latestValues)&&Wi(t,s.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==o);var i=o.target;if(i){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var a=this.treeScale.x,s=this.treeScale.y,c=this.projectionTransform;yi(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=ws(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",i))}}}},{key:"hide",value:function(){this.isVisible=!1}},{key:"show",value:function(){this.isVisible=!0}},{key:"scheduleRender",value:function(){var t,e,r,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];null===(e=(t=this.options).scheduleRender)||void 0===e||e.call(t),n&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}},{key:"setAnimationOrigin",value:function(t){var e,r=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=this.snapshot,i=(null==o?void 0:o.latestValues)||{},a=Os({},this.latestValues),s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!n;var c={x:{min:0,max:0},y:{min:0,max:0}},u=null==o?void 0:o.isShared,l=((null===(e=this.getStack())||void 0===e?void 0:e.members.length)||0)<=1,f=Boolean(u&&!l&&!0===this.options.crossfade&&!this.path.some(Fs));this.animationProgress=0,this.mixTargetDelta=function(e){var n,o=e/1e3;Is(s.x,t.x,o),Is(s.y,t.y,o),r.setTargetDelta(s),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(n=r.relativeParent)||void 0===n?void 0:n.layout)&&(xi(c,r.layout.actual,r.relativeParent.layout.actual),zs(r.relativeTarget,r.relativeTargetOrigin,c,o)),u&&(r.animationValues=a,ns(a,i,r.latestValues,o,f,l)),r.root.scheduleUpdateProjection(),r.scheduleRender(),r.animationProgress=o},this.mixTargetDelta(0)}},{key:"startAnimation",value:function(t){var e,r,n=this;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(r=this.resumingFrom.currentAnimation)||void 0===r||r.stop()),this.pendingAnimation&&(ro.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ro.ZP.update((function(){S.hasAnimatedSinceResize=!0,n.currentAnimation=Qa(0,1e3,Os(Os({},t),{},{onUpdate:function(e){var r;n.mixTargetDelta(e),null===(r=t.onUpdate)||void 0===r||r.call(t,e)},onComplete:function(){var e;null===(e=t.onComplete)||void 0===e||e.call(t),n.completeAnimation()}})),n.resumingFrom&&(n.resumingFrom.currentAnimation=n.currentAnimation),n.pendingAnimation=void 0}))}},{key:"completeAnimation",value:function(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}},{key:"finishAnimation",value:function(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}},{key:"applyTransformsToTarget",value:function(){var t=this.getLead(),e=t.targetWithTransforms,r=t.target,n=t.layout,o=t.latestValues;if(e&&r&&n){if(this!==t&&this.layout&&n&&Us(this.options.animationType,this.layout.actual,n.actual)){r=this.target||{x:{min:0,max:0},y:{min:0,max:0}};var i=vi(this.layout.actual.x);r.x.min=t.target.x.min,r.x.max=r.x.min+i;var a=vi(this.layout.actual.y);r.y.min=t.target.y.min,r.y.max=r.y.min+a}us(e,r),Wi(e,o),yi(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}},{key:"registerSharedNode",value:function(t,e){var r,n,o;this.sharedNodes.has(t)||this.sharedNodes.set(t,new bs),this.sharedNodes.get(t).add(e),e.promote({transition:null===(r=e.options.initialPromotionConfig)||void 0===r?void 0:r.transition,preserveFollowOpacity:null===(o=null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.shouldPreserveFollowOpacity)||void 0===o?void 0:o.call(n,e)})}},{key:"isLead",value:function(){var t=this.getStack();return!t||t.lead===this}},{key:"getLead",value:function(){var t;return this.options.layoutId&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}},{key:"getPrevLead",value:function(){var t;return this.options.layoutId?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}},{key:"getStack",value:function(){var t=this.options.layoutId;if(t)return this.root.sharedNodes.get(t)}},{key:"promote",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.needsReset,r=t.transition,n=t.preserveFollowOpacity,o=this.getStack();o&&o.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})}},{key:"relegate",value:function(){var t=this.getStack();return!!t&&t.relegate(this)}},{key:"resetRotation",value:function(){var t=this.options.visualElement;if(t){for(var e=!1,r={},n=0;n<Ps.length;n++){var o="rotate"+Ps[n];t.getStaticValue(o)&&(e=!0,r[o]=t.getStaticValue(o),t.setStaticValue(o,0))}if(e){for(var i in null==t||t.syncRender(),r)t.setStaticValue(i,r[i]);t.scheduleRender()}}}},{key:"getProjectionStyles",value:function(){var t,e,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o={};if(!this.instance||this.isSVG)return o;if(!this.isVisible)return{visibility:"hidden"};o.visibility="";var i=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=Qt(n.pointerEvents)||"",o.transform=i?i(this.latestValues,""):"none",o;var a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){var s={};return this.options.layoutId&&(s.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,s.pointerEvents=Qt(n.pointerEvents)||""),this.hasProjected&&!_i(this.latestValues)&&(s.transform=i?i({},""):"none",this.hasProjected=!1),s}var c=a.animationValues||a.latestValues;this.applyTransformsToTarget(),o.transform=ws(this.projectionDeltaWithTransform,this.treeScale,c),i&&(o.transform=i(c,o.transform));var u=this.projectionDelta,l=u.x,f=u.y;for(var d in o.transformOrigin="".concat(100*l.origin,"% ").concat(100*f.origin,"% 0"),a.animationValues?o.opacity=a===this?null!==(r=null!==(e=c.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:o.opacity=a===this?void 0!==c.opacity?c.opacity:"":void 0!==c.opacityExit?c.opacityExit:0,V)if(void 0!==c[d]){var p=V[d],h=p.correct,v=p.applyTo,m=h(c[d],a);if(v)for(var g=v.length,y=0;y<g;y++)o[v[y]]=m;else o[d]=m}return this.options.layoutId&&(o.pointerEvents=a===this?Qt(n.pointerEvents)||"":"none"),o}},{key:"clearSnapshot",value:function(){this.resumeFrom=this.snapshot=void 0}},{key:"resetTree",value:function(){this.root.nodes.forEach((function(t){var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(Rs),this.root.sharedNodes.clear()}}]),t}()}function js(t){t.updateLayout()}function Cs(t){var e,r,n,o=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&o&&t.hasListeners("didUpdate")){var i=t.layout,a=i.actual,s=i.measured,c=t.options.animationType;"size"===c?ji((function(t){var e=o.isShared?o.measured[t]:o.layout[t],r=vi(e);e.min=a[t].min,e.max=e.min+r})):Us(c,o.layout,a)&&ji((function(t){var e=o.isShared?o.measured[t]:o.layout[t],r=vi(a[t]);e.max=e.min+r}));var u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};yi(u,a,o.layout);var l={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o.isShared?yi(l,t.applyTransform(s,!0),o.measured):yi(l,a,o.layout);var f=!ms(u),d=!1;if(!t.resumeFrom&&(t.relativeParent=t.getClosestProjectingParent(),t.relativeParent&&!t.relativeParent.resumeFrom)){var p=t.relativeParent,h=p.snapshot,v=p.layout;if(h&&v){var m={x:{min:0,max:0},y:{min:0,max:0}};xi(m,o.layout,h.layout);var g={x:{min:0,max:0},y:{min:0,max:0}};xi(g,a,v.actual),gs(m,g)||(d=!0)}}t.notifyListeners("didUpdate",{layout:a,snapshot:o,delta:l,layoutDelta:u,hasLayoutChanged:f,hasRelativeTargetChanged:d})}else t.isLead()&&(null===(n=(r=t.options).onExitComplete)||void 0===n||n.call(r));t.options.transition=void 0}function As(t){t.clearSnapshot()}function Rs(t){t.clearMeasurements()}function _s(t){var e=t.options.visualElement;(null==e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notifyBeforeLayoutMeasure(),t.resetTransform()}function Ts(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function Ds(t){t.resolveTargetDelta()}function Ms(t){t.calcProjection()}function Zs(t){t.resetRotation()}function Bs(t){t.removeLeadSnapshot()}function Is(t,e,r){t.translate=sr(e.translate,0,r),t.scale=sr(e.scale,1,r),t.origin=e.origin,t.originPoint=e.originPoint}function Ls(t,e,r,n){t.min=sr(e.min,r.min,n),t.max=sr(e.max,r.max,n)}function zs(t,e,r,n){Ls(t.x,e.x,r.x,n),Ls(t.y,e.y,r.y,n)}function Fs(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}var Vs={duration:.45,ease:[.4,0,.1,1]};function Ws(t,e){for(var r=t.root,n=t.path.length-1;n>=0;n--)if(Boolean(t.path[n].instance)){r=t.path[n];break}var o=(r&&r!==t.root?r.instance:document).querySelector('[data-projection-id="'.concat(e,'"]'));o&&t.mount(o,!0)}function Ns(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function Hs(t){Ns(t.x),Ns(t.y)}function Us(t,e,r){return"position"===t||"preserve-aspect"===t&&!function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1;return ii(t,e)<=r}(ys(e),ys(r),.2)}var $s=Es({attachResizeListener:function(t,e){return se(t,"resize",e)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),qs={current:void 0},Gs=Es({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!qs.current){var t=new $s(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),qs.current=t}return qs.current},resetTransform:function(t,e){t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:function(t){return Boolean("fixed"===window.getComputedStyle(t).position)}});function Ys(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Xs(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ys(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ys(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Js=Xs(Xs(Xs(Xs({},ei),Ue),Xi),Ja),Qs=L((function(t,e){return function(t,e,r,n,o){var i=e.forwardMotionProps,a=void 0!==i&&i;return ae(ae({},F(t)?ne:oe),{},{preloadedFeatures:r,useRender:Wt(a),createVisualElement:n,projectionNodeConstructor:o,Component:t})}(t,e,Js,Va,Gs)}))},7037:function(t,e,r){"use strict";r.d(e,{j:function(){return n}});var n="undefined"!=typeof document},8612:function(t,e,r){"use strict";r.d(e,{O:function(){return n}});var n="production"},1751:function(t,e,r){"use strict";r.d(e,{h:function(){return o}});var n=r(7294);function o(t){var e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},1e3:function(t,e,r){"use strict";r.d(e,{L:function(){return o}});var n=r(7294),o=r(7037).j?n.useLayoutEffect:n.useEffect},296:function(t,e,r){"use strict";r.d(e,{z:function(){return o}});var n=r(7294);function o(t){return(0,n.useEffect)((function(){return function(){return t()}}),[])}},4282:function(t,e,r){"use strict";r.d(e,{O:function(){return o}});var n=new Set;function o(t,e,r){t||n.has(e)||(console.warn(e),r&&console.warn(r),n.add(e))}},7333:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=function(t){var e={};return function(r){return void 0===e[r]&&(e[r]=t(r)),e[r]}}((function(t){return n.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91}))},9471:function(t,e,r){"use strict";r.d(e,{qY:function(){return p},ZP:function(){return b},iW:function(){return h},$B:function(){return y}});var n=1/60*1e3,o="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},i="undefined"!=typeof window?function(t){return window.requestAnimationFrame(t)}:function(t){return setTimeout((function(){return t(o())}),n)};var a=!0,s=!1,c=!1,u={delta:0,timestamp:0},l=["read","update","preRender","render","postRender"],f=l.reduce((function(t,e){return t[e]=function(t){var e=[],r=[],n=0,o=!1,i=!1,a=new WeakSet,s={schedule:function(t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&o,s=i?e:r;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(t),-1===s.indexOf(t)&&(s.push(t),i&&o&&(n=e.length)),t},cancel:function(t){var e=r.indexOf(t);-1!==e&&r.splice(e,1),a.delete(t)},process:function(c){if(o)i=!0;else{o=!0;var u=[r,e];if(e=u[0],(r=u[1]).length=0,n=e.length)for(var l=0;l<n;l++){var f=e[l];f(c),a.has(f)&&(s.schedule(f),t())}o=!1,i&&(i=!1,s.process(c))}}};return s}((function(){return s=!0})),t}),{}),d=l.reduce((function(t,e){var r=f[e];return t[e]=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return s||g(),r.schedule(t,e,n)},t}),{}),p=l.reduce((function(t,e){return t[e]=f[e].cancel,t}),{}),h=l.reduce((function(t,e){return t[e]=function(){return f[e].process(u)},t}),{}),v=function(t){return f[t].process(u)},m=function t(e){s=!1,u.delta=a?n:Math.max(Math.min(e-u.timestamp,40),1),u.timestamp=e,c=!0,l.forEach(v),c=!1,s&&(a=!1,i(t))},g=function(){s=!0,a=!0,c||i(m)},y=function(){return u},b=d},8440:function(t,e){"use strict";e.H=void 0;e.H=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"legacy",r=t.endsWith(".html"),n=t.endsWith(".xml"),o=t.endsWith(".pdf");return"/"===t?t:((r||n||o)&&(e="never"),"always"===e?t.endsWith("/")?t:"".concat(t,"/"):"never"===e&&t.endsWith("/")?t.slice(0,-1):t)}},540:function(t,e,r){"use strict";e.__esModule=!0,e.onInitialClientRender=void 0;r(3521),r(2163);e.onInitialClientRender=function(){}},1897:function(t,e,r){"use strict";r(6535),r(9244),e.__esModule=!0,e.getForwards=function(t){return null==t?void 0:t.flatMap((function(t){return(null==t?void 0:t.forward)||[]}))}},2163:function(t,e,r){"use strict";e.__esModule=!0,e.injectPartytownSnippet=function(t){if(!t.length)return;var e=document.querySelector("script[data-partytown]"),r=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');e&&e.remove();r&&r.remove();var i=(0,o.getForwards)(t),a=document.createElement("script");a.dataset.partytown="",a.innerHTML=(0,n.partytownSnippet)({forward:i}),document.head.appendChild(a)};var n=r(2911),o=r(1897)},5706:function(t,e,r){"use strict";var n=r(8812),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(t){return n.isMemo(t)?a:s[t.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;t.exports=function t(e,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&t(e,o,n)}var a=l(r);f&&(a=a.concat(f(r)));for(var s=c(e),v=c(r),m=0;m<a.length;++m){var g=a[m];if(!(i[g]||n&&n[g]||v&&v[g]||s&&s[g])){var y=d(r,g);try{u(e,g,y)}catch(b){}}}}return e}},3971:function(t,e,r){t=r.nmd(t);var n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Function]",s="[object Object]",c=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l[i]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l[a]=l["[object Map]"]=l["[object Number]"]=l[s]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1;var f="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,d="object"==typeof self&&self&&self.Object===Object&&self,p=f||d||Function("return this")(),h=e&&!e.nodeType&&e,v=h&&t&&!t.nodeType&&t,m=v&&v.exports===h,g=m&&f.process,y=function(){try{var t=v&&v.require&&v.require("util").types;return t||g&&g.binding&&g.binding("util")}catch(e){}}(),b=y&&y.isTypedArray;function w(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)}var x,k,S,O=Array.prototype,P=Function.prototype,E=Object.prototype,j=p["__core-js_shared__"],C=P.toString,A=E.hasOwnProperty,R=(x=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||""))?"Symbol(src)_1."+x:"",_=E.toString,T=C.call(Object),D=RegExp("^"+C.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=m?p.Buffer:void 0,Z=p.Symbol,B=p.Uint8Array,I=M?M.allocUnsafe:void 0,L=(k=Object.getPrototypeOf,S=Object,function(t){return k(S(t))}),z=Object.create,F=E.propertyIsEnumerable,V=O.splice,W=Z?Z.toStringTag:void 0,N=function(){try{var t=vt(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),H=M?M.isBuffer:void 0,U=Math.max,$=Date.now,q=vt(p,"Map"),G=vt(Object,"create"),Y=function(){function t(){}return function(e){if(!jt(e))return{};if(z)return z(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();function X(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function J(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Q(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function K(t){var e=this.__data__=new J(t);this.size=e.size}function tt(t,e){var r=kt(t),n=!r&&xt(t),o=!r&&!n&&Ot(t),i=!r&&!n&&!o&&At(t),a=r||n||o||i,s=a?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],c=s.length;for(var u in t)!e&&!A.call(t,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||mt(u,c))||s.push(u);return s}function et(t,e,r){(void 0!==r&&!wt(t[e],r)||void 0===r&&!(e in t))&&ot(t,e,r)}function rt(t,e,r){var n=t[e];A.call(t,e)&&wt(n,r)&&(void 0!==r||e in t)||ot(t,e,r)}function nt(t,e){for(var r=t.length;r--;)if(wt(t[r][0],e))return r;return-1}function ot(t,e,r){"__proto__"==e&&N?N(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}X.prototype.clear=function(){this.__data__=G?G(null):{},this.size=0},X.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},X.prototype.get=function(t){var e=this.__data__;if(G){var r=e[t];return r===n?void 0:r}return A.call(e,t)?e[t]:void 0},X.prototype.has=function(t){var e=this.__data__;return G?void 0!==e[t]:A.call(e,t)},X.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=G&&void 0===e?n:e,this},J.prototype.clear=function(){this.__data__=[],this.size=0},J.prototype.delete=function(t){var e=this.__data__,r=nt(e,t);return!(r<0)&&(r==e.length-1?e.pop():V.call(e,r,1),--this.size,!0)},J.prototype.get=function(t){var e=this.__data__,r=nt(e,t);return r<0?void 0:e[r][1]},J.prototype.has=function(t){return nt(this.__data__,t)>-1},J.prototype.set=function(t,e){var r=this.__data__,n=nt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new X,map:new(q||J),string:new X}},Q.prototype.delete=function(t){var e=ht(this,t).delete(t);return this.size-=e?1:0,e},Q.prototype.get=function(t){return ht(this,t).get(t)},Q.prototype.has=function(t){return ht(this,t).has(t)},Q.prototype.set=function(t,e){var r=ht(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this},K.prototype.clear=function(){this.__data__=new J,this.size=0},K.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},K.prototype.get=function(t){return this.__data__.get(t)},K.prototype.has=function(t){return this.__data__.has(t)},K.prototype.set=function(t,e){var r=this.__data__;if(r instanceof J){var n=r.__data__;if(!q||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new Q(n)}return r.set(t,e),this.size=r.size,this};var it,at=function(t,e,r){for(var n=-1,o=Object(t),i=r(t),a=i.length;a--;){var s=i[it?a:++n];if(!1===e(o[s],s,o))break}return t};function st(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":W&&W in Object(t)?function(t){var e=A.call(t,W),r=t[W];try{t[W]=void 0;var n=!0}catch(i){}var o=_.call(t);n&&(e?t[W]=r:delete t[W]);return o}(t):function(t){return _.call(t)}(t)}function ct(t){return Ct(t)&&st(t)==i}function ut(t){return!(!jt(t)||function(t){return!!R&&R in t}(t))&&(Pt(t)?D:c).test(function(t){if(null!=t){try{return C.call(t)}catch(e){}try{return t+""}catch(e){}}return""}(t))}function lt(t){if(!jt(t))return function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}(t);var e=gt(t),r=[];for(var n in t)("constructor"!=n||!e&&A.call(t,n))&&r.push(n);return r}function ft(t,e,r,n,o){t!==e&&at(e,(function(i,a){if(o||(o=new K),jt(i))!function(t,e,r,n,o,i,a){var c=yt(t,r),u=yt(e,r),l=a.get(u);if(l)return void et(t,r,l);var f=i?i(c,u,r+"",t,e,a):void 0,d=void 0===f;if(d){var p=kt(u),h=!p&&Ot(u),v=!p&&!h&&At(u);f=u,p||h||v?kt(c)?f=c:Ct(w=c)&&St(w)?f=function(t,e){var r=-1,n=t.length;e||(e=Array(n));for(;++r<n;)e[r]=t[r];return e}(c):h?(d=!1,f=function(t,e){if(e)return t.slice();var r=t.length,n=I?I(r):new t.constructor(r);return t.copy(n),n}(u,!0)):v?(d=!1,m=u,g=!0?(y=m.buffer,b=new y.constructor(y.byteLength),new B(b).set(new B(y)),b):m.buffer,f=new m.constructor(g,m.byteOffset,m.length)):f=[]:function(t){if(!Ct(t)||st(t)!=s)return!1;var e=L(t);if(null===e)return!0;var r=A.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&C.call(r)==T}(u)||xt(u)?(f=c,xt(c)?f=function(t){return function(t,e,r,n){var o=!r;r||(r={});var i=-1,a=e.length;for(;++i<a;){var s=e[i],c=n?n(r[s],t[s],s,r,t):void 0;void 0===c&&(c=t[s]),o?ot(r,s,c):rt(r,s,c)}return r}(t,Rt(t))}(c):jt(c)&&!Pt(c)||(f=function(t){return"function"!=typeof t.constructor||gt(t)?{}:Y(L(t))}(u))):d=!1}var m,g,y,b;var w;d&&(a.set(u,f),o(f,u,n,i,a),a.delete(u));et(t,r,f)}(t,e,a,r,ft,n,o);else{var c=n?n(yt(t,a),i,a+"",t,e,o):void 0;void 0===c&&(c=i),et(t,a,c)}}),Rt)}function dt(t,e){return bt(function(t,e,r){return e=U(void 0===e?t.length-1:e,0),function(){for(var n=arguments,o=-1,i=U(n.length-e,0),a=Array(i);++o<i;)a[o]=n[e+o];o=-1;for(var s=Array(e+1);++o<e;)s[o]=n[o];return s[e]=r(a),w(t,this,s)}}(t,e,Dt),t+"")}var pt=N?function(t,e){return N(t,"toString",{configurable:!0,enumerable:!1,value:(r=e,function(){return r}),writable:!0});var r}:Dt;function ht(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function vt(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return ut(r)?r:void 0}function mt(t,e){var r=typeof t;return!!(e=null==e?o:e)&&("number"==r||"symbol"!=r&&u.test(t))&&t>-1&&t%1==0&&t<e}function gt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||E)}function yt(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var bt=function(t){var e=0,r=0;return function(){var n=$(),o=16-(n-r);if(r=n,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(pt);function wt(t,e){return t===e||t!=t&&e!=e}var xt=ct(function(){return arguments}())?ct:function(t){return Ct(t)&&A.call(t,"callee")&&!F.call(t,"callee")},kt=Array.isArray;function St(t){return null!=t&&Et(t.length)&&!Pt(t)}var Ot=H||function(){return!1};function Pt(t){if(!jt(t))return!1;var e=st(t);return e==a||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Et(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=o}function jt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ct(t){return null!=t&&"object"==typeof t}var At=b?function(t){return function(e){return t(e)}}(b):function(t){return Ct(t)&&Et(t.length)&&!!l[st(t)]};function Rt(t){return St(t)?tt(t,!0):lt(t)}var _t,Tt=(_t=function(t,e,r,n){ft(t,e,r,n)},dt((function(t,e){var r=-1,n=e.length,o=n>1?e[n-1]:void 0,i=n>2?e[2]:void 0;for(o=_t.length>3&&"function"==typeof o?(n--,o):void 0,i&&function(t,e,r){if(!jt(r))return!1;var n=typeof e;return!!("number"==n?St(r)&&mt(e,r.length):"string"==n&&e in r)&&wt(r[e],t)}(e[0],e[1],i)&&(o=n<3?void 0:o,n=1),t=Object(t);++r<n;){var a=e[r];a&&_t(t,a,r,o)}return t})));function Dt(t){return t}t.exports=Tt},2993:function(t){var e="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,c,u,l;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(!i(t[c],a[c]))return!1;return!0}if(r&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;for(l=t.entries();!(c=l.next()).done;)if(!i(c.value[1],a.get(c.value[0])))return!1;return!0}if(n&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(t[c]!==a[c])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((s=(u=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,u[c]))return!1;if(e&&t instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!t.$$typeof)&&!i(t[u[c]],a[u[c]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,e){try{return i(t,e)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}}},165:function(t,e){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function x(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case l:case f:case i:case s:case a:case p:return t;default:switch(t=t&&t.$$typeof){case u:case d:case m:case v:case c:return t;default:return e}}case o:return e}}}function k(t){return x(t)===f}e.AsyncMode=l,e.ConcurrentMode=f,e.ContextConsumer=u,e.ContextProvider=c,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=m,e.Memo=v,e.Portal=o,e.Profiler=s,e.StrictMode=a,e.Suspense=p,e.isAsyncMode=function(t){return k(t)||x(t)===l},e.isConcurrentMode=k,e.isContextConsumer=function(t){return x(t)===u},e.isContextProvider=function(t){return x(t)===c},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===n},e.isForwardRef=function(t){return x(t)===d},e.isFragment=function(t){return x(t)===i},e.isLazy=function(t){return x(t)===m},e.isMemo=function(t){return x(t)===v},e.isPortal=function(t){return x(t)===o},e.isProfiler=function(t){return x(t)===s},e.isStrictMode=function(t){return x(t)===a},e.isSuspense=function(t){return x(t)===p},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===f||t===s||t===a||t===p||t===h||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===v||t.$$typeof===c||t.$$typeof===u||t.$$typeof===d||t.$$typeof===y||t.$$typeof===b||t.$$typeof===w||t.$$typeof===g)},e.typeOf=x},8812:function(t,e,r){"use strict";t.exports=r(165)},9900:function(t,e,r){"use strict";r.d(e,{_T:function(){return o},ev:function(){return i},pi:function(){return n}});var n=function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)};function o(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}Object.create;function i(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}Object.create},9662:function(t,e,r){var n=r(614),o=r(6330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},1223:function(t,e,r){var n=r(5112),o=r(30),i=r(3070).f,a=n("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},9670:function(t,e,r){var n=r(111),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object")}},1318:function(t,e,r){var n=r(5656),o=r(1400),i=r(6244),a=function(t){return function(e,r,a){var s,c=n(e),u=i(c),l=o(a,u);if(t&&r!=r){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},7475:function(t,e,r){var n=r(3157),o=r(4411),i=r(111),a=r(5112)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===s||n(e.prototype))||i(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},5417:function(t,e,r){var n=r(7475);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},4326:function(t,e,r){var n=r(84),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},648:function(t,e,r){var n=r(1694),o=r(614),i=r(4326),a=r(5112)("toStringTag"),s=Object,c="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(r){}}(e=s(t),a))?r:c?i(e):"Object"==(n=i(e))&&o(e.callee)?"Arguments":n}},9920:function(t,e,r){var n=r(2597),o=r(3887),i=r(1236),a=r(3070);t.exports=function(t,e,r){for(var s=o(e),c=a.f,u=i.f,l=0;l<s.length;l++){var f=s[l];n(t,f)||r&&n(r,f)||c(t,f,u(e,f))}}},8880:function(t,e,r){var n=r(9781),o=r(3070),i=r(9114);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:function(t,e,r){"use strict";var n=r(4948),o=r(3070),i=r(9114);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},8052:function(t,e,r){var n=r(614),o=r(3070),i=r(6339),a=r(3072);t.exports=function(t,e,r,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:e;if(n(r)&&i(r,u,s),s.global)c?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(l){}c?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},3072:function(t,e,r){var n=r(7854),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},9781:function(t,e,r){var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},317:function(t,e,r){var n=r(7854),o=r(111),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},7207:function(t){var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},8113:function(t,e,r){var n=r(5005);t.exports=n("navigator","userAgent")||""},7392:function(t,e,r){var n,o,i=r(7854),a=r(8113),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,r){var n=r(7854),o=r(1236).f,i=r(8880),a=r(8052),s=r(3072),c=r(9920),u=r(4705);t.exports=function(t,e){var r,l,f,d,p,h=t.target,v=t.global,m=t.stat;if(r=v?n:m?n[h]||s(h,{}):(n[h]||{}).prototype)for(l in e){if(d=e[l],f=t.dontCallGetSet?(p=o(r,l))&&p.value:r[l],!u(v?l:h+(m?".":"#")+l,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;c(d,f)}(t.sham||f&&f.sham)&&i(d,"sham",!0),a(r,l,d,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},6790:function(t,e,r){"use strict";var n=r(3157),o=r(6244),i=r(7207),a=r(9974),s=function(t,e,r,c,u,l,f,d){for(var p,h,v=u,m=0,g=!!f&&a(f,d);m<c;)m in r&&(p=g?g(r[m],m,e):r[m],l>0&&n(p)?(h=o(p),v=s(t,e,p,h,v,l-1)-1):(i(v+1),t[v]=p),v++),m++;return v};t.exports=s},9974:function(t,e,r){var n=r(1702),o=r(9662),i=r(4374),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},4374:function(t,e,r){var n=r(7293);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,r){var n=r(4374),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(t,e,r){var n=r(9781),o=r(2597),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},84:function(t,e,r){var n=r(4374),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=function(t){return n?a(t):function(){return i.apply(t,arguments)}}},1702:function(t,e,r){var n=r(4326),o=r(84);t.exports=function(t){if("Function"===n(t))return o(t)}},5005:function(t,e,r){var n=r(7854),o=r(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},1246:function(t,e,r){var n=r(648),o=r(8173),i=r(8554),a=r(7497),s=r(5112)("iterator");t.exports=function(t){if(!i(t))return o(t,s)||o(t,"@@iterator")||a[n(t)]}},4121:function(t,e,r){var n=r(6916),o=r(9662),i=r(9670),a=r(6330),s=r(1246),c=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(o(r))return i(n(r,t));throw c(a(t)+" is not iterable")}},8173:function(t,e,r){var n=r(9662),o=r(8554);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},7854:function(t,e,r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},2597:function(t,e,r){var n=r(1702),o=r(7908),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:function(t){t.exports={}},490:function(t,e,r){var n=r(5005);t.exports=n("document","documentElement")},4664:function(t,e,r){var n=r(9781),o=r(7293),i=r(317);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,r){var n=r(1702),o=r(7293),i=r(4326),a=Object,s=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?s(t,""):a(t)}:a},2788:function(t,e,r){var n=r(1702),o=r(614),i=r(5465),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},9909:function(t,e,r){var n,o,i,a=r(4811),s=r(7854),c=r(111),u=r(8880),l=r(2597),f=r(5465),d=r(6200),p=r(3501),h="Object already initialized",v=s.TypeError,m=s.WeakMap;if(a||f.state){var g=f.state||(f.state=new m);g.get=g.get,g.has=g.has,g.set=g.set,n=function(t,e){if(g.has(t))throw v(h);return e.facade=t,g.set(t,e),e},o=function(t){return g.get(t)||{}},i=function(t){return g.has(t)}}else{var y=d("state");p[y]=!0,n=function(t,e){if(l(t,y))throw v(h);return e.facade=t,u(t,y,e),e},o=function(t){return l(t,y)?t[y]:{}},i=function(t){return l(t,y)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return r}}}},7659:function(t,e,r){var n=r(5112),o=r(7497),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},3157:function(t,e,r){var n=r(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},614:function(t,e,r){var n=r(4154),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4411:function(t,e,r){var n=r(1702),o=r(7293),i=r(614),a=r(648),s=r(5005),c=r(2788),u=function(){},l=[],f=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=n(d.exec),h=!d.exec(u),v=function(t){if(!i(t))return!1;try{return f(u,l,t),!0}catch(e){return!1}},m=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,c(t))}catch(e){return!0}};m.sham=!0,t.exports=!f||o((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?m:v},4705:function(t,e,r){var n=r(7293),o=r(614),i=/#|\.prototype\./,a=function(t,e){var r=c[s(t)];return r==l||r!=u&&(o(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},8554:function(t){t.exports=function(t){return null==t}},111:function(t,e,r){var n=r(614),o=r(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},1913:function(t){t.exports=!1},2190:function(t,e,r){var n=r(5005),o=r(614),i=r(7976),a=r(3307),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,s(t))}},408:function(t,e,r){var n=r(9974),o=r(6916),i=r(9670),a=r(6330),s=r(7659),c=r(6244),u=r(7976),l=r(4121),f=r(1246),d=r(9212),p=TypeError,h=function(t,e){this.stopped=t,this.result=e},v=h.prototype;t.exports=function(t,e,r){var m,g,y,b,w,x,k,S=r&&r.that,O=!(!r||!r.AS_ENTRIES),P=!(!r||!r.IS_RECORD),E=!(!r||!r.IS_ITERATOR),j=!(!r||!r.INTERRUPTED),C=n(e,S),A=function(t){return m&&d(m,"normal",t),new h(!0,t)},R=function(t){return O?(i(t),j?C(t[0],t[1],A):C(t[0],t[1])):j?C(t,A):C(t)};if(P)m=t.iterator;else if(E)m=t;else{if(!(g=f(t)))throw p(a(t)+" is not iterable");if(s(g)){for(y=0,b=c(t);b>y;y++)if((w=R(t[y]))&&u(v,w))return w;return new h(!1)}m=l(t,g)}for(x=P?t.next:m.next;!(k=o(x,m)).done;){try{w=R(k.value)}catch(_){d(m,"throw",_)}if("object"==typeof w&&w&&u(v,w))return w}return new h(!1)}},9212:function(t,e,r){var n=r(6916),o=r(9670),i=r(8173);t.exports=function(t,e,r){var a,s;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(c){s=!0,a=c}if("throw"===e)throw r;if(s)throw a;return o(a),r}},7497:function(t){t.exports={}},6244:function(t,e,r){var n=r(7466);t.exports=function(t){return n(t.length)}},6339:function(t,e,r){var n=r(7293),o=r(614),i=r(2597),a=r(9781),s=r(6530).CONFIGURABLE,c=r(2788),u=r(9909),l=u.enforce,f=u.get,d=Object.defineProperty,p=a&&!n((function(){return 8!==d((function(){}),"length",{value:8}).length})),h=String(String).split("String"),v=t.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!i(t,"name")||s&&t.name!==e)&&(a?d(t,"name",{value:e,configurable:!0}):t.name=e),p&&r&&i(r,"arity")&&t.length!==r.arity&&d(t,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?a&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var n=l(t);return i(n,"source")||(n.source=h.join("string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return o(this)&&f(this).source||c(this)}),"toString")},4758:function(t){var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},30:function(t,e,r){var n,o=r(9670),i=r(6048),a=r(748),s=r(3501),c=r(490),u=r(317),l=r(6200),f=l("IE_PROTO"),d=function(){},p=function(t){return"<script>"+t+"</"+"script>"},h=function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{n=new ActiveXObject("htmlfile")}catch(o){}var t,e;v="undefined"!=typeof document?document.domain&&n?h(n):((e=u("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):h(n);for(var r=a.length;r--;)delete v.prototype[a[r]];return v()};s[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d.prototype=o(t),r=new d,d.prototype=null,r[f]=t):r=v(),void 0===e?r:i.f(r,e)}},6048:function(t,e,r){var n=r(9781),o=r(3353),i=r(3070),a=r(9670),s=r(5656),c=r(1956);e.f=n&&!o?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),o=c(e),u=o.length,l=0;u>l;)i.f(t,r=o[l++],n[r]);return t}},3070:function(t,e,r){var n=r(9781),o=r(4664),i=r(3353),a=r(9670),s=r(4948),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";e.f=n?i?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&p in r&&!r.writable){var n=l(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:d in r?r.configurable:n.configurable,enumerable:f in r?r.enumerable:n.enumerable,writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(a(t),e=s(e),a(r),o)try{return u(t,e,r)}catch(n){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:function(t,e,r){var n=r(9781),o=r(6916),i=r(5296),a=r(9114),s=r(5656),c=r(4948),u=r(2597),l=r(4664),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=c(e),l)try{return f(t,e)}catch(r){}if(u(t,e))return a(!o(i.f,t,e),t[e])}},8006:function(t,e,r){var n=r(6324),o=r(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,r){var n=r(1702);t.exports=n({}.isPrototypeOf)},6324:function(t,e,r){var n=r(1702),o=r(2597),i=r(5656),a=r(1318).indexOf,s=r(3501),c=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&c(l,r);for(;e.length>u;)o(n,r=e[u++])&&(~a(l,r)||c(l,r));return l}},1956:function(t,e,r){var n=r(6324),o=r(748);t.exports=Object.keys||function(t){return n(t,o)}},5296:function(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},2140:function(t,e,r){var n=r(6916),o=r(614),i=r(111),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&o(r=t.toString)&&!i(s=n(r,t)))return s;if(o(r=t.valueOf)&&!i(s=n(r,t)))return s;if("string"!==e&&o(r=t.toString)&&!i(s=n(r,t)))return s;throw a("Can't convert object to primitive value")}},3887:function(t,e,r){var n=r(5005),o=r(1702),i=r(8006),a=r(5181),s=r(9670),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(s(t)),r=a.f;return r?c(e,r(t)):e}},4488:function(t,e,r){var n=r(8554),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t}},6200:function(t,e,r){var n=r(2309),o=r(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,r){var n=r(7854),o=r(3072),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},2309:function(t,e,r){var n=r(1913),o=r(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.25.5",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,r){var n=r(7392),o=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},1400:function(t,e,r){var n=r(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5656:function(t,e,r){var n=r(8361),o=r(4488);t.exports=function(t){return n(o(t))}},9303:function(t,e,r){var n=r(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},7466:function(t,e,r){var n=r(9303),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},7908:function(t,e,r){var n=r(4488),o=Object;t.exports=function(t){return o(n(t))}},7593:function(t,e,r){var n=r(6916),o=r(111),i=r(2190),a=r(8173),s=r(2140),c=r(5112),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,c=a(t,l);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!o(r)||i(r))return r;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:function(t,e,r){var n=r(7593),o=r(2190);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},1694:function(t,e,r){var n={};n[r(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(r){return"Object"}}},9711:function(t,e,r){var n=r(1702),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},3307:function(t,e,r){var n=r(6293);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,r){var n=r(9781),o=r(7293);t.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,r){var n=r(7854),o=r(614),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},5112:function(t,e,r){var n=r(7854),o=r(2309),i=r(2597),a=r(9711),s=r(6293),c=r(3307),u=o("wks"),l=n.Symbol,f=l&&l.for,d=c?l:l&&l.withoutSetter||a;t.exports=function(t){if(!i(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&i(l,t)?u[t]=l[t]:u[t]=c&&f?f(e):d(e)}return u[t]}},6535:function(t,e,r){"use strict";var n=r(2109),o=r(6790),i=r(9662),a=r(7908),s=r(6244),c=r(5417);n({target:"Array",proto:!0},{flatMap:function(t){var e,r=a(this),n=s(r);return i(t),(e=c(r,0)).length=o(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},9244:function(t,e,r){r(1223)("flatMap")},5837:function(t,e,r){var n=r(2109),o=r(7854);n({global:!0,forced:o.globalThis!==o},{globalThis:o})},8559:function(t,e,r){var n=r(2109),o=r(408),i=r(6135);n({target:"Object",stat:!0},{fromEntries:function(t){var e={};return o(t,(function(t,r){i(e,t,r)}),{AS_ENTRIES:!0}),e}})},5743:function(t,e,r){r(5837)},9679:function(t,e,r){"use strict";e.p2=e.$C=void 0;var n=r(1432);e.$C=n.ScrollHandler;var o=r(4855);e.p2=o.useScrollRestoration},1432:function(t,e,r){"use strict";var n=r(4836);e.__esModule=!0,e.ScrollHandler=e.ScrollContext=void 0;var o=n(r(6115)),i=n(r(7867)),a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var r=u(e);if(r&&r.has(t))return r.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var a=o?Object.getOwnPropertyDescriptor(t,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=t[i]}n.default=t,r&&r.set(t,n);return n}(r(7294)),s=n(r(5697)),c=r(1142);function u(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(u=function(t){return t?r:e})(t)}var l=a.createContext(new c.SessionStorage);e.ScrollContext=l,l.displayName="GatsbyScrollContext";var f=function(t){function e(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this)._stateStorage=new c.SessionStorage,e._isTicking=!1,e._latestKnownScrollY=0,e.scrollListener=function(){e._latestKnownScrollY=window.scrollY,e._isTicking||(e._isTicking=!0,requestAnimationFrame(e._saveScroll.bind((0,o.default)(e))))},e.windowScroll=function(t,r){e.shouldUpdateScroll(r,e.props)&&window.scrollTo(0,t)},e.scrollToHash=function(t,r){var n=document.getElementById(t.substring(1));n&&e.shouldUpdateScroll(r,e.props)&&n.scrollIntoView()},e.shouldUpdateScroll=function(t,r){var n=e.props.shouldUpdateScroll;return!n||n.call((0,o.default)(e),t,r)},e}(0,i.default)(e,t);var r=e.prototype;return r._saveScroll=function(){var t=this.props.location.key||null;t&&this._stateStorage.save(this.props.location,t,this._latestKnownScrollY),this._isTicking=!1},r.componentDidMount=function(){var t;window.addEventListener("scroll",this.scrollListener);var e=this.props.location,r=e.key,n=e.hash;r&&(t=this._stateStorage.read(this.props.location,r)),t?this.windowScroll(t,void 0):n&&this.scrollToHash(decodeURI(n),void 0)},r.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},r.componentDidUpdate=function(t){var e,r=this.props.location,n=r.hash,o=r.key;o&&(e=this._stateStorage.read(this.props.location,o)),n?this.scrollToHash(decodeURI(n),t):this.windowScroll(e,t)},r.render=function(){return a.createElement(l.Provider,{value:this._stateStorage},this.props.children)},e}(a.Component);e.ScrollHandler=f,f.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},1142:function(t,e){"use strict";e.__esModule=!0,e.SessionStorage=void 0;var r="___GATSBY_REACT_ROUTER_SCROLL",n=function(){function t(){}var e=t.prototype;return e.read=function(t,e){var n=this.getStateKey(t,e);try{var o=window.sessionStorage.getItem(n);return o?JSON.parse(o):0}catch(i){return window&&window[r]&&window[r][n]?window[r][n]:0}},e.save=function(t,e,n){var o=this.getStateKey(t,e),i=JSON.stringify(n);try{window.sessionStorage.setItem(o,i)}catch(a){window&&window[r]||(window[r]={}),window[r][o]=JSON.parse(i)}},e.getStateKey=function(t,e){var r="@@scroll|"+t.pathname;return null==e?r:r+"|"+e},t}();e.SessionStorage=n},4855:function(t,e,r){"use strict";e.__esModule=!0,e.useScrollRestoration=function(t){var e=(0,i.useLocation)(),r=(0,o.useContext)(n.ScrollContext),a=(0,o.useRef)(null);return(0,o.useLayoutEffect)((function(){if(a.current){var n=r.read(e,t);a.current.scrollTo(0,n||0)}}),[e.key]),{ref:a,onScroll:function(){a.current&&r.save(e,t,a.current.scrollTop)}}};var n=r(1432),o=r(7294),i=r(9499)},5418:function(t,e,r){e.components={"component---src-pages-404-tsx":function(){return Promise.all([r.e(532),r.e(351),r.e(218)]).then(r.bind(r,2513))},"component---src-pages-about-the-team-tsx":function(){return Promise.all([r.e(532),r.e(351),r.e(311)]).then(r.bind(r,3810))},"component---src-pages-apply-tsx":function(){return Promise.all([r.e(532),r.e(351),r.e(55)]).then(r.bind(r,2151))},"component---src-pages-faq-tsx":function(){return Promise.all([r.e(532),r.e(351),r.e(67),r.e(288)]).then(r.bind(r,4687))},"component---src-pages-index-tsx":function(){return Promise.all([r.e(532),r.e(351),r.e(67),r.e(691)]).then(r.bind(r,3359))},"component---src-pages-sponsors-tsx":function(){return Promise.all([r.e(532),r.e(351),r.e(259)]).then(r.bind(r,5083))}}},4741:function(t,e,r){t.exports=[{plugin:r(9608),options:{plugins:[],name:"gatsby-starter-default",short_name:"starter",start_url:"/",background_color:"#663399",display:"minimal-ui",icon:"src/images/logo.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"70db62cf37aa768b554db2a6de40de15"}},{plugin:r(9301),options:{plugins:[],resetCSS:!0,isUsingColorMode:!0}},{plugin:r(540),options:{plugins:[]}}]},3092:function(t,e,r){var n=r(4741),o=r(1975).jN,i=o.getResourceURLsForPathname,a=o.loadPage,s=o.loadPageSync;e.h=function(t,e,r,o){void 0===e&&(e={});var c=n.map((function(r){if(r.plugin[t]){e.getResourceURLsForPathname=i,e.loadPage=a,e.loadPageSync=s;var n=r.plugin[t](e,r.options);return n&&o&&(e=o({args:e,result:n,plugin:r})),n}}));return(c=c.filter((function(t){return void 0!==t}))).length>0?c:r?[r]:[]},e.I=function(t,e,r){return n.reduce((function(r,n){return n.plugin[t]?r.then((function(){return n.plugin[t](e,n.options)})):r}),Promise.resolve())}},8299:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var n=function(t){return t=t||Object.create(null),{on:function(e,r){(t[e]||(t[e]=[])).push(r)},off:function(e,r){t[e]&&t[e].splice(t[e].indexOf(r)>>>0,1)},emit:function(e,r){(t[e]||[]).slice().map((function(t){t(r)})),(t["*"]||[]).slice().map((function(t){t(e,r)}))}}}()},7802:function(t,e,r){"use strict";r.d(e,{UD:function(){return d},Cj:function(){return h},GA:function(){return p},DS:function(){return f}});var n=r(2098),o=r(1505),i=function(t){if(void 0===t)return t;var e=t.split("?"),r=e[0],n=e[1],o=void 0===n?"":n;return o&&(o="?"+o),"/"===r?"/"+o:"/"===r.charAt(r.length-1)?r.slice(0,-1)+o:r+o},a=r(6073),s=new Map,c=[],u=function(t){var e=t;if(-1!==t.indexOf("?")){var r=t.split("?"),n=r[0],i=r[1];e=n+"?"+encodeURIComponent(i)}var a=decodeURIComponent(e);return(0,o.Z)(a,decodeURIComponent("")).split("#")[0]};function l(t){return t.startsWith("/")||t.startsWith("https://")||t.startsWith("http://")?t:new URL(t,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}var f=function(t){c=t},d=function(t){var e=v(t),r=c.map((function(t){var e=t.path;return{path:t.matchPath,originalPath:e}})),o=(0,n.ei)(r,e);return o?i(o.route.originalPath):null},p=function(t){var e=v(t),r=c.map((function(t){var e=t.path;return{path:t.matchPath,originalPath:e}})),o=(0,n.ei)(r,e);return o?o.params:{}},h=function t(e){var r=u(l(e));if(s.has(r))return s.get(r);var n=(0,a.J)(e);if(n)return t(n.toPath);var o=d(r);return o||(o=v(e)),s.set(r,o),o},v=function(t){var e=u(l(t));return"/index.html"===e&&(e="/"),e=i(e)}},1082:function(t,e,r){"use strict";r.r(e),r.d(e,{Link:function(){return s.ZP},PageRenderer:function(){return i()},Script:function(){return h.Script},ScriptStrategy:function(){return h.ScriptStrategy},StaticQuery:function(){return d},StaticQueryContext:function(){return u},StaticQueryServerContext:function(){return l},collectedScriptsByPage:function(){return h.collectedScriptsByPage},graphql:function(){return m},navigate:function(){return s.c4},parsePath:function(){return s.cP},prefetchPathname:function(){return v},scriptCache:function(){return h.scriptCache},scriptCallbackCache:function(){return h.scriptCallbackCache},useScrollRestoration:function(){return a.p2},useStaticQuery:function(){return p},withAssetPrefix:function(){return s.mc},withPrefix:function(){return s.dq}});var n=r(1975),o=r(2743),i=r.n(o),a=r(9679),s=r(1562),c=r(7294),u=c.createContext({}),l=null;function f(t){var e=t.staticQueryData,r=t.data,n=t.query,o=t.render,i=r?r.data:e[n]&&e[n].data;return c.createElement(c.Fragment,null,i&&o(i),!i&&c.createElement("div",null,"Loading (StaticQuery)"))}c.createServerContext&&(l=c.createServerContext("StaticQuery",{}));var d=function(t){var e=t.data,r=t.query,n=t.render,o=t.children;return c.createElement(u.Consumer,null,(function(t){return c.createElement(f,{data:e,query:r,render:n||o,staticQueryData:t})}))},p=function(t){var e,r;if(c.useContext,r=l&&Object.keys(l._currentValue).length?c.useContext(l):c.useContext(u),isNaN(Number(t)))throw new Error("useStaticQuery was called with a string but expects to be called using `graphql`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql`"+t+"`);\n");if(null!==(e=r[t])&&void 0!==e&&e.data)return r[t].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")},h=r(3521),v=n.ZP.enqueue;function m(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},1975:function(t,e,r){"use strict";r.d(e,{uQ:function(){return l},kL:function(){return y},ZP:function(){return x},hs:function(){return k},jN:function(){return w},N1:function(){return b}});var n=r(4578),o=r(3433),i=function(t){if("undefined"==typeof document)return!1;var e=document.createElement("link");try{if(e.relList&&"function"==typeof e.relList.supports)return e.relList.supports(t)}catch(r){return!1}return!1}("prefetch")?function(t,e){return new Promise((function(r,n){if("undefined"!=typeof document){var o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",t),Object.keys(e).forEach((function(t){o.setAttribute(t,e[t])})),o.onload=r,o.onerror=n,(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}else n()}))}:function(t){return new Promise((function(e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.onload=function(){200===n.status?e():r()},n.send(null)}))},a={},s=function(t,e){return new Promise((function(r){a[t]?r():i(t,e).then((function(){r(),a[t]=!0})).catch((function(){}))}))},c=r(8299),u=r(7802),l={Error:"error",Success:"success"},f=function(t){var e,r=t.split("?"),n=r[0],o=r[1];return"/page-data/"+("/"===n?"index":(e="/"===(e=n)[0]?e.slice(1):e).endsWith("/")?e.slice(0,-1):e)+"/page-data.json"+(o?"?"+o:"")};function d(t,e){return void 0===e&&(e="GET"),new Promise((function(r){var n=new XMLHttpRequest;n.open(e,t,!0),n.onreadystatechange=function(){4==n.readyState&&r(n)},n.send(null)}))}var p=/bot|crawler|spider|crawling/i,h=function(t,e,r){void 0===e&&(e=null);var n={componentChunkName:t.componentChunkName,path:t.path,webpackCompilationHash:t.webpackCompilationHash,matchPath:t.matchPath,staticQueryHashes:t.staticQueryHashes,getServerDataError:t.getServerDataError};return{component:e,head:r,json:t.result,page:n}};var v,m=function(){function t(t,e){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=t,(0,u.DS)(e)}var e=t.prototype;return e.memoizedGet=function(t){var e=this,r=this.inFlightNetworkRequests.get(t);return r||(r=d(t,"GET"),this.inFlightNetworkRequests.set(t,r)),r.then((function(r){return e.inFlightNetworkRequests.delete(t),r})).catch((function(r){throw e.inFlightNetworkRequests.delete(t),r}))},e.setApiRunner=function(t){this.apiRunner=t,this.prefetchDisabled=t("disableCorePrefetching").some((function(t){return t}))},e.fetchPageDataJson=function(t){var e=this,r=t.pagePath,n=t.retries,o=void 0===n?0:n,i=f(r);return this.memoizedGet(i).then((function(n){var i=n.status,a=n.responseText;if(200===i)try{var s=JSON.parse(a);if(void 0===s.path)throw new Error("not a valid pageData response");var c=r.split("?")[1];return c&&!s.path.includes(c)&&(s.path+="?"+c),Object.assign(t,{status:l.Success,payload:s})}catch(u){}return 404===i||200===i?"/404.html"===r||"/500.html"===r?Object.assign(t,{status:l.Error}):e.fetchPageDataJson(Object.assign(t,{pagePath:"/404.html",notFound:!0})):500===i?e.fetchPageDataJson(Object.assign(t,{pagePath:"/500.html",internalServerError:!0})):o<3?e.fetchPageDataJson(Object.assign(t,{retries:o+1})):Object.assign(t,{status:l.Error})}))},e.fetchPartialHydrationJson=function(t){var e=this,r=t.pagePath,n=t.retries,o=void 0===n?0:n,i=f(r).replace(".json","-rsc.json");return this.memoizedGet(i).then((function(n){var i=n.status,a=n.responseText;if(200===i)try{return Object.assign(t,{status:l.Success,payload:a})}catch(s){}return 404===i||200===i?"/404.html"===r||"/500.html"===r?Object.assign(t,{status:l.Error}):e.fetchPartialHydrationJson(Object.assign(t,{pagePath:"/404.html",notFound:!0})):500===i?e.fetchPartialHydrationJson(Object.assign(t,{pagePath:"/500.html",internalServerError:!0})):o<3?e.fetchPartialHydrationJson(Object.assign(t,{retries:o+1})):Object.assign(t,{status:l.Error})}))},e.loadPageDataJson=function(t){var e=this,r=(0,u.Cj)(t);if(this.pageDataDb.has(r)){var n=this.pageDataDb.get(r);return Promise.resolve(n)}return this.fetchPageDataJson({pagePath:r}).then((function(t){return e.pageDataDb.set(r,t),t}))},e.loadPartialHydrationJson=function(t){var e=this,r=(0,u.Cj)(t);if(this.partialHydrationDb.has(r)){var n=this.partialHydrationDb.get(r);return Promise.resolve(n)}return this.fetchPartialHydrationJson({pagePath:r}).then((function(t){return e.partialHydrationDb.set(r,t),t}))},e.findMatchPath=function(t){return(0,u.UD)(t)},e.loadPage=function(t){var e,r=this,n=(0,u.Cj)(t);if(this.pageDb.has(n)){var o=this.pageDb.get(n);return o.error?{error:o.error,status:o.status}:Promise.resolve(o.payload)}return this.inFlightDb.has(n)?this.inFlightDb.get(n):((e=Promise.all([this.loadAppData(),this.loadPageDataJson(n)]).then((function(t){var e=t[1];if(e.status===l.Error)return{status:l.Error};var o=e.payload,i=o,a=i.componentChunkName,s=i.staticQueryHashes,u=void 0===s?[]:s,f={},d=Promise.all([r.loadComponent(a),r.loadComponent(a,"head")]).then((function(r){var n,i=r[0],a=r[1];return f.createdAt=new Date,!i||i instanceof Error?(f.status=l.Error,f.error=i):(f.status=l.Success,!0===e.notFound&&(f.notFound=!0),o=Object.assign(o,{webpackCompilationHash:t[0]?t[0].webpackCompilationHash:""}),n=h(o,i,a)),n})),p=Promise.all(u.map((function(t){if(r.staticQueryDb[t]){var e=r.staticQueryDb[t];return{staticQueryHash:t,jsonPayload:e}}return r.memoizedGet("/page-data/sq/d/"+t+".json").then((function(e){var r=JSON.parse(e.responseText);return{staticQueryHash:t,jsonPayload:r}})).catch((function(){throw new Error("We couldn't load \"/page-data/sq/d/"+t+'.json"')}))}))).then((function(t){var e={};return t.forEach((function(t){var n=t.staticQueryHash,o=t.jsonPayload;e[n]=o,r.staticQueryDb[n]=o})),e}));return Promise.all([d,p]).then((function(t){var e,o=t[0],i=t[1];return o&&(e=Object.assign({},o,{staticQueryResults:i}),f.payload=e,c.Z.emit("onPostLoadPageResources",{page:e,pageResources:e})),r.pageDb.set(n,f),f.error?{error:f.error,status:f.status}:e})).catch((function(t){return{error:t,status:l.Error}}))}))).then((function(){r.inFlightDb.delete(n)})).catch((function(t){throw r.inFlightDb.delete(n),t})),this.inFlightDb.set(n,e),e)},e.loadPageSync=function(t,e){void 0===e&&(e={});var r=(0,u.Cj)(t);if(this.pageDb.has(r)){var n,o=this.pageDb.get(r);if(o.payload)return o.payload;if(null!==(n=e)&&void 0!==n&&n.withErrorDetails)return{error:o.error,status:o.status}}},e.shouldPrefetch=function(t){return!!function(){if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0}()&&((!navigator.userAgent||!p.test(navigator.userAgent))&&!this.pageDb.has(t))},e.prefetch=function(t){var e=this;if(!this.shouldPrefetch(t))return{then:function(t){return t(!1)},abort:function(){}};if(this.prefetchTriggered.has(t))return{then:function(t){return t(!0)},abort:function(){}};var r={resolve:null,reject:null,promise:null};r.promise=new Promise((function(t,e){r.resolve=t,r.reject=e})),this.prefetchQueued.push([t,r]);var n=new AbortController;return n.signal.addEventListener("abort",(function(){var r=e.prefetchQueued.findIndex((function(e){return e[0]===t}));-1!==r&&e.prefetchQueued.splice(r,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((function(){e._processNextPrefetchBatch()}),3e3)),{then:function(t,e){return r.promise.then(t,e)},abort:n.abort.bind(n)}},e._processNextPrefetchBatch=function(){var t=this;(window.requestIdleCallback||function(t){return setTimeout(t,0)})((function(){var e=t.prefetchQueued.splice(0,4),r=Promise.all(e.map((function(e){var r=e[0],n=e[1];return t.prefetchTriggered.has(r)||(t.apiRunner("onPrefetchPathname",{pathname:r}),t.prefetchTriggered.add(r)),t.prefetchDisabled?n.resolve(!1):t.doPrefetch((0,u.Cj)(r)).then((function(){t.prefetchCompleted.has(r)||(t.apiRunner("onPostPrefetchPathname",{pathname:r}),t.prefetchCompleted.add(r)),n.resolve(!0)}))})));t.prefetchQueued.length?r.then((function(){setTimeout((function(){t._processNextPrefetchBatch()}),3e3)})):t.isPrefetchQueueRunning=!1}))},e.doPrefetch=function(t){var e=this,r=f(t);return s(r,{crossOrigin:"anonymous",as:"fetch"}).then((function(){return e.loadPageDataJson(t)}))},e.hovering=function(t){this.loadPage(t)},e.getResourceURLsForPathname=function(t){var e=(0,u.Cj)(t),r=this.pageDataDb.get(e);if(r){var n=h(r.payload);return[].concat((0,o.Z)(g(n.page.componentChunkName)),[f(e)])}return null},e.isPageNotFound=function(t){var e=(0,u.Cj)(t),r=this.pageDb.get(e);return!r||r.notFound},e.loadAppData=function(t){var e=this;return void 0===t&&(t=0),this.memoizedGet("/page-data/app-data.json").then((function(r){var n,o=r.status,i=r.responseText;if(200!==o&&t<3)return e.loadAppData(t+1);if(200===o)try{var a=JSON.parse(i);if(void 0===a.webpackCompilationHash)throw new Error("not a valid app-data response");n=a}catch(s){}return n}))},t}(),g=function(t){return(window.___chunkMapping[t]||[]).map((function(t){return""+t}))},y=function(t){function e(e,r,n){var o;return o=t.call(this,(function(t,r){if(void 0===r&&(r="components"),!e[r="components"][t])throw new Error("We couldn't find the correct component chunk with the name \""+t+'"');return e[r][t]().catch((function(t){return t}))}),r)||this,n&&o.pageDataDb.set((0,u.Cj)(n.path),{pagePath:n.path,payload:n,status:"success"}),o}(0,n.Z)(e,t);var r=e.prototype;return r.doPrefetch=function(e){return t.prototype.doPrefetch.call(this,e).then((function(t){if(t.status!==l.Success)return Promise.resolve();var e=t.payload,r=e.componentChunkName,n=g(r);return Promise.all(n.map(s)).then((function(){return e}))}))},r.loadPageDataJson=function(e){return t.prototype.loadPageDataJson.call(this,e).then((function(t){return t.notFound?d(e,"HEAD").then((function(e){return 200===e.status?{status:l.Error}:t})):t}))},r.loadPartialHydrationJson=function(e){return t.prototype.loadPartialHydrationJson.call(this,e).then((function(t){return t.notFound?d(e,"HEAD").then((function(e){return 200===e.status?{status:l.Error}:t})):t}))},e}(m),b=function(t){v=t},w={enqueue:function(t){return v.prefetch(t)},getResourceURLsForPathname:function(t){return v.getResourceURLsForPathname(t)},loadPage:function(t){return v.loadPage(t)},loadPageSync:function(t,e){return void 0===e&&(e={}),v.loadPageSync(t,e)},prefetch:function(t){return v.prefetch(t)},isPageNotFound:function(t){return v.isPageNotFound(t)},hovering:function(t){return v.hovering(t)},loadAppData:function(){return v.loadAppData()}},x=w;function k(){return v?v.staticQueryDb:{}}},4779:function(t,e,r){"use strict";r.d(e,{Z:function(){return k}});var n=r(7294),o=r(5697),i=r.n(o),a=r(3092),s=r(7802),c=r(1082),u=r(9499),l=r(4941);function f(t){var e=t.children,r=t.callback;return(0,n.useEffect)((function(){r()})),e}var d=["link","meta","style","title","base","noscript","script"];function p(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return h(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function v(t){for(var e,r=t.oldNodes,n=t.newNodes,o=t.onStale,i=t.onNew,a=function(){var t=e.value,r=n.findIndex((function(e){return function(t,e){if(t instanceof HTMLElement&&e instanceof HTMLElement){var r=e.getAttribute("nonce");if(r&&!t.getAttribute("nonce")){var n=e.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===t.nonce&&t.isEqualNode(n)}}return t.isEqualNode(e)}(e,t)}));-1===r?o(t):n.splice(r,1)},s=p(r);!(e=s()).done;)a();for(var c,u=p(n);!(c=u()).done;){i(c.value)}}function m(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var y=document.createElement("div"),b=function(){for(var t,e,r=[],n=new Map,o=m(y.childNodes);!(e=o()).done;){var i,a,s=e.value,c=s.nodeName.toLowerCase(),u=null===(i=s.attributes)||void 0===i||null===(a=i.id)||void 0===a?void 0:a.value;if(d.includes(c)){var l=s.cloneNode(!0);if(l.setAttribute("data-gatsby-head",!0),"script"===l.nodeName.toLowerCase()){for(var f,p=document.createElement("script"),h=m(l.attributes);!(f=h()).done;){var g=f.value;p.setAttribute(g.name,g.value)}p.innerHTML=l.innerHTML,l=p}if(u)if(n.has(u)){var b,w=n.get(u);null===(b=r[w].parentNode)||void 0===b||b.removeChild(r[w]),r[w]=l}else r.push(l),n.set(u,r.length-1);else r.push(l)}else;}var x=document.querySelectorAll("[data-gatsby-head]");if(0!==x.length){var k=[];v({oldNodes:x,newNodes:r,onStale:function(t){return t.parentNode.removeChild(t)},onNew:function(t){return k.push(t)}}),(t=document.head).append.apply(t,k)}else{var S;(S=document.head).append.apply(S,r)}};function w(t){var e=t.pageComponent,r=t.staticQueryResults,o=t.pageComponentProps;(0,n.useEffect)((function(){if(null!=e&&e.Head){!function(t){if("function"!=typeof t)throw new Error('Expected "Head" export to be a function got "'+typeof t+'".')}(e.Head);var t=(0,l.U)().render,i=e.Head;t(n.createElement(f,{callback:b},n.createElement(c.StaticQueryContext.Provider,{value:r},n.createElement(u.LocationProvider,null,n.createElement(i,{location:{pathname:(a=o).location.pathname},params:a.params,data:a.data||{},pageContext:a.pageContext})))),y)}var a;return function(){!function(){for(var t,e=m(document.querySelectorAll("[data-gatsby-head]"));!(t=e()).done;){var r=t.value;r.parentNode.removeChild(r)}}()}}))}function x(t){var e,r,o=Object.assign({},t,{params:Object.assign({},(0,s.GA)(t.location.pathname),t.pageResources.json.pageContext.__params)});return e=t.pageResources.partialHydration?t.pageResources.partialHydration:(0,n.createElement)((r=t.pageResources.component)&&r.default||r,Object.assign({},o,{key:t.path||t.pageResources.page.path})),w({pageComponent:t.pageResources.head,staticQueryResults:t.pageResources.staticQueryResults,pageComponentProps:o}),(0,a.h)("wrapPageElement",{element:e,props:o},e,(function(t){return{element:t.result,props:o}})).pop()}x.propTypes={location:i().object.isRequired,pageResources:i().object.isRequired,data:i().object,pageContext:i().object.isRequired};var k=x},5824:function(t,e,r){"use strict";var n=r(4578),o=r(3092),i=r(7294),a=r(9499),s=r(9679),c=r(1082),u=r(1975),l=r(6073),f=r(8299),d={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"},p=r(2393),h=r(1562);function v(t){var e=(0,l.J)(t),r=window.location,n=r.hash,o=r.search;return null!=e&&(window.___replace(e.toPath+o+n),!0)}var m="";window.addEventListener("unhandledrejection",(function(t){/loading chunk \d* failed./i.test(t.reason)&&m&&(window.location.pathname=m)}));var g=function(t,e){v(t.pathname)||(m=t.pathname,(0,o.h)("onPreRouteUpdate",{location:t,prevLocation:e}))},y=function(t,e){v(t.pathname)||(0,o.h)("onRouteUpdate",{location:t,prevLocation:e})},b=function(t,e){if(void 0===e&&(e={}),"number"!=typeof t){var r=(0,h.cP)(t),n=r.pathname,i=r.search,s=r.hash,c=(0,l.J)(n);if(c&&(t=c.toPath+i+s),window.___swUpdated)window.location=n+i+s;else{var d=setTimeout((function(){f.Z.emit("onDelayedLoadPageResources",{pathname:n}),(0,o.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);u.ZP.loadPage(n+i).then((function(r){if(!r||r.status===u.uQ.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(d);r&&r.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=n+i+s),(0,a.navigate)(t,e),clearTimeout(d)}))}}else p.V5.navigate(t)};function w(t,e){var r=this,n=e.location,i=n.pathname,a=n.hash,s=(0,o.h)("shouldUpdateScroll",{prevRouterProps:t,pathname:i,routerProps:{location:n},getSavedScrollPosition:function(t){return[0,r._stateStorage.read(t,t.key)]}});if(s.length>0)return s[s.length-1];if(t&&t.location.pathname===i)return a?decodeURI(a.slice(1)):[0,0];return!0}var x=function(t){function e(e){var r;return(r=t.call(this,e)||this).announcementRef=i.createRef(),r}(0,n.Z)(e,t);var r=e.prototype;return r.componentDidUpdate=function(t,e){var r=this;requestAnimationFrame((function(){var t="new page at "+r.props.location.pathname;document.title&&(t=document.title);var e=document.querySelectorAll("#gatsby-focus-wrapper h1");e&&e.length&&(t=e[0].textContent);var n="Navigated to "+t;r.announcementRef.current&&(r.announcementRef.current.innerText!==n&&(r.announcementRef.current.innerText=n))}))},r.render=function(){return i.createElement("div",Object.assign({},d,{ref:this.announcementRef}))},e}(i.Component),k=function(t,e){var r,n;return t.href!==e.href||(null==t||null===(r=t.state)||void 0===r?void 0:r.key)!==(null==e||null===(n=e.state)||void 0===n?void 0:n.key)},S=function(t){function e(e){var r;return r=t.call(this,e)||this,g(e.location,null),r}(0,n.Z)(e,t);var r=e.prototype;return r.componentDidMount=function(){y(this.props.location,null)},r.shouldComponentUpdate=function(t){return!!k(t.location,this.props.location)&&(g(this.props.location,t.location),!0)},r.componentDidUpdate=function(t){k(t.location,this.props.location)&&y(this.props.location,t.location)},r.render=function(){return i.createElement(i.Fragment,null,this.props.children,i.createElement(x,{location:location}))},e}(i.Component),O=r(4779),P=r(5418);function E(t,e){for(var r in t)if(!(r in e))return!0;for(var n in e)if(t[n]!==e[n])return!0;return!1}var j=function(t){function e(e){var r;r=t.call(this)||this;var n=e.location,o=e.pageResources;return r.state={location:Object.assign({},n),pageResources:o||u.ZP.loadPageSync(n.pathname+n.search,{withErrorDetails:!0})},r}(0,n.Z)(e,t),e.getDerivedStateFromProps=function(t,e){var r=t.location;return e.location.href!==r.href?{pageResources:u.ZP.loadPageSync(r.pathname+r.search,{withErrorDetails:!0}),location:Object.assign({},r)}:{location:Object.assign({},r)}};var r=e.prototype;return r.loadResources=function(t){var e=this;u.ZP.loadPage(t).then((function(r){r&&r.status!==u.uQ.Error?e.setState({location:Object.assign({},window.location),pageResources:r}):(window.history.replaceState({},"",location.href),window.location=t)}))},r.shouldComponentUpdate=function(t,e){return e.pageResources?this.state.pageResources!==e.pageResources||(this.state.pageResources.component!==e.pageResources.component||(this.state.pageResources.json!==e.pageResources.json||(!(this.state.location.key===e.location.key||!e.pageResources.page||!e.pageResources.page.matchPath&&!e.pageResources.page.path)||function(t,e,r){return E(t.props,e)||E(t.state,r)}(this,t,e)))):(this.loadResources(t.location.pathname+t.location.search),!1)},r.render=function(){return this.props.children(this.state)},e}(i.Component),C=r(1505),A=r(4941),R=new u.kL(P,[],window.pageData);(0,u.N1)(R),R.setApiRunner(o.h);var _=(0,A.U)(),T=_.render,D=_.hydrate;window.asyncRequires=P,window.___emitter=f.Z,window.___loader=u.jN,p.V5.listen((function(t){t.location.action=t.action})),window.___push=function(t){return b(t,{replace:!1})},window.___replace=function(t){return b(t,{replace:!0})},window.___navigate=function(t,e){return b(t,e)};var M="gatsby-reload-compilation-hash-match";(0,o.I)("onClientEntry").then((function(){(0,o.h)("registerServiceWorker").filter(Boolean).length>0&&r(9939);var t=function(t){return i.createElement(a.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},i.createElement(O.Z,t))},e=i.createContext({}),l=function(t){function r(){return t.apply(this,arguments)||this}return(0,n.Z)(r,t),r.prototype.render=function(){var t=this.props.children;return i.createElement(a.Location,null,(function(r){var n=r.location;return i.createElement(j,{location:n},(function(r){var n=r.pageResources,o=r.location;if(n.partialHydration)return i.createElement(e.Provider,{value:{pageResources:n,location:o}},t);var a=(0,u.hs)();return i.createElement(c.StaticQueryContext.Provider,{value:a},i.createElement(e.Provider,{value:{pageResources:n,location:o}},t))}))}))},r}(i.Component),f=function(r){function o(){return r.apply(this,arguments)||this}return(0,n.Z)(o,r),o.prototype.render=function(){var r=this;return i.createElement(e.Consumer,null,(function(e){var n=e.pageResources,o=e.location;return i.createElement(S,{location:o},i.createElement(s.$C,{location:o,shouldUpdateScroll:w},i.createElement(a.Router,{basepath:"",location:o,id:"gatsby-focus-wrapper"},i.createElement(t,Object.assign({path:"/404.html"===n.page.path||"/500.html"===n.page.path?(0,C.Z)(o.pathname,""):encodeURI((n.page.matchPath||n.page.path).split("?")[0])},r.props,{location:o,pageResources:n},n.json)))))}))},o}(i.Component),d=window,p=d.pagePath,h=d.location;p&&""+p!==h.pathname+(p.includes("?")?h.search:"")&&!(R.findMatchPath((0,C.Z)(h.pathname,""))||p.match(/^\/(404|500)(\/?|.html)$/)||p.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,a.navigate)(""+p+(p.includes("?")?"":h.search)+h.hash,{replace:!0});var v=function(){try{return sessionStorage}catch(t){return null}};u.jN.loadPage(h.pathname+h.search).then((function(t){var e,r=v();if(null!=t&&null!==(e=t.page)&&void 0!==e&&e.webpackCompilationHash&&t.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),r&&!("1"===r.getItem(M))))return r.setItem(M,"1"),void window.location.reload(!0);if(r&&r.removeItem(M),!t||t.status===u.uQ.Error){var n="page resources for "+h.pathname+" not found. Not rendering React";if(t&&t.error)throw console.error(n),t.error;throw new Error(n)}var a=(0,o.h)("wrapRootElement",{element:i.createElement(f,null)},i.createElement(f,null),(function(t){return{element:t.result}})).pop(),s=function(){var t=i.useRef(!1);return i.useEffect((function(){t.current||(t.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.h)("onInitialClientRender"))}),[]),i.createElement(l,null,a)},c=document.getElementById("gatsby-focus-wrapper"),d=T;c&&c.children.length&&(d=D);var p=(0,o.h)("replaceHydrateFunction",void 0,d)[0];function m(){var t="undefined"!=typeof window?document.getElementById("___gatsby"):null;p(i.createElement(s,null),t)}var g=document;if("complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll)setTimeout((function(){m()}),0);else{var y=function t(){g.removeEventListener("DOMContentLoaded",t,!1),window.removeEventListener("load",t,!1),m()};g.addEventListener("DOMContentLoaded",y,!1),window.addEventListener("load",y,!1)}}))}))},224:function(t,e,r){"use strict";r.r(e);var n=r(7294),o=r(1975),i=r(4779);e.default=function(t){var e=t.location,r=o.ZP.loadPageSync(e.pathname);return r?n.createElement(i.Z,Object.assign({location:e,pageResources:r},r.json)):null}},2743:function(t,e,r){var n;t.exports=(n=r(224))&&n.default||n},4941:function(t,e,r){"use strict";r.d(e,{U:function(){return o}});var n=new WeakMap;function o(){var t=r(745);return{render:function(e,r){var o=n.get(r);o||n.set(r,o=t.createRoot(r)),o.render(e)},hydrate:function(e,r){return t.hydrateRoot(r,e)}}}},9712:function(t,e){e.O=function(t){return t}},6073:function(t,e,r){"use strict";r.d(e,{J:function(){return i}});var n=new Map,o=new Map;function i(t){var e=n.get(t);return e||(e=o.get(t.toLowerCase())),e}[].forEach((function(t){t.ignoreCase?o.set(t.fromPath,t):n.set(t.fromPath,t)}))},9939:function(t,e,r){"use strict";r.r(e);var n=r(3092);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then((function(t){t.addEventListener("updatefound",(function(){(0,n.h)("onServiceWorkerUpdateFound",{serviceWorker:t});var e=t.installing;console.log("installingWorker",e),e.addEventListener("statechange",(function(){switch(e.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,n.h)("onServiceWorkerUpdateReady",{serviceWorker:t}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,n.h)("onServiceWorkerInstalled",{serviceWorker:t}));break;case"redundant":console.error("The installing service worker became redundant."),(0,n.h)("onServiceWorkerRedundant",{serviceWorker:t});break;case"activated":(0,n.h)("onServiceWorkerActive",{serviceWorker:t})}}))}))})).catch((function(t){console.error("Error during service worker registration:",t)}))},1505:function(t,e,r){"use strict";function n(t,e){return void 0===e&&(e=""),e?t===e?"/":t.startsWith(e+"/")?t.slice(e.length):t:t}r.d(e,{Z:function(){return n}})},9301:function(t,e,r){"use strict";r.r(e),r.d(e,{wrapRootElement:function(){return s}});var n=r(7294),o=r(9037),i=r(7284).rS,a=function(t){var e=t.element,r=t.resetCSS,a=void 0===r||r,s=t.portalZIndex;return n.createElement(o.xjn,{theme:i,resetCSS:a,portalZIndex:s},e)},s=function(t,e){var r=t.element;return n.createElement(a,Object.assign({element:r},e))}},9608:function(t,e,r){"use strict";r.r(e),r.d(e,{onRouteUpdate:function(){return n}});r(1082),r(292);var n=function(t,e){t.location}},292:function(t,e,r){"use strict";var n=r(1082)},9499:function(t,e,r){"use strict";r.r(e),r.d(e,{BaseContext:function(){return I},Link:function(){return q},Location:function(){return M},LocationProvider:function(){return Z},Match:function(){return K},Redirect:function(){return Q},Router:function(){return L},ServerLocation:function(){return B},createHistory:function(){return k},createMemorySource:function(){return S},globalHistory:function(){return P},isRedirect:function(){return Y},matchPath:function(){return u},navigate:function(){return E},redirectTo:function(){return X},resolve:function(){return l},useLocation:function(){return tt},useMatch:function(){return nt},useNavigate:function(){return et},useParams:function(){return rt}});var n=r(7294),o=r(1143),i=r.n(o),a=r(9712),s=function(t,e){return t.substr(0,e.length)===e},c=function(t,e){for(var r=void 0,n=void 0,o=e.split("?")[0],a=g(o),s=""===a[0],c=m(t),u=0,l=c.length;u<l;u++){var f=!1,p=c[u].route;if(p.default)n={route:p,params:{},uri:e};else{for(var v=g(p.path),y={},w=Math.max(a.length,v.length),x=0;x<w;x++){var k=v[x],S=a[x];if(h(k)){y[k.slice(1)||"*"]=a.slice(x).map(decodeURIComponent).join("/");break}if(void 0===S){f=!0;break}var O=d.exec(k);if(O&&!s){-1===b.indexOf(O[1])||i()(!1);var P=decodeURIComponent(S);y[O[1]]=P}else if(k!==S){f=!0;break}}if(!f){r={route:p,params:y,uri:"/"+a.slice(0,x).join("/")};break}}}return r||n||null},u=function(t,e){return c([{path:t}],e)},l=function(t,e){if(s(t,"/"))return t;var r=t.split("?"),n=r[0],o=r[1],i=e.split("?")[0],a=g(n),c=g(i);if(""===a[0])return y(i,o);if(!s(a[0],".")){var u=c.concat(a).join("/");return y(("/"===i?"":"/")+u,o)}for(var l=c.concat(a),f=[],d=0,p=l.length;d<p;d++){var h=l[d];".."===h?f.pop():"."!==h&&f.push(h)}return y("/"+f.join("/"),o)},f=function(t,e){var r=t.split("?"),n=r[0],o=r[1],i=void 0===o?"":o,a="/"+g(n).map((function(t){var r=d.exec(t);return r?e[r[1]]:t})).join("/"),s=e.location,c=(s=void 0===s?{}:s).search,u=(void 0===c?"":c).split("?")[1]||"";return a=y(a,i,u)},d=/^:(.+)/,p=function(t){return d.test(t)},h=function(t){return t&&"*"===t[0]},v=function(t,e){return{route:t,score:t.default?0:g(t.path).reduce((function(t,e){return t+=4,!function(t){return""===t}(e)?p(e)?t+=2:h(e)?t-=5:t+=3:t+=1,t}),0),index:e}},m=function(t){return t.map(v).sort((function(t,e){return t.score<e.score?1:t.score>e.score?-1:t.index-e.index}))},g=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},y=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return t+((r=r.filter((function(t){return t&&t.length>0})))&&r.length>0?"?"+r.join("&"):"")},b=["uri","path"],w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},x=function(t){var e=t.location,r=e.search,n=e.hash,o=e.href,i=e.origin,a=e.protocol,s=e.host,c=e.hostname,u=e.port,l=t.location.pathname;!l&&o&&O&&(l=new URL(o).pathname);return{pathname:encodeURI(decodeURI(l)),search:r,hash:n,href:o,origin:i,protocol:a,host:s,hostname:c,port:u,state:t.history.state,key:t.history.state&&t.history.state.key||"initial"}},k=function(t,e){var r=[],n=x(t),o=!1,i=function(){};return{get location(){return n},get transitioning(){return o},_onTransitionComplete:function(){o=!1,i()},listen:function(e){r.push(e);var o=function(){n=x(t),e({location:n,action:"POP"})};return t.addEventListener("popstate",o),function(){t.removeEventListener("popstate",o),r=r.filter((function(t){return t!==e}))}},navigate:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=a.state,c=a.replace,u=void 0!==c&&c;if("number"==typeof e)t.history.go(e);else{s=w({},s,{key:Date.now()+""});try{o||u?t.history.replaceState(s,null,e):t.history.pushState(s,null,e)}catch(f){t.location[u?"replace":"assign"](e)}}n=x(t),o=!0;var l=new Promise((function(t){return i=t}));return r.forEach((function(t){return t({location:n,action:"PUSH"})})),l}}},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),r={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""},n=0,o=[r],i=[null];return{get location(){return o[n]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return n},get state(){return i[n]},pushState:function(t,e,r){var a=r.split("?"),s=a[0],c=a[1],u=void 0===c?"":c;n++,o.push({pathname:s,search:u.length?"?"+u:u}),i.push(t)},replaceState:function(t,e,r){var a=r.split("?"),s=a[0],c=a[1],u=void 0===c?"":c;o[n]={pathname:s,search:u},i[n]=t},go:function(t){var e=n+t;e<0||e>i.length-1||(n=e)}}}},O=!("undefined"==typeof window||!window.document||!window.document.createElement),P=k(O?window:S()),E=P.navigate,j=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function C(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function R(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function _(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var T=function(t,e){var r=(0,n.createContext)(e);return r.displayName=t,r},D=T("Location"),M=function(t){var e=t.children;return n.createElement(D.Consumer,null,(function(t){return t?e(t):n.createElement(Z,null,e)}))},Z=function(t){function e(){var r,n;A(this,e);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return r=n=R(this,t.call.apply(t,[this].concat(i))),n.state={context:n.getContext(),refs:{unlisten:null}},R(n,r)}return _(e,t),e.prototype.getContext=function(){var t=this.props.history;return{navigate:t.navigate,location:t.location}},e.prototype.componentDidCatch=function(t,e){if(!Y(t))throw t;(0,this.props.history.navigate)(t.uri,{replace:!0})},e.prototype.componentDidUpdate=function(t,e){e.context.location!==this.state.context.location&&this.props.history._onTransitionComplete()},e.prototype.componentDidMount=function(){var t=this,e=this.state.refs,r=this.props.history;r._onTransitionComplete(),e.unlisten=r.listen((function(){Promise.resolve().then((function(){requestAnimationFrame((function(){t.unmounted||t.setState((function(){return{context:t.getContext()}}))}))}))}))},e.prototype.componentWillUnmount=function(){var t=this.state.refs;this.unmounted=!0,t.unlisten()},e.prototype.render=function(){var t=this.state.context,e=this.props.children;return n.createElement(D.Provider,{value:t},"function"==typeof e?e(t):e||null)},e}(n.Component);Z.defaultProps={history:P};var B=function(t){var e=t.url,r=t.children,o=e.indexOf("?"),i=void 0,a="";return o>-1?(i=e.substring(0,o),a=e.substring(o)):i=e,n.createElement(D.Provider,{value:{location:{pathname:i,search:a,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},r)},I=T("Base",{baseuri:"/",basepath:"/",navigate:P.navigate}),L=function(t){return n.createElement(I.Consumer,null,(function(e){return n.createElement(M,null,(function(r){return n.createElement(z,j({},e,r,t))}))}))},z=function(t){function e(){return A(this,e),R(this,t.apply(this,arguments))}return _(e,t),e.prototype.render=function(){var t=this.props,e=t.location,r=t.navigate,o=t.basepath,i=t.primary,a=t.children,s=(t.baseuri,t.component),u=void 0===s?"div":s,f=C(t,["location","navigate","basepath","primary","children","baseuri","component"]),d=n.Children.toArray(a).reduce((function(t,e){var r=it(o)(e);return t.concat(r)}),[]),p=e.pathname,h=c(d,p);if(h){var v=h.params,m=h.uri,g=h.route,y=h.route.value;o=g.default?o:g.path.replace(/\*$/,"");var b=j({},v,{uri:m,location:e,navigate:function(t,e){return r(l(t,m),e)}}),w=n.cloneElement(y,b,y.props.children?n.createElement(L,{location:e,primary:i},y.props.children):void 0),x=i?V:u,k=i?j({uri:m,location:e,component:u},f):f;return n.createElement(I.Provider,{value:{baseuri:m,basepath:o,navigate:b.navigate}},n.createElement(x,k,w))}return null},e}(n.PureComponent);z.defaultProps={primary:!0};var F=T("Focus"),V=function(t){var e=t.uri,r=t.location,o=t.component,i=C(t,["uri","location","component"]);return n.createElement(F.Consumer,null,(function(t){return n.createElement(H,j({},i,{component:o,requestFocus:t,uri:e,location:r}))}))},W=!0,N=0,H=function(t){function e(){var r,n;A(this,e);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return r=n=R(this,t.call.apply(t,[this].concat(i))),n.state={},n.requestFocus=function(t){!n.state.shouldFocus&&t&&t.focus()},R(n,r)}return _(e,t),e.getDerivedStateFromProps=function(t,e){if(null==e.uri)return j({shouldFocus:!0},t);var r=t.uri!==e.uri,n=e.location.pathname!==t.location.pathname&&t.location.pathname===t.uri;return j({shouldFocus:r||n},t)},e.prototype.componentDidMount=function(){N++,this.focus()},e.prototype.componentWillUnmount=function(){0===--N&&(W=!0)},e.prototype.componentDidUpdate=function(t,e){t.location!==this.props.location&&this.state.shouldFocus&&this.focus()},e.prototype.focus=function(){var t=this.props.requestFocus;t?t(this.node):W?W=!1:this.node&&(this.node.contains(document.activeElement)||this.node.focus())},e.prototype.render=function(){var t=this,e=this.props,r=(e.children,e.style),o=(e.requestFocus,e.component),i=void 0===o?"div":o,a=(e.uri,e.location,C(e,["children","style","requestFocus","component","uri","location"]));return n.createElement(i,j({style:j({outline:"none"},r),tabIndex:"-1",ref:function(e){return t.node=e}},a),n.createElement(F.Provider,{value:this.requestFocus},this.props.children))},e}(n.Component);(0,a.O)(H);var U=function(){},$=n.forwardRef;void 0===$&&($=function(t){return t});var q=$((function(t,e){var r=t.innerRef,o=C(t,["innerRef"]);return n.createElement(I.Consumer,null,(function(t){t.basepath;var i=t.baseuri;return n.createElement(M,null,(function(t){var a=t.location,c=t.navigate,u=o.to,f=o.state,d=o.replace,p=o.getProps,h=void 0===p?U:p,v=C(o,["to","state","replace","getProps"]),m=l(u,i),g=encodeURI(m),y=a.pathname===g,b=s(a.pathname,g);return n.createElement("a",j({ref:e||r,"aria-current":y?"page":void 0},v,h({isCurrent:y,isPartiallyCurrent:b,href:m,location:a}),{href:m,onClick:function(t){if(v.onClick&&v.onClick(t),at(t)){t.preventDefault();var e=d;if("boolean"!=typeof d&&y){var r=j({},a.state),n=(r.key,C(r,["key"]));o=j({},f),i=n,e=(s=Object.keys(o)).length===Object.keys(i).length&&s.every((function(t){return i.hasOwnProperty(t)&&o[t]===i[t]}))}c(m,{state:f,replace:e})}var o,i,s}}))}))}))}));function G(t){this.uri=t}q.displayName="Link";var Y=function(t){return t instanceof G},X=function(t){throw new G(t)},J=function(t){function e(){return A(this,e),R(this,t.apply(this,arguments))}return _(e,t),e.prototype.componentDidMount=function(){var t=this.props,e=t.navigate,r=t.to,n=(t.from,t.replace),o=void 0===n||n,i=t.state,a=(t.noThrow,t.baseuri),s=C(t,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var t=l(r,a);e(f(t,s),{replace:o,state:i})}))},e.prototype.render=function(){var t=this.props,e=(t.navigate,t.to),r=(t.from,t.replace,t.state,t.noThrow),n=t.baseuri,o=C(t,["navigate","to","from","replace","state","noThrow","baseuri"]),i=l(e,n);return r||X(f(i,o)),null},e}(n.Component),Q=function(t){return n.createElement(I.Consumer,null,(function(e){var r=e.baseuri;return n.createElement(M,null,(function(e){return n.createElement(J,j({},e,{baseuri:r},t))}))}))},K=function(t){var e=t.path,r=t.children;return n.createElement(I.Consumer,null,(function(t){var o=t.baseuri;return n.createElement(M,null,(function(t){var n=t.navigate,i=t.location,a=l(e,o),s=u(a,i.pathname);return r({navigate:n,location:i,match:s?j({},s.params,{uri:s.uri,path:e}):null})}))}))},tt=function(){var t=(0,n.useContext)(D);if(!t)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return t.location},et=function(){var t=(0,n.useContext)(I);if(!t)throw new Error("useNavigate hook was used but a BaseContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return t.navigate},rt=function(){var t=(0,n.useContext)(I);if(!t)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var e=tt(),r=u(t.basepath,e.pathname);return r?r.params:null},nt=function(t){if(!t)throw new Error("useMatch(path: string) requires an argument of a string to match against");var e=(0,n.useContext)(I);if(!e)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var r=tt(),o=l(t,e.baseuri),i=u(o,r.pathname);return i?j({},i.params,{uri:i.uri,path:t}):null},ot=function(t){return t.replace(/(^\/+|\/+$)/g,"")},it=function t(e){return function(r){if(!r)return null;if(r.type===n.Fragment&&r.props.children)return n.Children.map(r.props.children,t(e));if(r.props.path||r.props.default||r.type===Q||i()(!1),r.type!==Q||r.props.from&&r.props.to||i()(!1),r.type!==Q||function(t,e){var r=function(t){return p(t)};return g(t).filter(r).sort().join("/")===g(e).filter(r).sort().join("/")}(r.props.from,r.props.to)||i()(!1),r.props.default)return{value:r,default:!0};var o=r.type===Q?r.props.from:r.props.path,a="/"===o?e:ot(e)+"/"+ot(o);return{value:r,default:r.props.default,path:r.props.children?ot(a)+"/*":a}}},at=function(t){return!t.defaultPrevented&&0===t.button&&!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}},1143:function(t){"use strict";t.exports=function(t,e,r,n,o,i,a,s){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,i,a,s],l=0;(c=new Error(e.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},6115:function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},434:function(t){function e(){return t.exports=e=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,e.apply(this,arguments)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},7867:function(t,e,r){var n=r(6015);t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,n(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},4836:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},6015:function(t){function e(r,n){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},2911:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.SCRIPT_TYPE="text/partytown",e.partytownSnippet=t=>((t,e)=>{const{forward:r=[],...n}=t||{},o=JSON.stringify(n,((t,e)=>("function"==typeof e&&(e=String(e)).startsWith(t+"(")&&(e="function "+e),e)));return["!(function(w,p,f,c){",Object.keys(n).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",r.length>0?`.concat(${JSON.stringify(r)})`:"","})(window,'partytown','forward');",e].join("")})(t,'/* Partytown 0.5.4 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.5.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);')},907:function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{Z:function(){return n}})},3878:function(t,e,r){"use strict";function n(t){if(Array.isArray(t))return t}r.d(e,{Z:function(){return n}})},5671:function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.d(e,{Z:function(){return n}})},3144:function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}r.d(e,{Z:function(){return o}})},4942:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{Z:function(){return n}})},7462:function(t,e,r){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},n.apply(this,arguments)}r.d(e,{Z:function(){return n}})},1120:function(t,e,r){"use strict";function n(t){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},n(t)}r.d(e,{Z:function(){return n}})},136:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(9611);function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,n.Z)(t,e)}},4578:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(9611);function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,(0,n.Z)(t,e)}},9199:function(t,e,r){"use strict";function n(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}r.d(e,{Z:function(){return n}})},5267:function(t,e,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(e,{Z:function(){return n}})},4925:function(t,e,r){"use strict";function n(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}r.d(e,{Z:function(){return n}})},4575: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},n(t)}function o(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}r.d(e,{Z:function(){return o}})},9611:function(t,e,r){"use strict";function n(t,e){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},n(t,e)}r.d(e,{Z:function(){return n}})},9439:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var n=r(3878);var o=r(181),i=r(5267);function a(t,e){return(0,n.Z)(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(c){s=!0,o=c}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}}(t,e)||(0,o.Z)(t,e)||(0,i.Z)()}},3433:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var n=r(907);var o=r(9199),i=r(181);function a(t){return function(t){if(Array.isArray(t))return(0,n.Z)(t)}(t)||(0,o.Z)(t)||(0,i.Z)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},181:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(907);function o(t,e){if(t){if("string"==typeof t)return(0,n.Z)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.Z)(t,e):void 0}}},1562:function(t,e,r){"use strict";r.d(e,{ZP:function(){return y},c4:function(){return b},cP:function(){return s},dq:function(){return l},mc:function(){return h}});var n=r(5697),o=r(7294),i=r(9499);r(8440);function a(){return a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},a.apply(this,arguments)}function s(t){let e=t||"/",r="",n="";const o=e.indexOf("#");-1!==o&&(n=e.slice(o),e=e.slice(0,o));const i=e.indexOf("?");return-1!==i&&(r=e.slice(i),e=e.slice(0,i)),{pathname:e,search:"?"===r?"":r,hash:"#"===n?"":n}}const c=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=t=>{if("string"==typeof t)return!(t=>c.test(t))(t)};function l(t,e=""){var r;if(!u(t))return t;if(t.startsWith("./")||t.startsWith("../"))return t;const n=null!=(r=null!=e?e:"")?r:"/";return`${null!=n&&n.endsWith("/")?n.slice(0,-1):n}${t.startsWith("/")?t:`/${t}`}`}const f=t=>null==t?void 0:t.startsWith("/"),d=(t,e)=>"number"==typeof t?t:u(t)?f(t)?function(t){const e=l(t);return e}(t):function(t,e){if(f(t))return t;const r=(0,i.resolve)(t,e);return r}(t,e):t,p=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function h(t){return l(t,"")}const v={activeClassName:n.string,activeStyle:n.object,partiallyActive:n.bool};function m(t){return o.createElement(i.Location,null,(({location:e})=>o.createElement(g,a({},t,{_location:e}))))}class g extends o.Component{constructor(t){super(t),this.defaultGetProps=({isPartiallyCurrent:t,isCurrent:e})=>(this.props.partiallyActive?t:e)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:a({},this.props.style,this.props.activeStyle)}:null;let e=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(e=!0),this.state={IOSupported:e},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let t=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(t=this.props._location.pathname+this.props._location.search);const e=s(d(this.props.to,t)),r=e.pathname+e.search;if(t!==r)return ___loader.enqueue(r)}componentWillUnmount(){if(!this.io)return;const{instance:t,el:e}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),t.unobserve(e),t.disconnect()}handleRef(t){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=t:this.props.innerRef&&this.props.innerRef(t),this.state.IOSupported&&t&&(this.io=((t,e)=>{const r=new window.IntersectionObserver((r=>{r.forEach((r=>{t===r.target&&e(r.isIntersecting||r.intersectionRatio>0)}))}));return r.observe(t),{instance:r,el:t}})(t,(t=>{t?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const t=this.props,{to:e,getProps:r=this.defaultGetProps,onClick:n,onMouseEnter:c,state:l,replace:f,_location:h}=t,v=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)e.indexOf(r=i[n])>=0||(o[r]=t[r]);return o}(t,p),m=d(e,h.pathname);return u(m)?o.createElement(i.Link,a({to:m,state:l,getProps:r,innerRef:this.handleRef,onMouseEnter:t=>{c&&c(t);const e=s(m);___loader.hovering(e.pathname+e.search)},onClick:t=>{if(n&&n(t),!(0!==t.button||this.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){t.preventDefault();let e=f;const r=encodeURI(m)===h.pathname;"boolean"!=typeof f&&r&&(e=!0),window.___navigate(m,{state:l,replace:e})}return!0}},v)):o.createElement("a",a({href:m},v))}}g.propTypes=a({},v,{onClick:n.func,to:n.string.isRequired,replace:n.bool,state:n.object});var y=o.forwardRef(((t,e)=>o.createElement(m,a({innerRef:e},t))));const b=(t,e)=>{window.___navigate(d(t,window.location.pathname),e)}},3521:function(t,e,r){"use strict";r.r(e),r.d(e,{Script:function(){return h},ScriptStrategy:function(){return u},collectedScriptsByPage:function(){return s},scriptCache:function(){return d},scriptCallbackCache:function(){return p}});var n=r(7294),o=r(9499);function i(){return i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},i.apply(this,arguments)}const a=new Map,s={get:t=>a.get(t)||[],set(t,e){const r=a.get(t)||[];r.push(e),a.set(t,r)},delete(t){a.delete(t)}},c="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){const e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})}),1)};var u,l;(l=u||(u={})).postHydrate="post-hydrate",l.idle="idle",l.offMainThread="off-main-thread";const f=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),d=new Set,p=new Map;function h(t){return n.createElement(o.Location,null,(()=>n.createElement(v,t)))}function v(t){const{src:e,strategy:r=u.postHydrate}=t||{},{pathname:a}=(0,o.useLocation)();if((0,n.useEffect)((()=>{let e;switch(r){case u.postHydrate:e=m(t);break;case u.idle:c((()=>{e=m(t)}));break;case u.offMainThread:{const e=y(t);s.set(a,e)}}return()=>{const{script:t,loadCallback:r,errorCallback:n}=e||{};r&&(null==t||t.removeEventListener("load",r)),n&&(null==t||t.removeEventListener("error",n)),null==t||t.remove()}}),[]),r===u.offMainThread){const o=g(t),c=y(t);return"undefined"==typeof window&&s.set(a,c),n.createElement("script",o?i({type:"text/partytown","data-strategy":r,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:g(t)}}):i({type:"text/partytown",src:b(e),"data-strategy":r,crossOrigin:"anonymous"},c))}return null}function m(t){const{id:e,src:r,strategy:n=u.postHydrate,onLoad:o,onError:a}=t||{},s=e||r,c=["load","error"],l={load:o,error:a};if(s){for(const t of c)if(null!=l&&l[t]){var f;const e=p.get(s)||{},{callbacks:r=[]}=(null==e?void 0:e[t])||{};var h,v;r.push(null==l?void 0:l[t]),null!=e&&null!=(f=e[t])&&f.event?null==l||null==(h=l[t])||h.call(l,null==e||null==(v=e[t])?void 0:v.event):p.set(s,i({},e,{[t]:{callbacks:r}}))}if(d.has(s))return null}const m=g(t),b=y(t),x=document.createElement("script");e&&(x.id=e),x.dataset.strategy=n;for(const[i,u]of Object.entries(b))x.setAttribute(i,u);m&&(x.textContent=m),r&&(x.src=r);const k={};if(s){for(const t of c){const e=e=>w(e,s,t);x.addEventListener(t,e),k[`${t}Callback`]=e}d.add(s)}return document.body.appendChild(x),{script:x,loadCallback:k.loadCallback,errorCallback:k.errorCallback}}function g(t){const{dangerouslySetInnerHTML:e,children:r=""}=t||{},{__html:n=""}=e||{};return n||r}function y(t){const e={};for(const[r,n]of Object.entries(t))f.has(r)||(e[r]=n);return e}function b(t){if(t)return`/__third-party-proxy?url=${encodeURIComponent(t)}`}function w(t,e,r){const n=p.get(e)||{};for(const i of(null==n||null==(o=n[r])?void 0:o.callbacks)||[]){var o;i(t)}p.set(e,{[r]:{event:t}})}}},function(t){t.O(0,[774],(function(){return e=5824,t(t.s=e);var e}));t.O()}]);
//# sourceMappingURL=app-e0c21e6440ba1ec1346f.js.map