diff --git a/dist/assets/index-BFX-wx5F.css b/dist/assets/index-BFX-wx5F.css deleted file mode 100644 index 3b10645..0000000 --- a/dist/assets/index-BFX-wx5F.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.pointer-events-none{pointer-events:none!important}.visible{visibility:visible!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.inset-0{top:0!important;right:0!important;bottom:0!important;left:0!important}.inset-auto{inset:auto!important}.-bottom-1{bottom:-.25rem!important}.-bottom-12{bottom:-3rem!important}.left-0{left:0!important}.left-1\/2{left:50%!important}.right-0{right:0!important}.top-0{top:0!important}.top-4{top:1rem!important}.top-full{top:100%!important}.z-0{z-index:0!important}.z-10{z-index:10!important}.z-20{z-index:20!important}.z-50{z-index:50!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.mb-1{margin-bottom:.25rem!important}.mb-12{margin-bottom:3rem!important}.mb-2{margin-bottom:.5rem!important}.mb-4{margin-bottom:1rem!important}.ml-1{margin-left:.25rem!important}.mt-4{margin-top:1rem!important}.block{display:block!important}.inline-block{display:inline-block!important}.inline{display:inline!important}.flex{display:flex!important}.grid{display:grid!important}.hidden{display:none!important}.h-0\.5{height:.125rem!important}.h-4{height:1rem!important}.h-40{height:10rem!important}.h-5{height:1.25rem!important}.h-\[500px\]{height:500px!important}.h-full{height:100%!important}.h-screen{height:100vh!important}.w-5{width:1.25rem!important}.w-\[300px\]{width:300px!important}.w-\[4px\]{width:4px!important}.w-\[500px\]{width:500px!important}.w-full{width:100%!important}.w-max{width:-moz-max-content!important;width:max-content!important}.max-w-3xl{max-width:48rem!important}.max-w-4xl{max-width:56rem!important}.max-w-6xl{max-width:72rem!important}.-translate-x-1\/2{--tw-translate-x: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-y-1\/2{--tw-translate-y: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes gradient{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}.animate-gradient{animation:gradient 8s linear infinite!important}.resize{resize:both!important}.list-inside{list-style-position:inside!important}.list-disc{list-style-type:disc!important}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.flex-col{flex-direction:column!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.gap-2{gap:.5rem!important}.gap-4{gap:1rem!important}.gap-6{gap:1.5rem!important}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.5rem * var(--tw-space-y-reverse))!important}.overflow-hidden{overflow:hidden!important}.whitespace-nowrap{white-space:nowrap!important}.whitespace-pre{white-space:pre!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.rounded-md{border-radius:.375rem!important}.rounded-sm{border-radius:.125rem!important}.rounded-xl{border-radius:.75rem!important}.border{border-width:1px!important}.border-neutral-800{--tw-border-opacity: 1 !important;border-color:rgb(38 38 38 / var(--tw-border-opacity, 1))!important}.border-white\/10{border-color:#ffffff1a!important}.border-white\/\[0\.2\]{border-color:#fff3!important}.bg-black{--tw-bg-opacity: 1 !important;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))!important}.bg-black\/20{background-color:#0003!important}.bg-black\/50{background-color:#00000080!important}.bg-black\/60{background-color:#0009!important}.bg-black\/80{background-color:#000c!important}.bg-blue-100{--tw-bg-opacity: 1 !important;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))!important}.bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))!important}.bg-gray-900{--tw-bg-opacity: 1 !important;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))!important}.bg-white\/10{background-color:#ffffff1a!important}.bg-white\/5{background-color:#ffffff0d!important}.bg-zinc-900{--tw-bg-opacity: 1 !important;background-color:rgb(24 24 27 / var(--tw-bg-opacity, 1))!important}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))!important}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))!important}.from-black\/50{--tw-gradient-from: rgb(0 0 0 / .5) var(--tw-gradient-from-position) !important;--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important}.from-blue-500{--tw-gradient-from: #3b82f6 var(--tw-gradient-from-position) !important;--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important}.via-black\/20{--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / .2) var(--tw-gradient-via-position), var(--tw-gradient-to) !important}.via-purple-500{--tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops: var(--tw-gradient-from), #a855f7 var(--tw-gradient-via-position), var(--tw-gradient-to) !important}.to-black\/50{--tw-gradient-to: rgb(0 0 0 / .5) var(--tw-gradient-to-position) !important}.to-blue-500{--tw-gradient-to: #3b82f6 var(--tw-gradient-to-position) !important}.to-purple-500{--tw-gradient-to: #a855f7 var(--tw-gradient-to-position) !important}.bg-dot-pattern{background-size:24px 24px!important}.bg-clip-text{-webkit-background-clip:text!important;background-clip:text!important}.object-cover{-o-object-fit:cover!important;object-fit:cover!important}.p-2{padding:.5rem!important}.p-3{padding:.75rem!important}.p-4{padding:1rem!important}.p-6{padding:1.5rem!important}.p-8{padding:2rem!important}.p-\[4px\]{padding:4px!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-20{padding-top:5rem!important;padding-bottom:5rem!important}.py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.text-center{text-align:center!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.font-bold{font-weight:700!important}.font-medium{font-weight:500!important}.font-semibold{font-weight:600!important}.text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity, 1))!important}.text-current{color:currentColor!important}.text-gray-300{--tw-text-opacity: 1 !important;color:rgb(209 213 219 / var(--tw-text-opacity, 1))!important}.text-transparent{color:transparent!important}.text-white{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity, 1))!important}.text-white\/60{color:#fff9!important}.text-white\/70{color:#ffffffb3!important}.text-white\/80{color:#fffc!important}.text-white\/90{color:#ffffffe6!important}.antialiased{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important}.opacity-0{opacity:0!important}.opacity-20{opacity:.2!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.blur{--tw-blur: blur(8px) !important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.blur-3xl{--tw-blur: blur(64px) !important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.blur-lg{--tw-blur: blur(16px) !important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.backdrop-blur-md{--tw-backdrop-blur: blur(12px) !important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px) !important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-all{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-opacity{transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-300{transition-duration:.3s!important}.duration-500{transition-duration:.5s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}:root{color-scheme:dark}html{scroll-behavior:smooth;scroll-padding-top:80px}body{min-height:100vh;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));font-family:Inter,system-ui,-apple-system,sans-serif}.bg-dot-pattern{background-image:radial-gradient(rgba(255,255,255,.1) 1px,transparent 1px);background-size:40px 40px;background-position:-19px -19px}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1 !important;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))!important}.hover\:bg-white\/\[0\.07\]:hover{background-color:#ffffff12!important}.hover\:text-blue-500:hover{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity, 1))!important}.hover\:text-white:hover{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity, 1))!important}.group:hover .group-hover\:bg-white\/20{background-color:#fff3!important}.group:hover .group-hover\:text-white\/90{color:#ffffffe6!important}.group:hover .group-hover\:opacity-100{opacity:1!important}.group:hover .group-hover\:blur-2xl{--tw-blur: blur(40px) !important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}@media (min-width: 640px){.sm\:text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.sm\:text-xl{font-size:1.25rem!important;line-height:1.75rem!important}}@media (min-width: 768px){.md\:h-6{height:1.5rem!important}.md\:h-8{height:2rem!important}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:text-2xl{font-size:1.5rem!important;line-height:2rem!important}.md\:text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.md\:text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.md\:text-5xl{font-size:3rem!important;line-height:1!important}.md\:text-6xl{font-size:3.75rem!important;line-height:1!important}}@media (min-width: 1024px){.lg\:h-8{height:2rem!important}.lg\:text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}}@media (prefers-color-scheme: dark){.dark\:bg-blue-900\/20{background-color:#1e3a8a33!important}.dark\:hover\:bg-gray-800:hover{--tw-bg-opacity: 1 !important;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))!important}.dark\:hover\:text-blue-400:hover{--tw-text-opacity: 1 !important;color:rgb(96 165 250 / var(--tw-text-opacity, 1))!important}} diff --git a/dist/assets/index-BFhp3yMO.js b/dist/assets/index-BFhp3yMO.js deleted file mode 100644 index d42c34a..0000000 --- a/dist/assets/index-BFhp3yMO.js +++ /dev/null @@ -1,250 +0,0 @@ -var lC=Object.defineProperty;var cC=(e,t,n)=>t in e?lC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Qo=(e,t,n)=>cC(e,typeof t!="symbol"?t+"":t,n);function uC(e,t){for(var n=0;ni[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function fC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var A0={exports:{}},Pc={},O0={exports:{}},q={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var da=Symbol.for("react.element"),dC=Symbol.for("react.portal"),hC=Symbol.for("react.fragment"),pC=Symbol.for("react.strict_mode"),mC=Symbol.for("react.profiler"),gC=Symbol.for("react.provider"),yC=Symbol.for("react.context"),vC=Symbol.for("react.forward_ref"),xC=Symbol.for("react.suspense"),wC=Symbol.for("react.memo"),bC=Symbol.for("react.lazy"),xm=Symbol.iterator;function SC(e){return e===null||typeof e!="object"?null:(e=xm&&e[xm]||e["@@iterator"],typeof e=="function"?e:null)}var z0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},L0=Object.assign,I0={};function jo(e,t,n){this.props=e,this.context=t,this.refs=I0,this.updater=n||z0}jo.prototype.isReactComponent={};jo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};jo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function D0(){}D0.prototype=jo.prototype;function ph(e,t,n){this.props=e,this.context=t,this.refs=I0,this.updater=n||z0}var mh=ph.prototype=new D0;mh.constructor=ph;L0(mh,jo.prototype);mh.isPureReactComponent=!0;var wm=Array.isArray,$0=Object.prototype.hasOwnProperty,gh={current:null},F0={key:!0,ref:!0,__self:!0,__source:!0};function j0(e,t,n){var i,r={},o=null,s=null;if(t!=null)for(i in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)$0.call(t,i)&&!F0.hasOwnProperty(i)&&(r[i]=t[i]);var a=arguments.length-2;if(a===1)r.children=n;else if(1>>1,te=O[W];if(0>>1;Wr(Bi,j))Jtr($n,Bi)?(O[W]=$n,O[Jt]=j,W=Jt):(O[W]=Bi,O[Re]=j,W=Re);else if(Jtr($n,j))O[W]=$n,O[Jt]=j,W=Jt;else break e}}return I}function r(O,I){var j=O.sortIndex-I.sortIndex;return j!==0?j:O.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],c=[],u=1,f=null,d=3,p=!1,y=!1,h=!1,b=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(O){for(var I=n(c);I!==null;){if(I.callback===null)i(c);else if(I.startTime<=O)i(c),I.sortIndex=I.expirationTime,t(l,I);else break;I=n(c)}}function w(O){if(h=!1,v(O),!y)if(n(l)!==null)y=!0,ne(S);else{var I=n(c);I!==null&&U(w,I.startTime-O)}}function S(O,I){y=!1,h&&(h=!1,m(M),M=-1),p=!0;var j=d;try{for(v(I),f=n(l);f!==null&&(!(f.expirationTime>I)||O&&!_());){var W=f.callback;if(typeof W=="function"){f.callback=null,d=f.priorityLevel;var te=W(f.expirationTime<=I);I=e.unstable_now(),typeof te=="function"?f.callback=te:f===n(l)&&i(l),v(I)}else i(l);f=n(l)}if(f!==null)var Dn=!0;else{var Re=n(c);Re!==null&&U(w,Re.startTime-I),Dn=!1}return Dn}finally{f=null,d=j,p=!1}}var C=!1,T=null,M=-1,z=5,x=-1;function _(){return!(e.unstable_now()-xO||125W?(O.sortIndex=j,t(c,O),n(l)===null&&O===n(c)&&(h?(m(M),M=-1):h=!0,U(w,j-W))):(O.sortIndex=te,t(l,O),y||p||(y=!0,ne(S))),O},e.unstable_shouldYield=_,e.unstable_wrapCallback=function(O){var I=d;return function(){var j=d;d=I;try{return O.apply(this,arguments)}finally{d=j}}}})(W0);U0.exports=W0;var zC=U0.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var LC=k,Ot=zC;function A(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$f=Object.prototype.hasOwnProperty,IC=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Sm={},Cm={};function DC(e){return $f.call(Cm,e)?!0:$f.call(Sm,e)?!1:IC.test(e)?Cm[e]=!0:(Sm[e]=!0,!1)}function $C(e,t,n,i){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return i?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function FC(e,t,n,i){if(t===null||typeof t>"u"||$C(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function dt(e,t,n,i,r,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=i,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var Ke={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ke[e]=new dt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ke[t]=new dt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ke[e]=new dt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ke[e]=new dt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ke[e]=new dt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ke[e]=new dt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ke[e]=new dt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ke[e]=new dt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ke[e]=new dt(e,5,!1,e.toLowerCase(),null,!1,!1)});var vh=/[\-:]([a-z])/g;function xh(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(vh,xh);Ke[t]=new dt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(vh,xh);Ke[t]=new dt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(vh,xh);Ke[t]=new dt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ke[e]=new dt(e,1,!1,e.toLowerCase(),null,!1,!1)});Ke.xlinkHref=new dt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ke[e]=new dt(e,1,!1,e.toLowerCase(),null,!0,!0)});function wh(e,t,n,i){var r=Ke.hasOwnProperty(t)?Ke[t]:null;(r!==null?r.type!==0:i||!(2a||r[s]!==o[a]){var l=` -`+r[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Ru=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?hs(e):""}function jC(e){switch(e.tag){case 5:return hs(e.type);case 16:return hs("Lazy");case 13:return hs("Suspense");case 19:return hs("SuspenseList");case 0:case 2:case 15:return e=Au(e.type,!1),e;case 11:return e=Au(e.type.render,!1),e;case 1:return e=Au(e.type,!0),e;default:return""}}function Vf(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Br:return"Fragment";case Vr:return"Portal";case Ff:return"Profiler";case bh:return"StrictMode";case jf:return"Suspense";case Nf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case K0:return(e.displayName||"Context")+".Consumer";case G0:return(e._context.displayName||"Context")+".Provider";case Sh:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ch:return t=e.displayName||null,t!==null?t:Vf(e.type)||"Memo";case li:t=e._payload,e=e._init;try{return Vf(e(t))}catch{}}return null}function NC(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Vf(t);case 8:return t===bh?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Pi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Q0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function VC(e){var t=Q0(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var r=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(s){i=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(s){i=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ia(e){e._valueTracker||(e._valueTracker=VC(e))}function Y0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=Q0(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function Dl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Bf(e,t){var n=t.checked;return xe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Pm(e,t){var n=t.defaultValue==null?"":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;n=Pi(t.value!=null?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function X0(e,t){t=t.checked,t!=null&&wh(e,"checked",t,!1)}function Uf(e,t){X0(e,t);var n=Pi(t.value),i=t.type;if(n!=null)i==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Wf(e,t.type,n):t.hasOwnProperty("defaultValue")&&Wf(e,t.type,Pi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Tm(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!(i!=="submit"&&i!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Wf(e,t,n){(t!=="number"||Dl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ps=Array.isArray;function ao(e,t,n,i){if(e=e.options,t){t={};for(var r=0;r"+t.valueOf().toString()+"",t=Da.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function $s(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ss={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},BC=["Webkit","ms","Moz","O"];Object.keys(Ss).forEach(function(e){BC.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ss[t]=Ss[e]})});function tx(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ss.hasOwnProperty(e)&&Ss[e]?(""+t).trim():t+"px"}function nx(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var i=n.indexOf("--")===0,r=tx(n,t[n],i);n==="float"&&(n="cssFloat"),i?e.setProperty(n,r):e[n]=r}}var UC=xe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Kf(e,t){if(t){if(UC[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(A(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(A(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(A(61))}if(t.style!=null&&typeof t.style!="object")throw Error(A(62))}}function qf(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Qf=null;function kh(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yf=null,lo=null,co=null;function _m(e){if(e=ma(e)){if(typeof Yf!="function")throw Error(A(280));var t=e.stateNode;t&&(t=Rc(t),Yf(e.stateNode,e.type,t))}}function ix(e){lo?co?co.push(e):co=[e]:lo=e}function rx(){if(lo){var e=lo,t=co;if(co=lo=null,_m(e),t)for(e=0;e>>=0,e===0?32:31-(ek(e)/tk|0)|0}var $a=64,Fa=4194304;function ms(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Nl(e,t){var n=e.pendingLanes;if(n===0)return 0;var i=0,r=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~r;a!==0?i=ms(a):(o&=s,o!==0&&(i=ms(o)))}else s=n&~r,s!==0?i=ms(s):o!==0&&(i=ms(o));if(i===0)return 0;if(t!==0&&t!==i&&!(t&r)&&(r=i&-i,o=t&-t,r>=o||r===16&&(o&4194240)!==0))return t;if(i&4&&(i|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0n;n++)t.push(e);return t}function ha(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ln(t),e[t]=n}function ok(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var i=e.eventTimes;for(e=e.expirationTimes;0=ks),Fm=" ",jm=!1;function kx(e,t){switch(e){case"keyup":return zk.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Px(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ur=!1;function Ik(e,t){switch(e){case"compositionend":return Px(t);case"keypress":return t.which!==32?null:(jm=!0,Fm);case"textInput":return e=t.data,e===Fm&&jm?null:e;default:return null}}function Dk(e,t){if(Ur)return e==="compositionend"||!Oh&&kx(e,t)?(e=Sx(),gl=_h=hi=null,Ur=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Um(n)}}function _x(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_x(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Rx(){for(var e=window,t=Dl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Dl(e.document)}return t}function zh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Hk(e){var t=Rx(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_x(n.ownerDocument.documentElement,n)){if(i!==null&&zh(n)){if(t=i.start,e=i.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var r=n.textContent.length,o=Math.min(i.start,r);i=i.end===void 0?o:Math.min(i.end,r),!e.extend&&o>i&&(r=i,i=o,o=r),r=Wm(n,o);var s=Wm(n,i);r&&s&&(e.rangeCount!==1||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(r.node,r.offset),e.removeAllRanges(),o>i?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Wr=null,nd=null,Ts=null,id=!1;function Hm(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;id||Wr==null||Wr!==Dl(i)||(i=Wr,"selectionStart"in i&&zh(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Ts&&Us(Ts,i)||(Ts=i,i=Ul(nd,"onSelect"),0Kr||(e.current=cd[Kr],cd[Kr]=null,Kr--)}function le(e,t){Kr++,cd[Kr]=e.current,e.current=t}var Ti={},it=Ii(Ti),gt=Ii(!1),mr=Ti;function ko(e,t){var n=e.type.contextTypes;if(!n)return Ti;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var r={},o;for(o in n)r[o]=t[o];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function yt(e){return e=e.childContextTypes,e!=null}function Hl(){fe(gt),fe(it)}function Zm(e,t,n){if(it.current!==Ti)throw Error(A(168));le(it,t),le(gt,n)}function jx(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var r in i)if(!(r in t))throw Error(A(108,NC(e)||"Unknown",r));return xe({},n,i)}function Gl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ti,mr=it.current,le(it,e),le(gt,gt.current),!0}function Jm(e,t,n){var i=e.stateNode;if(!i)throw Error(A(169));n?(e=jx(e,t,mr),i.__reactInternalMemoizedMergedChildContext=e,fe(gt),fe(it),le(it,e)):fe(gt),le(gt,n)}var Vn=null,Ac=!1,Hu=!1;function Nx(e){Vn===null?Vn=[e]:Vn.push(e)}function iP(e){Ac=!0,Nx(e)}function Di(){if(!Hu&&Vn!==null){Hu=!0;var e=0,t=ie;try{var n=Vn;for(ie=1;e>=s,r-=s,Bn=1<<32-ln(t)+r|n<M?(z=T,T=null):z=T.sibling;var x=d(m,T,v[M],w);if(x===null){T===null&&(T=z);break}e&&T&&x.alternate===null&&t(m,T),g=o(x,g,M),C===null?S=x:C.sibling=x,C=x,T=z}if(M===v.length)return n(m,T),pe&&Qi(m,M),S;if(T===null){for(;MM?(z=T,T=null):z=T.sibling;var _=d(m,T,x.value,w);if(_===null){T===null&&(T=z);break}e&&T&&_.alternate===null&&t(m,T),g=o(_,g,M),C===null?S=_:C.sibling=_,C=_,T=z}if(x.done)return n(m,T),pe&&Qi(m,M),S;if(T===null){for(;!x.done;M++,x=v.next())x=f(m,x.value,w),x!==null&&(g=o(x,g,M),C===null?S=x:C.sibling=x,C=x);return pe&&Qi(m,M),S}for(T=i(m,T);!x.done;M++,x=v.next())x=p(T,m,M,x.value,w),x!==null&&(e&&x.alternate!==null&&T.delete(x.key===null?M:x.key),g=o(x,g,M),C===null?S=x:C.sibling=x,C=x);return e&&T.forEach(function(R){return t(m,R)}),pe&&Qi(m,M),S}function b(m,g,v,w){if(typeof v=="object"&&v!==null&&v.type===Br&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case La:e:{for(var S=v.key,C=g;C!==null;){if(C.key===S){if(S=v.type,S===Br){if(C.tag===7){n(m,C.sibling),g=r(C,v.props.children),g.return=m,m=g;break e}}else if(C.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===li&&ng(S)===C.type){n(m,C.sibling),g=r(C,v.props),g.ref=ts(m,C,v),g.return=m,m=g;break e}n(m,C);break}else t(m,C);C=C.sibling}v.type===Br?(g=fr(v.props.children,m.mode,w,v.key),g.return=m,m=g):(w=kl(v.type,v.key,v.props,null,m.mode,w),w.ref=ts(m,g,v),w.return=m,m=w)}return s(m);case Vr:e:{for(C=v.key;g!==null;){if(g.key===C)if(g.tag===4&&g.stateNode.containerInfo===v.containerInfo&&g.stateNode.implementation===v.implementation){n(m,g.sibling),g=r(g,v.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=Ju(v,m.mode,w),g.return=m,m=g}return s(m);case li:return C=v._init,b(m,g,C(v._payload),w)}if(ps(v))return y(m,g,v,w);if(Yo(v))return h(m,g,v,w);Ha(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,g!==null&&g.tag===6?(n(m,g.sibling),g=r(g,v),g.return=m,m=g):(n(m,g),g=Zu(v,m.mode,w),g.return=m,m=g),s(m)):n(m,g)}return b}var To=Wx(!0),Hx=Wx(!1),Ql=Ii(null),Yl=null,Yr=null,$h=null;function Fh(){$h=Yr=Yl=null}function jh(e){var t=Ql.current;fe(Ql),e._currentValue=t}function dd(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function fo(e,t){Yl=e,$h=Yr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(mt=!0),e.firstContext=null)}function Kt(e){var t=e._currentValue;if($h!==e)if(e={context:e,memoizedValue:t,next:null},Yr===null){if(Yl===null)throw Error(A(308));Yr=e,Yl.dependencies={lanes:0,firstContext:e}}else Yr=Yr.next=e;return t}var tr=null;function Nh(e){tr===null?tr=[e]:tr.push(e)}function Gx(e,t,n,i){var r=t.interleaved;return r===null?(n.next=n,Nh(t)):(n.next=r.next,r.next=n),t.interleaved=n,ei(e,i)}function ei(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ci=!1;function Vh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Kx(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Gn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function wi(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,X&2){var r=i.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),i.pending=t,ei(e,n)}return r=i.interleaved,r===null?(t.next=t,Nh(i)):(t.next=r.next,r.next=t),i.interleaved=t,ei(e,n)}function vl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,Th(e,n)}}function ig(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var r=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?r=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?r=o=t:o=o.next=t}else r=o=t;n={baseState:i.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:i.shared,effects:i.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Xl(e,t,n,i){var r=e.updateQueue;ci=!1;var o=r.firstBaseUpdate,s=r.lastBaseUpdate,a=r.shared.pending;if(a!==null){r.shared.pending=null;var l=a,c=l.next;l.next=null,s===null?o=c:s.next=c,s=l;var u=e.alternate;u!==null&&(u=u.updateQueue,a=u.lastBaseUpdate,a!==s&&(a===null?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(o!==null){var f=r.baseState;s=0,u=c=l=null,a=o;do{var d=a.lane,p=a.eventTime;if((i&d)===d){u!==null&&(u=u.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,h=a;switch(d=t,p=n,h.tag){case 1:if(y=h.payload,typeof y=="function"){f=y.call(p,f,d);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=h.payload,d=typeof y=="function"?y.call(p,f,d):y,d==null)break e;f=xe({},f,d);break e;case 2:ci=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,d=r.effects,d===null?r.effects=[a]:d.push(a))}else p={eventTime:p,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},u===null?(c=u=p,l=f):u=u.next=p,s|=d;if(a=a.next,a===null){if(a=r.shared.pending,a===null)break;d=a,a=d.next,d.next=null,r.lastBaseUpdate=d,r.shared.pending=null}}while(!0);if(u===null&&(l=f),r.baseState=l,r.firstBaseUpdate=c,r.lastBaseUpdate=u,t=r.shared.interleaved,t!==null){r=t;do s|=r.lane,r=r.next;while(r!==t)}else o===null&&(r.shared.lanes=0);vr|=s,e.lanes=s,e.memoizedState=f}}function rg(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var i=Ku.transition;Ku.transition={};try{e(!1),t()}finally{ie=n,Ku.transition=i}}function u1(){return qt().memoizedState}function aP(e,t,n){var i=Si(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},f1(e))d1(t,n);else if(n=Gx(e,t,n,i),n!==null){var r=lt();cn(n,e,i,r),h1(n,t,i)}}function lP(e,t,n){var i=Si(e),r={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(f1(e))d1(t,r);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(r.hasEagerState=!0,r.eagerState=a,hn(a,s)){var l=t.interleaved;l===null?(r.next=r,Nh(t)):(r.next=l.next,l.next=r),t.interleaved=r;return}}catch{}finally{}n=Gx(e,t,r,i),n!==null&&(r=lt(),cn(n,e,i,r),h1(n,t,i))}}function f1(e){var t=e.alternate;return e===ve||t!==null&&t===ve}function d1(e,t){Ms=Jl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function h1(e,t,n){if(n&4194240){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,Th(e,n)}}var ec={readContext:Kt,useCallback:qe,useContext:qe,useEffect:qe,useImperativeHandle:qe,useInsertionEffect:qe,useLayoutEffect:qe,useMemo:qe,useReducer:qe,useRef:qe,useState:qe,useDebugValue:qe,useDeferredValue:qe,useTransition:qe,useMutableSource:qe,useSyncExternalStore:qe,useId:qe,unstable_isNewReconciler:!1},cP={readContext:Kt,useCallback:function(e,t){return wn().memoizedState=[e,t===void 0?null:t],e},useContext:Kt,useEffect:sg,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,wl(4194308,4,o1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wl(4194308,4,e,t)},useInsertionEffect:function(e,t){return wl(4,2,e,t)},useMemo:function(e,t){var n=wn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=wn();return t=n!==void 0?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=aP.bind(null,ve,e),[i.memoizedState,e]},useRef:function(e){var t=wn();return e={current:e},t.memoizedState=e},useState:og,useDebugValue:Qh,useDeferredValue:function(e){return wn().memoizedState=e},useTransition:function(){var e=og(!1),t=e[0];return e=sP.bind(null,e[1]),wn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=ve,r=wn();if(pe){if(n===void 0)throw Error(A(407));n=n()}else{if(n=t(),je===null)throw Error(A(349));yr&30||Xx(i,t,n)}r.memoizedState=n;var o={value:n,getSnapshot:t};return r.queue=o,sg(Jx.bind(null,i,o,e),[e]),i.flags|=2048,Xs(9,Zx.bind(null,i,o,n,t),void 0,null),n},useId:function(){var e=wn(),t=je.identifierPrefix;if(pe){var n=Un,i=Bn;n=(i&~(1<<32-ln(i)-1)).toString(32)+n,t=":"+t+"R"+n,n=Qs++,0<\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=s.createElement(n,{is:i.is}):(e=s.createElement(n),n==="select"&&(s=e,i.multiple?s.multiple=!0:i.size&&(s.size=i.size))):e=s.createElementNS(e,n),e[Pn]=t,e[Gs]=i,C1(e,t,!1,!1),t.stateNode=e;e:{switch(s=qf(n,i),n){case"dialog":ue("cancel",e),ue("close",e),r=i;break;case"iframe":case"object":case"embed":ue("load",e),r=i;break;case"video":case"audio":for(r=0;r_o&&(t.flags|=128,i=!0,ns(o,!1),t.lanes=4194304)}else{if(!i)if(e=Zl(s),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ns(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!pe)return Qe(t),null}else 2*Me()-o.renderingStartTime>_o&&n!==1073741824&&(t.flags|=128,i=!0,ns(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Me(),t.sibling=null,n=me.current,le(me,i?n&1|2:n&1),t):(Qe(t),null);case 22:case 23:return tp(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?Pt&1073741824&&(Qe(t),t.subtreeFlags&6&&(t.flags|=8192)):Qe(t),null;case 24:return null;case 25:return null}throw Error(A(156,t.tag))}function yP(e,t){switch(Ih(t),t.tag){case 1:return yt(t.type)&&Hl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Mo(),fe(gt),fe(it),Wh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Uh(t),null;case 13:if(fe(me),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(A(340));Po()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fe(me),null;case 4:return Mo(),null;case 10:return jh(t.type._context),null;case 22:case 23:return tp(),null;case 24:return null;default:return null}}var Ka=!1,Ze=!1,vP=typeof WeakSet=="function"?WeakSet:Set,$=null;function Xr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){Ce(e,t,i)}else n.current=null}function bd(e,t,n){try{n()}catch(i){Ce(e,t,i)}}var yg=!1;function xP(e,t){if(rd=Vl,e=Rx(),zh(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var r=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,f=e,d=null;t:for(;;){for(var p;f!==n||r!==0&&f.nodeType!==3||(a=s+r),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===e)break t;if(d===n&&++c===r&&(a=s),d===o&&++u===i&&(l=s),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(od={focusedElem:e,selectionRange:n},Vl=!1,$=t;$!==null;)if(t=$,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,$=e;else for(;$!==null;){t=$;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var h=y.memoizedProps,b=y.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?h:tn(t.type,h),b);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(A(163))}}catch(w){Ce(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,$=e;break}$=t.return}return y=yg,yg=!1,y}function Es(e,t,n){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var r=i=i.next;do{if((r.tag&e)===e){var o=r.destroy;r.destroy=void 0,o!==void 0&&bd(t,n,o)}r=r.next}while(r!==i)}}function Lc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function Sd(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function T1(e){var t=e.alternate;t!==null&&(e.alternate=null,T1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Pn],delete t[Gs],delete t[ld],delete t[tP],delete t[nP])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function M1(e){return e.tag===5||e.tag===3||e.tag===4}function vg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||M1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Cd(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Wl));else if(i!==4&&(e=e.child,e!==null))for(Cd(e,t,n),e=e.sibling;e!==null;)Cd(e,t,n),e=e.sibling}function kd(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(kd(e,t,n),e=e.sibling;e!==null;)kd(e,t,n),e=e.sibling}var Be=null,rn=!1;function ri(e,t,n){for(n=n.child;n!==null;)E1(e,t,n),n=n.sibling}function E1(e,t,n){if(En&&typeof En.onCommitFiberUnmount=="function")try{En.onCommitFiberUnmount(Tc,n)}catch{}switch(n.tag){case 5:Ze||Xr(n,t);case 6:var i=Be,r=rn;Be=null,ri(e,t,n),Be=i,rn=r,Be!==null&&(rn?(e=Be,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Be.removeChild(n.stateNode));break;case 18:Be!==null&&(rn?(e=Be,n=n.stateNode,e.nodeType===8?Wu(e.parentNode,n):e.nodeType===1&&Wu(e,n),Vs(e)):Wu(Be,n.stateNode));break;case 4:i=Be,r=rn,Be=n.stateNode.containerInfo,rn=!0,ri(e,t,n),Be=i,rn=r;break;case 0:case 11:case 14:case 15:if(!Ze&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){r=i=i.next;do{var o=r,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&bd(n,t,s),r=r.next}while(r!==i)}ri(e,t,n);break;case 1:if(!Ze&&(Xr(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(a){Ce(n,t,a)}ri(e,t,n);break;case 21:ri(e,t,n);break;case 22:n.mode&1?(Ze=(i=Ze)||n.memoizedState!==null,ri(e,t,n),Ze=i):ri(e,t,n);break;default:ri(e,t,n)}}function xg(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new vP),t.forEach(function(i){var r=EP.bind(null,e,i);n.has(i)||(n.add(i),i.then(r,r))})}}function en(e,t){var n=t.deletions;if(n!==null)for(var i=0;ir&&(r=s),i&=~o}if(i=r,i=Me()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*bP(i/1960))-i,10e?16:e,pi===null)var i=!1;else{if(e=pi,pi=null,ic=0,X&6)throw Error(A(331));var r=X;for(X|=4,$=e.current;$!==null;){var o=$,s=o.child;if($.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lMe()-Jh?ur(e,0):Zh|=n),vt(e,t)}function D1(e,t){t===0&&(e.mode&1?(t=Fa,Fa<<=1,!(Fa&130023424)&&(Fa=4194304)):t=1);var n=lt();e=ei(e,t),e!==null&&(ha(e,t,n),vt(e,n))}function MP(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),D1(e,n)}function EP(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(A(314))}i!==null&&i.delete(t),D1(e,n)}var $1;$1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||gt.current)mt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return mt=!1,mP(e,t,n);mt=!!(e.flags&131072)}else mt=!1,pe&&t.flags&1048576&&Vx(t,ql,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;bl(e,t),e=t.pendingProps;var r=ko(t,it.current);fo(t,n),r=Gh(null,t,i,e,r,n);var o=Kh();return t.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,yt(i)?(o=!0,Gl(t)):o=!1,t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,Vh(t),r.updater=zc,t.stateNode=r,r._reactInternals=t,pd(t,i,e,n),t=yd(null,t,i,!0,o,n)):(t.tag=0,pe&&o&&Lh(t),st(null,t,r,n),t=t.child),t;case 16:i=t.elementType;e:{switch(bl(e,t),e=t.pendingProps,r=i._init,i=r(i._payload),t.type=i,r=t.tag=RP(i),e=tn(i,e),r){case 0:t=gd(null,t,i,e,n);break e;case 1:t=pg(null,t,i,e,n);break e;case 11:t=dg(null,t,i,e,n);break e;case 14:t=hg(null,t,i,tn(i.type,e),n);break e}throw Error(A(306,i,""))}return t;case 0:return i=t.type,r=t.pendingProps,r=t.elementType===i?r:tn(i,r),gd(e,t,i,r,n);case 1:return i=t.type,r=t.pendingProps,r=t.elementType===i?r:tn(i,r),pg(e,t,i,r,n);case 3:e:{if(w1(t),e===null)throw Error(A(387));i=t.pendingProps,o=t.memoizedState,r=o.element,Kx(e,t),Xl(t,i,null,n);var s=t.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){r=Eo(Error(A(423)),t),t=mg(e,t,i,n,r);break e}else if(i!==r){r=Eo(Error(A(424)),t),t=mg(e,t,i,n,r);break e}else for(Mt=xi(t.stateNode.containerInfo.firstChild),_t=t,pe=!0,on=null,n=Hx(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Po(),i===r){t=ti(e,t,n);break e}st(e,t,i,n)}t=t.child}return t;case 5:return qx(t),e===null&&fd(t),i=t.type,r=t.pendingProps,o=e!==null?e.memoizedProps:null,s=r.children,sd(i,r)?s=null:o!==null&&sd(i,o)&&(t.flags|=32),x1(e,t),st(e,t,s,n),t.child;case 6:return e===null&&fd(t),null;case 13:return b1(e,t,n);case 4:return Bh(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=To(t,null,i,n):st(e,t,i,n),t.child;case 11:return i=t.type,r=t.pendingProps,r=t.elementType===i?r:tn(i,r),dg(e,t,i,r,n);case 7:return st(e,t,t.pendingProps,n),t.child;case 8:return st(e,t,t.pendingProps.children,n),t.child;case 12:return st(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,r=t.pendingProps,o=t.memoizedProps,s=r.value,le(Ql,i._currentValue),i._currentValue=s,o!==null)if(hn(o.value,s)){if(o.children===r.children&&!gt.current){t=ti(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=Gn(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),dd(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(A(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),dd(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}st(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,i=t.pendingProps.children,fo(t,n),r=Kt(r),i=i(r),t.flags|=1,st(e,t,i,n),t.child;case 14:return i=t.type,r=tn(i,t.pendingProps),r=tn(i.type,r),hg(e,t,i,r,n);case 15:return y1(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,r=t.pendingProps,r=t.elementType===i?r:tn(i,r),bl(e,t),t.tag=1,yt(i)?(e=!0,Gl(t)):e=!1,fo(t,n),p1(t,i,r),pd(t,i,r,n),yd(null,t,i,!0,e,n);case 19:return S1(e,t,n);case 22:return v1(e,t,n)}throw Error(A(156,t.tag))};function F1(e,t){return fx(e,t)}function _P(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ht(e,t,n,i){return new _P(e,t,n,i)}function ip(e){return e=e.prototype,!(!e||!e.isReactComponent)}function RP(e){if(typeof e=="function")return ip(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Sh)return 11;if(e===Ch)return 14}return 2}function Ci(e,t){var n=e.alternate;return n===null?(n=Ht(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function kl(e,t,n,i,r,o){var s=2;if(i=e,typeof e=="function")ip(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Br:return fr(n.children,r,o,t);case bh:s=8,r|=8;break;case Ff:return e=Ht(12,n,t,r|2),e.elementType=Ff,e.lanes=o,e;case jf:return e=Ht(13,n,t,r),e.elementType=jf,e.lanes=o,e;case Nf:return e=Ht(19,n,t,r),e.elementType=Nf,e.lanes=o,e;case q0:return Dc(n,r,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case G0:s=10;break e;case K0:s=9;break e;case Sh:s=11;break e;case Ch:s=14;break e;case li:s=16,i=null;break e}throw Error(A(130,e==null?e:typeof e,""))}return t=Ht(s,n,t,r),t.elementType=e,t.type=i,t.lanes=o,t}function fr(e,t,n,i){return e=Ht(7,e,i,t),e.lanes=n,e}function Dc(e,t,n,i){return e=Ht(22,e,i,t),e.elementType=q0,e.lanes=n,e.stateNode={isHidden:!1},e}function Zu(e,t,n){return e=Ht(6,e,null,t),e.lanes=n,e}function Ju(e,t,n){return t=Ht(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function AP(e,t,n,i,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zu(0),this.expirationTimes=zu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zu(0),this.identifierPrefix=i,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function rp(e,t,n,i,r,o,s,a,l){return e=new AP(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ht(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vh(o),e}function OP(e,t,n){var i=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(B1)}catch(e){console.error(e)}}B1(),B0.exports=Lt;var $P=B0.exports,U1,Mg=$P;U1=Mg.createRoot,Mg.hydrateRoot;function wr(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(i=>n.searchParams.append("args[]",i)),`Minified MUI error #${e}; visit ${n} for the full message.`}const un="$$material";function sc(){return sc=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?He(Bo,--xt):0,Ro--,ze===10&&(Ro=1,Bc--),ze}function Rt(){return ze=xt2||ea(ze)>3?"":" "}function e2(e,t){for(;--t&&Rt()&&!(ze<48||ze>102||ze>57&&ze<65||ze>70&&ze<97););return ya(e,Pl()+(t<6&&Rn()==32&&Rt()==32))}function Rd(e){for(;Rt();)switch(ze){case e:return xt;case 34:case 39:e!==34&&e!==39&&Rd(ze);break;case 40:e===41&&Rd(e);break;case 92:Rt();break}return xt}function t2(e,t){for(;Rt()&&e+ze!==57;)if(e+ze===84&&Rn()===47)break;return"/*"+ya(t,xt-1)+"*"+Vc(e===47?e:Rt())}function n2(e){for(;!ea(Rn());)Rt();return ya(e,xt)}function i2(e){return Y1(Ml("",null,null,null,[""],e=Q1(e),0,[0],e))}function Ml(e,t,n,i,r,o,s,a,l){for(var c=0,u=0,f=s,d=0,p=0,y=0,h=1,b=1,m=1,g=0,v="",w=r,S=o,C=i,T=v;b;)switch(y=g,g=Rt()){case 40:if(y!=108&&He(T,f-1)==58){_d(T+=ee(Tl(g),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:T+=Tl(g);break;case 9:case 10:case 13:case 32:T+=JP(y);break;case 92:T+=e2(Pl()-1,7);continue;case 47:switch(Rn()){case 42:case 47:Ya(r2(t2(Rt(),Pl()),t,n),l);break;default:T+="/"}break;case 123*h:a[c++]=Cn(T)*m;case 125*h:case 59:case 0:switch(g){case 0:case 125:b=0;case 59+u:m==-1&&(T=ee(T,/\f/g,"")),p>0&&Cn(T)-f&&Ya(p>32?_g(T+";",i,n,f-1):_g(ee(T," ","")+";",i,n,f-2),l);break;case 59:T+=";";default:if(Ya(C=Eg(T,t,n,c,u,r,a,v,w=[],S=[],f),o),g===123)if(u===0)Ml(T,t,C,C,w,o,f,a,S);else switch(d===99&&He(T,3)===110?100:d){case 100:case 108:case 109:case 115:Ml(e,C,C,i&&Ya(Eg(e,C,C,0,0,r,a,v,r,w=[],f),S),r,S,f,a,i?w:S);break;default:Ml(T,C,C,C,[""],S,0,a,S)}}c=u=p=0,h=m=1,v=T="",f=s;break;case 58:f=1+Cn(T),p=y;default:if(h<1){if(g==123)--h;else if(g==125&&h++==0&&ZP()==125)continue}switch(T+=Vc(g),g*h){case 38:m=u>0?1:(T+="\f",-1);break;case 44:a[c++]=(Cn(T)-1)*m,m=1;break;case 64:Rn()===45&&(T+=Tl(Rt())),d=Rn(),u=f=Cn(v=T+=n2(Pl())),g++;break;case 45:y===45&&Cn(T)==2&&(h=0)}}return o}function Eg(e,t,n,i,r,o,s,a,l,c,u){for(var f=r-1,d=r===0?o:[""],p=up(d),y=0,h=0,b=0;y0?d[m]+" "+g:ee(g,/&\f/g,d[m])))&&(l[b++]=v);return Uc(e,t,n,r===0?lp:a,l,c,u)}function r2(e,t,n){return Uc(e,t,n,H1,Vc(XP()),Js(e,2,-2),0)}function _g(e,t,n,i){return Uc(e,t,n,cp,Js(e,0,i),Js(e,i+1,-1),i)}function po(e,t){for(var n="",i=up(e),r=0;r6)switch(He(e,t+1)){case 109:if(He(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+J+"$2-$3$1"+ac+(He(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~_d(e,"stretch")?X1(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(He(e,t+1)!==115)break;case 6444:switch(He(e,Cn(e)-3-(~_d(e,"!important")&&10))){case 107:return ee(e,":",":"+J)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+J+(He(e,14)===45?"inline-":"")+"box$3$1"+J+"$2$3$1"+Ye+"$2box$3")+e}break;case 5936:switch(He(e,t+11)){case 114:return J+e+Ye+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return J+e+Ye+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return J+e+Ye+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return J+e+Ye+e+e}return e}var h2=function(t,n,i,r){if(t.length>-1&&!t.return)switch(t.type){case cp:t.return=X1(t.value,t.length);break;case G1:return po([rs(t,{value:ee(t.value,"@","@"+J)})],r);case lp:if(t.length)return YP(t.props,function(o){switch(QP(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return po([rs(t,{props:[ee(o,/:(read-\w+)/,":"+ac+"$1")]})],r);case"::placeholder":return po([rs(t,{props:[ee(o,/:(plac\w+)/,":"+J+"input-$1")]}),rs(t,{props:[ee(o,/:(plac\w+)/,":"+ac+"$1")]}),rs(t,{props:[ee(o,/:(plac\w+)/,Ye+"input-$1")]})],r)}return""})}},p2=[h2],m2=function(t){var n=t.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(h){var b=h.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var r=t.stylisPlugins||p2,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(h){for(var b=h.getAttribute("data-emotion").split(" "),m=1;m=4;++i,r-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var M2={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale: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},E2=!1,_2=/[A-Z]|^ms/g,R2=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rw=function(t){return t.charCodeAt(1)===45},Ag=function(t){return t!=null&&typeof t!="boolean"},ef=W1(function(e){return rw(e)?e:e.replace(_2,"-$&").toLowerCase()}),Og=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(R2,function(i,r,o){return kn={name:r,styles:o,next:kn},r})}return M2[t]!==1&&!rw(t)&&typeof n=="number"&&n!==0?n+"px":n},A2="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ta(e,t,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var r=n;if(r.anim===1)return kn={name:r.name,styles:r.styles,next:kn},r.name;var o=n;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)kn={name:s.name,styles:s.styles,next:kn},s=s.next;var a=o.styles+";";return a}return O2(e,t,n)}case"function":{if(e!==void 0){var l=kn,c=n(e);return kn=l,ta(e,t,c)}break}}var u=n;if(t==null)return u;var f=t[u];return f!==void 0?f:u}function O2(e,t,n){var i="";if(Array.isArray(n))for(var r=0;r96?$2:F2},Dg=function(t,n,i){var r;if(n){var o=n.shouldForwardProp;r=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof r!="function"&&i&&(r=t.__emotion_forwardProp),r},j2=!1,N2=function(t){var n=t.cache,i=t.serialized,r=t.isStringTag;return nw(n,i,r),L2(function(){return iw(n,i,r)}),null},V2=function e(t,n){var i=t.__emotion_real===t,r=i&&t.__emotion_base||t,o,s;n!==void 0&&(o=n.label,s=n.target);var a=Dg(t,n,i),l=a||Ig(r),c=!l("as");return function(){var u=arguments,f=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)f.push.apply(f,u);else{f.push(u[0][0]);for(var d=u.length,p=1;pt(U2(r)?n:r):t;return P.jsx(I2,{styles:i})}/** - * @mui/styled-engine v6.1.7 - * - * @license MIT - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */function cw(e,t){return Ad(e,t)}function W2(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const $g=[];function Fg(e){return $g[0]=e,eu($g)}function Tn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function uw(e){if(!Tn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=uw(e[n])}),t}function ct(e,t,n={clone:!0}){const i=n.clone?{...e}:e;return Tn(e)&&Tn(t)&&Object.keys(t).forEach(r=>{Tn(t[r])&&Object.prototype.hasOwnProperty.call(e,r)&&Tn(e[r])?i[r]=ct(e[r],t[r],n):n.clone?i[r]=Tn(t[r])?uw(t[r]):t[r]:i[r]=t[r]}),i}const H2=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,i)=>n.val-i.val),t.reduce((n,i)=>({...n,[i.key]:i.val}),{})};function G2(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5,...r}=e,o=H2(t),s=Object.keys(o);function a(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function l(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-i/100}${n})`}function c(d,p){const y=s.indexOf(p);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(y!==-1&&typeof t[s[y]]=="number"?t[s[y]]:p)-i/100}${n})`}function u(d){return s.indexOf(d)+1i.startsWith("@container")).sort((i,r)=>{var s,a;const o=/min-width:\s*([0-9.]+)/;return+(((s=i.match(o))==null?void 0:s[1])||0)-+(((a=r.match(o))==null?void 0:a[1])||0)});return n.length?n.reduce((i,r)=>{const o=t[r];return delete i[r],i[r]=o,i},{...t}):t}function q2(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function Q2(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,i,r]=n,o=Number.isNaN(+i)?i||0:+i;return e.containerQueries(r).up(o)}function Y2(e){const t=(o,s)=>o.replace("@media",s?`@container ${s}`:"@container");function n(o,s){o.up=(...a)=>t(e.breakpoints.up(...a),s),o.down=(...a)=>t(e.breakpoints.down(...a),s),o.between=(...a)=>t(e.breakpoints.between(...a),s),o.only=(...a)=>t(e.breakpoints.only(...a),s),o.not=(...a)=>{const l=t(e.breakpoints.not(...a),s);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const i={},r=o=>(n(i,o),i);return n(r),{...e,containerQueries:r}}const X2={borderRadius:4};function As(e,t){return t?ct(e,t,{clone:!1}):e}const nu={xs:0,sm:600,md:900,lg:1200,xl:1536},jg={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${nu[e]}px)`},Z2={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:nu[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function wt(e,t,n){const i=e.theme||{};if(Array.isArray(t)){const o=i.breakpoints||jg;return t.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const o=i.breakpoints||jg;return Object.keys(t).reduce((s,a)=>{if(q2(o.keys,a)){const l=Q2(i.containerQueries?i:Z2,a);l&&(s[l]=n(t[a],a))}else if(Object.keys(o.values||nu).includes(a)){const l=o.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function fw(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((i,r)=>{const o=e.up(r);return i[o]={},i},{}))||{}}function dw(e,t){return e.reduce((n,i)=>{const r=n[i];return(!r||Object.keys(r).length===0)&&delete n[i],n},t)}function J2(e,...t){const n=fw(e),i=[n,...t].reduce((r,o)=>ct(r,o),{});return dw(Object.keys(n),i)}function eT(e,t){if(typeof e!="object")return{};const n={},i=Object.keys(t);return Array.isArray(e)?i.forEach((r,o)=>{o{e[r]!=null&&(n[r]=!0)}),n}function dr({values:e,breakpoints:t,base:n}){const i=n||eT(e,t),r=Object.keys(i);if(r.length===0)return e;let o;return r.reduce((s,a,l)=>(Array.isArray(e)?(s[a]=e[l]!=null?e[l]:e[o],o=l):typeof e=="object"?(s[a]=e[a]!=null?e[a]:e[o],o=a):s[a]=e,s),{})}function G(e){if(typeof e!="string")throw new Error(wr(7));return e.charAt(0).toUpperCase()+e.slice(1)}function iu(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const i=`vars.${t}`.split(".").reduce((r,o)=>r&&r[o]?r[o]:null,e);if(i!=null)return i}return t.split(".").reduce((i,r)=>i&&i[r]!=null?i[r]:null,e)}function lc(e,t,n,i=n){let r;return typeof e=="function"?r=e(n):Array.isArray(e)?r=e[n]||i:r=iu(e,n)||i,t&&(r=t(r,i,e)),r}function _e(e){const{prop:t,cssProperty:n=e.prop,themeKey:i,transform:r}=e,o=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,c=iu(l,i)||{};return wt(s,a,f=>{let d=lc(c,r,f);return f===d&&typeof f=="string"&&(d=lc(c,r,`${t}${f==="default"?"":G(f)}`,f)),n===!1?d:{[n]:d}})};return o.propTypes={},o.filterProps=[t],o}function tT(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const nT={m:"margin",p:"padding"},iT={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ng={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},rT=tT(e=>{if(e.length>2)if(Ng[e])e=Ng[e];else return[e];const[t,n]=e.split(""),i=nT[t],r=iT[n]||"";return Array.isArray(r)?r.map(o=>i+o):[i+r]}),mp=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],gp=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...mp,...gp];function va(e,t,n,i){const r=iu(e,t,!0)??n;return typeof r=="number"||typeof r=="string"?o=>typeof o=="string"?o:typeof r=="string"?`calc(${o} * ${r})`:r*o:Array.isArray(r)?o=>{if(typeof o=="string")return o;const s=Math.abs(o),a=r[s];return o>=0?a:typeof a=="number"?-a:`-${a}`}:typeof r=="function"?r:()=>{}}function ru(e){return va(e,"spacing",8)}function br(e,t){return typeof t=="string"||t==null?t:e(t)}function oT(e,t){return n=>e.reduce((i,r)=>(i[r]=br(t,n),i),{})}function sT(e,t,n,i){if(!t.includes(n))return null;const r=rT(n),o=oT(r,i),s=e[n];return wt(e,s,o)}function hw(e,t){const n=ru(e.theme);return Object.keys(e).map(i=>sT(e,t,i,n)).reduce(As,{})}function be(e){return hw(e,mp)}be.propTypes={};be.filterProps=mp;function Se(e){return hw(e,gp)}Se.propTypes={};Se.filterProps=gp;function pw(e=8,t=ru({spacing:e})){if(e.mui)return e;const n=(...i)=>(i.length===0?[1]:i).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function ou(...e){const t=e.reduce((i,r)=>(r.filterProps.forEach(o=>{i[o]=r}),i),{}),n=i=>Object.keys(i).reduce((r,o)=>t[o]?As(r,t[o](i)):r,{});return n.propTypes={},n.filterProps=e.reduce((i,r)=>i.concat(r.filterProps),[]),n}function Ut(e){return typeof e!="number"?e:`${e}px solid`}function Xt(e,t){return _e({prop:e,themeKey:"borders",transform:t})}const aT=Xt("border",Ut),lT=Xt("borderTop",Ut),cT=Xt("borderRight",Ut),uT=Xt("borderBottom",Ut),fT=Xt("borderLeft",Ut),dT=Xt("borderColor"),hT=Xt("borderTopColor"),pT=Xt("borderRightColor"),mT=Xt("borderBottomColor"),gT=Xt("borderLeftColor"),yT=Xt("outline",Ut),vT=Xt("outlineColor"),su=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=va(e.theme,"shape.borderRadius",4),n=i=>({borderRadius:br(t,i)});return wt(e,e.borderRadius,n)}return null};su.propTypes={};su.filterProps=["borderRadius"];ou(aT,lT,cT,uT,fT,dT,hT,pT,mT,gT,su,yT,vT);const au=e=>{if(e.gap!==void 0&&e.gap!==null){const t=va(e.theme,"spacing",8),n=i=>({gap:br(t,i)});return wt(e,e.gap,n)}return null};au.propTypes={};au.filterProps=["gap"];const lu=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=va(e.theme,"spacing",8),n=i=>({columnGap:br(t,i)});return wt(e,e.columnGap,n)}return null};lu.propTypes={};lu.filterProps=["columnGap"];const cu=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=va(e.theme,"spacing",8),n=i=>({rowGap:br(t,i)});return wt(e,e.rowGap,n)}return null};cu.propTypes={};cu.filterProps=["rowGap"];const xT=_e({prop:"gridColumn"}),wT=_e({prop:"gridRow"}),bT=_e({prop:"gridAutoFlow"}),ST=_e({prop:"gridAutoColumns"}),CT=_e({prop:"gridAutoRows"}),kT=_e({prop:"gridTemplateColumns"}),PT=_e({prop:"gridTemplateRows"}),TT=_e({prop:"gridTemplateAreas"}),MT=_e({prop:"gridArea"});ou(au,lu,cu,xT,wT,bT,ST,CT,kT,PT,TT,MT);function mo(e,t){return t==="grey"?t:e}const ET=_e({prop:"color",themeKey:"palette",transform:mo}),_T=_e({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:mo}),RT=_e({prop:"backgroundColor",themeKey:"palette",transform:mo});ou(ET,_T,RT);function Tt(e){return e<=1&&e!==0?`${e*100}%`:e}const AT=_e({prop:"width",transform:Tt}),yp=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o,s,a,l;const i=((s=(o=(r=e.theme)==null?void 0:r.breakpoints)==null?void 0:o.values)==null?void 0:s[n])||nu[n];return i?((l=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Tt(n)}};return wt(e,e.maxWidth,t)}return null};yp.filterProps=["maxWidth"];const OT=_e({prop:"minWidth",transform:Tt}),zT=_e({prop:"height",transform:Tt}),LT=_e({prop:"maxHeight",transform:Tt}),IT=_e({prop:"minHeight",transform:Tt});_e({prop:"size",cssProperty:"width",transform:Tt});_e({prop:"size",cssProperty:"height",transform:Tt});const DT=_e({prop:"boxSizing"});ou(AT,yp,OT,zT,LT,IT,DT);const xa={border:{themeKey:"borders",transform:Ut},borderTop:{themeKey:"borders",transform:Ut},borderRight:{themeKey:"borders",transform:Ut},borderBottom:{themeKey:"borders",transform:Ut},borderLeft:{themeKey:"borders",transform:Ut},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ut},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:su},color:{themeKey:"palette",transform:mo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:mo},backgroundColor:{themeKey:"palette",transform:mo},p:{style:Se},pt:{style:Se},pr:{style:Se},pb:{style:Se},pl:{style:Se},px:{style:Se},py:{style:Se},padding:{style:Se},paddingTop:{style:Se},paddingRight:{style:Se},paddingBottom:{style:Se},paddingLeft:{style:Se},paddingX:{style:Se},paddingY:{style:Se},paddingInline:{style:Se},paddingInlineStart:{style:Se},paddingInlineEnd:{style:Se},paddingBlock:{style:Se},paddingBlockStart:{style:Se},paddingBlockEnd:{style:Se},m:{style:be},mt:{style:be},mr:{style:be},mb:{style:be},ml:{style:be},mx:{style:be},my:{style:be},margin:{style:be},marginTop:{style:be},marginRight:{style:be},marginBottom:{style:be},marginLeft:{style:be},marginX:{style:be},marginY:{style:be},marginInline:{style:be},marginInlineStart:{style:be},marginInlineEnd:{style:be},marginBlock:{style:be},marginBlockStart:{style:be},marginBlockEnd:{style:be},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:au},rowGap:{style:cu},columnGap:{style:lu},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Tt},maxWidth:{style:yp},minWidth:{transform:Tt},height:{transform:Tt},maxHeight:{transform:Tt},minHeight:{transform:Tt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function $T(...e){const t=e.reduce((i,r)=>i.concat(Object.keys(r)),[]),n=new Set(t);return e.every(i=>n.size===Object.keys(i).length)}function FT(e,t){return typeof e=="function"?e(t):e}function jT(){function e(n,i,r,o){const s={[n]:i,theme:r},a=o[n];if(!a)return{[n]:i};const{cssProperty:l=n,themeKey:c,transform:u,style:f}=a;if(i==null)return null;if(c==="typography"&&i==="inherit")return{[n]:i};const d=iu(r,c)||{};return f?f(s):wt(s,i,y=>{let h=lc(d,u,y);return y===h&&typeof y=="string"&&(h=lc(d,u,`${n}${y==="default"?"":G(y)}`,y)),l===!1?h:{[l]:h}})}function t(n){const{sx:i,theme:r={}}=n||{};if(!i)return null;const o=r.unstable_sxConfig??xa;function s(a){let l=a;if(typeof a=="function")l=a(r);else if(typeof a!="object")return a;if(!l)return null;const c=fw(r.breakpoints),u=Object.keys(c);let f=c;return Object.keys(l).forEach(d=>{const p=FT(l[d],r);if(p!=null)if(typeof p=="object")if(o[d])f=As(f,e(d,p,r,o));else{const y=wt({theme:r},p,h=>({[d]:h}));$T(y,p)?f[d]=t({sx:p,theme:r}):f=As(f,y)}else f=As(f,e(d,p,r,o))}),K2(r,dw(u,f))}return Array.isArray(i)?i.map(s):s(i)}return t}const Mi=jT();Mi.filterProps=["sx"];function NT(e,t){var i;const n=this;if(n.vars){if(!((i=n.colorSchemes)!=null&&i[e])||typeof n.getColorSchemeSelector!="function")return{};let r=n.getColorSchemeSelector(e);return r==="&"?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function wa(e={},...t){const{breakpoints:n={},palette:i={},spacing:r,shape:o={},...s}=e,a=G2(n),l=pw(r);let c=ct({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:l,shape:{...X2,...o}},s);return c=Y2(c),c.applyStyles=NT,c=t.reduce((u,f)=>ct(u,f),c),c.unstable_sxConfig={...xa,...s==null?void 0:s.unstable_sxConfig},c.unstable_sx=function(f){return Mi({sx:f,theme:this})},c}function VT(e){return Object.keys(e).length===0}function vp(e=null){const t=k.useContext(tu);return!t||VT(t)?e:t}const BT=wa();function uu(e=BT){return vp(e)}function UT({styles:e,themeId:t,defaultTheme:n={}}){const i=uu(n),r=typeof e=="function"?e(t&&i[t]||i):e;return P.jsx(lw,{styles:r})}const WT=e=>{var i;const t={systemProps:{},otherProps:{}},n=((i=e==null?void 0:e.theme)==null?void 0:i.unstable_sxConfig)??xa;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t};function fu(e){const{sx:t,...n}=e,{systemProps:i,otherProps:r}=WT(n);let o;return Array.isArray(t)?o=[i,...t]:typeof t=="function"?o=(...s)=>{const a=t(...s);return Tn(a)?{...i,...a}:i}:o={...i,...t},{...r,sx:o}}const Vg=e=>e,HT=()=>{let e=Vg;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Vg}}},mw=HT();function gw(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;ta!=="theme"&&a!=="sx"&&a!=="as"})(Mi);return k.forwardRef(function(l,c){const u=uu(n),{className:f,component:d="div",...p}=fu(l);return P.jsx(o,{as:d,ref:c,className:ge(f,r?r(i):i),theme:t&&u[t]||u,...p})})}const KT={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function ii(e,t,n="Mui"){const i=KT[t];return i?`${n}-${i}`:`${mw.generate(e)}-${t}`}function $i(e,t,n="Mui"){const i={};return t.forEach(r=>{i[r]=ii(e,r,n)}),i}function yw(e){const{variants:t,...n}=e,i={variants:t,style:Fg(n),isProcessed:!0};return i.style===n||t&&t.forEach(r=>{typeof r.style!="function"&&(r.style=Fg(r.style))}),i}const qT=wa();function tf(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function QT(e){return e?(t,n)=>n[e]:null}function YT(e,t,n){e.theme=ZT(e.theme)?n:e.theme[t]||e.theme}function El(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(i=>El(e,i));if(Array.isArray(n==null?void 0:n.variants)){let i;if(n.isProcessed)i=n.style;else{const{variants:r,...o}=n;i=o}return vw(e,n.variants,[i])}return n!=null&&n.isProcessed?n.style:n}function vw(e,t,n=[]){var r;let i;e:for(let o=0;o{W2(a,S=>S.filter(C=>C!==Mi));const{name:c,slot:u,skipVariantsResolver:f,skipSx:d,overridesResolver:p=QT(eM(u)),...y}=l,h=f!==void 0?f:u&&u!=="Root"&&u!=="root"||!1,b=d||!1;let m=tf;u==="Root"||u==="root"?m=i:u?m=r:JT(a)&&(m=void 0);const g=cw(a,{shouldForwardProp:m,label:XT(),...y}),v=S=>{if(typeof S=="function"&&S.__emotion_real!==S)return function(T){return El(T,S)};if(Tn(S)){const C=yw(S);return C.variants?function(M){return El(M,C)}:C.style}return S},w=(...S)=>{const C=[],T=S.map(v),M=[];if(C.push(o),c&&p&&M.push(function(R){var ne,U;const D=(U=(ne=R.theme.components)==null?void 0:ne[c])==null?void 0:U.styleOverrides;if(!D)return null;const Y={};for(const O in D)Y[O]=El(R,D[O]);return p(R,Y)}),c&&!h&&M.push(function(R){var Y,ne;const F=R.theme,D=(ne=(Y=F==null?void 0:F.components)==null?void 0:Y[c])==null?void 0:ne.variants;return D?vw(R,D):null}),b||M.push(Mi),Array.isArray(T[0])){const _=T.shift(),R=new Array(C.length).fill(""),F=new Array(M.length).fill("");let D;D=[...R,..._,...F],D.raw=[...R,..._.raw,...F],C.unshift(D)}const z=[...C,...T,...M],x=g(...z);return a.muiName&&(x.muiName=a.muiName),x};return g.withConfig&&(w.withConfig=g.withConfig),w}}function XT(e,t){return void 0}function ZT(e){for(const t in e)return!1;return!0}function JT(e){return typeof e=="string"&&e.charCodeAt(0)>96}function eM(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const ww=xw();function cc(e,t){const n={...t};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const r=i;if(r==="components"||r==="slots")n[r]={...e[r],...n[r]};else if(r==="componentsProps"||r==="slotProps"){const o=e[r],s=t[r];if(!s)n[r]=o||{};else if(!o)n[r]=s;else{n[r]={...s};for(const a in o)if(Object.prototype.hasOwnProperty.call(o,a)){const l=a;n[r][l]=cc(o[l],s[l])}}}else n[r]===void 0&&(n[r]=e[r])}return n}function bw(e){const{theme:t,name:n,props:i}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?i:cc(t.components[n].defaultProps,i)}function Sw({props:e,name:t,defaultTheme:n,themeId:i}){let r=uu(n);return i&&(r=r[i]||r),bw({theme:r,name:t,props:e})}const Cw=typeof window<"u"?k.useLayoutEffect:k.useEffect;function tM(e,t,n,i,r){const[o,s]=k.useState(()=>r&&n?n(e).matches:i?i(e).matches:t);return Cw(()=>{if(!n)return;const a=n(e),l=()=>{s(a.matches)};return l(),a.addEventListener("change",l),()=>{a.removeEventListener("change",l)}},[e,n]),o}const nM={...Il},kw=nM.useSyncExternalStore;function iM(e,t,n,i,r){const o=k.useCallback(()=>t,[t]),s=k.useMemo(()=>{if(r&&n)return()=>n(e).matches;if(i!==null){const{matches:u}=i(e);return()=>u}return o},[o,e,i,r,n]),[a,l]=k.useMemo(()=>{if(n===null)return[o,()=>()=>{}];const u=n(e);return[()=>u.matches,f=>(u.addEventListener("change",f),()=>{u.removeEventListener("change",f)})]},[o,n,e]);return kw(l,a,s)}function rM(e={}){const{themeId:t}=e;return function(i,r={}){let o=vp();o&&t&&(o=o[t]||o);const s=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:a=!1,matchMedia:l=s?window.matchMedia:null,ssrMatchMedia:c=null,noSsr:u=!1}=bw({name:"MuiUseMediaQuery",props:r,theme:o});let f=typeof i=="function"?i(o):i;return f=f.replace(/^@media( ?)/m,""),(kw!==void 0?iM:tM)(f,a,l,c,u)}}function oM(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function xp(e,t=0,n=1){return oM(e,t,n)}function sM(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,r)=>r<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function Ei(e){if(e.type)return e;if(e.charAt(0)==="#")return Ei(sM(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(wr(9,e));let i=e.substring(t+1,e.length-1),r;if(n==="color"){if(i=i.split(" "),r=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(wr(10,r))}else i=i.split(",");return i=i.map(o=>parseFloat(o)),{type:n,values:i,colorSpace:r}}const aM=e=>{const t=Ei(e);return t.values.slice(0,3).map((n,i)=>t.type.includes("hsl")&&i!==0?`${n}%`:n).join(" ")},ys=(e,t)=>{try{return aM(e)}catch{return e}};function du(e){const{type:t,colorSpace:n}=e;let{values:i}=e;return t.includes("rgb")?i=i.map((r,o)=>o<3?parseInt(r,10):r):t.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.includes("color")?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function Pw(e){e=Ei(e);const{values:t}=e,n=t[0],i=t[1]/100,r=t[2]/100,o=i*Math.min(r,1-r),s=(c,u=(c+n/30)%12)=>r-o*Math.max(Math.min(u-3,9-u,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),du({type:a,values:l})}function Od(e){e=Ei(e);let t=e.type==="hsl"||e.type==="hsla"?Ei(Pw(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function lM(e,t){const n=Od(e),i=Od(t);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function Ct(e,t){return e=Ei(e),t=xp(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,du(e)}function Xa(e,t,n){try{return Ct(e,t)}catch{return e}}function wp(e,t){if(e=Ei(e),t=xp(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return du(e)}function se(e,t,n){try{return wp(e,t)}catch{return e}}function bp(e,t){if(e=Ei(e),t=xp(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return du(e)}function ae(e,t,n){try{return bp(e,t)}catch{return e}}function cM(e,t=.15){return Od(e)>.5?wp(e,t):bp(e,t)}function Za(e,t,n){try{return cM(e,t)}catch{return e}}function uM(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Ja(e){const t=k.useRef(e);return Cw(()=>{t.current=e}),k.useRef((...n)=>(0,t.current)(...n)).current}function zd(...e){return k.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{uM(n,t)})},e)}const Bg={};function Tw(e,t){const n=k.useRef(Bg);return n.current===Bg&&(n.current=e(t)),n}const fM=[];function dM(e){k.useEffect(e,fM)}class Sp{constructor(){Qo(this,"currentId",null);Qo(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Qo(this,"disposeEffect",()=>this.clear)}static create(){return new Sp}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function hM(){const e=Tw(Sp.create).current;return dM(e.disposeEffect),e}function Ug(e){try{return e.matches(":focus-visible")}catch{}return!1}function Fi(e,t,n=void 0){const i={};for(const r in e){const o=e[r];let s="",a=!0;for(let l=0;l{const o=i===null?{...n}:gM(i,n);return o!=null&&(o[mM]=i!==null),o},[n,i]);return P.jsx(Mw.Provider,{value:r,children:t})}const vM=k.createContext();function xM({value:e,...t}){return P.jsx(vM.Provider,{value:e??!0,...t})}const Ew=k.createContext(void 0);function wM({value:e,children:t}){return P.jsx(Ew.Provider,{value:e,children:t})}function bM(e){const{theme:t,name:n,props:i}=e;if(!t||!t.components||!t.components[n])return i;const r=t.components[n];return r.defaultProps?cc(r.defaultProps,i):!r.styleOverrides&&!r.variants?cc(r,i):i}function SM({props:e,name:t}){const n=k.useContext(Ew);return bM({props:e,name:t,theme:{components:n}})}const Wg={};function Hg(e,t,n,i=!1){return k.useMemo(()=>{const r=e&&t[e]||t;if(typeof n=="function"){const o=n(r),s=e?{...t,[e]:o}:o;return i?()=>s:s}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,i])}function _w(e){const{children:t,theme:n,themeId:i}=e,r=vp(Wg),o=Cp()||Wg,s=Hg(i,r,n),a=Hg(i,o,n,!0),l=(i?s[i]:s).direction==="rtl";return P.jsx(yM,{theme:a,children:P.jsx(tu.Provider,{value:s,children:P.jsx(xM,{value:l,children:P.jsx(wM,{value:i?s[i].components:s.components,children:t})})})})}const Gg={theme:void 0};function CM(e){let t,n;return function(r){let o=t;return(o===void 0||r.theme!==n)&&(Gg.theme=r.theme,o=yw(e(Gg)),t=o,n=r.theme),o}}const kp="mode",Pp="color-scheme",kM="data-color-scheme";function PM(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:i="dark",modeStorageKey:r=kp,colorSchemeStorageKey:o=Pp,attribute:s=kM,colorSchemeNode:a="document.documentElement",nonce:l}=e||{};let c="",u=s;if(s==="class"&&(u=".%s"),s==="data"&&(u="[data-%s]"),u.startsWith(".")){const d=u.substring(1);c+=`${a}.classList.remove('${d}'.replace('%s', light), '${d}'.replace('%s', dark)); - ${a}.classList.add('${d}'.replace('%s', colorScheme));`}const f=u.match(/\[([^\]]+)\]/);if(f){const[d,p]=f[1].split("=");p||(c+=`${a}.removeAttribute('${d}'.replace('%s', light)); - ${a}.removeAttribute('${d}'.replace('%s', dark));`),c+=` - ${a}.setAttribute('${d}'.replace('%s', colorScheme), ${p?`${p}.replace('%s', colorScheme)`:'""'});`}else c+=`${a}.setAttribute('${u}', colorScheme);`;return P.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(function() { -try { - let colorScheme = ''; - const mode = localStorage.getItem('${r}') || '${t}'; - const dark = localStorage.getItem('${o}-dark') || '${i}'; - const light = localStorage.getItem('${o}-light') || '${n}'; - if (mode === 'system') { - // handle system mode - const mql = window.matchMedia('(prefers-color-scheme: dark)'); - if (mql.matches) { - colorScheme = dark - } else { - colorScheme = light - } - } - if (mode === 'light') { - colorScheme = light; - } - if (mode === 'dark') { - colorScheme = dark; - } - if (colorScheme) { - ${c} - } -} catch(e){}})();`}},"mui-color-scheme-init")}function Kg(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Rw(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function TM(e){return Rw(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function nf(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function MM(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:i,supportedColorSchemes:r=[],modeStorageKey:o=kp,colorSchemeStorageKey:s=Pp,storageWindow:a=typeof window>"u"?void 0:window}=e,l=r.join(","),c=r.length>1,[u,f]=k.useState(()=>{const v=nf(o,t),w=nf(`${s}-light`,n),S=nf(`${s}-dark`,i);return{mode:v,systemMode:Kg(v),lightColorScheme:w,darkColorScheme:S}}),[,d]=k.useState(!1),p=k.useRef(!1);k.useEffect(()=>{c&&d(!0),p.current=!0},[c]);const y=TM(u),h=k.useCallback(v=>{f(w=>{if(v===w.mode)return w;const S=v??t;try{localStorage.setItem(o,S)}catch{}return{...w,mode:S,systemMode:Kg(S)}})},[o,t]),b=k.useCallback(v=>{v?typeof v=="string"?v&&!l.includes(v)?console.error(`\`${v}\` does not exist in \`theme.colorSchemes\`.`):f(w=>{const S={...w};return Rw(w,C=>{try{localStorage.setItem(`${s}-${C}`,v)}catch{}C==="light"&&(S.lightColorScheme=v),C==="dark"&&(S.darkColorScheme=v)}),S}):f(w=>{const S={...w},C=v.light===null?n:v.light,T=v.dark===null?i:v.dark;if(C)if(!l.includes(C))console.error(`\`${C}\` does not exist in \`theme.colorSchemes\`.`);else{S.lightColorScheme=C;try{localStorage.setItem(`${s}-light`,C)}catch{}}if(T)if(!l.includes(T))console.error(`\`${T}\` does not exist in \`theme.colorSchemes\`.`);else{S.darkColorScheme=T;try{localStorage.setItem(`${s}-dark`,T)}catch{}}return S}):f(w=>{try{localStorage.setItem(`${s}-light`,n),localStorage.setItem(`${s}-dark`,i)}catch{}return{...w,lightColorScheme:n,darkColorScheme:i}})},[l,s,n,i]),m=k.useCallback(v=>{u.mode==="system"&&f(w=>{const S=v!=null&&v.matches?"dark":"light";return w.systemMode===S?w:{...w,systemMode:S}})},[u.mode]),g=k.useRef(m);return g.current=m,k.useEffect(()=>{if(typeof window.matchMedia!="function"||!c)return;const v=(...S)=>g.current(...S),w=window.matchMedia("(prefers-color-scheme: dark)");return w.addListener(v),v(w),()=>{w.removeListener(v)}},[c]),k.useEffect(()=>{if(a&&c){const v=w=>{const S=w.newValue;typeof w.key=="string"&&w.key.startsWith(s)&&(!S||l.match(S))&&(w.key.endsWith("light")&&b({light:S}),w.key.endsWith("dark")&&b({dark:S})),w.key===o&&(!S||["light","dark","system"].includes(S))&&h(S||t)};return a.addEventListener("storage",v),()=>{a.removeEventListener("storage",v)}}},[b,h,o,s,l,t,a,c]),{...u,mode:p.current||!c?u.mode:void 0,systemMode:p.current||!c?u.systemMode:void 0,colorScheme:p.current||!c?y:void 0,setMode:h,setColorScheme:b}}const EM="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function _M(e){const{themeId:t,theme:n={},modeStorageKey:i=kp,colorSchemeStorageKey:r=Pp,disableTransitionOnChange:o=!1,defaultColorScheme:s,resolveTheme:a}=e,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},c=k.createContext(void 0),u=()=>k.useContext(c)||l;function f(h){var Ra,B,Ko,Aa,qo;const{children:b,theme:m,modeStorageKey:g=i,colorSchemeStorageKey:v=r,disableTransitionOnChange:w=o,storageWindow:S=typeof window>"u"?void 0:window,documentNode:C=typeof document>"u"?void 0:document,colorSchemeNode:T=typeof document>"u"?void 0:document.documentElement,disableNestedContext:M=!1,disableStyleSheetGeneration:z=!1,defaultMode:x="system"}=h,_=k.useRef(!1),R=Cp(),F=k.useContext(c),D=!!F&&!M,Y=k.useMemo(()=>m||(typeof n=="function"?n():n),[m]),ne=Y[t],{colorSchemes:U={},components:O={},cssVarPrefix:I,...j}=ne||Y,W=Object.keys(U).filter(Pe=>!!U[Pe]).join(","),te=k.useMemo(()=>W.split(","),[W]),Dn=typeof s=="string"?s:s.light,Re=typeof s=="string"?s:s.dark,Bi=U[Dn]&&U[Re]?x:((B=(Ra=U[j.defaultColorScheme])==null?void 0:Ra.palette)==null?void 0:B.mode)||((Ko=j.palette)==null?void 0:Ko.mode),{mode:Jt,setMode:$n,systemMode:Pa,lightColorScheme:Ta,darkColorScheme:Ma,colorScheme:Pu,setColorScheme:Ea}=MM({supportedColorSchemes:te,defaultLightColorScheme:Dn,defaultDarkColorScheme:Re,modeStorageKey:g,colorSchemeStorageKey:v,defaultMode:Bi,storageWindow:S});let Ho=Jt,bt=Pu;D&&(Ho=F.mode,bt=F.colorScheme);const Rr=bt||j.defaultColorScheme,Tu=((Aa=j.generateThemeVars)==null?void 0:Aa.call(j))||j.vars,St={...j,components:O,colorSchemes:U,cssVarPrefix:I,vars:Tu};if(typeof St.generateSpacing=="function"&&(St.spacing=St.generateSpacing()),Rr){const Pe=U[Rr];Pe&&typeof Pe=="object"&&Object.keys(Pe).forEach(Ae=>{Pe[Ae]&&typeof Pe[Ae]=="object"?St[Ae]={...St[Ae],...Pe[Ae]}:St[Ae]=Pe[Ae]})}const gn=j.colorSchemeSelector;k.useEffect(()=>{if(bt&&T&&gn&&gn!=="media"){const Pe=gn;let Ae=gn;if(Pe==="class"&&(Ae=".%s"),Pe==="data"&&(Ae="[data-%s]"),Pe!=null&&Pe.startsWith("data-")&&!Pe.includes("%s")&&(Ae=`[${Pe}="%s"]`),Ae.startsWith("."))T.classList.remove(...te.map(Oa=>Ae.substring(1).replace("%s",Oa))),T.classList.add(Ae.substring(1).replace("%s",bt));else{const Oa=Ae.replace("%s",bt).match(/\[([^\]]+)\]/);if(Oa){const[vm,Mu]=Oa[1].split("=");Mu||te.forEach(aC=>{T.removeAttribute(vm.replace(bt,aC))}),T.setAttribute(vm,Mu?Mu.replace(/"|'/g,""):"")}else T.setAttribute(Ae,bt)}}},[bt,gn,T,te]),k.useEffect(()=>{let Pe;if(w&&_.current&&C){const Ae=C.createElement("style");Ae.appendChild(C.createTextNode(EM)),C.head.appendChild(Ae),window.getComputedStyle(C.body),Pe=setTimeout(()=>{C.head.removeChild(Ae)},1)}return()=>{clearTimeout(Pe)}},[bt,w,C]),k.useEffect(()=>(_.current=!0,()=>{_.current=!1}),[]);const Ui=k.useMemo(()=>({allColorSchemes:te,colorScheme:bt,darkColorScheme:Ma,lightColorScheme:Ta,mode:Ho,setColorScheme:Ea,setMode:$n,systemMode:Pa}),[te,bt,Ma,Ta,Ho,Ea,$n,Pa]);let _a=!0;(z||j.cssVariables===!1||D&&(R==null?void 0:R.cssVarPrefix)===I)&&(_a=!1);const Go=P.jsxs(k.Fragment,{children:[P.jsx(_w,{themeId:ne?t:void 0,theme:a?a(St):St,children:b}),_a&&P.jsx(lw,{styles:((qo=St.generateStyleSheets)==null?void 0:qo.call(St))||[]})]});return D?Go:P.jsx(c.Provider,{value:Ui,children:Go})}const d=typeof s=="string"?s:s.light,p=typeof s=="string"?s:s.dark;return{CssVarsProvider:f,useColorScheme:u,getInitColorSchemeScript:h=>PM({colorSchemeStorageKey:r,defaultLightColorScheme:d,defaultDarkColorScheme:p,modeStorageKey:i,...h})}}function RM(e=""){function t(...i){if(!i.length)return"";const r=i[0];return typeof r=="string"&&!r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${r}${t(...i.slice(1))})`:`, ${r}`}return(i,...r)=>`var(--${e?`${e}-`:""}${i}${t(...r)})`}const qg=(e,t,n,i=[])=>{let r=e;t.forEach((o,s)=>{s===t.length-1?Array.isArray(r)?r[Number(o)]=n:r&&typeof r=="object"&&(r[o]=n):r&&typeof r=="object"&&(r[o]||(r[o]=i.includes(o)?[]:{}),r=r[o])})},AM=(e,t,n)=>{function i(r,o=[],s=[]){Object.entries(r).forEach(([a,l])=>{(!n||n&&!n([...o,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?i(l,[...o,a],Array.isArray(l)?[...s,a]:s):t([...o,a],l,s))})}i(e)},OM=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(i=>e.includes(i))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function rf(e,t){const{prefix:n,shouldSkipGeneratingVar:i}=t||{},r={},o={},s={};return AM(e,(a,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!i||!i(a,l))){const u=`--${n?`${n}-`:""}${a.join("-")}`,f=OM(a,l);Object.assign(r,{[u]:f}),qg(o,a,`var(${u})`,c),qg(s,a,`var(${u}, ${f})`,c)}},a=>a[0]==="vars"),{css:r,vars:o,varsWithDefaults:s}}function zM(e,t={}){const{getSelector:n=b,disableCssColorScheme:i,colorSchemeSelector:r}=t,{colorSchemes:o={},components:s,defaultColorScheme:a="light",...l}=e,{vars:c,css:u,varsWithDefaults:f}=rf(l,t);let d=f;const p={},{[a]:y,...h}=o;if(Object.entries(h||{}).forEach(([v,w])=>{const{vars:S,css:C,varsWithDefaults:T}=rf(w,t);d=ct(d,T),p[v]={css:C,vars:S}}),y){const{css:v,vars:w,varsWithDefaults:S}=rf(y,t);d=ct(d,S),p[a]={css:v,vars:w}}function b(v,w){var C,T;let S=r;if(r==="class"&&(S=".%s"),r==="data"&&(S="[data-%s]"),r!=null&&r.startsWith("data-")&&!r.includes("%s")&&(S=`[${r}="%s"]`),v){if(S==="media")return e.defaultColorScheme===v?":root":{[`@media (prefers-color-scheme: ${((T=(C=o[v])==null?void 0:C.palette)==null?void 0:T.mode)||v})`]:{":root":w}};if(S)return e.defaultColorScheme===v?`:root, ${S.replace("%s",String(v))}`:S.replace("%s",String(v))}return":root"}return{vars:d,generateThemeVars:()=>{let v={...c};return Object.entries(p).forEach(([,{vars:w}])=>{v=ct(v,w)}),v},generateStyleSheets:()=>{var M,z;const v=[],w=e.defaultColorScheme||"light";function S(x,_){Object.keys(_).length&&v.push(typeof x=="string"?{[x]:{..._}}:x)}S(n(void 0,{...u}),u);const{[w]:C,...T}=p;if(C){const{css:x}=C,_=(z=(M=o[w])==null?void 0:M.palette)==null?void 0:z.mode,R=!i&&_?{colorScheme:_,...x}:{...x};S(n(w,{...R}),R)}return Object.entries(T).forEach(([x,{css:_}])=>{var D,Y;const R=(Y=(D=o[x])==null?void 0:D.palette)==null?void 0:Y.mode,F=!i&&R?{colorScheme:R,..._}:{..._};S(n(x,{...F}),F)}),v}}}function LM(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const IM=wa(),DM=ww("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${G(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),$M=e=>Sw({props:e,name:"MuiContainer",defaultTheme:IM}),FM=(e,t)=>{const n=l=>ii(t,l),{classes:i,fixed:r,disableGutters:o,maxWidth:s}=e,a={root:["root",s&&`maxWidth${G(String(s))}`,r&&"fixed",o&&"disableGutters"]};return Fi(a,n,i)};function jM(e={}){const{createStyledComponent:t=DM,useThemeProps:n=$M,componentName:i="MuiContainer"}=e,r=t(({theme:s,ownerState:a})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!a.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}}),({theme:s,ownerState:a})=>a.fixed&&Object.keys(s.breakpoints.values).reduce((l,c)=>{const u=c,f=s.breakpoints.values[u];return f!==0&&(l[s.breakpoints.up(u)]={maxWidth:`${f}${s.breakpoints.unit}`}),l},{}),({theme:s,ownerState:a})=>({...a.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},...a.maxWidth&&a.maxWidth!=="xs"&&{[s.breakpoints.up(a.maxWidth)]:{maxWidth:`${s.breakpoints.values[a.maxWidth]}${s.breakpoints.unit}`}}}));return k.forwardRef(function(a,l){const c=n(a),{className:u,component:f="div",disableGutters:d=!1,fixed:p=!1,maxWidth:y="lg",classes:h,...b}=c,m={...c,component:f,disableGutters:d,fixed:p,maxWidth:y},g=FM(m,i);return P.jsx(r,{as:f,ownerState:m,className:ge(g.root,u),ref:l,...b})})}const NM=wa(),VM=ww("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function BM(e){return Sw({props:e,name:"MuiStack",defaultTheme:NM})}function UM(e,t){const n=k.Children.toArray(e).filter(Boolean);return n.reduce((i,r,o)=>(i.push(r),o({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],HM=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...wt({theme:t},dr({values:e.direction,breakpoints:t.breakpoints.values}),i=>({flexDirection:i}))};if(e.spacing){const i=ru(t),r=Object.keys(t.breakpoints.values).reduce((l,c)=>((typeof e.spacing=="object"&&e.spacing[c]!=null||typeof e.direction=="object"&&e.direction[c]!=null)&&(l[c]=!0),l),{}),o=dr({values:e.direction,base:r}),s=dr({values:e.spacing,base:r});typeof o=="object"&&Object.keys(o).forEach((l,c,u)=>{if(!o[l]){const d=c>0?o[u[c-1]]:"column";o[l]=d}}),n=ct(n,wt({theme:t},s,(l,c)=>e.useFlexGap?{gap:br(i,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${WM(c?o[c]:e.direction)}`]:br(i,l)}}))}return n=J2(t.breakpoints,n),n};function GM(e={}){const{createStyledComponent:t=VM,useThemeProps:n=BM,componentName:i="MuiStack"}=e,r=()=>Fi({root:["root"]},l=>ii(i,l),{}),o=t(HM);return k.forwardRef(function(l,c){const u=n(l),f=fu(u),{component:d="div",direction:p="column",spacing:y=0,divider:h,children:b,className:m,useFlexGap:g=!1,...v}=f,w={direction:p,spacing:y,useFlexGap:g},S=r();return P.jsx(o,{as:d,ownerState:w,ref:c,className:ge(S.root,m),...v,children:h?UM(b,h):b})})}const na={black:"#000",white:"#fff"},KM={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Or={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},zr={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},os={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Lr={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ir={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Dr={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function Aw(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:na.white,default:na.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const qM=Aw();function Ow(){return{text:{primary:na.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:na.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Qg=Ow();function Yg(e,t,n,i){const r=i.light||i,o=i.dark||i*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=bp(e.main,r):t==="dark"&&(e.dark=wp(e.main,o)))}function QM(e="light"){return e==="dark"?{main:Lr[200],light:Lr[50],dark:Lr[400]}:{main:Lr[700],light:Lr[400],dark:Lr[800]}}function YM(e="light"){return e==="dark"?{main:Or[200],light:Or[50],dark:Or[400]}:{main:Or[500],light:Or[300],dark:Or[700]}}function XM(e="light"){return e==="dark"?{main:zr[500],light:zr[300],dark:zr[700]}:{main:zr[700],light:zr[400],dark:zr[800]}}function ZM(e="light"){return e==="dark"?{main:Ir[400],light:Ir[300],dark:Ir[700]}:{main:Ir[700],light:Ir[500],dark:Ir[900]}}function JM(e="light"){return e==="dark"?{main:Dr[400],light:Dr[300],dark:Dr[700]}:{main:Dr[800],light:Dr[500],dark:Dr[900]}}function eE(e="light"){return e==="dark"?{main:os[400],light:os[300],dark:os[700]}:{main:"#ed6c02",light:os[500],dark:os[900]}}function Tp(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:i=.2,...r}=e,o=e.primary||QM(t),s=e.secondary||YM(t),a=e.error||XM(t),l=e.info||ZM(t),c=e.success||JM(t),u=e.warning||eE(t);function f(h){return lM(h,Qg.text.primary)>=n?Qg.text.primary:qM.text.primary}const d=({color:h,name:b,mainShade:m=500,lightShade:g=300,darkShade:v=700})=>{if(h={...h},!h.main&&h[m]&&(h.main=h[m]),!h.hasOwnProperty("main"))throw new Error(wr(11,b?` (${b})`:"",m));if(typeof h.main!="string")throw new Error(wr(12,b?` (${b})`:"",JSON.stringify(h.main)));return Yg(h,"light",g,i),Yg(h,"dark",v,i),h.contrastText||(h.contrastText=f(h.main)),h};let p;return t==="light"?p=Aw():t==="dark"&&(p=Ow()),ct({common:{...na},mode:t,primary:d({color:o,name:"primary"}),secondary:d({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:a,name:"error"}),warning:d({color:u,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:c,name:"success"}),grey:KM,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:i,...p},r)}function tE(e){const t={};return Object.entries(e).forEach(i=>{const[r,o]=i;typeof o=="object"&&(t[r]=`${o.fontStyle?`${o.fontStyle} `:""}${o.fontVariant?`${o.fontVariant} `:""}${o.fontWeight?`${o.fontWeight} `:""}${o.fontStretch?`${o.fontStretch} `:""}${o.fontSize||""}${o.lineHeight?`/${o.lineHeight} `:""}${o.fontFamily||""}`)}),t}function nE(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function iE(e){return Math.round(e*1e5)/1e5}const Xg={textTransform:"uppercase"},Zg='"Roboto", "Helvetica", "Arial", sans-serif';function zw(e,t){const{fontFamily:n=Zg,fontSize:i=14,fontWeightLight:r=300,fontWeightRegular:o=400,fontWeightMedium:s=500,fontWeightBold:a=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...f}=typeof t=="function"?t(e):t,d=i/14,p=u||(b=>`${b/l*d}rem`),y=(b,m,g,v,w)=>({fontFamily:n,fontWeight:b,fontSize:p(m),lineHeight:g,...n===Zg?{letterSpacing:`${iE(v/m)}em`}:{},...w,...c}),h={h1:y(r,96,1.167,-1.5),h2:y(r,60,1.2,-.5),h3:y(o,48,1.167,0),h4:y(o,34,1.235,.25),h5:y(o,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(o,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(o,16,1.5,.15),body2:y(o,14,1.43,.15),button:y(s,14,1.75,.4,Xg),caption:y(o,12,1.66,.4),overline:y(o,12,2.66,1,Xg),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ct({htmlFontSize:l,pxToRem:p,fontFamily:n,fontSize:i,fontWeightLight:r,fontWeightRegular:o,fontWeightMedium:s,fontWeightBold:a,...h},f,{clone:!1})}const rE=.2,oE=.14,sE=.12;function he(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${rE})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${oE})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${sE})`].join(",")}const aE=["none",he(0,2,1,-1,0,1,1,0,0,1,3,0),he(0,3,1,-2,0,2,2,0,0,1,5,0),he(0,3,3,-2,0,3,4,0,0,1,8,0),he(0,2,4,-1,0,4,5,0,0,1,10,0),he(0,3,5,-1,0,5,8,0,0,1,14,0),he(0,3,5,-1,0,6,10,0,0,1,18,0),he(0,4,5,-2,0,7,10,1,0,2,16,1),he(0,5,5,-3,0,8,10,1,0,3,14,2),he(0,5,6,-3,0,9,12,1,0,3,16,2),he(0,6,6,-3,0,10,14,1,0,4,18,3),he(0,6,7,-4,0,11,15,1,0,4,20,3),he(0,7,8,-4,0,12,17,2,0,5,22,4),he(0,7,8,-4,0,13,19,2,0,5,24,4),he(0,7,9,-4,0,14,21,2,0,5,26,4),he(0,8,9,-5,0,15,22,2,0,6,28,5),he(0,8,10,-5,0,16,24,2,0,6,30,5),he(0,8,11,-5,0,17,26,2,0,6,32,5),he(0,9,11,-5,0,18,28,2,0,7,34,6),he(0,9,12,-6,0,19,29,2,0,7,36,6),he(0,10,13,-6,0,20,31,3,0,8,38,7),he(0,10,13,-6,0,21,33,3,0,8,40,7),he(0,10,14,-6,0,22,35,3,0,8,42,7),he(0,11,14,-7,0,23,36,3,0,9,44,8),he(0,11,15,-7,0,24,38,3,0,9,46,8)],lE={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},cE={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Jg(e){return`${Math.round(e)}ms`}function uE(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function fE(e){const t={...lE,...e.easing},n={...cE,...e.duration};return{getAutoHeightDuration:uE,create:(r=["all"],o={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0,...c}=o;return(Array.isArray(r)?r:[r]).map(u=>`${u} ${typeof s=="string"?s:Jg(s)} ${a} ${typeof l=="string"?l:Jg(l)}`).join(",")},...e,easing:t,duration:n}}const dE={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function hE(e){return Tn(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Lw(e={}){const t={...e};function n(i){const r=Object.entries(i);for(let o=0;oct(p,y),d),d.unstable_sxConfig={...xa,...c==null?void 0:c.unstable_sxConfig},d.unstable_sx=function(y){return Mi({sx:y,theme:this})},d.toRuntimeSource=Lw,d}function Id(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const pE=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Id(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Iw(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Dw(e){return e==="dark"?pE:[]}function mE(e){const{palette:t={mode:"light"},opacity:n,overlays:i,...r}=e,o=Tp(t);return{palette:o,opacity:{...Iw(o.mode),...n},overlays:i||Dw(o.mode),...r}}function gE(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const yE=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],vE=e=>(t,n)=>{const i=e.rootSelector||":root",r=e.colorSchemeSelector;let o=r;if(r==="class"&&(o=".%s"),r==="data"&&(o="[data-%s]"),r!=null&&r.startsWith("data-")&&!r.includes("%s")&&(o=`[${r}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return yE(e.cssVarPrefix).forEach(a=>{s[a]=n[a],delete n[a]}),o==="media"?{[i]:n,"@media (prefers-color-scheme: dark)":{[i]:s}}:o?{[o.replace("%s",t)]:s,[`${i}, ${o.replace("%s",t)}`]:n}:{[i]:{...n,...s}}}if(o&&o!=="media")return`${i}, ${o.replace("%s",String(t))}`}else if(t){if(o==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[i]:n}};if(o)return o.replace("%s",String(t))}return i};function xE(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function E(e,t,n){!e[t]&&n&&(e[t]=n)}function vs(e){return!e||!e.startsWith("hsl")?e:Pw(e)}function Fn(e,t){`${t}Channel`in e||(e[`${t}Channel`]=ys(vs(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). -To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function wE(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const vn=e=>{try{return e()}catch{}},bE=(e="mui")=>RM(e);function of(e,t,n,i){if(!t)return;t=t===!0?{}:t;const r=i==="dark"?"dark":"light";if(!n){e[i]=mE({...t,palette:{mode:r,...t==null?void 0:t.palette}});return}const{palette:o,...s}=Ld({...n,palette:{mode:r,...t==null?void 0:t.palette}});return e[i]={...t,palette:o,opacity:{...Iw(r),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||Dw(r)},s}function SE(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:i,disableCssColorScheme:r=!1,cssVarPrefix:o="mui",shouldSkipGeneratingVar:s=gE,colorSchemeSelector:a=n.light&&n.dark?"media":void 0,rootSelector:l=":root",...c}=e,u=Object.keys(n)[0],f=i||(n.light&&u!=="light"?"light":u),d=bE(o),{[f]:p,light:y,dark:h,...b}=n,m={...b};let g=p;if((f==="dark"&&!("dark"in n)||f==="light"&&!("light"in n))&&(g=!0),!g)throw new Error(wr(21,f));const v=of(m,g,c,f);y&&!m.light&&of(m,y,void 0,"light"),h&&!m.dark&&of(m,h,void 0,"dark");let w={defaultColorScheme:f,...v,cssVarPrefix:o,colorSchemeSelector:a,rootSelector:l,getCssVar:d,colorSchemes:m,font:{...tE(v.typography),...v.font},spacing:wE(c.spacing)};Object.keys(w.colorSchemes).forEach(z=>{const x=w.colorSchemes[z].palette,_=R=>{const F=R.split("-"),D=F[1],Y=F[2];return d(R,x[D][Y])};if(x.mode==="light"&&(E(x.common,"background","#fff"),E(x.common,"onBackground","#000")),x.mode==="dark"&&(E(x.common,"background","#000"),E(x.common,"onBackground","#fff")),xE(x,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),x.mode==="light"){E(x.Alert,"errorColor",se(x.error.light,.6)),E(x.Alert,"infoColor",se(x.info.light,.6)),E(x.Alert,"successColor",se(x.success.light,.6)),E(x.Alert,"warningColor",se(x.warning.light,.6)),E(x.Alert,"errorFilledBg",_("palette-error-main")),E(x.Alert,"infoFilledBg",_("palette-info-main")),E(x.Alert,"successFilledBg",_("palette-success-main")),E(x.Alert,"warningFilledBg",_("palette-warning-main")),E(x.Alert,"errorFilledColor",vn(()=>x.getContrastText(x.error.main))),E(x.Alert,"infoFilledColor",vn(()=>x.getContrastText(x.info.main))),E(x.Alert,"successFilledColor",vn(()=>x.getContrastText(x.success.main))),E(x.Alert,"warningFilledColor",vn(()=>x.getContrastText(x.warning.main))),E(x.Alert,"errorStandardBg",ae(x.error.light,.9)),E(x.Alert,"infoStandardBg",ae(x.info.light,.9)),E(x.Alert,"successStandardBg",ae(x.success.light,.9)),E(x.Alert,"warningStandardBg",ae(x.warning.light,.9)),E(x.Alert,"errorIconColor",_("palette-error-main")),E(x.Alert,"infoIconColor",_("palette-info-main")),E(x.Alert,"successIconColor",_("palette-success-main")),E(x.Alert,"warningIconColor",_("palette-warning-main")),E(x.AppBar,"defaultBg",_("palette-grey-100")),E(x.Avatar,"defaultBg",_("palette-grey-400")),E(x.Button,"inheritContainedBg",_("palette-grey-300")),E(x.Button,"inheritContainedHoverBg",_("palette-grey-A100")),E(x.Chip,"defaultBorder",_("palette-grey-400")),E(x.Chip,"defaultAvatarColor",_("palette-grey-700")),E(x.Chip,"defaultIconColor",_("palette-grey-700")),E(x.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),E(x.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),E(x.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),E(x.LinearProgress,"primaryBg",ae(x.primary.main,.62)),E(x.LinearProgress,"secondaryBg",ae(x.secondary.main,.62)),E(x.LinearProgress,"errorBg",ae(x.error.main,.62)),E(x.LinearProgress,"infoBg",ae(x.info.main,.62)),E(x.LinearProgress,"successBg",ae(x.success.main,.62)),E(x.LinearProgress,"warningBg",ae(x.warning.main,.62)),E(x.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.11)`),E(x.Slider,"primaryTrack",ae(x.primary.main,.62)),E(x.Slider,"secondaryTrack",ae(x.secondary.main,.62)),E(x.Slider,"errorTrack",ae(x.error.main,.62)),E(x.Slider,"infoTrack",ae(x.info.main,.62)),E(x.Slider,"successTrack",ae(x.success.main,.62)),E(x.Slider,"warningTrack",ae(x.warning.main,.62));const R=Za(x.background.default,.8);E(x.SnackbarContent,"bg",R),E(x.SnackbarContent,"color",vn(()=>x.getContrastText(R))),E(x.SpeedDialAction,"fabHoverBg",Za(x.background.paper,.15)),E(x.StepConnector,"border",_("palette-grey-400")),E(x.StepContent,"border",_("palette-grey-400")),E(x.Switch,"defaultColor",_("palette-common-white")),E(x.Switch,"defaultDisabledColor",_("palette-grey-100")),E(x.Switch,"primaryDisabledColor",ae(x.primary.main,.62)),E(x.Switch,"secondaryDisabledColor",ae(x.secondary.main,.62)),E(x.Switch,"errorDisabledColor",ae(x.error.main,.62)),E(x.Switch,"infoDisabledColor",ae(x.info.main,.62)),E(x.Switch,"successDisabledColor",ae(x.success.main,.62)),E(x.Switch,"warningDisabledColor",ae(x.warning.main,.62)),E(x.TableCell,"border",ae(Xa(x.divider,1),.88)),E(x.Tooltip,"bg",Xa(x.grey[700],.92))}if(x.mode==="dark"){E(x.Alert,"errorColor",ae(x.error.light,.6)),E(x.Alert,"infoColor",ae(x.info.light,.6)),E(x.Alert,"successColor",ae(x.success.light,.6)),E(x.Alert,"warningColor",ae(x.warning.light,.6)),E(x.Alert,"errorFilledBg",_("palette-error-dark")),E(x.Alert,"infoFilledBg",_("palette-info-dark")),E(x.Alert,"successFilledBg",_("palette-success-dark")),E(x.Alert,"warningFilledBg",_("palette-warning-dark")),E(x.Alert,"errorFilledColor",vn(()=>x.getContrastText(x.error.dark))),E(x.Alert,"infoFilledColor",vn(()=>x.getContrastText(x.info.dark))),E(x.Alert,"successFilledColor",vn(()=>x.getContrastText(x.success.dark))),E(x.Alert,"warningFilledColor",vn(()=>x.getContrastText(x.warning.dark))),E(x.Alert,"errorStandardBg",se(x.error.light,.9)),E(x.Alert,"infoStandardBg",se(x.info.light,.9)),E(x.Alert,"successStandardBg",se(x.success.light,.9)),E(x.Alert,"warningStandardBg",se(x.warning.light,.9)),E(x.Alert,"errorIconColor",_("palette-error-main")),E(x.Alert,"infoIconColor",_("palette-info-main")),E(x.Alert,"successIconColor",_("palette-success-main")),E(x.Alert,"warningIconColor",_("palette-warning-main")),E(x.AppBar,"defaultBg",_("palette-grey-900")),E(x.AppBar,"darkBg",_("palette-background-paper")),E(x.AppBar,"darkColor",_("palette-text-primary")),E(x.Avatar,"defaultBg",_("palette-grey-600")),E(x.Button,"inheritContainedBg",_("palette-grey-800")),E(x.Button,"inheritContainedHoverBg",_("palette-grey-700")),E(x.Chip,"defaultBorder",_("palette-grey-700")),E(x.Chip,"defaultAvatarColor",_("palette-grey-300")),E(x.Chip,"defaultIconColor",_("palette-grey-300")),E(x.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),E(x.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),E(x.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),E(x.LinearProgress,"primaryBg",se(x.primary.main,.5)),E(x.LinearProgress,"secondaryBg",se(x.secondary.main,.5)),E(x.LinearProgress,"errorBg",se(x.error.main,.5)),E(x.LinearProgress,"infoBg",se(x.info.main,.5)),E(x.LinearProgress,"successBg",se(x.success.main,.5)),E(x.LinearProgress,"warningBg",se(x.warning.main,.5)),E(x.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.13)`),E(x.Slider,"primaryTrack",se(x.primary.main,.5)),E(x.Slider,"secondaryTrack",se(x.secondary.main,.5)),E(x.Slider,"errorTrack",se(x.error.main,.5)),E(x.Slider,"infoTrack",se(x.info.main,.5)),E(x.Slider,"successTrack",se(x.success.main,.5)),E(x.Slider,"warningTrack",se(x.warning.main,.5));const R=Za(x.background.default,.98);E(x.SnackbarContent,"bg",R),E(x.SnackbarContent,"color",vn(()=>x.getContrastText(R))),E(x.SpeedDialAction,"fabHoverBg",Za(x.background.paper,.15)),E(x.StepConnector,"border",_("palette-grey-600")),E(x.StepContent,"border",_("palette-grey-600")),E(x.Switch,"defaultColor",_("palette-grey-300")),E(x.Switch,"defaultDisabledColor",_("palette-grey-600")),E(x.Switch,"primaryDisabledColor",se(x.primary.main,.55)),E(x.Switch,"secondaryDisabledColor",se(x.secondary.main,.55)),E(x.Switch,"errorDisabledColor",se(x.error.main,.55)),E(x.Switch,"infoDisabledColor",se(x.info.main,.55)),E(x.Switch,"successDisabledColor",se(x.success.main,.55)),E(x.Switch,"warningDisabledColor",se(x.warning.main,.55)),E(x.TableCell,"border",se(Xa(x.divider,1),.68)),E(x.Tooltip,"bg",Xa(x.grey[700],.92))}Fn(x.background,"default"),Fn(x.background,"paper"),Fn(x.common,"background"),Fn(x.common,"onBackground"),Fn(x,"divider"),Object.keys(x).forEach(R=>{const F=x[R];F&&typeof F=="object"&&(F.main&&E(x[R],"mainChannel",ys(vs(F.main))),F.light&&E(x[R],"lightChannel",ys(vs(F.light))),F.dark&&E(x[R],"darkChannel",ys(vs(F.dark))),F.contrastText&&E(x[R],"contrastTextChannel",ys(vs(F.contrastText))),R==="text"&&(Fn(x[R],"primary"),Fn(x[R],"secondary")),R==="action"&&(F.active&&Fn(x[R],"active"),F.selected&&Fn(x[R],"selected")))})}),w=t.reduce((z,x)=>ct(z,x),w);const S={prefix:o,disableCssColorScheme:r,shouldSkipGeneratingVar:s,getSelector:vE(w)},{vars:C,generateThemeVars:T,generateStyleSheets:M}=zM(w,S);return w.vars=C,Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([z,x])=>{w[z]=x}),w.generateThemeVars=T,w.generateStyleSheets=M,w.generateSpacing=function(){return pw(c.spacing,ru(this))},w.getColorSchemeSelector=LM(a),w.spacing=w.generateSpacing(),w.shouldSkipGeneratingVar=s,w.unstable_sxConfig={...xa,...c==null?void 0:c.unstable_sxConfig},w.unstable_sx=function(x){return Mi({sx:x,theme:this})},w.toRuntimeSource=Lw,w}function ey(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Tp({...n===!0?{}:n.palette,mode:t})})}function hu(e={},...t){const{palette:n,cssVariables:i=!1,colorSchemes:r=n?void 0:{light:!0},defaultColorScheme:o=n==null?void 0:n.mode,...s}=e,a=o||"light",l=r==null?void 0:r[a],c={...r,...n?{[a]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(i===!1){if(!("colorSchemes"in e))return Ld(e,...t);let u=n;"palette"in e||c[a]&&(c[a]!==!0?u=c[a].palette:a==="dark"&&(u={mode:"dark"}));const f=Ld({...e,palette:u},...t);return f.defaultColorScheme=a,f.colorSchemes=c,f.palette.mode==="light"&&(f.colorSchemes.light={...c.light!==!0&&c.light,palette:f.palette},ey(f,"dark",c.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:f.palette},ey(f,"light",c.light)),f}return!n&&!("light"in c)&&a==="light"&&(c.light=!0),SE({...s,colorSchemes:c,defaultColorScheme:a,...typeof i!="boolean"&&i},...t)}const Mp=hu();function Ep(){const e=uu(Mp);return e[un]||e}function CE(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const kE=e=>CE(e)&&e!=="classes",mn=xw({themeId:un,defaultTheme:Mp,rootShouldForwardProp:kE});function ty({theme:e,...t}){const n=un in e?e[un]:void 0;return P.jsx(_w,{...t,themeId:n?un:void 0,theme:n||e})}const el={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:PE,useColorScheme:_F,getInitColorSchemeScript:RF}=_M({themeId:un,theme:()=>hu({cssVariables:!0}),colorSchemeStorageKey:el.colorSchemeStorageKey,modeStorageKey:el.modeStorageKey,defaultColorScheme:{light:el.defaultLightColorScheme,dark:el.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:zw(e.palette,e.typography)};return t.unstable_sx=function(i){return Mi({sx:i,theme:this})},t}}),TE=PE;function ME({theme:e,...t}){return typeof e=="function"?P.jsx(ty,{theme:e,...t}):"colorSchemes"in(un in e?e[un]:e)?P.jsx(TE,{theme:e,...t}):P.jsx(ty,{theme:e,...t})}function EE(e){return P.jsx(UT,{...e,defaultTheme:Mp,themeId:un})}function $w(e){return function(n){return P.jsx(EE,{styles:typeof e=="function"?i=>e({theme:i,...n}):e})}}function _E(){return fu}function zn(e){return SM(e)}const Dd=typeof $w({})=="function",RE=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),AE=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Fw=(e,t=!1)=>{var o,s;const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([a,l])=>{var u,f;const c=e.getColorSchemeSelector(a);c.startsWith("@")?n[c]={":root":{colorScheme:(u=l.palette)==null?void 0:u.mode}}:n[c.replace(/\s*&/,"")]={colorScheme:(f=l.palette)==null?void 0:f.mode}});let i={html:RE(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...AE(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const r=(s=(o=e.components)==null?void 0:o.MuiCssBaseline)==null?void 0:s.styleOverrides;return r&&(i=[i,r]),i},_l="mui-ecs",OE=e=>{const t=Fw(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${_l})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([i,r])=>{var s,a;const o=e.getColorSchemeSelector(i);o.startsWith("@")?n[o]={[`:root:not(:has(.${_l}))`]:{colorScheme:(s=r.palette)==null?void 0:s.mode}}:n[o.replace(/\s*&/,"")]={[`&:not(:has(.${_l}))`]:{colorScheme:(a=r.palette)==null?void 0:a.mode}}}),t},zE=$w(Dd?({theme:e,enableColorScheme:t})=>Fw(e,t):({theme:e})=>OE(e));function LE(e){const t=zn({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:i=!1}=t;return P.jsxs(k.Fragment,{children:[Dd&&P.jsx(zE,{enableColorScheme:i}),!Dd&&!i&&P.jsx("span",{className:_l,style:{display:"none"}}),n]})}/** - * @remix-run/router v1.21.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function uc(){return uc=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function DE(){return Math.random().toString(36).substr(2,8)}function iy(e,t){return{usr:e.state,key:e.key,idx:t}}function $d(e,t,n,i){return n===void 0&&(n=null),uc({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Vw(t):t,{state:n,key:t&&t.key||i||DE()})}function Nw(e){let{pathname:t="/",search:n="",hash:i=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function Vw(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}function $E(e,t,n,i){i===void 0&&(i={});let{window:r=document.defaultView,v5Compat:o=!1}=i,s=r.history,a=ir.Pop,l=null,c=u();c==null&&(c=0,s.replaceState(uc({},s.state,{idx:c}),""));function u(){return(s.state||{idx:null}).idx}function f(){a=ir.Pop;let b=u(),m=b==null?null:b-c;c=b,l&&l({action:a,location:h.location,delta:m})}function d(b,m){a=ir.Push;let g=$d(h.location,b,m);c=u()+1;let v=iy(g,c),w=h.createHref(g);try{s.pushState(v,"",w)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;r.location.assign(w)}o&&l&&l({action:a,location:h.location,delta:1})}function p(b,m){a=ir.Replace;let g=$d(h.location,b,m);c=u();let v=iy(g,c),w=h.createHref(g);s.replaceState(v,"",w),o&&l&&l({action:a,location:h.location,delta:0})}function y(b){let m=r.location.origin!=="null"?r.location.origin:r.location.href,g=typeof b=="string"?b:Nw(b);return g=g.replace(/ $/,"%20"),jw(m,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,m)}let h={get action(){return a},get location(){return e(r,s)},listen(b){if(l)throw new Error("A history only accepts one active listener");return r.addEventListener(ny,f),l=b,()=>{r.removeEventListener(ny,f),l=null}},createHref(b){return t(r,b)},createURL:y,encodeLocation(b){let m=y(b);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:d,replace:p,go(b){return s.go(b)}};return h}var ry;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ry||(ry={}));function FE(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&i!=="/"?null:e.slice(n)||"/"}const Bw=["post","put","patch","delete"];new Set(Bw);const jE=["get",...Bw];new Set(jE);/** - * React Router v6.28.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Fd(){return Fd=Object.assign?Object.assign.bind():function(e){for(var t=1;tBE(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+n+"."));function UE(e,t){e!=null&&e.v7_startTransition||sy("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),!(e!=null&&e.v7_relativeSplatPath)&&!t&&sy("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function WE(e){let{basename:t="/",children:n=null,location:i,navigationType:r=ir.Pop,navigator:o,static:s=!1,future:a}=e;VE()&&jw(!1);let l=t.replace(/^\/*/,"/"),c=k.useMemo(()=>({basename:l,navigator:o,static:s,future:Fd({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof i=="string"&&(i=Vw(i));let{pathname:u="/",search:f="",hash:d="",state:p=null,key:y="default"}=i,h=k.useMemo(()=>{let b=FE(u,l);return b==null?null:{location:{pathname:b,search:f,hash:d,state:p,key:y},navigationType:r}},[l,u,f,d,p,y,r]);return h==null?null:k.createElement(NE.Provider,{value:c},k.createElement(Uw.Provider,{children:n,value:h}))}new Promise(()=>{});/** - * React Router DOM v6.28.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */const HE="6";try{window.__reactRouterVersion=HE}catch{}const GE="startTransition",ay=Il[GE];function KE(e){let{basename:t,children:n,future:i,window:r}=e,o=k.useRef();o.current==null&&(o.current=IE({window:r,v5Compat:!0}));let s=o.current,[a,l]=k.useState({action:s.action,location:s.location}),{v7_startTransition:c}=i||{},u=k.useCallback(f=>{c&&ay?ay(()=>l(f)):l(f)},[l,c]);return k.useLayoutEffect(()=>s.listen(u),[s,u]),k.useEffect(()=>UE(i),[i]),k.createElement(WE,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:i})}var ly;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ly||(ly={}));var cy;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(cy||(cy={}));function qE(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...i)=>e(...i);return new Proxy(n,{get:(i,r)=>r==="create"?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}function pu(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const jd=e=>Array.isArray(e);function Ww(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i{t[0][i]=n.get(),t[1][i]=n.getVelocity()}),t}function _p(e,t,n,i){if(typeof t=="function"){const[r,o]=uy(i);t=t(n!==void 0?n:e.custom,r,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[r,o]=uy(i);t=t(n!==void 0?n:e.custom,r,o)}return t}function mu(e,t,n){const i=e.getProps();return _p(i,t,n!==void 0?n:i.custom,e)}const Rp=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ap=["initial",...Rp],ba=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Er=new Set(ba),Kn=e=>e*1e3,qn=e=>e/1e3,QE={type:"spring",stiffness:500,damping:25,restSpeed:10},YE=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),XE={type:"keyframes",duration:.8},ZE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},JE=(e,{keyframes:t})=>t.length>2?XE:Er.has(e)?e.startsWith("scale")?YE(t[1]):QE:ZE;function Op(e,t){return e?e[t]||e.default||e:void 0}const e_={skipAnimations:!1,useManualTiming:!1},t_=e=>e!==null;function gu(e,{repeat:t,repeatType:n="loop"},i){const r=e.filter(t_),o=t&&n!=="loop"&&t%2===1?0:r.length-1;return!o||i===void 0?r[o]:i}const tt=e=>e;function n_(e){let t=new Set,n=new Set,i=!1,r=!1;const o=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(c){o.has(c)&&(l.schedule(c),e()),c(s)}const l={schedule:(c,u=!1,f=!1)=>{const p=f&&i?t:n;return u&&o.add(c),p.has(c)||p.add(c),c},cancel:c=>{n.delete(c),o.delete(c)},process:c=>{if(s=c,i){r=!0;return}i=!0,[t,n]=[n,t],n.clear(),t.forEach(a),i=!1,r&&(r=!1,l.process(c))}};return l}const tl=["read","resolveKeyframes","update","preRender","render","postRender"],i_=40;function Hw(e,t){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=tl.reduce((m,g)=>(m[g]=n_(o),m),{}),{read:a,resolveKeyframes:l,update:c,preRender:u,render:f,postRender:d}=s,p=()=>{const m=performance.now();n=!1,r.delta=i?1e3/60:Math.max(Math.min(m-r.timestamp,i_),1),r.timestamp=m,r.isProcessing=!0,a.process(r),l.process(r),c.process(r),u.process(r),f.process(r),d.process(r),r.isProcessing=!1,n&&t&&(i=!1,e(p))},y=()=>{n=!0,i=!0,r.isProcessing||e(p)};return{schedule:tl.reduce((m,g)=>{const v=s[g];return m[g]=(w,S=!1,C=!1)=>(n||y(),v.schedule(w,S,C)),m},{}),cancel:m=>{for(let g=0;g(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,r_=1e-7,o_=12;function s_(e,t,n,i,r){let o,s,a=0;do s=t+(n-t)/2,o=Gw(s,i,r)-e,o>0?n=s:t=s;while(Math.abs(o)>r_&&++as_(o,0,1,e,n);return o=>o===0||o===1?o:Gw(r(o),t,i)}const Kw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,qw=e=>t=>1-e(1-t),Qw=Sa(.33,1.53,.69,.99),zp=qw(Qw),Yw=Kw(zp),Xw=e=>(e*=2)<1?.5*zp(e):.5*(2-Math.pow(2,-10*(e-1))),Lp=e=>1-Math.sin(Math.acos(e)),Zw=qw(Lp),Jw=Kw(Lp),eb=e=>/^0[^.\s]+$/u.test(e);function a_(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||eb(e):!0}let Nd=tt;const tb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),nb=e=>t=>typeof t=="string"&&t.startsWith(e),ib=nb("--"),l_=nb("var(--"),Ip=e=>l_(e)?c_.test(e.split("/*")[0].trim()):!1,c_=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,u_=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function f_(e){const t=u_.exec(e);if(!t)return[,];const[,n,i,r]=t;return[`--${n??i}`,r]}function rb(e,t,n=1){const[i,r]=f_(e);if(!i)return;const o=window.getComputedStyle(t).getPropertyValue(i);if(o){const s=o.trim();return tb(s)?parseFloat(s):s}return Ip(r)?rb(r,t,n+1):r}const Ri=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},ra={...Uo,transform:e=>Ri(0,1,e)},nl={...Uo,default:1},Ca=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ai=Ca("deg"),An=Ca("%"),V=Ca("px"),d_=Ca("vh"),h_=Ca("vw"),fy={...An,parse:e=>An.parse(e)/100,transform:e=>An.transform(e*100)},p_=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),dy=e=>e===Uo||e===V,hy=(e,t)=>parseFloat(e.split(", ")[t]),py=(e,t)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/u);if(r)return hy(r[1],t);{const o=i.match(/^matrix\((.+)\)$/u);return o?hy(o[1],e):0}},m_=new Set(["x","y","z"]),g_=ba.filter(e=>!m_.has(e));function y_(e){const t=[];return g_.forEach(n=>{const i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}const Ao={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:py(4,13),y:py(5,14)};Ao.translateX=Ao.x;Ao.translateY=Ao.y;const ob=e=>t=>t.test(e),v_={test:e=>e==="auto",parse:e=>e},sb=[Uo,V,An,ai,h_,d_,v_],my=e=>sb.find(ob(e)),hr=new Set;let Vd=!1,Bd=!1;function ab(){if(Bd){const e=Array.from(hr).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),n=new Map;t.forEach(i=>{const r=y_(i);r.length&&(n.set(i,r),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const r=n.get(i);r&&r.forEach(([o,s])=>{var a;(a=i.getValue(o))===null||a===void 0||a.set(s)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Bd=!1,Vd=!1,hr.forEach(e=>e.complete()),hr.clear()}function lb(){hr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Bd=!0)})}function x_(){lb(),ab()}class Dp{constructor(t,n,i,r,o,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=i,this.motionValue=r,this.element=o,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(hr.add(this),Vd||(Vd=!0,oe.read(lb),oe.resolveKeyframes(ab))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:i,motionValue:r}=this;for(let o=0;oMath.round(e*1e5)/1e5,$p=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function w_(e){return e==null}const b_=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Fp=(e,t)=>n=>!!(typeof n=="string"&&b_.test(n)&&n.startsWith(e)||t&&!w_(n)&&Object.prototype.hasOwnProperty.call(n,t)),cb=(e,t,n)=>i=>{if(typeof i!="string")return i;const[r,o,s,a]=i.match($p);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},S_=e=>Ri(0,255,e),af={...Uo,transform:e=>Math.round(S_(e))},rr={test:Fp("rgb","red"),parse:cb("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+af.transform(e)+", "+af.transform(t)+", "+af.transform(n)+", "+Os(ra.transform(i))+")"};function C_(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const Ud={test:Fp("#"),parse:C_,transform:rr.transform},Jr={test:Fp("hsl","hue"),parse:cb("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+An.transform(Os(t))+", "+An.transform(Os(n))+", "+Os(ra.transform(i))+")"},Xe={test:e=>rr.test(e)||Ud.test(e)||Jr.test(e),parse:e=>rr.test(e)?rr.parse(e):Jr.test(e)?Jr.parse(e):Ud.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?rr.transform(e):Jr.transform(e)},k_=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function P_(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match($p))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(k_))===null||n===void 0?void 0:n.length)||0)>0}const ub="number",fb="color",T_="var",M_="var(",gy="${}",E_=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function oa(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},r=[];let o=0;const a=t.replace(E_,l=>(Xe.test(l)?(i.color.push(o),r.push(fb),n.push(Xe.parse(l))):l.startsWith(M_)?(i.var.push(o),r.push(T_),n.push(l)):(i.number.push(o),r.push(ub),n.push(parseFloat(l))),++o,gy)).split(gy);return{values:n,split:a,indexes:i,types:r}}function db(e){return oa(e).values}function hb(e){const{split:t,types:n}=oa(e),i=t.length;return r=>{let o="";for(let s=0;stypeof e=="number"?0:e;function R_(e){const t=db(e);return hb(e)(t.map(__))}const Ai={test:P_,parse:db,createTransformer:hb,getAnimatableNone:R_},A_=new Set(["brightness","contrast","saturate","opacity"]);function O_(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=n.match($p)||[];if(!i)return e;const r=n.replace(i,"");let o=A_.has(t)?1:0;return i!==n&&(o*=100),t+"("+o+r+")"}const z_=/\b([a-z-]*)\(.*?\)/gu,Wd={...Ai,getAnimatableNone:e=>{const t=e.match(z_);return t?t.map(O_).join(" "):e}},L_={borderWidth:V,borderTopWidth:V,borderRightWidth:V,borderBottomWidth:V,borderLeftWidth:V,borderRadius:V,radius:V,borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomRightRadius:V,borderBottomLeftRadius:V,width:V,maxWidth:V,height:V,maxHeight:V,top:V,right:V,bottom:V,left:V,padding:V,paddingTop:V,paddingRight:V,paddingBottom:V,paddingLeft:V,margin:V,marginTop:V,marginRight:V,marginBottom:V,marginLeft:V,backgroundPositionX:V,backgroundPositionY:V},I_={rotate:ai,rotateX:ai,rotateY:ai,rotateZ:ai,scale:nl,scaleX:nl,scaleY:nl,scaleZ:nl,skew:ai,skewX:ai,skewY:ai,distance:V,translateX:V,translateY:V,translateZ:V,x:V,y:V,z:V,perspective:V,transformPerspective:V,opacity:ra,originX:fy,originY:fy,originZ:V},yy={...Uo,transform:Math.round},jp={...L_,...I_,zIndex:yy,size:V,fillOpacity:ra,strokeOpacity:ra,numOctaves:yy},D_={...jp,color:Xe,backgroundColor:Xe,outlineColor:Xe,fill:Xe,stroke:Xe,borderColor:Xe,borderTopColor:Xe,borderRightColor:Xe,borderBottomColor:Xe,borderLeftColor:Xe,filter:Wd,WebkitFilter:Wd},Np=e=>D_[e];function pb(e,t){let n=Np(e);return n!==Wd&&(n=Ai),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const $_=new Set(["auto","none","0"]);function F_(e,t,n){let i=0,r;for(;i{n.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function Vp(e){return typeof e=="function"}let Rl;function j_(){Rl=void 0}const On={now:()=>(Rl===void 0&&On.set(Ue.isProcessing||e_.useManualTiming?Ue.timestamp:performance.now()),Rl),set:e=>{Rl=e,queueMicrotask(j_)}},vy=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ai.test(e)||e==="0")&&!e.startsWith("url("));function N_(e){const t=e[0];if(e.length===1)return!0;for(let n=0;nB_?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&x_(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=On.now(),this.hasAttemptedResolve=!0;const{name:i,type:r,velocity:o,delay:s,onComplete:a,onUpdate:l,isGenerator:c}=this.options;if(!c&&!V_(t,i,r,o))if(s)this.options.duration=0;else{l==null||l(gu(t,this.options,n)),a==null||a(),this.resolveFinishedPromise();return}const u=this.initPlayback(t,n);u!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...u},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}function yb(e,t){return t?e*(1e3/t):0}const U_=5;function vb(e,t,n){const i=Math.max(t-U_,0);return yb(n-e(i),t-i)}const lf=.001,W_=.01,H_=10,G_=.05,K_=1;function q_({duration:e=800,bounce:t=.25,velocity:n=0,mass:i=1}){let r,o,s=1-t;s=Ri(G_,K_,s),e=Ri(W_,H_,qn(e)),s<1?(r=c=>{const u=c*s,f=u*e,d=u-n,p=Hd(c,s),y=Math.exp(-f);return lf-d/p*y},o=c=>{const f=c*s*e,d=f*n+n,p=Math.pow(s,2)*Math.pow(c,2)*e,y=Math.exp(-f),h=Hd(Math.pow(c,2),s);return(-r(c)+lf>0?-1:1)*((d-p)*y)/h}):(r=c=>{const u=Math.exp(-c*e),f=(c-n)*e+1;return-lf+u*f},o=c=>{const u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});const a=5/e,l=Y_(r,o,a);if(e=Kn(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*i;return{stiffness:c,damping:s*2*Math.sqrt(i*c),duration:e}}}const Q_=12;function Y_(e,t,n){let i=n;for(let r=1;re[n]!==void 0)}function J_(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!xy(e,Z_)&&xy(e,X_)){const n=q_(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function xb({keyframes:e,restDelta:t,restSpeed:n,...i}){const r=e[0],o=e[e.length-1],s={done:!1,value:r},{stiffness:a,damping:l,mass:c,duration:u,velocity:f,isResolvedFromDuration:d}=J_({...i,velocity:-qn(i.velocity||0)}),p=f||0,y=l/(2*Math.sqrt(a*c)),h=o-r,b=qn(Math.sqrt(a/c)),m=Math.abs(h)<5;n||(n=m?.01:2),t||(t=m?.005:.5);let g;if(y<1){const v=Hd(b,y);g=w=>{const S=Math.exp(-y*b*w);return o-S*((p+y*b*h)/v*Math.sin(v*w)+h*Math.cos(v*w))}}else if(y===1)g=v=>o-Math.exp(-b*v)*(h+(p+b*h)*v);else{const v=b*Math.sqrt(y*y-1);g=w=>{const S=Math.exp(-y*b*w),C=Math.min(v*w,300);return o-S*((p+y*b*h)*Math.sinh(C)+v*h*Math.cosh(C))/v}}return{calculatedDuration:d&&u||null,next:v=>{const w=g(v);if(d)s.done=v>=u;else{let S=0;y<1&&(S=v===0?Kn(p):vb(g,v,w));const C=Math.abs(S)<=n,T=Math.abs(o-w)<=t;s.done=C&&T}return s.value=s.done?o:w,s}}}function wy({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const f=e[0],d={done:!1,value:f},p=M=>a!==void 0&&Ml,y=M=>a===void 0?l:l===void 0||Math.abs(a-M)-h*Math.exp(-M/i),v=M=>m+g(M),w=M=>{const z=g(M),x=v(M);d.done=Math.abs(z)<=c,d.value=d.done?m:x};let S,C;const T=M=>{p(d.value)&&(S=M,C=xb({keyframes:[d.value,y(d.value)],velocity:vb(v,M,d.value),damping:r,stiffness:o,restDelta:c,restSpeed:u}))};return T(0),{calculatedDuration:null,next:M=>{let z=!1;return!C&&S===void 0&&(z=!0,w(M),T(M)),S!==void 0&&M>=S?C.next(M-S):(!z&&w(M),d)}}}const eR=Sa(.42,0,1,1),tR=Sa(0,0,.58,1),wb=Sa(.42,0,.58,1),nR=e=>Array.isArray(e)&&typeof e[0]!="number",Bp=e=>Array.isArray(e)&&typeof e[0]=="number",by={linear:tt,easeIn:eR,easeInOut:wb,easeOut:tR,circIn:Lp,circInOut:Jw,circOut:Zw,backIn:zp,backInOut:Yw,backOut:Qw,anticipate:Xw},Sy=e=>{if(Bp(e)){Nd(e.length===4);const[t,n,i,r]=e;return Sa(t,n,i,r)}else if(typeof e=="string")return Nd(by[e]!==void 0),by[e];return e},iR=(e,t)=>n=>t(e(n)),Qn=(...e)=>e.reduce(iR),Oo=(e,t,n)=>{const i=t-e;return i===0?1:(n-e)/i},ye=(e,t,n)=>e+(t-e)*n;function cf(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function rR({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let r=0,o=0,s=0;if(!t)r=o=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=cf(l,a,e+1/3),o=cf(l,a,e),s=cf(l,a,e-1/3)}return{red:Math.round(r*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:i}}function fc(e,t){return n=>n>0?t:e}const uf=(e,t,n)=>{const i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},oR=[Ud,rr,Jr],sR=e=>oR.find(t=>t.test(e));function Cy(e){const t=sR(e);if(!t)return!1;let n=t.parse(e);return t===Jr&&(n=rR(n)),n}const ky=(e,t)=>{const n=Cy(e),i=Cy(t);if(!n||!i)return fc(e,t);const r={...n};return o=>(r.red=uf(n.red,i.red,o),r.green=uf(n.green,i.green,o),r.blue=uf(n.blue,i.blue,o),r.alpha=ye(n.alpha,i.alpha,o),rr.transform(r))},Gd=new Set(["none","hidden"]);function aR(e,t){return Gd.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function lR(e,t){return n=>ye(e,t,n)}function Up(e){return typeof e=="number"?lR:typeof e=="string"?Ip(e)?fc:Xe.test(e)?ky:fR:Array.isArray(e)?bb:typeof e=="object"?Xe.test(e)?ky:cR:fc}function bb(e,t){const n=[...e],i=n.length,r=e.map((o,s)=>Up(o)(o,t[s]));return o=>{for(let s=0;s{for(const o in i)n[o]=i[o](r);return n}}function uR(e,t){var n;const i=[],r={color:0,var:0,number:0};for(let o=0;o{const n=Ai.createTransformer(t),i=oa(e),r=oa(t);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?Gd.has(e)&&!r.values.length||Gd.has(t)&&!i.values.length?aR(e,t):Qn(bb(uR(i,r),r.values),n):fc(e,t)};function Sb(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ye(e,t,n):Up(e)(e,t)}function dR(e,t,n){const i=[],r=n||Sb,o=e.length-1;for(let s=0;st[0];if(o===2&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=dR(t,i,r),a=s.length,l=c=>{let u=0;if(a>1)for(;ul(Ri(e[0],e[o-1],c)):l}function pR(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const r=Oo(0,t,i);e.push(ye(n,1,r))}}function mR(e){const t=[0];return pR(t,e.length-1),t}function gR(e,t){return e.map(n=>n*t)}function yR(e,t){return e.map(()=>t||wb).splice(0,e.length-1)}function dc({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const r=nR(i)?i.map(Sy):Sy(i),o={done:!1,value:t[0]},s=gR(n&&n.length===t.length?n:mR(t),e),a=hR(s,t,{ease:Array.isArray(r)?r:yR(t,r)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const Py=2e4;function vR(e){let t=0;const n=50;let i=e.next(t);for(;!i.done&&t=Py?1/0:t}const xR=e=>{const t=({timestamp:n})=>e(n);return{start:()=>oe.update(t,!0),stop:()=>_i(t),now:()=>Ue.isProcessing?Ue.timestamp:On.now()}},wR={decay:wy,inertia:wy,tween:dc,keyframes:dc,spring:xb},bR=e=>e/100;class Wp extends gb{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:i,element:r,keyframes:o}=this.options,s=(r==null?void 0:r.KeyframeResolver)||Dp,a=(l,c)=>this.onKeyframesResolved(l,c);this.resolver=new s(o,a,n,i,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:o,velocity:s=0}=this.options,a=Vp(n)?n:wR[n]||dc;let l,c;a!==dc&&typeof t[0]!="number"&&(l=Qn(bR,Sb(t[0],t[1])),t=[0,100]);const u=a({...this.options,keyframes:t});o==="mirror"&&(c=a({...this.options,keyframes:[...t].reverse(),velocity:-s})),u.calculatedDuration===null&&(u.calculatedDuration=vR(u));const{calculatedDuration:f}=u,d=f+r,p=d*(i+1)-r;return{generator:u,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:f,resolvedDuration:d,totalDuration:p}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:i}=this;if(!i){const{keyframes:M}=this.options;return{done:!0,value:M[M.length-1]}}const{finalKeyframe:r,generator:o,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:c,totalDuration:u,resolvedDuration:f}=i;if(this.startTime===null)return o.next(0);const{delay:d,repeat:p,repeatType:y,repeatDelay:h,onUpdate:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const m=this.currentTime-d*(this.speed>=0?1:-1),g=this.speed>=0?m<0:m>u;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let v=this.currentTime,w=o;if(p){const M=Math.min(this.currentTime,u)/f;let z=Math.floor(M),x=M%1;!x&&M>=1&&(x=1),x===1&&z--,z=Math.min(z,p+1),!!(z%2)&&(y==="reverse"?(x=1-x,h&&(x-=h/f)):y==="mirror"&&(w=s)),v=Ri(0,1,x)*f}const S=g?{done:!1,value:l[0]}:w.next(v);a&&(S.value=a(S.value));let{done:C}=S;!g&&c!==null&&(C=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return T&&r!==void 0&&(S.value=gu(l,this.options,r)),b&&b(S.value),T&&this.finish(),S}get duration(){const{resolved:t}=this;return t?qn(t.calculatedDuration):0}get time(){return qn(this.currentTime)}set time(t){t=Kn(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=qn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=xR,onPlay:n,startTime:i}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),n&&n();const r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=r):this.startTime=i??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const SR=new Set(["opacity","clipPath","filter","transform"]),CR=10,kR=(e,t)=>{let n="";const i=Math.max(Math.round(t/CR),2);for(let r=0;r(t===void 0&&(t=e()),t)}const PR={linearEasing:void 0};function TR(e,t){const n=Hp(e);return()=>{var i;return(i=PR[t])!==null&&i!==void 0?i:n()}}const hc=TR(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function Cb(e){return!!(typeof e=="function"&&hc()||!e||typeof e=="string"&&(e in Kd||hc())||Bp(e)||Array.isArray(e)&&e.every(Cb))}const xs=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,Kd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:xs([0,.65,.55,1]),circOut:xs([.55,0,1,.45]),backIn:xs([.31,.01,.66,-.59]),backOut:xs([.33,1.53,.69,.99])};function kb(e,t){if(e)return typeof e=="function"&&hc()?kR(e,t):Bp(e)?xs(e):Array.isArray(e)?e.map(n=>kb(n,t)||Kd.easeOut):Kd[e]}function MR(e,t,n,{delay:i=0,duration:r=300,repeat:o=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=kb(a,r);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:i,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}function Ty(e,t){e.timeline=t,e.onfinish=null}const ER=Hp(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),pc=10,_R=2e4;function RR(e){return Vp(e.type)||e.type==="spring"||!Cb(e.ease)}function AR(e,t){const n=new Wp({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:e[0]};const r=[];let o=0;for(;!i.done&&o<_R;)i=n.sample(o),r.push(i.value),o+=pc;return{times:void 0,keyframes:r,duration:o-pc,ease:"linear"}}const Pb={anticipate:Xw,backInOut:Yw,circInOut:Jw};function OR(e){return e in Pb}class My extends gb{constructor(t){super(t);const{name:n,motionValue:i,element:r,keyframes:o}=this.options;this.resolver=new mb(o,(s,a)=>this.onKeyframesResolved(s,a),n,i,r),this.resolver.scheduleResolve()}initPlayback(t,n){var i;let{duration:r=300,times:o,ease:s,type:a,motionValue:l,name:c,startTime:u}=this.options;if(!(!((i=l.owner)===null||i===void 0)&&i.current))return!1;if(typeof s=="string"&&hc()&&OR(s)&&(s=Pb[s]),RR(this.options)){const{onComplete:d,onUpdate:p,motionValue:y,element:h,...b}=this.options,m=AR(t,b);t=m.keyframes,t.length===1&&(t[1]=t[0]),r=m.duration,o=m.times,s=m.ease,a="keyframes"}const f=MR(l.owner.current,c,t,{...this.options,duration:r,times:o,ease:s});return f.startTime=u??this.calcStartTime(),this.pendingTimeline?(Ty(f,this.pendingTimeline),this.pendingTimeline=void 0):f.onfinish=()=>{const{onComplete:d}=this.options;l.set(gu(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:f,duration:r,times:o,type:a,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return qn(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return qn(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.currentTime=Kn(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return tt;const{animation:i}=n;Ty(i,t)}return tt}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:i,duration:r,type:o,ease:s,times:a}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:c,onUpdate:u,onComplete:f,element:d,...p}=this.options,y=new Wp({...p,keyframes:i,duration:r,type:o,ease:s,times:a,isGenerator:!0}),h=Kn(this.time);c.setWithVelocity(y.sample(h-pc).value,y.sample(h).value,pc)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:i,repeatDelay:r,repeatType:o,damping:s,type:a}=t;return ER()&&i&&SR.has(i)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!r&&o!=="mirror"&&s!==0&&a!=="inertia"}}const zR=Hp(()=>window.ScrollTimeline!==void 0);class LR{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,n){return Promise.all(this.animations).then(t).catch(n)}getAll(t){return this.animations[0][t]}setAll(t,n){for(let i=0;izR()&&r.attachTimeline?r.attachTimeline(t):n(r));return()=>{i.forEach((r,o)=>{r&&r(),this.animations[o].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;nn[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function IR({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}const Gp=(e,t,n,i={},r,o)=>s=>{const a=Op(i,e)||{},l=a.delay||i.delay||0;let{elapsed:c=0}=i;c=c-Kn(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:d=>{t.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:r};IR(a)||(u={...u,...JE(e,u)}),u.duration&&(u.duration=Kn(u.duration)),u.repeatDelay&&(u.repeatDelay=Kn(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let f=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(f=!0)),f&&!o&&t.get()!==void 0){const d=gu(u.keyframes,a);if(d!==void 0)return oe.update(()=>{u.onUpdate(d),u.onComplete()}),new LR([])}return!o&&My.supports(u)?new My(u):new Wp(u)},DR=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),$R=e=>jd(e)?e[e.length-1]||0:e;function Kp(e,t){e.indexOf(t)===-1&&e.push(t)}function qp(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Qp{constructor(){this.subscriptions=[]}add(t){return Kp(this.subscriptions,t),()=>qp(this.subscriptions,t)}notify(t,n,i){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,n,i);else for(let o=0;o!isNaN(parseFloat(e));class jR{constructor(t,n={}){this.version="11.11.17",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,r=!0)=>{const o=On.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=On.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=FR(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Qp);const i=this.events[t].add(n);return t==="change"?()=>{i(),oe.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=On.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Ey)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Ey);return yb(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function sa(e,t){return new jR(e,t)}function NR(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,sa(n))}function VR(e,t){const n=mu(e,t);let{transitionEnd:i={},transition:r={},...o}=n||{};o={...o,...i};for(const s in o){const a=$R(o[s]);NR(e,s,a)}}const Yp=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),BR="framerAppearId",Tb="data-"+Yp(BR);function Mb(e){return e.props[Tb]}const Je=e=>!!(e&&e.getVelocity);function UR(e){return!!(Je(e)&&e.add)}function qd(e,t){const n=e.getValue("willChange");if(UR(n))return n.add(t)}function WR({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,i}function Eb(e,t,{delay:n=0,transitionOverride:i,type:r}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;i&&(s=i);const c=[],u=r&&e.animationState&&e.animationState.getState()[r];for(const f in l){const d=e.getValue(f,(o=e.latestValues[f])!==null&&o!==void 0?o:null),p=l[f];if(p===void 0||u&&WR(u,f))continue;const y={delay:n,...Op(s||{},f)};let h=!1;if(window.MotionHandoffAnimation){const m=Mb(e);if(m){const g=window.MotionHandoffAnimation(m,f,oe);g!==null&&(y.startTime=g,h=!0)}}qd(e,f),d.start(Gp(f,d,p,e.shouldReduceMotion&&Er.has(f)?{type:!1}:y,e,h));const b=d.animation;b&&c.push(b)}return a&&Promise.all(c).then(()=>{oe.update(()=>{a&&VR(e,a)})}),c}function Qd(e,t,n={}){var i;const r=mu(e,t,n.type==="exit"?(i=e.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const s=r?()=>Promise.all(Eb(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:f,staggerDirection:d}=o;return HR(e,t,u+c,f,d,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[c,u]=l==="beforeChildren"?[s,a]:[a,s];return c().then(()=>u())}else return Promise.all([s(),a(n.delay)])}function HR(e,t,n=0,i=0,r=1,o){const s=[],a=(e.variantChildren.size-1)*i,l=r===1?(c=0)=>c*i:(c=0)=>a-c*i;return Array.from(e.variantChildren).sort(GR).forEach((c,u)=>{c.notify("AnimationStart",t),s.push(Qd(c,t,{...o,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function GR(e,t){return e.sortNodePosition(t)}function KR(e,t,n={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const r=t.map(o=>Qd(e,o,n));i=Promise.all(r)}else if(typeof t=="string")i=Qd(e,t,n);else{const r=typeof t=="function"?mu(e,t,n.custom):t;i=Promise.all(Eb(e,r,n))}return i.then(()=>{e.notify("AnimationComplete",t)})}const qR=Ap.length;function _b(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?_b(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;nPromise.all(t.map(({animation:n,options:i})=>KR(e,n,i)))}function ZR(e){let t=XR(e),n=_y(),i=!0;const r=l=>(c,u)=>{var f;const d=mu(e,u,l==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){const{transition:p,transitionEnd:y,...h}=d;c={...c,...h,...y}}return c};function o(l){t=l(e)}function s(l){const{props:c}=e,u=_b(e.parent)||{},f=[],d=new Set;let p={},y=1/0;for(let b=0;by&&w,z=!1;const x=Array.isArray(v)?v:[v];let _=x.reduce(r(m),{});S===!1&&(_={});const{prevResolvedValues:R={}}=g,F={...R,..._},D=U=>{M=!0,d.has(U)&&(z=!0,d.delete(U)),g.needsAnimating[U]=!0;const O=e.getValue(U);O&&(O.liveStyle=!1)};for(const U in F){const O=_[U],I=R[U];if(p.hasOwnProperty(U))continue;let j=!1;jd(O)&&jd(I)?j=!Ww(O,I):j=O!==I,j?O!=null?D(U):d.add(U):O!==void 0&&d.has(U)?D(U):g.protectedKeys[U]=!0}g.prevProp=v,g.prevResolvedValues=_,g.isActive&&(p={...p,..._}),i&&e.blockInitialAnimation&&(M=!1),M&&(!(C&&T)||z)&&f.push(...x.map(U=>({animation:U,options:{type:m}})))}if(d.size){const b={};d.forEach(m=>{const g=e.getBaseTarget(m),v=e.getValue(m);v&&(v.liveStyle=!0),b[m]=g??null}),f.push({animation:b})}let h=!!f.length;return i&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(h=!1),i=!1,h?t(f):Promise.resolve()}function a(l,c){var u;if(n[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(d=>{var p;return(p=d.animationState)===null||p===void 0?void 0:p.setActive(l,c)}),n[l].isActive=c;const f=s(l);for(const d in n)n[d].protectedKeys={};return f}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n,reset:()=>{n=_y(),i=!0}}}function JR(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Ww(t,e):!1}function Wi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function _y(){return{animate:Wi(!0),whileInView:Wi(),whileHover:Wi(),whileTap:Wi(),whileDrag:Wi(),whileFocus:Wi(),exit:Wi()}}class ji{constructor(t){this.isMounted=!1,this.node=t}update(){}}class eA extends ji{constructor(t){super(t),t.animationState||(t.animationState=ZR(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();pu(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let tA=0;class nA extends ji{constructor(){super(...arguments),this.id=tA++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const r=this.node.animationState.setActive("exit",!t);n&&!t&&r.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const iA={animation:{Feature:eA},exit:{Feature:nA}},Rb=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function yu(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const rA=e=>t=>Rb(t)&&e(t,yu(t));function Wn(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}function Yn(e,t,n,i){return Wn(e,t,rA(n),i)}const Ry=(e,t)=>Math.abs(e-t);function oA(e,t){const n=Ry(e.x,t.x),i=Ry(e.y,t.y);return Math.sqrt(n**2+i**2)}class Ab{constructor(t,n,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=df(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,p=oA(f.offset,{x:0,y:0})>=3;if(!d&&!p)return;const{point:y}=f,{timestamp:h}=Ue;this.history.push({...y,timestamp:h});const{onStart:b,onMove:m}=this.handlers;d||(b&&b(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,f)},this.handlePointerMove=(f,d)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=ff(d,this.transformPagePoint),oe.update(this.updatePoint,!0)},this.handlePointerUp=(f,d)=>{this.end();const{onEnd:p,onSessionEnd:y,resumeAnimation:h}=this.handlers;if(this.dragSnapToOrigin&&h&&h(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=df(f.type==="pointercancel"?this.lastMoveEventInfo:ff(d,this.transformPagePoint),this.history);this.startEvent&&p&&p(f,b),y&&y(f,b)},!Rb(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=i,this.contextWindow=r||window;const s=yu(t),a=ff(s,this.transformPagePoint),{point:l}=a,{timestamp:c}=Ue;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=n;u&&u(t,df(a,this.history)),this.removeListeners=Qn(Yn(this.contextWindow,"pointermove",this.handlePointerMove),Yn(this.contextWindow,"pointerup",this.handlePointerUp),Yn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),_i(this.updatePoint)}}function ff(e,t){return t?{point:t(e.point)}:e}function Ay(e,t){return{x:e.x-t.x,y:e.y-t.y}}function df({point:e},t){return{point:e,delta:Ay(e,Ob(t)),offset:Ay(e,sA(t)),velocity:aA(t,.1)}}function sA(e){return e[0]}function Ob(e){return e[e.length-1]}function aA(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const r=Ob(e);for(;n>=0&&(i=e[n],!(r.timestamp-i.timestamp>Kn(t)));)n--;if(!i)return{x:0,y:0};const o=qn(r.timestamp-i.timestamp);if(o===0)return{x:0,y:0};const s={x:(r.x-i.x)/o,y:(r.y-i.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function zb(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Oy=zb("dragHorizontal"),zy=zb("dragVertical");function Lb(e){let t=!1;if(e==="y")t=zy();else if(e==="x")t=Oy();else{const n=Oy(),i=zy();n&&i?t=()=>{n(),i()}:(n&&n(),i&&i())}return t}function Ib(){const e=Lb(!0);return e?(e(),!1):!0}function eo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const Db=1e-4,lA=1-Db,cA=1+Db,$b=.01,uA=0-$b,fA=0+$b;function zt(e){return e.max-e.min}function dA(e,t,n){return Math.abs(e-t)<=n}function Ly(e,t,n,i=.5){e.origin=i,e.originPoint=ye(t.min,t.max,e.origin),e.scale=zt(n)/zt(t),e.translate=ye(n.min,n.max,e.origin)-e.originPoint,(e.scale>=lA&&e.scale<=cA||isNaN(e.scale))&&(e.scale=1),(e.translate>=uA&&e.translate<=fA||isNaN(e.translate))&&(e.translate=0)}function zs(e,t,n,i){Ly(e.x,t.x,n.x,i?i.originX:void 0),Ly(e.y,t.y,n.y,i?i.originY:void 0)}function Iy(e,t,n){e.min=n.min+t.min,e.max=e.min+zt(t)}function hA(e,t,n){Iy(e.x,t.x,n.x),Iy(e.y,t.y,n.y)}function Dy(e,t,n){e.min=t.min-n.min,e.max=e.min+zt(t)}function Ls(e,t,n){Dy(e.x,t.x,n.x),Dy(e.y,t.y,n.y)}function pA(e,{min:t,max:n},i){return t!==void 0&&en&&(e=i?ye(n,e,i.max):Math.min(e,n)),e}function $y(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function mA(e,{top:t,left:n,bottom:i,right:r}){return{x:$y(e.x,n,r),y:$y(e.y,t,i)}}function Fy(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.mini?n=Oo(t.min,t.max-i,e.min):i>r&&(n=Oo(e.min,e.max-r,t.min)),Ri(0,1,n)}function vA(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Yd=.35;function xA(e=Yd){return e===!1?e=0:e===!0&&(e=Yd),{x:jy(e,"left","right"),y:jy(e,"top","bottom")}}function jy(e,t,n){return{min:Ny(e,t),max:Ny(e,n)}}function Ny(e,t){return typeof e=="number"?e:e[t]||0}const Vy=()=>({translate:0,scale:1,origin:0,originPoint:0}),to=()=>({x:Vy(),y:Vy()}),By=()=>({min:0,max:0}),Te=()=>({x:By(),y:By()});function jt(e){return[e("x"),e("y")]}function Fb({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function wA({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function bA(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function hf(e){return e===void 0||e===1}function Xd({scale:e,scaleX:t,scaleY:n}){return!hf(e)||!hf(t)||!hf(n)}function Xi(e){return Xd(e)||jb(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function jb(e){return Uy(e.x)||Uy(e.y)}function Uy(e){return e&&e!=="0%"}function mc(e,t,n){const i=e-n,r=t*i;return n+r}function Wy(e,t,n,i,r){return r!==void 0&&(e=mc(e,r,i)),mc(e,n,i)+t}function Zd(e,t=0,n=1,i,r){e.min=Wy(e.min,t,n,i,r),e.max=Wy(e.max,t,n,i,r)}function Nb(e,{x:t,y:n}){Zd(e.x,t.translate,t.scale,t.originPoint),Zd(e.y,n.translate,n.scale,n.originPoint)}const Hy=.999999999999,Gy=1.0000000000001;function SA(e,t,n,i=!1){const r=n.length;if(!r)return;t.x=t.y=1;let o,s;for(let a=0;aHy&&(t.x=1),t.yHy&&(t.y=1)}function no(e,t){e.min=e.min+t,e.max=e.max+t}function Ky(e,t,n,i,r=.5){const o=ye(e.min,e.max,r);Zd(e,t,n,o,i)}function io(e,t){Ky(e.x,t.x,t.scaleX,t.scale,t.originX),Ky(e.y,t.y,t.scaleY,t.scale,t.originY)}function Vb(e,t){return Fb(bA(e.getBoundingClientRect(),t))}function CA(e,t,n){const i=Vb(e,n),{scroll:r}=t;return r&&(no(i.x,r.offset.x),no(i.y,r.offset.y)),i}const Bb=({current:e})=>e?e.ownerDocument.defaultView:null,kA=new WeakMap;class PA{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Te(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=u=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(yu(u,"page").point)},o=(u,f)=>{const{drag:d,dragPropagation:p,onDragStart:y}=this.getProps();if(d&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Lb(d),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),jt(b=>{let m=this.getAxisMotionValue(b).get()||0;if(An.test(m)){const{projection:g}=this.visualElement;if(g&&g.layout){const v=g.layout.layoutBox[b];v&&(m=zt(v)*(parseFloat(m)/100))}}this.originPoint[b]=m}),y&&oe.postRender(()=>y(u,f)),qd(this.visualElement,"transform");const{animationState:h}=this.visualElement;h&&h.setActive("whileDrag",!0)},s=(u,f)=>{const{dragPropagation:d,dragDirectionLock:p,onDirectionLock:y,onDrag:h}=this.getProps();if(!d&&!this.openGlobalLock)return;const{offset:b}=f;if(p&&this.currentDirection===null){this.currentDirection=TA(b),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",f.point,b),this.updateAxis("y",f.point,b),this.visualElement.render(),h&&h(u,f)},a=(u,f)=>this.stop(u,f),l=()=>jt(u=>{var f;return this.getAnimationState(u)==="paused"&&((f=this.getAxisMotionValue(u).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new Ab(t,{onSessionStart:r,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:Bb(this.visualElement)})}stop(t,n){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:r}=n;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&oe.postRender(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,i){const{drag:r}=this.getProps();if(!i||!il(t,r,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=pA(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;n&&eo(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=mA(r.layoutBox,n):this.constraints=!1,this.elastic=xA(i),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&jt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=vA(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!eo(t))return!1;const i=t.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=CA(i,r.root,this.visualElement.getTransformPagePoint());let s=gA(r.layout.layoutBox,o);if(n){const a=n(wA(s));this.hasMutatedConstraints=!!a,a&&(s=Fb(a))}return s}startAnimation(t){const{drag:n,dragMomentum:i,dragElastic:r,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=jt(u=>{if(!il(u,n,this.currentDirection))return;let f=l&&l[u]||{};s&&(f={min:0,max:0});const d=r?200:1e6,p=r?40:1e7,y={type:"inertia",velocity:i?t[u]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(u,y)});return Promise.all(c).then(a)}startAxisValueAnimation(t,n){const i=this.getAxisMotionValue(t);return qd(this.visualElement,t),i.start(Gp(t,i,0,n,this.visualElement,!1))}stopAnimation(){jt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){jt(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps(),r=i[n];return r||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){jt(n=>{const{drag:i}=this.getProps();if(!il(n,i,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(n);if(r&&r.layout){const{min:s,max:a}=r.layout.layoutBox[n];o.set(t[n]-ye(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!eo(n)||!i||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};jt(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();r[s]=yA({min:l,max:l},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),jt(s=>{if(!il(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];a.set(ye(l,c,r[s]))})}addListeners(){if(!this.visualElement.current)return;kA.set(this.visualElement,this);const t=this.visualElement.current,n=Yn(t,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),i=()=>{const{dragConstraints:l}=this.getProps();eo(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,o=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),oe.read(i);const s=Wn(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(jt(u=>{const f=this.getAxisMotionValue(u);f&&(this.originPoint[u]+=l[u].translate,f.set(f.get()+l[u].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:s=Yd,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:i,dragPropagation:r,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function il(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function TA(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class MA extends ji{constructor(t){super(t),this.removeGroupControls=tt,this.removeListeners=tt,this.controls=new PA(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tt}unmount(){this.removeGroupControls(),this.removeListeners()}}const qy=e=>(t,n)=>{e&&oe.postRender(()=>e(t,n))};class EA extends ji{constructor(){super(...arguments),this.removePointerDownListener=tt}onPointerDown(t){this.session=new Ab(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Bb(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:qy(t),onStart:qy(n),onMove:i,onEnd:(o,s)=>{delete this.session,r&&oe.postRender(()=>r(o,s))}}}mount(){this.removePointerDownListener=Yn(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Xp=k.createContext(null);function _A(){const e=k.useContext(Xp);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:i}=e,r=k.useId();k.useEffect(()=>i(r),[]);const o=k.useCallback(()=>n&&n(r),[r,n]);return!t&&n?[!1,o]:[!0]}const Ub=k.createContext({}),Wb=k.createContext({}),Al={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Qy(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ss={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(V.test(e))e=parseFloat(e);else return e;const n=Qy(e,t.target.x),i=Qy(e,t.target.y);return`${n}% ${i}%`}},RA={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,r=Ai.parse(e);if(r.length>5)return i;const o=Ai.createTransformer(e),s=typeof r[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;r[0+s]/=a,r[1+s]/=l;const c=ye(a,l,.5);return typeof r[2+s]=="number"&&(r[2+s]/=c),typeof r[3+s]=="number"&&(r[3+s]/=c),o(r)}},gc={};function AA(e){Object.assign(gc,e)}const{schedule:Zp,cancel:AF}=Hw(queueMicrotask,!1);class OA extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i,layoutId:r}=this.props,{projection:o}=t;AA(zA),o&&(n.group&&n.group.add(o),i&&i.register&&r&&i.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Al.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:i,drag:r,isPresent:o}=this.props,s=i.projection;return s&&(s.isPresent=o,r||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||oe.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Zp.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Hb(e){const[t,n]=_A(),i=k.useContext(Ub);return P.jsx(OA,{...e,layoutGroup:i,switchLayoutGroup:k.useContext(Wb),isPresent:t,safeToRemove:n})}const zA={borderRadius:{...ss,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ss,borderTopRightRadius:ss,borderBottomLeftRadius:ss,borderBottomRightRadius:ss,boxShadow:RA},Gb=["TopLeft","TopRight","BottomLeft","BottomRight"],LA=Gb.length,Yy=e=>typeof e=="string"?parseFloat(e):e,Xy=e=>typeof e=="number"||V.test(e);function IA(e,t,n,i,r,o){r?(e.opacity=ye(0,n.opacity!==void 0?n.opacity:1,DA(i)),e.opacityExit=ye(t.opacity!==void 0?t.opacity:1,0,$A(i))):o&&(e.opacity=ye(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,i));for(let s=0;sit?1:n(Oo(e,t,i))}function Jy(e,t){e.min=t.min,e.max=t.max}function $t(e,t){Jy(e.x,t.x),Jy(e.y,t.y)}function ev(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function tv(e,t,n,i,r){return e-=t,e=mc(e,1/n,i),r!==void 0&&(e=mc(e,1/r,i)),e}function FA(e,t=0,n=1,i=.5,r,o=e,s=e){if(An.test(t)&&(t=parseFloat(t),t=ye(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=ye(o.min,o.max,i);e===o&&(a-=t),e.min=tv(e.min,t,n,a,r),e.max=tv(e.max,t,n,a,r)}function nv(e,t,[n,i,r],o,s){FA(e,t[n],t[i],t[r],t.scale,o,s)}const jA=["x","scaleX","originX"],NA=["y","scaleY","originY"];function iv(e,t,n,i){nv(e.x,t,jA,n?n.x:void 0,i?i.x:void 0),nv(e.y,t,NA,n?n.y:void 0,i?i.y:void 0)}function rv(e){return e.translate===0&&e.scale===1}function qb(e){return rv(e.x)&&rv(e.y)}function ov(e,t){return e.min===t.min&&e.max===t.max}function VA(e,t){return ov(e.x,t.x)&&ov(e.y,t.y)}function sv(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Qb(e,t){return sv(e.x,t.x)&&sv(e.y,t.y)}function av(e){return zt(e.x)/zt(e.y)}function lv(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class BA{constructor(){this.members=[]}add(t){Kp(this.members,t),t.scheduleRender()}remove(t){if(qp(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(r=>t===r);if(n===0)return!1;let i;for(let r=n;r>=0;r--){const o=this.members[r];if(o.isPresent!==!1){i=o;break}}return i?(this.promote(i),!0):!1}promote(t,n){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:r}=t.options;r===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:i}=t;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function UA(e,t,n){let i="";const r=e.x.translate/t.x,o=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((r||o||s)&&(i=`translate3d(${r}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:u,rotateX:f,rotateY:d,skewX:p,skewY:y}=n;c&&(i=`perspective(${c}px) ${i}`),u&&(i+=`rotate(${u}deg) `),f&&(i+=`rotateX(${f}deg) `),d&&(i+=`rotateY(${d}deg) `),p&&(i+=`skewX(${p}deg) `),y&&(i+=`skewY(${y}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(i+=`scale(${a}, ${l})`),i||"none"}const WA=(e,t)=>e.depth-t.depth;class HA{constructor(){this.children=[],this.isDirty=!1}add(t){Kp(this.children,t),this.isDirty=!0}remove(t){qp(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(WA),this.isDirty=!1,this.children.forEach(t)}}function Ol(e){const t=Je(e)?e.get():e;return DR(t)?t.toValue():t}function GA(e,t){const n=On.now(),i=({timestamp:r})=>{const o=r-n;o>=t&&(_i(i),e(o-t))};return oe.read(i,!0),()=>_i(i)}function KA(e){return e instanceof SVGElement&&e.tagName!=="svg"}function qA(e,t,n){const i=Je(e)?e:sa(e);return i.start(Gp("",i,t,n)),i.animation}const Zi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ws=typeof window<"u"&&window.MotionDebug!==void 0,pf=["","X","Y","Z"],QA={visibility:"hidden"},cv=1e3;let YA=0;function mf(e,t,n,i){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),i&&(i[e]=0))}function Yb(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Mb(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:r,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",oe,!(r||o))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&Yb(i)}function Xb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(s={},a=t==null?void 0:t()){this.id=YA++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ws&&(Zi.totalNodes=Zi.resolvedTargetDeltas=Zi.recalculatedProjection=0),this.nodes.forEach(JA),this.nodes.forEach(r5),this.nodes.forEach(o5),this.nodes.forEach(e5),ws&&window.MotionDebug.record(Zi)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=GA(d,250),Al.hasAnimatedSinceResize&&(Al.hasAnimatedSinceResize=!1,this.nodes.forEach(fv))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:p,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const h=this.options.transition||u.getDefaultTransition()||u5,{onLayoutAnimationStart:b,onLayoutAnimationComplete:m}=u.getProps(),g=!this.targetLayout||!Qb(this.targetLayout,y)||p,v=!d&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||d&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,v);const w={...Op(h,"layout"),onPlay:b,onComplete:m};(u.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else d||fv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,_i(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(s5),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Yb(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const S=w/1e3;dv(f.x,s.x,S),dv(f.y,s.y,S),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ls(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),l5(this.relativeTarget,this.relativeTargetOrigin,d,S),v&&VA(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Te()),$t(v,this.relativeTarget)),h&&(this.animationValues=u,IA(u,c,this.latestValues,S,g,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(_i(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=oe.update(()=>{Al.hasAnimatedSinceResize=!0,this.currentAnimation=qA(0,cv,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(cv),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:u}=s;if(!(!a||!l||!c)){if(this!==s&&this.layout&&c&&Zb(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Te();const f=zt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+f;const d=zt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+d}$t(a,l),io(a,u),zs(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new BA),this.sharedNodes.get(s).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&mf("z",s,c,this.animationValues);for(let u=0;u{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(uv),this.root.sharedNodes.clear()}}}function XA(e){e.updateLayout()}function ZA(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:r}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?jt(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],p=zt(d);d.min=i[f].min,d.max=d.min+p}):Zb(o,n.layoutBox,i)&&jt(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],p=zt(i[f]);d.max=d.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});const a=to();zs(a,i,n.layoutBox);const l=to();s?zs(l,e.applyTransform(r,!0),n.measuredBox):zs(l,i,n.layoutBox);const c=!qb(a);let u=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:p}=f;if(d&&p){const y=Te();Ls(y,n.layoutBox,d.layoutBox);const h=Te();Ls(h,i,p.layoutBox),Qb(y,h)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=h,e.relativeTargetOrigin=y,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function JA(e){ws&&Zi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function e5(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function t5(e){e.clearSnapshot()}function uv(e){e.clearMeasurements()}function n5(e){e.isLayoutDirty=!1}function i5(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function fv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function r5(e){e.resolveTargetDelta()}function o5(e){e.calcProjection()}function s5(e){e.resetSkewAndRotation()}function a5(e){e.removeLeadSnapshot()}function dv(e,t,n){e.translate=ye(t.translate,0,n),e.scale=ye(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function hv(e,t,n,i){e.min=ye(t.min,n.min,i),e.max=ye(t.max,n.max,i)}function l5(e,t,n,i){hv(e.x,t.x,n.x,i),hv(e.y,t.y,n.y,i)}function c5(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const u5={duration:.45,ease:[.4,0,.1,1]},pv=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),mv=pv("applewebkit/")&&!pv("chrome/")?Math.round:tt;function gv(e){e.min=mv(e.min),e.max=mv(e.max)}function f5(e){gv(e.x),gv(e.y)}function Zb(e,t,n){return e==="position"||e==="preserve-aspect"&&!dA(av(t),av(n),.2)}function d5(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const h5=Xb({attachResizeListener:(e,t)=>Wn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),gf={current:void 0},Jb=Xb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!gf.current){const e=new h5({});e.mount(window),e.setOptions({layoutScroll:!0}),gf.current=e}return gf.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),p5={pan:{Feature:EA},drag:{Feature:MA,ProjectionNode:Jb,MeasureLayout:Hb}};function yv(e,t){const n=t?"pointerenter":"pointerleave",i=t?"onHoverStart":"onHoverEnd",r=(o,s)=>{if(o.pointerType==="touch"||Ib())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);const l=a[i];l&&oe.postRender(()=>l(o,s))};return Yn(e.current,n,r,{passive:!e.getProps()[i]})}class m5 extends ji{mount(){this.unmount=Qn(yv(this.node,!0),yv(this.node,!1))}unmount(){}}class g5 extends ji{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Qn(Wn(this.node.current,"focus",()=>this.onFocus()),Wn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const eS=(e,t)=>t?e===t?!0:eS(e,t.parentElement):!1;function yf(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,yu(n))}class y5 extends ji{constructor(){super(...arguments),this.removeStartListeners=tt,this.removeEndListeners=tt,this.removeAccessibleListeners=tt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const i=this.node.getProps(),o=Yn(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:c,onTapCancel:u,globalTapTarget:f}=this.node.getProps(),d=!f&&!eS(this.node.current,a.target)?u:c;d&&oe.update(()=>d(a,l))},{passive:!(i.onTap||i.onPointerUp)}),s=Yn(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=Qn(o,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const s=a=>{a.key!=="Enter"||!this.checkPressEnd()||yf("up",(l,c)=>{const{onTap:u}=this.node.getProps();u&&oe.postRender(()=>u(l,c))})};this.removeEndListeners(),this.removeEndListeners=Wn(this.node.current,"keyup",s),yf("down",(a,l)=>{this.startPress(a,l)})},n=Wn(this.node.current,"keydown",t),i=()=>{this.isPressing&&yf("cancel",(o,s)=>this.cancelPress(o,s))},r=Wn(this.node.current,"blur",i);this.removeAccessibleListeners=Qn(n,r)}}startPress(t,n){this.isPressing=!0;const{onTapStart:i,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&oe.postRender(()=>i(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Ib()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&oe.postRender(()=>i(t,n))}mount(){const t=this.node.getProps(),n=Yn(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=Wn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Qn(n,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Jd=new WeakMap,vf=new WeakMap,v5=e=>{const t=Jd.get(e.target);t&&t(e)},x5=e=>{e.forEach(v5)};function w5({root:e,...t}){const n=e||document;vf.has(n)||vf.set(n,{});const i=vf.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(x5,{root:e,...t})),i[r]}function b5(e,t,n){const i=w5(t);return Jd.set(e,n),i.observe(e),()=>{Jd.delete(e),i.unobserve(e)}}const S5={some:0,all:1};class C5 extends ji{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:i,amount:r="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:i,threshold:typeof r=="number"?r:S5[r]},a=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,o&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:f}=this.node.getProps(),d=c?u:f;d&&d(l)};return b5(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(k5(t,n))&&this.startObserver()}unmount(){}}function k5({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const P5={inView:{Feature:C5},tap:{Feature:y5},focus:{Feature:g5},hover:{Feature:m5}},T5={layout:{ProjectionNode:Jb,MeasureLayout:Hb}},tS=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),vu=k.createContext({}),Jp=typeof window<"u",M5=Jp?k.useLayoutEffect:k.useEffect,nS=k.createContext({strict:!1});function E5(e,t,n,i,r){var o,s;const{visualElement:a}=k.useContext(vu),l=k.useContext(nS),c=k.useContext(Xp),u=k.useContext(tS).reducedMotion,f=k.useRef();i=i||l.renderer,!f.current&&i&&(f.current=i(e,{visualState:t,parent:a,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u}));const d=f.current,p=k.useContext(Wb);d&&!d.projection&&r&&(d.type==="html"||d.type==="svg")&&_5(f.current,n,r,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{d&&y.current&&d.update(n,c)});const h=n[Tb],b=k.useRef(!!h&&!(!((o=window.MotionHandoffIsComplete)===null||o===void 0)&&o.call(window,h))&&((s=window.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(window,h)));return M5(()=>{d&&(y.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),Zp.render(d.render),b.current&&d.animationState&&d.animationState.animateChanges())}),k.useEffect(()=>{d&&(!b.current&&d.animationState&&d.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{var m;(m=window.MotionHandoffMarkAsComplete)===null||m===void 0||m.call(window,h)}),b.current=!1))}),d}function _5(e,t,n,i){const{layoutId:r,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:iS(e.parent)),e.projection.setOptions({layoutId:r,layout:o,alwaysMeasureLayout:!!s||a&&eo(a),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:c})}function iS(e){if(e)return e.options.allowProjection!==!1?e.projection:iS(e.parent)}function R5(e,t,n){return k.useCallback(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),n&&(typeof n=="function"?n(i):eo(n)&&(n.current=i))},[t])}function xu(e){return pu(e.animate)||Ap.some(t=>ia(e[t]))}function rS(e){return!!(xu(e)||e.variants)}function A5(e,t){if(xu(e)){const{initial:n,animate:i}=e;return{initial:n===!1||ia(n)?n:void 0,animate:ia(i)?i:void 0}}return e.inherit!==!1?t:{}}function O5(e){const{initial:t,animate:n}=A5(e,k.useContext(vu));return k.useMemo(()=>({initial:t,animate:n}),[vv(t),vv(n)])}function vv(e){return Array.isArray(e)?e.join(" "):e}const xv={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},zo={};for(const e in xv)zo[e]={isEnabled:t=>xv[e].some(n=>!!t[n])};function z5(e){for(const t in e)zo[t]={...zo[t],...e[t]}}const L5=Symbol.for("motionComponentSymbol");function I5({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:r}){e&&z5(e);function o(a,l){let c;const u={...k.useContext(tS),...a,layoutId:D5(a)},{isStatic:f}=u,d=O5(a),p=i(a,f);if(!f&&Jp){$5();const y=F5(u);c=y.MeasureLayout,d.visualElement=E5(r,p,u,t,y.ProjectionNode)}return P.jsxs(vu.Provider,{value:d,children:[c&&d.visualElement?P.jsx(c,{visualElement:d.visualElement,...u}):null,n(r,a,R5(p,d.visualElement,l),p,f,d.visualElement)]})}const s=k.forwardRef(o);return s[L5]=r,s}function D5({layoutId:e}){const t=k.useContext(Ub).id;return t&&e!==void 0?t+"-"+e:e}function $5(e,t){k.useContext(nS).strict}function F5(e){const{drag:t,layout:n}=zo;if(!t&&!n)return{};const i={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}const j5=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function em(e){return typeof e!="string"||e.includes("-")?!1:!!(j5.indexOf(e)>-1||/[A-Z]/u.test(e))}function oS(e,{style:t,vars:n},i,r){Object.assign(e.style,t,r&&r.getProjectionStyles(i));for(const o in n)e.style.setProperty(o,n[o])}const sS=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function aS(e,t,n,i){oS(e,t,void 0,i);for(const r in t.attrs)e.setAttribute(sS.has(r)?r:Yp(r),t.attrs[r])}function lS(e,{layout:t,layoutId:n}){return Er.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!gc[e]||e==="opacity")}function tm(e,t,n){var i;const{style:r}=e,o={};for(const s in r)(Je(r[s])||t.style&&Je(t.style[s])||lS(s,e)||((i=n==null?void 0:n.getValue(s))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(o[s]=r[s]);return o}function cS(e,t,n){const i=tm(e,t,n);for(const r in e)if(Je(e[r])||Je(t[r])){const o=ba.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[o]=e[r]}return i}function N5(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}function V5({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},i,r,o){const s={latestValues:B5(i,r,o,e),renderState:t()};return n&&(s.mount=a=>n(i,a,s)),s}const uS=e=>(t,n)=>{const i=k.useContext(vu),r=k.useContext(Xp),o=()=>V5(e,t,i,r);return n?o():N5(o)};function B5(e,t,n,i){const r={},o=i(e,{});for(const d in o)r[d]=Ol(o[d]);let{initial:s,animate:a}=e;const l=xu(e),c=rS(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let u=n?n.initial===!1:!1;u=u||s===!1;const f=u?a:s;if(f&&typeof f!="boolean"&&!pu(f)){const d=Array.isArray(f)?f:[f];for(let p=0;p({style:{},transform:{},transformOrigin:{},vars:{}}),fS=()=>({...nm(),attrs:{}}),dS=(e,t)=>t&&typeof e=="number"?t.transform(e):e,U5={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},W5=ba.length;function H5(e,t,n){let i="",r=!0;for(let o=0;otypeof e=="string"&&e.toLowerCase()==="svg",Y5={useVisualState:uS({scrapeMotionValuesFromProps:cS,createRenderState:fS,onMount:(e,t,{renderState:n,latestValues:i})=>{oe.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),oe.render(()=>{rm(n,i,om(t.tagName),e.transformTemplate),aS(t,n)})}})},X5={useVisualState:uS({scrapeMotionValuesFromProps:tm,createRenderState:nm})};function hS(e,t,n){for(const i in t)!Je(t[i])&&!lS(i,n)&&(e[i]=t[i])}function Z5({transformTemplate:e},t){return k.useMemo(()=>{const n=nm();return im(n,t,e),Object.assign({},n.vars,n.style)},[t])}function J5(e,t){const n=e.style||{},i={};return hS(i,n,e),Object.assign(i,Z5(e,t)),i}function eO(e,t){const n={},i=J5(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}const tO=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function yc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||tO.has(e)}let pS=e=>!yc(e);function nO(e){e&&(pS=t=>t.startsWith("on")?!yc(t):e(t))}try{nO(require("@emotion/is-prop-valid").default)}catch{}function iO(e,t,n){const i={};for(const r in e)r==="values"&&typeof e.values=="object"||(pS(r)||n===!0&&yc(r)||!t&&!yc(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}function rO(e,t,n,i){const r=k.useMemo(()=>{const o=fS();return rm(o,t,om(i),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};hS(o,e.style,e),r.style={...o,...r.style}}return r}function oO(e=!1){return(n,i,r,{latestValues:o},s)=>{const l=(em(n)?rO:eO)(i,o,s,n),c=iO(i,typeof n=="string",e),u=n!==k.Fragment?{...c,...l,ref:r}:{},{children:f}=i,d=k.useMemo(()=>Je(f)?f.get():f,[f]);return k.createElement(n,{...u,children:d})}}function sO(e,t){return function(i,{forwardMotionProps:r}={forwardMotionProps:!1}){const s={...em(i)?Y5:X5,preloadedFeatures:e,useRender:oO(r),createVisualElement:t,Component:i};return I5(s)}}const eh={current:null},mS={current:!1};function aO(){if(mS.current=!0,!!Jp)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>eh.current=e.matches;e.addListener(t),t()}else eh.current=!1}function lO(e,t,n){for(const i in t){const r=t[i],o=n[i];if(Je(r))e.addValue(i,r);else if(Je(o))e.addValue(i,sa(r,{owner:e}));else if(o!==r)if(e.hasValue(i)){const s=e.getValue(i);s.liveStyle===!0?s.jump(r):s.hasAnimated||s.set(r)}else{const s=e.getStaticValue(i);e.addValue(i,sa(s!==void 0?s:r,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const bv=new WeakMap,cO=[...sb,Xe,Ai],uO=e=>cO.find(ob(e)),Sv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class fO{scrapeMotionValuesFromProps(t,n,i){return{}}constructor({parent:t,props:n,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Dp,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const d=On.now();this.renderScheduledAtthis.bindToMotionValue(i,n)),mS.current||aO(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:eh.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){bv.delete(this.current),this.projection&&this.projection.unmount(),_i(this.notifyUpdate),_i(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const i=Er.has(t),r=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&oe.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{r(),o(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in zo){const n=zo[t];if(!n)continue;const{isEnabled:i,Feature:r}=n;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Te()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;in.variantChildren.delete(t)}addValue(t,n){const i=this.values.get(t);n!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&n!==void 0&&(i=sa(n===null?void 0:n,{owner:this}),this.addValue(t,i)),i}readValue(t,n){var i;let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(i=this.getBaseTargetFromProps(this.props,t))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(tb(r)||eb(r))?r=parseFloat(r):!uO(r)&&Ai.test(n)&&(r=pb(t,n)),this.setBaseTarget(t,Je(r)?r.get():r)),Je(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:i}=this.props;let r;if(typeof i=="string"||typeof i=="object"){const s=_p(this.props,i,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);s&&(r=s[t])}if(i&&r!==void 0)return r;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Je(o)?o:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Qp),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class gS extends fO{constructor(){super(...arguments),this.KeyframeResolver=mb}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:i}){delete n[t],delete i[t]}}function dO(e){return window.getComputedStyle(e)}class hO extends gS{constructor(){super(...arguments),this.type="html",this.renderInstance=oS}readValueFromInstance(t,n){if(Er.has(n)){const i=Np(n);return i&&i.default||0}else{const i=dO(t),r=(ib(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Vb(t,n)}build(t,n,i){im(t,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,i){return tm(t,n,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Je(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class pO extends gS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Te}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Er.has(n)){const i=Np(n);return i&&i.default||0}return n=sS.has(n)?n:Yp(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,i){return cS(t,n,i)}build(t,n,i){rm(t,n,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,i,r){aS(t,n,i,r)}mount(t){this.isSVGTag=om(t.tagName),super.mount(t)}}const mO=(e,t)=>em(e)?new pO(t):new hO(t,{allowProjection:e!==k.Fragment}),gO=sO({...iA,...P5,...p5,...T5},mO),ke=qE(gO);/** - * @license lucide-react v0.350.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */var yO={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** - * @license lucide-react v0.350.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const vO=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** - * @license lucide-react v0.350.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Ni=(e,t)=>{const n=k.forwardRef(({color:i="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:s,className:a="",children:l,...c},u)=>k.createElement("svg",{ref:u,...yO,width:r,height:r,stroke:i,strokeWidth:s?Number(o)*24/Number(r):o,className:["lucide",`lucide-${vO(e)}`,a].join(" "),...c},[...t.map(([f,d])=>k.createElement(f,d)),...Array.isArray(l)?l:[l]]));return n.displayName=`${e}`,n};/** - * @license lucide-react v0.350.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const xO=Ni("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/** - * @license lucide-react v0.350.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const wO=Ni("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);/** - * @license lucide-react v0.350.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const bO=Ni("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]]);/** - * @license lucide-react v0.350.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const SO=Ni("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/** - * @license lucide-react v0.350.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const vc=Ni("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** - * @license lucide-react v0.350.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const th=Ni("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** - * @license lucide-react v0.350.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const CO=Ni("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/** - * @license lucide-react v0.350.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const kO=Ni("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]),Cv=[{name:"Home",link:"#home",icon:bO},{name:"About",link:"#about",icon:CO},{name:"Skills",link:"#skills",icon:kO},{name:"Projects",link:"#projects",icon:xO},{name:"Contact",link:"#contact",icon:vc}];function PO(){const[e,t]=k.useState(!1),[n,i]=k.useState("home");k.useEffect(()=>{const o=()=>{const s=window.scrollY>20;t(s);const l=Cv.map(c=>c.link.substring(1)).find(c=>{const u=document.getElementById(c);if(u){const f=u.getBoundingClientRect();return f.top<=100&&f.bottom>=100}return!1});l&&i(l)};return window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)},[]);const r=(o,s)=>{o.preventDefault();const a=s.substring(1),l=document.getElementById(a);if(l){const c=l.offsetTop-60;window.scrollTo({top:c,behavior:"smooth"})}};return P.jsx(ke.div,{initial:{y:-100},animate:{y:0},transition:{duration:.5,type:"spring",stiffness:260,damping:20},className:"fixed top-4 left-1/2 -translate-x-1/2 z-50",children:P.jsx("nav",{className:` - px-6 py-3 rounded-full border border-white/[0.2] bg-black/50 backdrop-blur-md - ${e?"bg-black/80":""} - transition-all duration-300 - `,children:P.jsx("div",{className:"flex items-center gap-6",children:Cv.map((o,s)=>P.jsx(ke.a,{href:o.link,onClick:a=>r(a,o.link),initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{delay:s*.1},className:"group relative",children:P.jsxs("div",{className:` - relative p-2 transition-colors duration-300 - ${n===o.link.substring(1)?"text-blue-500":"text-white/70 hover:text-white"} - `,children:[P.jsx(o.icon,{size:20}),P.jsx(ke.span,{className:"absolute -bottom-12 left-1/2 -translate-x-1/2 px-3 py-2 bg-black/80 text-white text-sm rounded-lg opacity-0 group-hover:opacity-100 transition-opacity whitespace-nowrap",children:o.name}),n===o.link.substring(1)&&P.jsx(ke.div,{layoutId:"navbar-indicator",className:"absolute -bottom-1 left-0 right-0 h-0.5 bg-blue-500",transition:{type:"spring",stiffness:300,damping:30}})]})},o.name))})})})}const or="generated",TO="pointerdown",MO="pointerup",nh="pointerleave",EO="pointerout",Sr="pointermove",_O="touchstart",kv="touchend",RO="touchmove",AO="touchcancel",OO="resize",zO="visibilitychange",Qt="tsParticles - Error",mi=100,Pv=.5,et=1e3;var We;(function(e){e.bottom="bottom",e.bottomLeft="bottom-left",e.bottomRight="bottom-right",e.left="left",e.none="none",e.right="right",e.top="top",e.topLeft="top-left",e.topRight="top-right",e.outside="outside",e.inside="inside"})(We||(We={}));function yS(e){return typeof e=="boolean"}function Oi(e){return typeof e=="string"}function zi(e){return typeof e=="number"}function ro(e){return typeof e=="object"&&e!==null}function Ln(e){return Array.isArray(e)}function L(e){return e==null}const Sn={x:0,y:0,z:0},Tv=2,LO=1;class kt{constructor(t,n,i){if(this._updateFromAngle=(r,o)=>{this.x=Math.cos(r)*o,this.y=Math.sin(r)*o},!zi(t)&&t){this.x=t.x,this.y=t.y;const r=t;this.z=r.z?r.z:Sn.z}else if(t!==void 0&&n!==void 0)this.x=t,this.y=n,this.z=i??Sn.z;else throw new Error(`${Qt} Vector3d not initialized correctly`)}static get origin(){return kt.create(Sn.x,Sn.y,Sn.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return kt.create(t.x,t.y,t.z)}static create(t,n,i){return new kt(t,n,i)}add(t){return kt.create(this.x+t.x,this.y+t.y,this.z+t.z)}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=t.z}copy(){return kt.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return kt.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**Tv+this.y**Tv}mult(t){return kt.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;t!=0&&this.multTo(LO/t)}rotate(t){return kt.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),Sn.z)}setTo(t){this.x=t.x,this.y=t.y;const n=t;this.z=n.z?n.z:Sn.z}sub(t){return kt.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}}class Ne extends kt{constructor(t,n){super(t,n,Sn.z)}static get origin(){return Ne.create(Sn.x,Sn.y)}static clone(t){return Ne.create(t.x,t.y)}static create(t,n){return new Ne(t,n)}}let IO=Math.random;const vS={nextFrame:e=>requestAnimationFrame(e),cancel:e=>cancelAnimationFrame(e)},ih=new Map,DO=2,$O=Math.PI*DO;function xf(e,t){ih.get(e)||ih.set(e,t)}function xS(e){return ih.get(e)??(t=>t)}function de(){return Yt(IO(),0,1-Number.EPSILON)}function FO(e){return vS.nextFrame(e)}function jO(e){vS.cancel(e)}function Yt(e,t,n){return Math.min(Math.max(e,t),n)}function wf(e,t,n,i){return Math.floor((e*n+t*i)/(n+i))}function Et(e){const t=Mn(e),n=0;let i=wu(e);return t===i&&(i=n),de()*(t-i)+i}function N(e){return zi(e)?e:Et(e)}function wu(e){return zi(e)?e:e.min}function Mn(e){return zi(e)?e:e.max}function Z(e,t){if(e===t||t===void 0&&zi(e))return e;const n=wu(e),i=Mn(e);return t!==void 0?{min:Math.min(n,t),max:Math.max(i,t)}:Z(n,i)}function ut(e,t){const n=e.x-t.x,i=e.y-t.y,r=2;return{dx:n,dy:i,distance:Math.sqrt(n**r+i**r)}}function At(e,t){return ut(e,t).distance}function ki(e){return e*Math.PI/180}function NO(e,t,n){if(zi(e))return ki(e);const i=0,r=.5,o=.25,s=r+o;switch(e){case We.top:return-Math.PI*r;case We.topRight:return-Math.PI*o;case We.right:return i;case We.bottomRight:return Math.PI*o;case We.bottom:return Math.PI*r;case We.bottomLeft:return Math.PI*s;case We.left:return Math.PI;case We.topLeft:return-Math.PI*s;case We.inside:return Math.atan2(n.y-t.y,n.x-t.x);case We.outside:return Math.atan2(t.y-n.y,t.x-n.x);default:return de()*$O}}function VO(e){const t=Ne.origin;return t.length=1,t.angle=e,t}function Mv(e,t,n,i){return Ne.create(e.x*(n-i)/(n+i)+t.x*2*i/(n+i),e.y)}function BO(e){var t,n;return{x:((t=e.position)==null?void 0:t.x)??de()*e.size.width,y:((n=e.position)==null?void 0:n.y)??de()*e.size.height}}function wS(e){return e?e.endsWith("%")?parseFloat(e)/mi:parseFloat(e):1}var sr;(function(e){e.auto="auto",e.increase="increase",e.decrease="decrease",e.random="random"})(sr||(sr={}));var Oe;(function(e){e.increasing="increasing",e.decreasing="decreasing"})(Oe||(Oe={}));var Cr;(function(e){e.none="none",e.max="max",e.min="min"})(Cr||(Cr={}));var Q;(function(e){e.bottom="bottom",e.left="left",e.right="right",e.top="top"})(Q||(Q={}));var Lo;(function(e){e.precise="precise",e.percent="percent"})(Lo||(Lo={}));var go;(function(e){e.max="max",e.min="min",e.random="random"})(go||(go={}));const UO={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function kr(){return UO}function Ev(e){const t={bounced:!1},{pSide:n,pOtherSide:i,rectSide:r,rectOtherSide:o,velocity:s,factor:a}=e,l=.5,c=0;return i.mino.max||i.maxo.max||(n.max>=r.min&&n.max<=(r.max+r.min)*l&&s>c||n.min<=r.max&&n.min>(r.max+r.min)*l&&se.matches(i));return Ln(n)?n.some(i=>i):n}function Pr(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function HO(){return!Pr()&&typeof matchMedia<"u"}function bS(e){if(HO())return matchMedia(e)}function GO(e){if(!(Pr()||typeof IntersectionObserver>"u"))return new IntersectionObserver(e)}function KO(e){if(!(Pr()||typeof MutationObserver>"u"))return new MutationObserver(e)}function Ee(e,t){return e===t||Ln(t)&&t.indexOf(e)>-1}async function _v(e,t){try{await document.fonts.load(`${t??"400"} 36px '${e??"Verdana"}'`)}catch{}}function qO(e){return Math.floor(de()*e.length)}function bu(e,t,n=!0){return e[t!==void 0&&n?t%e.length:qO(e)]}function sm(e,t,n,i,r){return QO(ka(e,i??0),t,n,r)}function QO(e,t,n,i){let r=!0;return(!i||i===Q.bottom)&&(r=e.topn.x),r&&(!i||i===Q.right)&&(r=e.leftn.y),r}function ka(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function rt(e,...t){for(const n of t){if(n==null)continue;if(!ro(n)){e=n;continue}const i=Array.isArray(n);i&&(ro(e)||!e||!Array.isArray(e))?e=[]:!i&&(ro(e)||!e||Array.isArray(e))&&(e={});for(const r in n){if(r==="__proto__")continue;const o=n,s=o[r],a=e;a[r]=ro(s)&&Array.isArray(s)?s.map(l=>rt(a[r],l)):rt(a[r],s)}}return e}function am(e,t){return!!kS(t,n=>n.enable&&Ee(e,n.mode))}function lm(e,t,n){Zt(t,i=>{const r=i.mode;i.enable&&Ee(e,r)&&YO(i,n)})}function YO(e,t){const n=e.selectors;Zt(n,i=>{t(i,e)})}function SS(e,t){if(!(!t||!e))return kS(e,n=>WO(t,n.selectors))}function rh(e){return{position:e.getPosition(),radius:e.getRadius(),mass:e.getMass(),velocity:e.velocity,factor:Ne.create(N(e.options.bounce.horizontal.value),N(e.options.bounce.vertical.value))}}function CS(e,t){const{x:n,y:i}=e.velocity.sub(t.velocity),[r,o]=[e.position,t.position],{dx:s,dy:a}=ut(o,r);if(n*s+i*a<0)return;const c=-Math.atan2(a,s),u=e.mass,f=t.mass,d=e.velocity.rotate(c),p=t.velocity.rotate(c),y=Mv(d,p,u,f),h=Mv(p,d,u,f),b=y.rotate(-c),m=h.rotate(-c);e.velocity.x=b.x*e.factor.x,e.velocity.y=b.y*e.factor.y,t.velocity.x=m.x*t.factor.x,t.velocity.y=m.y*t.factor.y}function XO(e,t){const n=e.getPosition(),i=e.getRadius(),r=ka(n,i),o=e.options.bounce,s=Ev({pSide:{min:r.left,max:r.right},pOtherSide:{min:r.top,max:r.bottom},rectSide:{min:t.left,max:t.right},rectOtherSide:{min:t.top,max:t.bottom},velocity:e.velocity.x,factor:N(o.horizontal.value)});s.bounced&&(s.velocity!==void 0&&(e.velocity.x=s.velocity),s.position!==void 0&&(e.position.x=s.position));const a=Ev({pSide:{min:r.top,max:r.bottom},pOtherSide:{min:r.left,max:r.right},rectSide:{min:t.top,max:t.bottom},rectOtherSide:{min:t.left,max:t.right},velocity:e.velocity.y,factor:N(o.vertical.value)});a.bounced&&(a.velocity!==void 0&&(e.velocity.y=a.velocity),a.position!==void 0&&(e.position.y=a.position))}function Zt(e,t){return Ln(e)?e.map((i,r)=>t(i,r)):t(e,0)}function sn(e,t,n){return Ln(e)?bu(e,t,n):e}function kS(e,t){return Ln(e)?e.find((i,r)=>t(i,r)):t(e,0)?e:void 0}function PS(e,t){const n=e.value,i=e.animation,r={delayTime:N(i.delay)*et,enable:i.enable,value:N(e.value)*t,max:Mn(n)*t,min:wu(n)*t,loops:0,maxLoops:N(i.count),time:0},o=1;if(i.enable){switch(r.decay=o-N(i.decay),i.mode){case sr.increase:r.status=Oe.increasing;break;case sr.decrease:r.status=Oe.decreasing;break;case sr.random:r.status=de()>=Pv?Oe.increasing:Oe.decreasing;break}const s=i.mode===sr.auto;switch(i.startValue){case go.min:r.value=r.min,s&&(r.status=Oe.increasing);break;case go.max:r.value=r.max,s&&(r.status=Oe.decreasing);break;case go.random:default:r.value=Et(r),s&&(r.status=de()>=Pv?Oe.increasing:Oe.decreasing);break}}return r.initialValue=r.value,r}function ZO(e,t){if(!(e.mode===Lo.percent)){const{mode:r,...o}=e;return o}return"x"in e?{x:e.x/mi*t.width,y:e.y/mi*t.height}:{width:e.width/mi*t.width,height:e.height/mi*t.height}}function TS(e,t){return ZO(e,t)}function JO(e,t,n,i,r){switch(t){case Cr.max:n>=r&&e.destroy();break;case Cr.min:n<=i&&e.destroy();break}}function cm(e,t,n,i,r){if(e.destroyed||!t||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;const u=(t.velocity??0)*r.factor,f=t.min,d=t.max,p=t.decay??1;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=r.value),!((t.delayTime??0)>0&&t.time<(t.delayTime??0))){switch(t.status){case Oe.increasing:t.value>=d?(n?t.status=Oe.decreasing:t.value-=d,t.loops||(t.loops=0),t.loops++):t.value+=u;break;case Oe.decreasing:t.value<=f?(n?t.status=Oe.increasing:t.value+=d,t.loops||(t.loops=0),t.loops++):t.value-=u}t.velocity&&p!==1&&(t.velocity*=p),JO(e,i,t.value,f,d),e.destroyed||(t.value=Yt(t.value,f,d))}}var oh;(function(e){e.darken="darken",e.enlighten="enlighten"})(oh||(oh={}));var Ji;(function(e){e[e.r=1]="r",e[e.g=2]="g",e[e.b=3]="b",e[e.a=4]="a"})(Ji||(Ji={}));const xc="random",zl="mid",Su=new Map;function Rv(e){Su.set(e.key,e)}function ez(e){for(const l of Su.values())if(e.startsWith(l.stringPrefix))return l.parseString(e);const t=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,n=e.replace(t,(l,c,u,f,d)=>c+c+u+u+f+f+(d!==void 0?d+d:"")),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,r=i.exec(n),o=16;return r?{a:r[Ji.a]!==void 0?parseInt(r[Ji.a],o)/255:1,b:parseInt(r[Ji.b],o),g:parseInt(r[Ji.g],o),r:parseInt(r[Ji.r],o)}:void 0}function fn(e,t,n=!0){if(!e)return;const i=Oi(e)?{value:e}:e;if(Oi(i.value))return MS(i.value,t,n);if(Ln(i.value))return fn({value:bu(i.value,t,n)});for(const r of Su.values()){const o=r.handleRangeColor(i);if(o)return o}}function MS(e,t,n=!0){if(!e)return;const i=Oi(e)?{value:e}:e;if(Oi(i.value))return i.value===xc?_S():tz(i.value);if(Ln(i.value))return MS({value:bu(i.value,t,n)});for(const r of Su.values()){const o=r.handleColor(i);if(o)return o}}function aa(e,t,n=!0){const i=fn(e,t,n);return i?ES(i):void 0}function ES(e){const u=e.r/255,f=e.g/255,d=e.b/255,p=Math.max(u,f,d),y=Math.min(u,f,d),h={h:0,l:(p+y)*.5,s:0};return p!==y&&(h.s=h.l<.5?(p-y)/(p+y):(p-y)/(2-p-y),h.h=u===p?(f-d)/(p-y):h.h=f===p?2+(d-u)/(p-y):2*2+(u-f)/(p-y)),h.l*=100,h.s*=100,h.h*=60,h.h<0&&(h.h+=360),h.h>=360&&(h.h-=360),h}function tz(e){return ez(e)}function Io(e){const s=(e.h%360+360)%360,a=Math.max(0,Math.min(100,e.s)),l=Math.max(0,Math.min(100,e.l)),c=s/360,u=a/100,f=l/100,d=255,p=3;if(a===0){const z=Math.round(f*d);return{r:z,g:z,b:z}}const y=.5,h=2,b=(z,x,_)=>{if(_<0&&_++,_>1&&_--,_*6<1)return z+(x-z)*6*_;if(_*h<1)return x;if(_*p<1*h){const Y=h/p;return z+(x-z)*(Y-_)*6}return z},m=1,g=f0&&(e.loops??0)>(e.maxLoops??0)||(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=i.value),(e.delayTime??0)>0&&e.time<(e.delayTime??0)))return;const u=e.offset?Et(e.offset):0,f=(e.velocity??0)*i.factor+u*3.6,d=e.decay??1,p=Mn(t),y=wu(t);!n||e.status===Oe.increasing?(e.value+=f,e.value>p&&(e.loops||(e.loops=0),e.loops++,n?e.status=Oe.decreasing:e.value-=p)):(e.value-=f,e.value<0&&(e.loops||(e.loops=0),e.loops++,e.status=Oe.increasing)),e.velocity&&d!==1&&(e.velocity*=d),e.value=Yt(e.value,y,p)}function OS(e,t){if(!e)return;const{h:n,s:i,l:r}=e,o={h:{min:0,max:360},s:{min:0,max:100},l:{min:0,max:100}};n&&Sf(n,o.h,!1,t),i&&Sf(i,o.s,!0,t),r&&Sf(r,o.l,!0,t)}const Do={x:0,y:0},rl={a:1,b:0,c:0,d:1};function Is(e,t,n){e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(n.x,n.y),e.closePath()}function iz(e,t,n){e.fillStyle=n??"rgba(0,0,0,0)",e.fillRect(Do.x,Do.y,t.width,t.height)}function rz(e,t,n,i){n&&(e.globalAlpha=i,e.drawImage(n,Do.x,Do.y,t.width,t.height),e.globalAlpha=1)}function Cf(e,t){e.clearRect(Do.x,Do.y,t.width,t.height)}function oz(e){const{container:t,context:n,particle:i,delta:r,colorStyles:o,backgroundMask:s,composite:a,radius:l,opacity:c,shadow:u,transform:f}=e,d=i.getPosition(),p=0,y=i.rotation+(i.pathRotation?i.velocity.angle:p),h={sin:Math.sin(y),cos:Math.cos(y)},b=!!y,m=1,g={a:h.cos*(f.a??rl.a),b:b?h.sin*(f.b??m):f.b??rl.b,c:b?-h.sin*(f.c??m):f.c??rl.c,d:h.cos*(f.d??rl.d)};n.setTransform(g.a,g.b,g.c,g.d,d.x,d.y),s&&(n.globalCompositeOperation=a);const v=i.shadowColor;u.enable&&v&&(n.shadowBlur=u.blur,n.shadowColor=Xn(v),n.shadowOffsetX=u.offset.x,n.shadowOffsetY=u.offset.y),o.fill&&(n.fillStyle=o.fill);const w=0,S=i.strokeWidth??w;n.lineWidth=S,o.stroke&&(n.strokeStyle=o.stroke);const C={container:t,context:n,particle:i,radius:l,opacity:c,delta:r,transformData:g,strokeWidth:S};az(C),lz(C),sz(C),n.globalCompositeOperation="source-over",n.resetTransform()}function sz(e){const{container:t,context:n,particle:i,radius:r,opacity:o,delta:s,transformData:a}=e;if(!i.effect)return;const l=t.effectDrawers.get(i.effect);l&&l.draw({context:n,particle:i,radius:r,opacity:o,delta:s,pixelRatio:t.retina.pixelRatio,transformData:{...a}})}function az(e){const{container:t,context:n,particle:i,radius:r,opacity:o,delta:s,strokeWidth:a,transformData:l}=e,c=0;if(!i.shape)return;const u=t.shapeDrawers.get(i.shape);u&&(n.beginPath(),u.draw({context:n,particle:i,radius:r,opacity:o,delta:s,pixelRatio:t.retina.pixelRatio,transformData:{...l}}),i.shapeClose&&n.closePath(),a>c&&n.stroke(),i.shapeFill&&n.fill())}function lz(e){const{container:t,context:n,particle:i,radius:r,opacity:o,delta:s,transformData:a}=e;if(!i.shape)return;const l=t.shapeDrawers.get(i.shape);l!=null&&l.afterDraw&&l.afterDraw({context:n,particle:i,radius:r,opacity:o,delta:s,pixelRatio:t.retina.pixelRatio,transformData:{...a}})}function cz(e,t,n){t.draw&&t.draw(e,n)}function uz(e,t,n,i){t.drawParticle&&t.drawParticle(e,n,i)}function fz(e,t,n){return{h:e.h,s:e.s,l:e.l+(t===oh.darken?-1:1)*n}}function dz(e,t,n){const i=t[n],r=1;i!==void 0&&(e[n]=(e[n]??r)*i)}function Ov(e,t,n=!1){if(!t)return;const i=e;if(!i)return;const r=i.style;if(r)for(const o in t){const s=t[o];r.setProperty(o,s,n?"important":"")}}class hz{constructor(t){this.container=t,this._applyPostDrawUpdaters=n=>{var i;for(const r of this._postDrawUpdaters)(i=r.afterDraw)==null||i.call(r,n)},this._applyPreDrawUpdaters=(n,i,r,o,s,a)=>{var l;for(const c of this._preDrawUpdaters){if(c.getColorStyles){const{fill:u,stroke:f}=c.getColorStyles(i,n,r,o);u&&(s.fill=u),f&&(s.stroke=f)}if(c.getTransformValues){const u=c.getTransformValues(i);for(const f in u)dz(a,u,f)}(l=c.beforeDraw)==null||l.call(c,i)}},this._applyResizePlugins=()=>{var n;for(const i of this._resizePlugins)(n=i.resize)==null||n.call(i)},this._getPluginParticleColors=n=>{let i,r;for(const o of this._colorPlugins)if(!i&&o.particleFillColor&&(i=aa(o.particleFillColor(n))),!r&&o.particleStrokeColor&&(r=aa(o.particleStrokeColor(n))),i&&r)break;return[i,r]},this._initCover=async()=>{const n=this.container.actualOptions,i=n.backgroundMask.cover,r=i.color;if(r){const o=fn(r);if(o){const s={...o,a:i.opacity};this._coverColorStyle=Xn(s,s.a)}}else await new Promise((o,s)=>{if(!i.image)return;const a=document.createElement("img");a.addEventListener("load",()=>{this._coverImage={image:a,opacity:i.opacity},o()}),a.addEventListener("error",l=>{s(l.error)}),a.src=i.image})},this._initStyle=()=>{const n=this.element,i=this.container.actualOptions;if(n){this._fullScreen?(this._originalStyle=rt({},n.style),this._setFullScreenStyle()):this._resetOriginalStyle();for(const r in i.style){if(!r||!i.style)continue;const o=i.style[r];o&&n.style.setProperty(r,o,"important")}}},this._initTrail=async()=>{const n=this.container.actualOptions,i=n.particles.move.trail,r=i.fill;if(!i.enable)return;const o=1,s=o/i.length;if(r.color){const a=fn(r.color);if(!a)return;this._trailFill={color:{...a},opacity:s}}else await new Promise((a,l)=>{if(!r.image)return;const c=document.createElement("img");c.addEventListener("load",()=>{this._trailFill={image:c,opacity:s},a()}),c.addEventListener("error",u=>{l(u.error)}),c.src=r.image})},this._paintBase=n=>{this.draw(i=>iz(i,this.size,n))},this._paintImage=(n,i)=>{this.draw(r=>rz(r,this.size,n,i))},this._repairStyle=()=>{const n=this.element;n&&(this._safeMutationObserver(i=>i.disconnect()),this._initStyle(),this.initBackground(),this._safeMutationObserver(i=>{!n||!(n instanceof Node)||i.observe(n,{attributes:!0})}))},this._resetOriginalStyle=()=>{const n=this.element,i=this._originalStyle;n&&i&&Ov(n,i)},this._safeMutationObserver=n=>{this._mutationObserver&&n(this._mutationObserver)},this._setFullScreenStyle=()=>{const n=this.element;if(!n)return;const i=10,r=this.container.actualOptions.fullScreen.zIndex.toString(i);Ov(n,{position:"fixed","z-index":r,zIndex:r,top:"0",left:"0",width:"100%",height:"100%"},!0)},this.size={height:0,width:0},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const t=this.container.actualOptions,n=t.particles.move.trail,i=this._trailFill;t.backgroundMask.enable?this.paint():n.enable&&n.length>0&&i?i.color?this._paintBase(Xn(i.color,i.opacity)):i.image&&this._paintImage(i.image,i.opacity):t.clear&&this.draw(o=>{Cf(o,this.size)})}destroy(){if(this.stop(),this._generated){const t=this.element;t==null||t.remove()}else this._resetOriginalStyle();this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(t){const n=this._context;if(n)return t(n)}drawAsync(t){const n=this._context;if(n)return t(n)}drawParticle(t,n){if(t.spawning||t.destroyed)return;const i=t.getRadius();if(i<=0)return;const o=t.getFillColor(),s=t.getStrokeColor()??o;let[a,l]=this._getPluginParticleColors(t);a||(a=o),l||(l=s),!(!a&&!l)&&this.draw(c=>{var T;const u=this.container,f=u.actualOptions,d=t.options.zIndex,p=1,y=p-t.zIndexFactor,h=y**d.opacityRate,b=1,m=t.bubble.opacity??((T=t.opacity)==null?void 0:T.value)??b,g=t.strokeOpacity??m,v=m*h,w=g*h,S={},C={fill:a?la(a,v):void 0};C.stroke=l?la(l,w):C.fill,this._applyPreDrawUpdaters(c,t,i,v,C,S),oz({container:u,context:c,particle:t,delta:n,colorStyles:C,backgroundMask:f.backgroundMask.enable,composite:f.backgroundMask.composite,radius:i*y**d.sizeRate,opacity:v,shadow:t.options.shadow,transform:S}),this._applyPostDrawUpdaters(t)})}drawParticlePlugin(t,n,i){this.draw(r=>uz(r,t,n,i))}drawPlugin(t,n){this.draw(i=>cz(i,t,n))}async init(){this._safeMutationObserver(t=>t.disconnect()),this._mutationObserver=KO(t=>{for(const n of t)n.type==="attributes"&&n.attributeName==="style"&&this._repairStyle()}),this.resize(),this._initStyle(),await this._initCover();try{await this._initTrail()}catch(t){kr().error(t)}this.initBackground(),this._safeMutationObserver(t=>{!this.element||!(this.element instanceof Node)||t.observe(this.element,{attributes:!0})}),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const t=this.container.actualOptions,n=t.background,i=this.element;if(!i)return;const r=i.style;if(r){if(n.color){const o=fn(n.color);r.backgroundColor=o?Xn(o,n.opacity):""}else r.backgroundColor="";r.backgroundImage=n.image||"",r.backgroundPosition=n.position||"",r.backgroundRepeat=n.repeat||"",r.backgroundSize=n.size||""}}initPlugins(){this._resizePlugins=[];for(const t of this.container.plugins.values())t.resize&&this._resizePlugins.push(t),(t.particleFillColor??t.particleStrokeColor)&&this._colorPlugins.push(t)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const t of this.container.particles.updaters)t.afterDraw&&this._postDrawUpdaters.push(t),(t.getColorStyles??t.getTransformValues??t.beforeDraw)&&this._preDrawUpdaters.push(t)}loadCanvas(t){this._generated&&this.element&&this.element.remove(),this._generated=t.dataset&&or in t.dataset?t.dataset[or]==="true":this._generated,this.element=t,this.element.ariaHidden="true",this._originalStyle=rt({},this.element.style),this.size.height=t.offsetHeight,this.size.width=t.offsetWidth,this._context=this.element.getContext("2d"),this._safeMutationObserver(n=>{!this.element||!(this.element instanceof Node)||n.observe(this.element,{attributes:!0})}),this.container.retina.init(),this.initBackground()}paint(){const t=this.container.actualOptions;this.draw(n=>{t.backgroundMask.enable&&t.backgroundMask.cover?(Cf(n,this.size),this._coverImage?this._paintImage(this._coverImage.image,this._coverImage.opacity):this._coverColorStyle?this._paintBase(this._coverColorStyle):this._paintBase()):this._paintBase()})}resize(){if(!this.element)return!1;const t=this.container,n=t.retina.pixelRatio,i=t.canvas.size,r={width:this.element.offsetWidth*n,height:this.element.offsetHeight*n};if(r.height===i.height&&r.width===i.width&&r.height===this.element.height&&r.width===this.element.width)return!1;const o={...i};return this.element.width=i.width=this.element.offsetWidth*n,this.element.height=i.height=this.element.offsetHeight*n,this.container.started&&t.particles.setResizeFactor({width:i.width/o.width,height:i.height/o.height}),!0}stop(){this._safeMutationObserver(t=>t.disconnect()),this._mutationObserver=void 0,this.draw(t=>Cf(t,this.size))}async windowResize(){if(!this.element||!this.resize())return;const t=this.container,n=t.updateActualOptions();t.particles.setDensity(),this._applyResizePlugins(),n&&await t.refresh()}}var yo;(function(e){e.canvas="canvas",e.parent="parent",e.window="window"})(yo||(yo={}));const zv=2;function Ft(e,t,n,i,r){if(i){let o={passive:!0};yS(r)?o.capture=r:r!==void 0&&(o=r),e.addEventListener(t,n,o)}else{const o=r;e.removeEventListener(t,n,o)}}class pz{constructor(t){this.container=t,this._doMouseTouchClick=n=>{const i=this.container,r=i.actualOptions;if(this._canPush){const o=i.interactivity.mouse,s=o.position;if(!s)return;o.clickPosition={...s},o.clickTime=new Date().getTime();const a=r.interactivity.events.onClick;Zt(a.mode,l=>this.container.handleClickMode(l))}n.type==="touchend"&&setTimeout(()=>this._mouseTouchFinish(),500)},this._handleThemeChange=n=>{const i=n,r=this.container,o=r.options,s=o.defaultThemes,a=i.matches?s.dark:s.light,l=o.themes.find(c=>c.name===a);l!=null&&l.default.auto&&r.loadTheme(a)},this._handleVisibilityChange=()=>{const n=this.container,i=n.actualOptions;this._mouseTouchFinish(),i.pauseOnBlur&&(document!=null&&document.hidden?(n.pageHidden=!0,n.pause()):(n.pageHidden=!1,n.animationStatus?n.play(!0):n.draw(!0)))},this._handleWindowResize=()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout);const n=async()=>{const i=this.container.canvas;await(i==null?void 0:i.windowResize())};this._resizeTimeout=setTimeout(()=>void n(),this.container.actualOptions.interactivity.events.resize.delay*et)},this._manageInteractivityListeners=(n,i)=>{const r=this._handlers,o=this.container,s=o.actualOptions,a=o.interactivity.element;if(!a)return;const l=a,c=o.canvas.element;c&&(c.style.pointerEvents=l===c?"initial":"none"),(s.interactivity.events.onHover.enable||s.interactivity.events.onClick.enable)&&(Ft(a,Sr,r.mouseMove,i),Ft(a,_O,r.touchStart,i),Ft(a,RO,r.touchMove,i),s.interactivity.events.onClick.enable?(Ft(a,kv,r.touchEndClick,i),Ft(a,MO,r.mouseUp,i),Ft(a,TO,r.mouseDown,i)):Ft(a,kv,r.touchEnd,i),Ft(a,n,r.mouseLeave,i),Ft(a,AO,r.touchCancel,i))},this._manageListeners=n=>{const i=this._handlers,r=this.container,o=r.actualOptions,s=o.interactivity.detectsOn,a=r.canvas.element;let l=nh;s===yo.window?(r.interactivity.element=window,l=EO):s===yo.parent&&a?r.interactivity.element=a.parentElement??a.parentNode:r.interactivity.element=a,this._manageMediaMatch(n),this._manageResize(n),this._manageInteractivityListeners(l,n),document&&Ft(document,zO,i.visibilityChange,n,!1)},this._manageMediaMatch=n=>{const i=this._handlers,r=bS("(prefers-color-scheme: dark)");if(r){if(r.addEventListener!==void 0){Ft(r,"change",i.themeChange,n);return}r.addListener!==void 0&&(n?r.addListener(i.oldThemeChange):r.removeListener(i.oldThemeChange))}},this._manageResize=n=>{const i=this._handlers,r=this.container;if(!r.actualOptions.interactivity.events.resize)return;if(typeof ResizeObserver>"u"){Ft(window,OO,i.resize,n);return}const s=r.canvas.element;this._resizeObserver&&!n?(s&&this._resizeObserver.unobserve(s),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&n&&s&&(this._resizeObserver=new ResizeObserver(a=>{a.find(c=>c.target===s)&&this._handleWindowResize()}),this._resizeObserver.observe(s))},this._mouseDown=()=>{const{interactivity:n}=this.container;if(!n)return;const{mouse:i}=n;i.clicking=!0,i.downPosition=i.position},this._mouseTouchClick=n=>{const i=this.container,r=i.actualOptions,{mouse:o}=i.interactivity;o.inside=!0;let s=!1;const a=o.position;if(!(!a||!r.interactivity.events.onClick.enable)){for(const l of i.plugins.values())if(l.clickPositionValid&&(s=l.clickPositionValid(a),s))break;s||this._doMouseTouchClick(n),o.clicking=!1}},this._mouseTouchFinish=()=>{const n=this.container.interactivity;if(!n)return;const i=n.mouse;delete i.position,delete i.clickPosition,delete i.downPosition,n.status=nh,i.inside=!1,i.clicking=!1},this._mouseTouchMove=n=>{const i=this.container,r=i.actualOptions,o=i.interactivity,s=i.canvas.element;if(!(o!=null&&o.element))return;o.mouse.inside=!0;let a;if(n.type.startsWith("pointer")){this._canPush=!0;const c=n;if(o.element===window){if(s){const u=s.getBoundingClientRect();a={x:c.clientX-u.left,y:c.clientY-u.top}}}else if(r.interactivity.detectsOn===yo.parent){const u=c.target,f=c.currentTarget;if(u&&f&&s){const d=u.getBoundingClientRect(),p=f.getBoundingClientRect(),y=s.getBoundingClientRect();a={x:c.offsetX+zv*d.left-(p.left+y.left),y:c.offsetY+zv*d.top-(p.top+y.top)}}else a={x:c.offsetX??c.clientX,y:c.offsetY??c.clientY}}else c.target===s&&(a={x:c.offsetX??c.clientX,y:c.offsetY??c.clientY})}else if(this._canPush=n.type!=="touchmove",s){const c=n,u=1,f=c.touches[c.touches.length-u],d=s.getBoundingClientRect(),p=0;a={x:f.clientX-(d.left??p),y:f.clientY-(d.top??p)}}const l=i.retina.pixelRatio;a&&(a.x*=l,a.y*=l),o.mouse.position=a,o.status=Sr},this._touchEnd=n=>{const i=n,r=Array.from(i.changedTouches);for(const o of r)this._touches.delete(o.identifier);this._mouseTouchFinish()},this._touchEndClick=n=>{const i=n,r=Array.from(i.changedTouches);for(const o of r)this._touches.delete(o.identifier);this._mouseTouchClick(n)},this._touchStart=n=>{const i=n,r=Array.from(i.changedTouches);for(const o of r)this._touches.set(o.identifier,performance.now());this._mouseTouchMove(n)},this._canPush=!0,this._touches=new Map,this._handlers={mouseDown:()=>this._mouseDown(),mouseLeave:()=>this._mouseTouchFinish(),mouseMove:n=>this._mouseTouchMove(n),mouseUp:n=>this._mouseTouchClick(n),touchStart:n=>this._touchStart(n),touchMove:n=>this._mouseTouchMove(n),touchEnd:n=>this._touchEnd(n),touchCancel:n=>this._touchEnd(n),touchEndClick:n=>this._touchEndClick(n),visibilityChange:()=>this._handleVisibilityChange(),themeChange:n=>this._handleThemeChange(n),oldThemeChange:n=>this._handleThemeChange(n),resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}}var at;(function(e){e.configAdded="configAdded",e.containerInit="containerInit",e.particlesSetup="particlesSetup",e.containerStarted="containerStarted",e.containerStopped="containerStopped",e.containerDestroyed="containerDestroyed",e.containerPaused="containerPaused",e.containerPlay="containerPlay",e.containerBuilt="containerBuilt",e.particleAdded="particleAdded",e.particleDestroyed="particleDestroyed",e.particleRemoved="particleRemoved"})(at||(at={}));class ot{constructor(){this.value=""}static create(t,n){const i=new ot;return i.load(t),n!==void 0&&(Oi(n)||Ln(n)?i.load({value:n}):i.load(n)),i}load(t){L(t)||L(t.value)||(this.value=t.value)}}class mz{constructor(){this.color=new ot,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){L(t)||(t.color!==void 0&&(this.color=ot.create(this.color,t.color)),t.image!==void 0&&(this.image=t.image),t.position!==void 0&&(this.position=t.position),t.repeat!==void 0&&(this.repeat=t.repeat),t.size!==void 0&&(this.size=t.size),t.opacity!==void 0&&(this.opacity=t.opacity))}}class gz{constructor(){this.opacity=1}load(t){L(t)||(t.color!==void 0&&(this.color=ot.create(this.color,t.color)),t.image!==void 0&&(this.image=t.image),t.opacity!==void 0&&(this.opacity=t.opacity))}}class yz{constructor(){this.composite="destination-out",this.cover=new gz,this.enable=!1}load(t){if(!L(t)){if(t.composite!==void 0&&(this.composite=t.composite),t.cover!==void 0){const n=t.cover,i=Oi(t.cover)?{color:t.cover}:t.cover;this.cover.load(n.color!==void 0||n.image!==void 0?n:{color:i})}t.enable!==void 0&&(this.enable=t.enable)}}}class vz{constructor(){this.enable=!0,this.zIndex=0}load(t){L(t)||(t.enable!==void 0&&(this.enable=t.enable),t.zIndex!==void 0&&(this.zIndex=t.zIndex))}}class xz{constructor(){this.enable=!1,this.mode=[]}load(t){L(t)||(t.enable!==void 0&&(this.enable=t.enable),t.mode!==void 0&&(this.mode=t.mode))}}var $o;(function(e){e.circle="circle",e.rectangle="rectangle"})($o||($o={}));class Lv{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=$o.circle}load(t){L(t)||(t.selectors!==void 0&&(this.selectors=t.selectors),t.enable!==void 0&&(this.enable=t.enable),t.mode!==void 0&&(this.mode=t.mode),t.type!==void 0&&(this.type=t.type))}}class wz{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(t){L(t)||(t.enable!==void 0&&(this.enable=t.enable),t.force!==void 0&&(this.force=t.force),t.smooth!==void 0&&(this.smooth=t.smooth))}}class bz{constructor(){this.enable=!1,this.mode=[],this.parallax=new wz}load(t){L(t)||(t.enable!==void 0&&(this.enable=t.enable),t.mode!==void 0&&(this.mode=t.mode),this.parallax.load(t.parallax))}}class Sz{constructor(){this.delay=.5,this.enable=!0}load(t){L(t)||(t.delay!==void 0&&(this.delay=t.delay),t.enable!==void 0&&(this.enable=t.enable))}}class Cz{constructor(){this.onClick=new xz,this.onDiv=new Lv,this.onHover=new bz,this.resize=new Sz}load(t){if(L(t))return;this.onClick.load(t.onClick);const n=t.onDiv;n!==void 0&&(this.onDiv=Zt(n,i=>{const r=new Lv;return r.load(i),r})),this.onHover.load(t.onHover),this.resize.load(t.resize)}}class kz{constructor(t,n){this._engine=t,this._container=n}load(t){if(L(t)||!this._container)return;const n=this._engine.interactors.get(this._container);if(n)for(const i of n)i.loadModeOptions&&i.loadModeOptions(this,t)}}class zS{constructor(t,n){this.detectsOn=yo.window,this.events=new Cz,this.modes=new kz(t,n)}load(t){if(L(t))return;const n=t.detectsOn;n!==void 0&&(this.detectsOn=n),this.events.load(t.events),this.modes.load(t.modes)}}const Iv=50;class Pz{load(t){L(t)||(t.position&&(this.position={x:t.position.x??Iv,y:t.position.y??Iv,mode:t.position.mode??Lo.percent}),t.options&&(this.options=rt({},t.options)))}}var ar;(function(e){e.screen="screen",e.canvas="canvas"})(ar||(ar={}));class Tz{constructor(){this.maxWidth=1/0,this.options={},this.mode=ar.canvas}load(t){L(t)||(L(t.maxWidth)||(this.maxWidth=t.maxWidth),L(t.mode)||(t.mode===ar.screen?this.mode=ar.screen:this.mode=ar.canvas),L(t.options)||(this.options=rt({},t.options)))}}var di;(function(e){e.any="any",e.dark="dark",e.light="light"})(di||(di={}));class Mz{constructor(){this.auto=!1,this.mode=di.any,this.value=!1}load(t){L(t)||(t.auto!==void 0&&(this.auto=t.auto),t.mode!==void 0&&(this.mode=t.mode),t.value!==void 0&&(this.value=t.value))}}class Ez{constructor(){this.name="",this.default=new Mz}load(t){L(t)||(t.name!==void 0&&(this.name=t.name),this.default.load(t.default),t.options!==void 0&&(this.options=rt({},t.options)))}}class fm{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){L(t)||(t.count!==void 0&&(this.count=Z(t.count)),t.enable!==void 0&&(this.enable=t.enable),t.speed!==void 0&&(this.speed=Z(t.speed)),t.decay!==void 0&&(this.decay=Z(t.decay)),t.delay!==void 0&&(this.delay=Z(t.delay)),t.sync!==void 0&&(this.sync=t.sync))}}class dm extends fm{constructor(){super(),this.mode=sr.auto,this.startValue=go.random}load(t){super.load(t),!L(t)&&(t.mode!==void 0&&(this.mode=t.mode),t.startValue!==void 0&&(this.startValue=t.startValue))}}class kf extends fm{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),!L(t)&&t.offset!==void 0&&(this.offset=Z(t.offset))}}class _z{constructor(){this.h=new kf,this.s=new kf,this.l=new kf}load(t){L(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}class ca extends ot{constructor(){super(),this.animation=new _z}static create(t,n){const i=new ca;return i.load(t),n!==void 0&&(Oi(n)||Ln(n)?i.load({value:n}):i.load(n)),i}load(t){if(super.load(t),L(t))return;const n=t.animation;n!==void 0&&(n.enable!==void 0?this.animation.h.load(n):this.animation.load(t.animation))}}var vo;(function(e){e.absorb="absorb",e.bounce="bounce",e.destroy="destroy"})(vo||(vo={}));class Rz{constructor(){this.speed=2}load(t){L(t)||t.speed!==void 0&&(this.speed=t.speed)}}class Az{constructor(){this.enable=!0,this.retries=0}load(t){L(t)||(t.enable!==void 0&&(this.enable=t.enable),t.retries!==void 0&&(this.retries=t.retries))}}class _r{constructor(){this.value=0}load(t){L(t)||L(t.value)||(this.value=Z(t.value))}}class Oz extends _r{constructor(){super(),this.animation=new fm}load(t){if(super.load(t),L(t))return;const n=t.animation;n!==void 0&&this.animation.load(n)}}class LS extends Oz{constructor(){super(),this.animation=new dm}load(t){super.load(t)}}class Dv extends _r{constructor(){super(),this.value=1}}class IS{constructor(){this.horizontal=new Dv,this.vertical=new Dv}load(t){L(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}class zz{constructor(){this.absorb=new Rz,this.bounce=new IS,this.enable=!1,this.maxSpeed=50,this.mode=vo.bounce,this.overlap=new Az}load(t){L(t)||(this.absorb.load(t.absorb),this.bounce.load(t.bounce),t.enable!==void 0&&(this.enable=t.enable),t.maxSpeed!==void 0&&(this.maxSpeed=Z(t.maxSpeed)),t.mode!==void 0&&(this.mode=t.mode),this.overlap.load(t.overlap))}}class Lz{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(t){if(L(t))return;const n=t.options;if(n!==void 0)for(const i in n){const r=n[i];r&&(this.options[i]=rt(this.options[i]??{},r))}t.close!==void 0&&(this.close=t.close),t.fill!==void 0&&(this.fill=t.fill),t.type!==void 0&&(this.type=t.type)}}class Iz{constructor(){this.offset=0,this.value=90}load(t){L(t)||(t.offset!==void 0&&(this.offset=Z(t.offset)),t.value!==void 0&&(this.value=Z(t.value)))}}class Dz{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(t){if(!L(t)&&(t.distance!==void 0&&(this.distance=Z(t.distance)),t.enable!==void 0&&(this.enable=t.enable),t.rotate)){const n=t.rotate.x;n!==void 0&&(this.rotate.x=n);const i=t.rotate.y;i!==void 0&&(this.rotate.y=i)}}}class $z{constructor(){this.x=50,this.y=50,this.mode=Lo.percent,this.radius=0}load(t){L(t)||(t.x!==void 0&&(this.x=t.x),t.y!==void 0&&(this.y=t.y),t.mode!==void 0&&(this.mode=t.mode),t.radius!==void 0&&(this.radius=t.radius))}}class Fz{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){L(t)||(t.acceleration!==void 0&&(this.acceleration=Z(t.acceleration)),t.enable!==void 0&&(this.enable=t.enable),t.inverse!==void 0&&(this.inverse=t.inverse),t.maxSpeed!==void 0&&(this.maxSpeed=Z(t.maxSpeed)))}}class jz{constructor(){this.clamp=!0,this.delay=new _r,this.enable=!1,this.options={}}load(t){L(t)||(t.clamp!==void 0&&(this.clamp=t.clamp),this.delay.load(t.delay),t.enable!==void 0&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=rt(this.options,t.options)))}}class Nz{load(t){L(t)||(t.color!==void 0&&(this.color=ot.create(this.color,t.color)),t.image!==void 0&&(this.image=t.image))}}class Vz{constructor(){this.enable=!1,this.length=10,this.fill=new Nz}load(t){L(t)||(t.enable!==void 0&&(this.enable=t.enable),t.fill!==void 0&&this.fill.load(t.fill),t.length!==void 0&&(this.length=t.length))}}var Ie;(function(e){e.bounce="bounce",e.none="none",e.out="out",e.destroy="destroy",e.split="split"})(Ie||(Ie={}));class Bz{constructor(){this.default=Ie.out}load(t){L(t)||(t.default!==void 0&&(this.default=t.default),this.bottom=t.bottom??t.default,this.left=t.left??t.default,this.right=t.right??t.default,this.top=t.top??t.default)}}class Uz{constructor(){this.acceleration=0,this.enable=!1}load(t){L(t)||(t.acceleration!==void 0&&(this.acceleration=Z(t.acceleration)),t.enable!==void 0&&(this.enable=t.enable),t.position&&(this.position=rt({},t.position)))}}class Wz{constructor(){this.angle=new Iz,this.attract=new Dz,this.center=new $z,this.decay=0,this.distance={},this.direction=We.none,this.drift=0,this.enable=!1,this.gravity=new Fz,this.path=new jz,this.outModes=new Bz,this.random=!1,this.size=!1,this.speed=2,this.spin=new Uz,this.straight=!1,this.trail=new Vz,this.vibrate=!1,this.warp=!1}load(t){if(L(t))return;this.angle.load(zi(t.angle)?{value:t.angle}:t.angle),this.attract.load(t.attract),this.center.load(t.center),t.decay!==void 0&&(this.decay=Z(t.decay)),t.direction!==void 0&&(this.direction=t.direction),t.distance!==void 0&&(this.distance=zi(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),t.drift!==void 0&&(this.drift=Z(t.drift)),t.enable!==void 0&&(this.enable=t.enable),this.gravity.load(t.gravity);const n=t.outModes;n!==void 0&&(ro(n)?this.outModes.load(n):this.outModes.load({default:n})),this.path.load(t.path),t.random!==void 0&&(this.random=t.random),t.size!==void 0&&(this.size=t.size),t.speed!==void 0&&(this.speed=Z(t.speed)),this.spin.load(t.spin),t.straight!==void 0&&(this.straight=t.straight),this.trail.load(t.trail),t.vibrate!==void 0&&(this.vibrate=t.vibrate),t.warp!==void 0&&(this.warp=t.warp)}}class Hz extends dm{constructor(){super(),this.destroy=Cr.none,this.speed=2}load(t){super.load(t),!L(t)&&t.destroy!==void 0&&(this.destroy=t.destroy)}}class Gz extends LS{constructor(){super(),this.animation=new Hz,this.value=1}load(t){if(L(t))return;super.load(t);const n=t.animation;n!==void 0&&this.animation.load(n)}}class Kz{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if(L(t))return;t.enable!==void 0&&(this.enable=t.enable);const n=t.width;n!==void 0&&(this.width=n);const i=t.height;i!==void 0&&(this.height=i)}}var ua;(function(e){e.delete="delete",e.wait="wait"})(ua||(ua={}));class qz{constructor(){this.mode=ua.delete,this.value=0}load(t){L(t)||(t.mode!==void 0&&(this.mode=t.mode),t.value!==void 0&&(this.value=t.value))}}class Qz{constructor(){this.density=new Kz,this.limit=new qz,this.value=0}load(t){L(t)||(this.density.load(t.density),this.limit.load(t.limit),t.value!==void 0&&(this.value=t.value))}}class Yz{constructor(){this.blur=0,this.color=new ot,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(t){L(t)||(t.blur!==void 0&&(this.blur=t.blur),this.color=ot.create(this.color,t.color),t.enable!==void 0&&(this.enable=t.enable),t.offset!==void 0&&(t.offset.x!==void 0&&(this.offset.x=t.offset.x),t.offset.y!==void 0&&(this.offset.y=t.offset.y)))}}class Xz{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(t){if(L(t))return;const n=t.options;if(n!==void 0)for(const i in n){const r=n[i];r&&(this.options[i]=rt(this.options[i]??{},r))}t.close!==void 0&&(this.close=t.close),t.fill!==void 0&&(this.fill=t.fill),t.type!==void 0&&(this.type=t.type)}}class Zz extends dm{constructor(){super(),this.destroy=Cr.none,this.speed=5}load(t){super.load(t),!L(t)&&t.destroy!==void 0&&(this.destroy=t.destroy)}}class Jz extends LS{constructor(){super(),this.animation=new Zz,this.value=3}load(t){if(super.load(t),L(t))return;const n=t.animation;n!==void 0&&this.animation.load(n)}}class $v{constructor(){this.width=0}load(t){L(t)||(t.color!==void 0&&(this.color=ca.create(this.color,t.color)),t.width!==void 0&&(this.width=Z(t.width)),t.opacity!==void 0&&(this.opacity=Z(t.opacity)))}}class eL extends _r{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),!L(t)&&(t.opacityRate!==void 0&&(this.opacityRate=t.opacityRate),t.sizeRate!==void 0&&(this.sizeRate=t.sizeRate),t.velocityRate!==void 0&&(this.velocityRate=t.velocityRate))}}class tL{constructor(t,n){this._engine=t,this._container=n,this.bounce=new IS,this.collisions=new zz,this.color=new ca,this.color.value="#fff",this.effect=new Lz,this.groups={},this.move=new Wz,this.number=new Qz,this.opacity=new Gz,this.reduceDuplicates=!1,this.shadow=new Yz,this.shape=new Xz,this.size=new Jz,this.stroke=new $v,this.zIndex=new eL}load(t){if(L(t))return;if(t.groups!==void 0)for(const i of Object.keys(t.groups)){if(!Object.hasOwn(t.groups,i))continue;const r=t.groups[i];r!==void 0&&(this.groups[i]=rt(this.groups[i]??{},r))}t.reduceDuplicates!==void 0&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.color.load(ca.create(this.color,t.color)),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),this.shape.load(t.shape),this.size.load(t.size),this.shadow.load(t.shadow),this.zIndex.load(t.zIndex),this.collisions.load(t.collisions),t.interactivity!==void 0&&(this.interactivity=rt({},t.interactivity));const n=t.stroke;if(n&&(this.stroke=Zt(n,i=>{const r=new $v;return r.load(i),r})),this._container){const i=this._engine.updaters.get(this._container);if(i)for(const o of i)o.loadOptions&&o.loadOptions(this,t);const r=this._engine.interactors.get(this._container);if(r)for(const o of r)o.loadParticlesOptions&&o.loadParticlesOptions(this,t)}}}function DS(e,...t){for(const n of t)e.load(n)}function $S(e,t,...n){const i=new tL(e,t);return DS(i,...n),i}class nL{constructor(t,n){this._findDefaultTheme=i=>this.themes.find(r=>r.default.value&&r.default.mode===i)??this.themes.find(r=>r.default.value&&r.default.mode===di.any),this._importPreset=i=>{this.load(this._engine.getPreset(i))},this._engine=t,this._container=n,this.autoPlay=!0,this.background=new mz,this.backgroundMask=new yz,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new vz,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new zS(t,n),this.manualParticles=[],this.particles=$S(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(t){var s,a;if(L(t))return;t.preset!==void 0&&Zt(t.preset,l=>this._importPreset(l)),t.autoPlay!==void 0&&(this.autoPlay=t.autoPlay),t.clear!==void 0&&(this.clear=t.clear),t.key!==void 0&&(this.key=t.key),t.name!==void 0&&(this.name=t.name),t.delay!==void 0&&(this.delay=Z(t.delay));const n=t.detectRetina;n!==void 0&&(this.detectRetina=n),t.duration!==void 0&&(this.duration=Z(t.duration));const i=t.fpsLimit;i!==void 0&&(this.fpsLimit=i),t.pauseOnBlur!==void 0&&(this.pauseOnBlur=t.pauseOnBlur),t.pauseOnOutsideViewport!==void 0&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),t.zLayers!==void 0&&(this.zLayers=t.zLayers),this.background.load(t.background);const r=t.fullScreen;yS(r)?this.fullScreen.enable=r:this.fullScreen.load(r),this.backgroundMask.load(t.backgroundMask),this.interactivity.load(t.interactivity),t.manualParticles&&(this.manualParticles=t.manualParticles.map(l=>{const c=new Pz;return c.load(l),c})),this.particles.load(t.particles),this.style=rt(this.style,t.style),this._engine.loadOptions(this,t),t.smooth!==void 0&&(this.smooth=t.smooth);const o=this._engine.interactors.get(this._container);if(o)for(const l of o)l.loadOptions&&l.loadOptions(this,t);if(t.responsive!==void 0)for(const l of t.responsive){const c=new Tz;c.load(l),this.responsive.push(c)}if(this.responsive.sort((l,c)=>l.maxWidth-c.maxWidth),t.themes!==void 0)for(const l of t.themes){const c=this.themes.find(u=>u.name===l.name);if(c)c.load(l);else{const u=new Ez;u.load(l),this.themes.push(u)}}this.defaultThemes.dark=(s=this._findDefaultTheme(di.dark))==null?void 0:s.name,this.defaultThemes.light=(a=this._findDefaultTheme(di.light))==null?void 0:a.name}setResponsive(t,n,i){this.load(i);const r=this.responsive.find(o=>o.mode===ar.screen&&screen?o.maxWidth>screen.availWidth:o.maxWidth*n>t);return this.load(r==null?void 0:r.options),r==null?void 0:r.maxWidth}setTheme(t){if(t){const n=this.themes.find(i=>i.name===t);n&&this.load(n.options)}else{const n=bS("(prefers-color-scheme: dark)"),i=n==null?void 0:n.matches,r=this._findDefaultTheme(i?di.dark:di.light);r&&this.load(r.options)}}}var Fo;(function(e){e.external="external",e.particles="particles"})(Fo||(Fo={}));class iL{constructor(t,n){this.container=n,this._engine=t,this._interactors=[],this._externalInteractors=[],this._particleInteractors=[]}externalInteract(t){for(const n of this._externalInteractors)n.isEnabled()&&n.interact(t)}handleClickMode(t){var n;for(const i of this._externalInteractors)(n=i.handleClickMode)==null||n.call(i,t)}async init(){this._interactors=await this._engine.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[];for(const t of this._interactors){switch(t.type){case Fo.external:this._externalInteractors.push(t);break;case Fo.particles:this._particleInteractors.push(t);break}t.init()}}particlesInteract(t,n){for(const i of this._externalInteractors)i.clear(t,n);for(const i of this._particleInteractors)i.isEnabled(t)&&i.interact(t,n)}reset(t){for(const n of this._externalInteractors)n.isEnabled()&&n.reset(t);for(const n of this._particleInteractors)n.isEnabled(t)&&n.reset(t)}}var dn;(function(e){e.normal="normal",e.inside="inside",e.outside="outside"})(dn||(dn={}));const Fv=0,ah=2,ol=.5,rL=2,jv="random";function oL(e,t,n,i){const r=t.options[e];if(r)return rt({close:t.close,fill:t.fill},sn(r,n,i))}function sL(e,t,n,i){const r=t.options[e];if(r)return rt({close:t.close,fill:t.fill},sn(r,n,i))}function Nv(e){if(!Ee(e.outMode,e.checkModes))return;const t=e.radius*ah;e.coord>e.maxCoord-t?e.setCb(-e.radius):e.coord{for(const y of i.plugins.values()){const h=y.particlePosition!==void 0?y.particlePosition(r,this):void 0;if(h)return kt.create(h.x,h.y,o)}const a=i.canvas.size,l=BO({size:a,position:r}),c=kt.create(l.x,l.y,o),u=this.getRadius(),f=this.options.move.outModes,d=y=>{Nv({outMode:y,checkModes:[Ie.bounce],coord:c.x,maxCoord:i.canvas.size.width,setCb:h=>c.x+=h,radius:u})},p=y=>{Nv({outMode:y,checkModes:[Ie.bounce],coord:c.y,maxCoord:i.canvas.size.height,setCb:h=>c.y+=h,radius:u})};return d(f.left??f.default),d(f.right??f.default),p(f.top??f.default),p(f.bottom??f.default),this._checkOverlap(c,s)?this._calcPosition(i,void 0,o,s+1):c},this._calculateVelocity=()=>{const i=VO(this.direction),r=i.copy(),o=this.options.move;if(o.direction===We.inside||o.direction===We.outside)return r;const s=ki(N(o.angle.value)),a=ki(N(o.angle.offset)),l={left:a-s*ol,right:a+s*ol};return o.straight||(r.angle+=Et(Z(l.left,l.right))),o.random&&typeof o.speed=="number"&&(r.length*=de()),r},this._checkOverlap=(i,r=Fv)=>{const o=this.options.collisions,s=this.getRadius();if(!o.enable)return!1;const a=o.overlap;if(a.enable)return!1;const l=a.retries;if(l>=0&&r>l)throw new Error(`${Qt} particle is overlapping and can't be placed`);return!!this.container.particles.find(u=>At(i,u.position){if(!i||!this.roll||!this.backColor&&!this.roll.alter)return i;const r=1,o=0,s=this.roll.horizontal&&this.roll.vertical?ah*r:r,a=this.roll.horizontal?Math.PI*ol:o;return Math.floor(((this.roll.angle??o)+a)/(Math.PI/s))%ah?this.backColor?this.backColor:this.roll.alter?fz(i,this.roll.alter.type,this.roll.alter.value):i:i},this._initPosition=i=>{const r=this.container,o=N(this.options.zIndex.value),s=0;this.position=this._calcPosition(r,i,Yt(o,s,r.zLayers)),this.initialPosition=this.position.copy();const a=r.canvas.size,l=0;switch(this.moveCenter={...TS(this.options.move.center,a),radius:this.options.move.center.radius??l,mode:this.options.move.center.mode??Lo.percent},this.direction=NO(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case We.inside:this.outType=dn.inside;break;case We.outside:this.outType=dn.outside;break}this.offset=Ne.origin},this._engine=t}destroy(t){var o,s,a;if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const n=this.container,i=this.pathGenerator,r=n.shapeDrawers.get(this.shape);(o=r==null?void 0:r.particleDestroy)==null||o.call(r,this);for(const l of n.plugins.values())(s=l.particleDestroyed)==null||s.call(l,this,t);for(const l of n.particles.updaters)(a=l.particleDestroyed)==null||a.call(l,this,t);i==null||i.reset(this),this._engine.dispatchEvent(at.particleDestroyed,{container:this.container,data:{particle:this}})}draw(t){const n=this.container,i=n.canvas;for(const r of n.plugins.values())i.drawParticlePlugin(r,this,t);i.drawParticle(this,t)}getFillColor(){return this._getRollColor(this.bubble.color??Av(this.color))}getMass(){return this.getRadius()**rL*Math.PI*ol}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){return this.bubble.radius??this.size.value}getStrokeColor(){return this._getRollColor(this.bubble.color??Av(this.strokeColor))}init(t,n,i,r){var M,z,x,_,R,F;const o=this.container,s=this._engine;this.id=t,this.group=r,this.effectClose=!0,this.effectFill=!0,this.shapeClose=!0,this.shapeFill=!0,this.pathRotation=!1,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.isRotating=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType=dn.normal,this.ignoresResizeRatio=!0;const a=o.retina.pixelRatio,l=o.actualOptions,c=$S(this._engine,o,l.particles),{reduceDuplicates:u}=c,f=c.effect.type,d=c.shape.type;this.effect=sn(f,this.id,u),this.shape=sn(d,this.id,u);const p=c.effect,y=c.shape;if(i){if((M=i.effect)!=null&&M.type){const D=i.effect.type,Y=sn(D,this.id,u);Y&&(this.effect=Y,p.load(i.effect))}if((z=i.shape)!=null&&z.type){const D=i.shape.type,Y=sn(D,this.id,u);Y&&(this.shape=Y,y.load(i.shape))}}if(this.effect===jv){const D=[...this.container.effectDrawers.keys()];this.effect=D[Math.floor(Math.random()*D.length)]}if(this.shape===jv){const D=[...this.container.shapeDrawers.keys()];this.shape=D[Math.floor(Math.random()*D.length)]}this.effectData=oL(this.effect,p,this.id,u),this.shapeData=sL(this.shape,y,this.id,u),c.load(i);const h=this.effectData;h&&c.load(h.particles);const b=this.shapeData;b&&c.load(b.particles);const m=new zS(s,o);m.load(o.actualOptions.interactivity),m.load(c.interactivity),this.interactivity=m,this.effectFill=(h==null?void 0:h.fill)??c.effect.fill,this.effectClose=(h==null?void 0:h.close)??c.effect.close,this.shapeFill=(b==null?void 0:b.fill)??c.shape.fill,this.shapeClose=(b==null?void 0:b.close)??c.shape.close,this.options=c;const g=this.options.move.path;this.pathDelay=N(g.delay.value)*et,g.generator&&(this.pathGenerator=this._engine.getPathGenerator(g.generator),this.pathGenerator&&o.addPath(g.generator,this.pathGenerator)&&this.pathGenerator.init(o)),o.retina.initParticle(this),this.size=PS(this.options.size,a),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(n),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy();const v=1;this.moveDecay=v-N(this.options.move.decay);const w=o.particles;w.setLastZIndex(this.position.z),this.zIndexFactor=this.position.z/o.zLayers,this.sides=24;let S=o.effectDrawers.get(this.effect);S||(S=this._engine.getEffectDrawer(this.effect),S&&o.effectDrawers.set(this.effect,S)),S!=null&&S.loadEffect&&S.loadEffect(this);let C=o.shapeDrawers.get(this.shape);C||(C=this._engine.getShapeDrawer(this.shape),C&&o.shapeDrawers.set(this.shape,C)),C!=null&&C.loadShape&&C.loadShape(this);const T=C==null?void 0:C.getSidesCount;T&&(this.sides=T(this)),this.spawning=!1,this.shadowColor=fn(this.options.shadow.color);for(const D of w.updaters)D.init(this);for(const D of w.movers)(x=D.init)==null||x.call(D,this);(_=S==null?void 0:S.particleInit)==null||_.call(S,o,this),(R=C==null?void 0:C.particleInit)==null||R.call(C,o,this);for(const D of o.plugins.values())(F=D.particleCreated)==null||F.call(D,this)}isInsideCanvas(){const t=this.getRadius(),n=this.container.canvas.size,i=this.position;return i.x>=-t&&i.y>=-t&&i.y<=n.height+t&&i.x<=n.width+t}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){var t;for(const n of this.container.particles.updaters)(t=n.reset)==null||t.call(n,this)}}class lL{constructor(t,n){this.position=t,this.particle=n}}var xo;(function(e){e.circle="circle",e.rectangle="rectangle"})(xo||(xo={}));const as=2;class FS{constructor(t,n,i){this.position={x:t,y:n},this.type=i}}class nt extends FS{constructor(t,n,i){super(t,n,xo.circle),this.radius=i}contains(t){return At(t,this.position)<=this.radius}intersects(t){const n=this.position,i=t.position,r={x:Math.abs(i.x-n.x),y:Math.abs(i.y-n.y)},o=this.radius;if(t instanceof nt||t.type===xo.circle){const s=t,a=o+s.radius,l=Math.sqrt(r.x**as+r.y**as);return a>l}else if(t instanceof pn||t.type===xo.rectangle){const s=t,{width:a,height:l}=s.size;return Math.pow(r.x-a,as)+Math.pow(r.y-l,as)<=o**as||r.x<=o+a&&r.y<=o+l||r.x<=a||r.y<=l}return!1}}class pn extends FS{constructor(t,n,i,r){super(t,n,xo.rectangle),this.size={height:r,width:i}}contains(t){const n=this.size.width,i=this.size.height,r=this.position;return t.x>=r.x&&t.x<=r.x+n&&t.y>=r.y&&t.y<=r.y+i}intersects(t){if(t instanceof nt)return t.intersects(this);const n=this.size.width,i=this.size.height,r=this.position,o=t.position,s=t instanceof pn?t.size:{width:0,height:0},a=s.width,l=s.height;return o.xr.x&&o.yr.y}}const ls=.5,cL=2,uL=4;class wc{constructor(t,n){this.rectangle=t,this.capacity=n,this._subdivide=()=>{const{x:i,y:r}=this.rectangle.position,{width:o,height:s}=this.rectangle.size,{capacity:a}=this;for(let l=0;ln.insert(t))):!1}query(t,n){const i=[];if(!t.intersects(this.rectangle))return[];for(const r of this._points)!t.contains(r.position)&&At(t.position,r.position)>r.particle.getRadius()&&(!n||n(r.particle))||i.push(r.particle);if(this._divided)for(const r of this._subs)i.push(...r.query(t,n));return i}queryCircle(t,n,i){return this.query(new nt(t.x,t.y,n),i)}queryRectangle(t,n,i){return this.query(new pn(t.x,t.y,n.width,n.height),i)}}const Vv=4,fL=2,dL=1,Bv=e=>{const{height:t,width:n}=e,i=-.25,r=1.5;return new pn(i*n,i*t,r*n,r*t)};class hL{constructor(t,n){this._addToPool=(...r)=>{this._pool.push(...r)},this._applyDensity=(r,o,s)=>{var y;const a=r.number;if(!((y=r.number.density)!=null&&y.enable)){s===void 0?this._limit=a.limit.value:a.limit&&this._groupLimits.set(s,a.limit.value);return}const l=this._initDensityFactor(a.density),c=a.value,u=0,f=a.limit.value>u?a.limit.value:c,d=Math.min(c,f)*l+o,p=Math.min(this.count,this.filter(h=>h.group===s).length);s===void 0?this._limit=a.limit.value*l:this._groupLimits.set(s,a.limit.value*l),pd&&this.removeQuantity(p-d,s)},this._initDensityFactor=r=>{const o=this._container,s=1;if(!o.canvas.element||!r.enable)return s;const a=o.canvas.element,l=o.retina.pixelRatio;return a.width*a.height/(r.height*r.width*l**fL)},this._pushParticle=(r,o,s,a)=>{try{let l=this._pool.pop();l||(l=new aL(this._engine,this._container)),l.init(this._nextId,r,o,s);let c=!0;return a&&(c=a(l)),c?(this._array.push(l),this._zArray.push(l),this._nextId++,this._engine.dispatchEvent(at.particleAdded,{container:this._container,data:{particle:l}}),l):void 0}catch(l){kr().warning(`${Qt} adding particle: ${l}`)}},this._removeParticle=(r,o,s)=>{const a=this._array[r];if(!a||a.group!==o)return!1;const l=this._zArray.indexOf(a),c=1;return this._array.splice(r,c),this._zArray.splice(l,c),a.destroy(s),this._engine.dispatchEvent(at.particleRemoved,{container:this._container,data:{particle:a}}),this._addToPool(a),!0},this._engine=t,this._container=n,this._nextId=0,this._array=[],this._zArray=[],this._pool=[],this._limit=0,this._groupLimits=new Map,this._needsSort=!1,this._lastZIndex=0,this._interactionManager=new iL(t,n),this._pluginsInitialized=!1;const i=n.canvas.size;this.quadTree=new wc(Bv(i),Vv),this.movers=[],this.updaters=[]}get count(){return this._array.length}addManualParticles(){const t=this._container;t.actualOptions.manualParticles.forEach(i=>this.addParticle(i.position?TS(i.position,t.canvas.size):void 0,i.options))}addParticle(t,n,i,r){const o=this._container.actualOptions.particles.number.limit.mode,s=i===void 0?this._limit:this._groupLimits.get(i)??this._limit,a=this.count;if(s>0)switch(o){case ua.delete:{const f=a+1-s;f>0&&this.removeQuantity(f);break}case ua.wait:if(a>=s)return;break}return this._pushParticle(t,n,i,r)}clear(){this._array=[],this._zArray=[],this._pluginsInitialized=!1}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}draw(t){const n=this._container,i=n.canvas;i.clear(),this.update(t);for(const r of n.plugins.values())i.drawPlugin(r,t);for(const r of this._zArray)r.draw(t)}filter(t){return this._array.filter(t)}find(t){return this._array.find(t)}get(t){return this._array[t]}handleClickMode(t){this._interactionManager.handleClickMode(t)}async init(){var r,o;const t=this._container,n=t.actualOptions;this._lastZIndex=0,this._needsSort=!1,await this.initPlugins();let i=!1;for(const s of t.plugins.values())if(i=((r=s.particlesInitialization)==null?void 0:r.call(s))??i,i)break;if(this.addManualParticles(),!i){const s=n.particles,a=s.groups;for(const l in a){const c=a[l];for(let u=this.count,f=0;f<((o=c.number)==null?void 0:o.value)&&uthis.count)return;let s=0;for(let a=t;s!i.has(l);this._array=this.filter(a),this._zArray=this._zArray.filter(a);for(const l of i)this._engine.dispatchEvent(at.particleRemoved,{container:this._container,data:{particle:l}});this._addToPool(...i)}this._interactionManager.externalInteract(t);for(const a of this._array){for(const l of this.updaters)l.update(a,t);!a.destroyed&&!a.spawning&&this._interactionManager.particlesInteract(a,t)}if(delete this._resizeFactor,this._needsSort){const a=this._zArray;a.sort((c,u)=>u.position.z-c.position.z||c.id-u.id);const l=1;this._lastZIndex=a[a.length-l].position.z,this._needsSort=!1}}}const Uv=1,Wv=1;class pL{constructor(t){this.container=t,this.pixelRatio=Uv,this.reduceFactor=Wv}init(){const t=this.container,n=t.actualOptions;this.pixelRatio=!n.detectRetina||Pr()?Uv:window.devicePixelRatio,this.reduceFactor=Wv;const i=this.pixelRatio,r=t.canvas;if(r.element){const a=r.element;r.size.width=a.offsetWidth*i,r.size.height=a.offsetHeight*i}const o=n.particles,s=o.move;this.maxSpeed=N(s.gravity.maxSpeed)*i,this.sizeAnimationSpeed=N(o.size.animation.speed)*i}initParticle(t){const n=t.options,i=this.pixelRatio,r=n.move,o=r.distance,s=t.retina;s.moveDrift=N(r.drift)*i,s.moveSpeed=N(r.speed)*i,s.sizeAnimationSpeed=N(n.size.animation.speed)*i;const a=s.maxDistance;a.horizontal=o.horizontal!==void 0?o.horizontal*i:void 0,a.vertical=o.vertical!==void 0?o.vertical*i:void 0,s.maxSpeed=N(r.gravity.maxSpeed)*i}}function we(e){return e&&!e.destroyed}const Pf=60;function mL(e,t=Pf,n=!1){return{value:e,factor:n?Pf/t:Pf*e/et}}function $r(e,t,...n){const i=new nL(e,t);return DS(i,...n),i}let gL=class{constructor(t,n,i){this._intersectionManager=r=>{if(!(!we(this)||!this.actualOptions.pauseOnOutsideViewport))for(const o of r)o.target===this.interactivity.element&&(o.isIntersecting?this.play():this.pause())},this._nextFrame=r=>{try{if(!this._smooth&&this._lastFrameTime!==void 0&&ret){this.draw(!1);return}if(this.particles.draw(o),!this.alive()){this.destroy();return}this.animationStatus&&this.draw(!1)}catch(o){kr().error(`${Qt} in animation loop`,o)}},this._engine=t,this.id=Symbol(n),this.fpsLimit=120,this._smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this._lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._clickHandlers=new Map,this._sourceOptions=i,this._initialSourceOptions=i,this.retina=new pL(this),this.canvas=new hz(this),this.particles=new hL(this._engine,this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this._options=$r(this._engine,this),this.actualOptions=$r(this._engine,this),this._eventListeners=new pz(this),this._intersectionObserver=GO(r=>this._intersectionManager(r)),this._engine.dispatchEvent(at.containerBuilt,{container:this})}get animationStatus(){return!this._paused&&!this.pageHidden&&we(this)}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(t){if(!we(this))return;const n=this.interactivity.element;if(!n)return;const i=(f,d,p)=>{if(!we(this))return;const y=this.retina.pixelRatio,h={x:d.x*y,y:d.y*y},b=this.particles.quadTree.queryCircle(h,p*y);t(f,b)},r=f=>{if(!we(this))return;const d=f,p={x:d.offsetX||d.clientX,y:d.offsetY||d.clientY};i(f,p,1)},o=()=>{we(this)&&(c=!0,u=!1)},s=()=>{we(this)&&(u=!0)},a=f=>{if(we(this)){if(c&&!u){const d=f,p=1;let y=d.touches[d.touches.length-p];if(!y&&(y=d.changedTouches[d.changedTouches.length-p],!y))return;const h=this.canvas.element,b=h?h.getBoundingClientRect():void 0,m=0,g={x:y.clientX-(b?b.left:m),y:y.clientY-(b?b.top:m)};i(f,g,Math.max(y.radiusX,y.radiusY))}c=!1,u=!1}},l=()=>{we(this)&&(c=!1,u=!1)};let c=!1,u=!1;this._clickHandlers.set("click",r),this._clickHandlers.set("touchstart",o),this._clickHandlers.set("touchmove",s),this._clickHandlers.set("touchend",a),this._clickHandlers.set("touchcancel",l);for(const[f,d]of this._clickHandlers)n.addEventListener(f,d)}addLifeTime(t){this._lifeTime+=t}addPath(t,n,i=!1){return!we(this)||!i&&this.pathGenerators.has(t)?!1:(this.pathGenerators.set(t,n),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}clearClickHandlers(){var t;if(we(this)){for(const[n,i]of this._clickHandlers)(t=this.interactivity.element)==null||t.removeEventListener(n,i);this._clickHandlers.clear()}}destroy(t=!0){var n,i;if(we(this)){this.stop(),this.clearClickHandlers(),this.particles.destroy(),this.canvas.destroy();for(const r of this.effectDrawers.values())(n=r.destroy)==null||n.call(r,this);for(const r of this.shapeDrawers.values())(i=r.destroy)==null||i.call(r,this);for(const r of this.effectDrawers.keys())this.effectDrawers.delete(r);for(const r of this.shapeDrawers.keys())this.shapeDrawers.delete(r);if(this._engine.clearPlugins(this),this.destroyed=!0,t){const r=this._engine.items,o=r.findIndex(a=>a===this);o>=0&&r.splice(o,1)}this._engine.dispatchEvent(at.containerDestroyed,{container:this})}}draw(t){if(!we(this))return;let n=t;const i=r=>{n&&(this._lastFrameTime=void 0,n=!1),this._nextFrame(r)};this._drawAnimationFrame=FO(r=>i(r))}async export(t,n={}){for(const i of this.plugins.values()){if(!i.export)continue;const r=await i.export(t,n);if(r.supported)return r.blob}kr().error(`${Qt} - Export plugin with type ${t} not found`)}handleClickMode(t){var n;if(we(this)){this.particles.handleClickMode(t);for(const i of this.plugins.values())(n=i.handleClickMode)==null||n.call(i,t)}}async init(){var f,d,p,y;if(!we(this))return;const t=this._engine.getSupportedEffects();for(const h of t){const b=this._engine.getEffectDrawer(h);b&&this.effectDrawers.set(h,b)}const n=this._engine.getSupportedShapes();for(const h of n){const b=this._engine.getShapeDrawer(h);b&&this.shapeDrawers.set(h,b)}await this.particles.initPlugins(),this._options=$r(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=$r(this._engine,this,this._options);const i=await this._engine.getAvailablePlugins(this);for(const[h,b]of i)this.plugins.set(h,b);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize();const{zLayers:r,duration:o,delay:s,fpsLimit:a,smooth:l}=this.actualOptions;this.zLayers=r,this._duration=N(o)*et,this._delay=N(s)*et,this._lifeTime=0;const c=120,u=0;this.fpsLimit=a>u?a:c,this._smooth=l;for(const h of this.effectDrawers.values())await((f=h.init)==null?void 0:f.call(h,this));for(const h of this.shapeDrawers.values())await((d=h.init)==null?void 0:d.call(h,this));for(const h of this.plugins.values())await((p=h.init)==null?void 0:p.call(h));this._engine.dispatchEvent(at.containerInit,{container:this}),await this.particles.init(),this.particles.setDensity();for(const h of this.plugins.values())(y=h.particlesSetup)==null||y.call(h);this._engine.dispatchEvent(at.particlesSetup,{container:this})}async loadTheme(t){we(this)&&(this._currentTheme=t,await this.refresh())}pause(){var t;if(we(this)&&(this._drawAnimationFrame!==void 0&&(jO(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const n of this.plugins.values())(t=n.pause)==null||t.call(n);this.pageHidden||(this._paused=!0),this._engine.dispatchEvent(at.containerPaused,{container:this})}}play(t){if(!we(this))return;const n=this._paused||t;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),n)for(const i of this.plugins.values())i.play&&i.play();this._engine.dispatchEvent(at.containerPlay,{container:this}),this.draw(n??!1)}async refresh(){if(we(this))return this.stop(),this.start()}async reset(t){if(we(this))return this._initialSourceOptions=t,this._sourceOptions=t,this._options=$r(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=$r(this._engine,this,this._options),this.refresh()}async start(){!we(this)||this.started||(await this.init(),this.started=!0,await new Promise(t=>{const n=async()=>{var i;this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const r of this.plugins.values())await((i=r.start)==null?void 0:i.call(r));this._engine.dispatchEvent(at.containerStarted,{container:this}),this.play(),t()};this._delayTimeout=setTimeout(()=>void n(),this._delay)}))}stop(){var t;if(!(!we(this)||!this.started)){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const n of this.plugins.values())(t=n.stop)==null||t.call(n);for(const n of this.plugins.keys())this.plugins.delete(n);this._sourceOptions=this._options,this._engine.dispatchEvent(at.containerStopped,{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const t=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this._responsiveMaxWidth===t?!1:(this._responsiveMaxWidth=t,!0)}};class yL{constructor(){this._listeners=new Map}addEventListener(t,n){this.removeEventListener(t,n);let i=this._listeners.get(t);i||(i=[],this._listeners.set(t,i)),i.push(n)}dispatchEvent(t,n){const i=this._listeners.get(t);i==null||i.forEach(r=>r(n))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,n){const i=this._listeners.get(t);if(!i)return;const r=i.length,o=i.indexOf(n);if(o<0)return;const a=1;r===a?this._listeners.delete(t):i.splice(o,a)}}async function Tf(e,t,n,i=!1){let r=t.get(e);return(!r||i)&&(r=await Promise.all([...n.values()].map(o=>o(e))),t.set(e,r)),r}async function vL(e){const t=sn(e.url,e.index);if(!t)return e.fallback;const n=await fetch(t);return n.ok?await n.json():(kr().error(`${Qt} ${n.status} while retrieving config file`),e.fallback)}const jS="true",Hv="false",Mf="canvas",xL=e=>{let t;if(e instanceof HTMLCanvasElement||e.tagName.toLowerCase()===Mf)t=e,t.dataset[or]||(t.dataset[or]=Hv);else{const i=e.getElementsByTagName(Mf);i.length?(t=i[0],t.dataset[or]=Hv):(t=document.createElement(Mf),t.dataset[or]=jS,e.appendChild(t))}const n="100%";return t.style.width||(t.style.width=n),t.style.height||(t.style.height=n),t},wL=(e,t)=>{let n=t??document.getElementById(e);return n||(n=document.createElement("div"),n.id=e,n.dataset[or]=jS,document.body.append(n),n)};class bL{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new yL,this._initialized=!1,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[n,i]of this._configs)t[n]=i;return t}get items(){return this._domArray}get version(){return"3.6.0"}addConfig(t){const n=t.key??t.name??"default";this._configs.set(n,t),this._eventDispatcher.dispatchEvent(at.configAdded,{data:{name:n,config:t}})}async addEffect(t,n,i=!0){Zt(t,r=>{this.getEffectDrawer(r)||this.effectDrawers.set(r,n)}),await this.refresh(i)}addEventListener(t,n){this._eventDispatcher.addEventListener(t,n)}async addInteractor(t,n,i=!0){this._initializers.interactors.set(t,n),await this.refresh(i)}async addMover(t,n,i=!0){this._initializers.movers.set(t,n),await this.refresh(i)}async addParticleUpdater(t,n,i=!0){this._initializers.updaters.set(t,n),await this.refresh(i)}async addPathGenerator(t,n,i=!0){this.getPathGenerator(t)||this.pathGenerators.set(t,n),await this.refresh(i)}async addPlugin(t,n=!0){this.getPlugin(t.id)||this.plugins.push(t),await this.refresh(n)}async addPreset(t,n,i=!1,r=!0){(i||!this.getPreset(t))&&this.presets.set(t,n),await this.refresh(r)}async addShape(t,n=!0){for(const i of t.validTypes)this.getShapeDrawer(i)||this.shapeDrawers.set(i,t);await this.refresh(n)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}dispatchEvent(t,n){this._eventDispatcher.dispatchEvent(t,n)}dom(){return this.items}domItem(t){return this.item(t)}async getAvailablePlugins(t){const n=new Map;for(const i of this.plugins)i.needsPlugin(t.actualOptions)&&n.set(i.id,await i.getPlugin(t));return n}getEffectDrawer(t){return this.effectDrawers.get(t)}async getInteractors(t,n=!1){return Tf(t,this.interactors,this._initializers.interactors,n)}async getMovers(t,n=!1){return Tf(t,this.movers,this._initializers.movers,n)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find(n=>n.id===t)}getPreset(t){return this.presets.get(t)}getShapeDrawer(t){return this.shapeDrawers.get(t)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(t,n=!1){return Tf(t,this.updaters,this._initializers.updaters,n)}init(){this._initialized||(this._initialized=!0)}item(t){const{items:n}=this,i=n[t];if(!i||i.destroyed){n.splice(t,1);return}return i}async load(t){var y;const i=t.id??((y=t.element)==null?void 0:y.id)??`tsparticles${Math.floor(de()*1e4)}`,{index:r,url:o}=t,s=o?await vL({fallback:t.options,url:o,index:r}):t.options,a=sn(s,r),{items:l}=this,c=l.findIndex(h=>h.id.description===i),u=0,f=new gL(this,i,a);if(c>=u){const h=this.item(c),b=1,m=0,g=h?b:m;h&&!h.destroyed&&h.destroy(!1),l.splice(c,g,f)}else l.push(f);const d=wL(i,t.element),p=xL(d);return f.canvas.loadCanvas(p),await f.start(),f}loadOptions(t,n){this.plugins.forEach(i=>{var r;return(r=i.loadOptions)==null?void 0:r.call(i,t,n)})}loadParticlesOptions(t,n,...i){const r=this.updaters.get(t);r&&r.forEach(o=>{var s;return(s=o.loadOptions)==null?void 0:s.call(o,n,...i)})}async refresh(t=!0){t&&await Promise.all(this.items.map(n=>n.refresh()))}removeEventListener(t,n){this._eventDispatcher.removeEventListener(t,n)}setOnClickHandler(t){const{items:n}=this;if(!n.length)throw new Error(`${Qt} can only set click handlers after calling tsParticles.load()`);n.forEach(i=>i.addClickHandler(t))}}var oo;(function(e){e[e.h=1]="h",e[e.s=2]="s",e[e.l=3]="l",e[e.a=5]="a"})(oo||(oo={}));class SL{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(t){const n=t.value,i=n.hsl??t.value;if(i.h!==void 0&&i.s!==void 0&&i.l!==void 0)return Io(i)}handleRangeColor(t){const n=t.value,i=n.hsl??t.value;if(i.h!==void 0&&i.l!==void 0)return Io({h:N(i.h),l:N(i.l),s:N(i.s)})}parseString(t){if(!t.startsWith("hsl"))return;const n=/hsla?\(\s*(\d+)\s*[\s,]\s*(\d+)%\s*[\s,]\s*(\d+)%\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i,i=n.exec(t),r=4,o=1,s=10;return i?nz({a:i.length>r?wS(i[oo.a]):o,h:parseInt(i[oo.h],s),l:parseInt(i[oo.l],s),s:parseInt(i[oo.s],s)}):void 0}}var so;(function(e){e[e.r=1]="r",e[e.g=2]="g",e[e.b=3]="b",e[e.a=5]="a"})(so||(so={}));class CL{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(t){const n=t.value,i=n.rgb??t.value;if(i.r!==void 0)return i}handleRangeColor(t){const n=t.value,i=n.rgb??t.value;if(i.r!==void 0)return{r:N(i.r),g:N(i.g),b:N(i.b)}}parseString(t){if(!t.startsWith(this.stringPrefix))return;const n=/rgba?\(\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i,i=n.exec(t),r=10;return i?{a:i.length>4?wS(i[so.a]):1,b:parseInt(i[so.b],r),g:parseInt(i[so.g],r),r:parseInt(i[so.r],r)}:void 0}}function kL(){const e=new CL,t=new SL;Rv(e),Rv(t);const n=new bL;return n.init(),n}class In{constructor(t){this.type=Fo.external,this.container=t}}class hm{constructor(t){this.type=Fo.particles,this.container=t}}var Wt;(function(e){e.clockwise="clockwise",e.counterClockwise="counter-clockwise",e.random="random"})(Wt||(Wt={}));var Gv;(function(e){e.linear="linear",e.radial="radial",e.random="random"})(Gv||(Gv={}));var pr;(function(e){e.easeInBack="ease-in-back",e.easeInCirc="ease-in-circ",e.easeInCubic="ease-in-cubic",e.easeInLinear="ease-in-linear",e.easeInQuad="ease-in-quad",e.easeInQuart="ease-in-quart",e.easeInQuint="ease-in-quint",e.easeInExpo="ease-in-expo",e.easeInSine="ease-in-sine",e.easeOutBack="ease-out-back",e.easeOutCirc="ease-out-circ",e.easeOutCubic="ease-out-cubic",e.easeOutLinear="ease-out-linear",e.easeOutQuad="ease-out-quad",e.easeOutQuart="ease-out-quart",e.easeOutQuint="ease-out-quint",e.easeOutExpo="ease-out-expo",e.easeOutSine="ease-out-sine",e.easeInOutBack="ease-in-out-back",e.easeInOutCirc="ease-in-out-circ",e.easeInOutCubic="ease-in-out-cubic",e.easeInOutLinear="ease-in-out-linear",e.easeInOutQuad="ease-in-out-quad",e.easeInOutQuart="ease-in-out-quart",e.easeInOutQuint="ease-in-out-quint",e.easeInOutExpo="ease-in-out-expo",e.easeInOutSine="ease-in-out-sine"})(pr||(pr={}));const pm=kL();Pr()||(window.tsParticles=pm);const PL=e=>{const t=e.id??"tsparticles";return k.useEffect(()=>{let n;return pm.load({id:t,url:e.url,options:e.options}).then(i=>{var r;n=i,(r=e.particlesLoaded)==null||r.call(e,i)}),()=>{n==null||n.destroy()}},[t,e,e.url,e.options]),P.jsx("div",{id:t,className:e.className})};async function TL(e){await e(pm)}const lh=.5,lr=0,an=1,Kv=60,qv=0,ML=.01;function EL(e){const t=e.initialPosition,{dx:n,dy:i}=ut(t,e.position),r=Math.abs(n),o=Math.abs(i),{maxDistance:s}=e.retina,a=s.horizontal,l=s.vertical;if(!a&&!l)return;const c=(a&&r>=a)??!1,u=(l&&o>=l)??!1;if((c||u)&&!e.misplaced)e.misplaced=!!a&&r>a||!!l&&o>l,a&&(e.velocity.x=e.velocity.y*lh-e.velocity.x),l&&(e.velocity.y=e.velocity.x*lh-e.velocity.y);else if((!a||rt.x&&d.x>lr)&&(d.x*=-de()),l&&(f.yt.y&&d.y>lr)&&(d.y*=-de())}}function _L(e,t,n,i,r,o){AL(e,o);const s=e.gravity,a=s!=null&&s.enable&&s.inverse?-an:an;r&&n&&(e.velocity.x+=r*o.factor/(Kv*n)),s!=null&&s.enable&&n&&(e.velocity.y+=a*(s.acceleration*o.factor)/(Kv*n));const l=e.moveDecay;e.velocity.multTo(l);const c=e.velocity.mult(n);s!=null&&s.enable&&i>lr&&(!s.inverse&&c.y>=lr&&c.y>=i||s.inverse&&c.y<=lr&&c.y<=-i)&&(c.y=a*i,n&&(e.velocity.y=c.y/n));const u=e.options.zIndex,f=(an-e.zIndexFactor)**u.velocityRate;c.multTo(f);const{position:d}=e;d.addTo(c),t.vibrate&&(d.x+=Math.sin(d.x*Math.cos(d.y)),d.y+=Math.cos(d.y*Math.sin(d.x)))}function RL(e,t){const n=e.container;if(!e.spin)return;const i={x:e.spin.direction===Wt.clockwise?Math.cos:Math.sin,y:e.spin.direction===Wt.clockwise?Math.sin:Math.cos};e.position.x=e.spin.center.x+e.spin.radius*i.x(e.spin.angle),e.position.y=e.spin.center.y+e.spin.radius*i.y(e.spin.angle),e.spin.radius+=e.spin.acceleration;const r=Math.max(n.canvas.size.width,n.canvas.size.height),o=r*lh;e.spin.radius>o?(e.spin.radius=o,e.spin.acceleration*=-an):e.spin.radius=u?Wt.clockwise:Wt.counterClockwise,angle:e.velocity.angle,radius:l,acceleration:e.retina.spinAcceleration}}const LL=2,IL=1,DL=1;class $L{init(t){const n=t.options,i=n.move.gravity;t.gravity={enable:i.enable,acceleration:N(i.acceleration),inverse:i.inverse},zL(t)}isEnabled(t){return!t.destroyed&&t.options.move.enable}move(t,n){var h,b;const i=t.options,r=i.move;if(!r.enable)return;const o=t.container,s=o.retina.pixelRatio;(h=t.retina).moveSpeed??(h.moveSpeed=N(r.speed)*s),(b=t.retina).moveDrift??(b.moveDrift=N(t.options.move.drift)*s);const a=OL(t),l=t.retina.moveSpeed*o.retina.reduceFactor,c=t.retina.moveDrift,u=Mn(i.size.value)*s,f=r.size?t.getRadius()/u:IL,d=n.factor||DL,p=l*f*a*d/LL,y=t.retina.maxSpeed??o.retina.maxSpeed;r.spin.enable?RL(t,p):_L(t,r,p,y,c,n),EL(t)}}async function FL(e,t=!0){await e.addMover("base",()=>Promise.resolve(new $L),t)}const jL=2,NL=Math.PI*jL,VL=0,Qv={x:0,y:0};function BL(e){const{context:t,particle:n,radius:i}=e;n.circleRange||(n.circleRange={min:VL,max:NL});const r=n.circleRange;t.arc(Qv.x,Qv.y,i,r.min,r.max,!1)}const UL=12,WL=360,Yv=0;class HL{constructor(){this.validTypes=["circle"]}draw(t){BL(t)}getSidesCount(){return UL}particleInit(t,n){const i=n.shapeData,r=(i==null?void 0:i.angle)??{max:WL,min:Yv};n.circleRange=ro(r)?{min:ki(r.min),max:ki(r.max)}:{min:Yv,max:ki(r)}}}async function GL(e,t=!0){await e.addShape(new HL,t)}class KL{constructor(t){this.container=t}init(t){const n=aa(t.options.color,t.id,t.options.reduceDuplicates);n&&(t.color=AS(n,t.options.color.animation,this.container.retina.reduceFactor))}isEnabled(t){const{h:n,s:i,l:r}=t.options.color.animation,{color:o}=t;return!t.destroyed&&!t.spawning&&((o==null?void 0:o.h.value)!==void 0&&n.enable||(o==null?void 0:o.s.value)!==void 0&&i.enable||(o==null?void 0:o.l.value)!==void 0&&r.enable)}update(t,n){OS(t.color,n)}}async function qL(e,t=!0){await e.addParticleUpdater("color",n=>Promise.resolve(new KL(n)),t)}class QL{constructor(t){this.container=t}init(t){const n=t.options.opacity,i=1;t.opacity=PS(n,i);const r=n.animation;r.enable&&(t.opacity.velocity=N(r.speed)/mi*this.container.retina.reduceFactor,r.sync||(t.opacity.velocity*=de()))}isEnabled(t){return!t.destroyed&&!t.spawning&&!!t.opacity&&t.opacity.enable&&((t.opacity.maxLoops??0)<=0||(t.opacity.maxLoops??0)>0&&(t.opacity.loops??0)<(t.opacity.maxLoops??0))}reset(t){t.opacity&&(t.opacity.time=0,t.opacity.loops=0)}update(t,n){!this.isEnabled(t)||!t.opacity||cm(t,t.opacity,!0,t.options.opacity.animation.destroy,n)}}async function YL(e,t=!0){await e.addParticleUpdater("opacity",n=>Promise.resolve(new QL(n)),t)}const bc=0,wo=0;function XL(e){if(e.outMode!==Ie.bounce&&e.outMode!==Ie.split||e.direction!==Q.left&&e.direction!==Q.right)return;e.bounds.righte.canvasSize.width&&e.direction===Q.right&&(e.particle.position.x=e.canvasSize.width-e.size-e.offset.x);const t=e.particle.velocity.x;let n=!1;if(e.direction===Q.right&&e.bounds.right>=e.canvasSize.width&&t>bc||e.direction===Q.left&&e.bounds.left<=wo&&t=e.canvasSize.width&&e.direction===Q.right?e.particle.position.x=e.canvasSize.width-i:e.bounds.left<=wo&&e.direction===Q.left&&(e.particle.position.x=i),e.outMode===Ie.split&&e.particle.destroy()}function ZL(e){if(e.outMode!==Ie.bounce&&e.outMode!==Ie.split||e.direction!==Q.bottom&&e.direction!==Q.top)return;e.bounds.bottome.canvasSize.height&&e.direction===Q.bottom&&(e.particle.position.y=e.canvasSize.height-e.size-e.offset.y);const t=e.particle.velocity.y;let n=!1;if(e.direction===Q.bottom&&e.bounds.bottom>=e.canvasSize.height&&t>bc||e.direction===Q.top&&e.bounds.top<=wo&&t=e.canvasSize.height&&e.direction===Q.bottom?e.particle.position.y=e.canvasSize.height-i:e.bounds.top<=wo&&e.direction===Q.top&&(e.particle.position.y=i),e.outMode===Ie.split&&e.particle.destroy()}class JL{constructor(t){this.container=t,this.modes=[Ie.bounce,Ie.split]}update(t,n,i,r){if(!this.modes.includes(r))return;const o=this.container;let s=!1;for(const d of o.plugins.values())if(d.particleBounce!==void 0&&(s=d.particleBounce(t,i,n)),s)break;if(s)return;const a=t.getPosition(),l=t.offset,c=t.getRadius(),u=ka(a,c),f=o.canvas.size;XL({particle:t,outMode:r,direction:n,bounds:u,canvasSize:f,offset:l,size:c}),ZL({particle:t,outMode:r,direction:n,bounds:u,canvasSize:f,offset:l,size:c})}}const sl=0;class eI{constructor(t){this.container=t,this.modes=[Ie.destroy]}update(t,n,i,r){if(!this.modes.includes(r))return;const o=this.container;switch(t.outType){case dn.normal:case dn.outside:if(sm(t.position,o.canvas.size,Ne.origin,t.getRadius(),n))return;break;case dn.inside:{const{dx:s,dy:a}=ut(t.position,t.moveCenter),{x:l,y:c}=t.velocity;if(lt.moveCenter.radius||ct.moveCenter.radius||l>=sl&&s<-t.moveCenter.radius||c>=sl&&a<-t.moveCenter.radius)return;break}}o.particles.remove(t,t.group,!0)}}const al=0;class tI{constructor(t){this.container=t,this.modes=[Ie.none]}update(t,n,i,r){if(!this.modes.includes(r)||((t.options.move.distance.horizontal&&(n===Q.left||n===Q.right))??(t.options.move.distance.vertical&&(n===Q.top||n===Q.bottom))))return;const o=t.options.move.gravity,s=this.container,a=s.canvas.size,l=t.getRadius();if(o.enable){const c=t.position;(!o.inverse&&c.y>a.height+l&&n===Q.bottom||o.inverse&&c.y<-l&&n===Q.top)&&s.particles.remove(t)}else{if(t.velocity.y>al&&t.position.y<=a.height+l||t.velocity.y=-l||t.velocity.x>al&&t.position.x<=a.width+l||t.velocity.x=-l)return;sm(t.position,s.canvas.size,Ne.origin,l,n)||s.particles.remove(t)}}}const ll=0,cl=0;class nI{constructor(t){this.container=t,this.modes=[Ie.out]}update(t,n,i,r){if(!this.modes.includes(r))return;const o=this.container;switch(t.outType){case dn.inside:{const{x:s,y:a}=t.velocity,l=Ne.origin;l.length=t.moveCenter.radius,l.angle=t.velocity.angle+Math.PI,l.addTo(Ne.create(t.moveCenter));const{dx:c,dy:u}=ut(t.position,l);if(s<=ll&&c>=cl||a<=ll&&u>=cl||s>=ll&&c<=cl||a>=ll&&u<=cl)return;t.position.x=Math.floor(Et({min:0,max:o.canvas.size.width})),t.position.y=Math.floor(Et({min:0,max:o.canvas.size.height}));const{dx:f,dy:d}=ut(t.position,t.moveCenter);t.direction=Math.atan2(-d,-f),t.velocity.angle=t.direction;break}default:{if(sm(t.position,o.canvas.size,Ne.origin,t.getRadius(),n))return;switch(t.outType){case dn.outside:{t.position.x=Math.floor(Et({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.x,t.position.y=Math.floor(Et({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.y;const{dx:s,dy:a}=ut(t.position,t.moveCenter);t.moveCenter.radius&&(t.direction=Math.atan2(a,s),t.velocity.angle=t.direction);break}case dn.normal:{const s=t.options.move.warp,a=o.canvas.size,l={bottom:a.height+t.getRadius()+t.offset.y,left:-t.getRadius()-t.offset.x,right:a.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},c=t.getRadius(),u=ka(t.position,c);n===Q.right&&u.left>a.width+t.offset.x?(t.position.x=l.left,t.initialPosition.x=t.position.x,s||(t.position.y=de()*a.height,t.initialPosition.y=t.position.y)):n===Q.left&&u.right<-t.offset.x&&(t.position.x=l.right,t.initialPosition.x=t.position.x,s||(t.position.y=de()*a.height,t.initialPosition.y=t.position.y)),n===Q.bottom&&u.top>a.height+t.offset.y?(s||(t.position.x=de()*a.width,t.initialPosition.x=t.position.x),t.position.y=l.top,t.initialPosition.y=t.position.y):n===Q.top&&u.bottom<-t.offset.y&&(s||(t.position.x=de()*a.width,t.initialPosition.x=t.position.x),t.position.y=l.bottom,t.initialPosition.y=t.position.y);break}}break}}}}const iI=(e,t)=>e.default===t||e.bottom===t||e.left===t||e.right===t||e.top===t;class rI{constructor(t){this._addUpdaterIfMissing=(n,i,r)=>{const o=n.options.move.outModes;!this.updaters.has(i)&&iI(o,i)&&this.updaters.set(i,r(this.container))},this._updateOutMode=(n,i,r,o)=>{for(const s of this.updaters.values())s.update(n,o,i,r)},this.container=t,this.updaters=new Map}init(t){this._addUpdaterIfMissing(t,Ie.bounce,n=>new JL(n)),this._addUpdaterIfMissing(t,Ie.out,n=>new nI(n)),this._addUpdaterIfMissing(t,Ie.destroy,n=>new eI(n)),this._addUpdaterIfMissing(t,Ie.none,n=>new tI(n))}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,n){const i=t.options.move.outModes;this._updateOutMode(t,n,i.bottom??i.default,Q.bottom),this._updateOutMode(t,n,i.left??i.default,Q.left),this._updateOutMode(t,n,i.right??i.default,Q.right),this._updateOutMode(t,n,i.top??i.default,Q.top)}}async function oI(e,t=!0){await e.addParticleUpdater("outModes",n=>Promise.resolve(new rI(n)),t)}const Hi=0;class sI{init(t){const n=t.container,i=t.options.size,r=i.animation;r.enable&&(t.size.velocity=(t.retina.sizeAnimationSpeed??n.retina.sizeAnimationSpeed)/mi*n.retina.reduceFactor,r.sync||(t.size.velocity*=de()))}isEnabled(t){return!t.destroyed&&!t.spawning&&t.size.enable&&((t.size.maxLoops??Hi)<=Hi||(t.size.maxLoops??Hi)>Hi&&(t.size.loops??Hi)<(t.size.maxLoops??Hi))}reset(t){t.size.loops=Hi}update(t,n){this.isEnabled(t)&&cm(t,t.size,!0,t.options.size.animation.destroy,n)}}async function aI(e,t=!0){await e.addParticleUpdater("size",()=>Promise.resolve(new sI),t)}async function lI(e,t=!0){await FL(e,!1),await GL(e,!1),await qL(e,!1),await YL(e,!1),await oI(e,!1),await aI(e,!1),await e.refresh(t)}async function cI(){xf(pr.easeInQuad,e=>e**2),xf(pr.easeOutQuad,e=>1-(1-e)**2),xf(pr.easeInOutQuad,e=>e<.5?2*e**2:1-(-2*e+2)**2/2),await Promise.resolve()}function uI(e,t){const{context:n,opacity:i}=e,r=.5,o=n.globalAlpha;if(!t)return;const s=t.width,a=s*r;n.globalAlpha=i,n.drawImage(t,-a,-a,s,s),n.globalAlpha=o}const Ef='"Twemoji Mozilla", Apple Color Emoji, "Segoe UI Emoji", "Noto Color Emoji", "EmojiOne Color"',Xv=0;class fI{constructor(){this.validTypes=["emoji"],this._emojiShapeDict=new Map}destroy(){for(const[t,n]of this._emojiShapeDict)n instanceof ImageBitmap&&(n==null||n.close()),this._emojiShapeDict.delete(t)}draw(t){const n=t.particle.emojiDataKey;if(!n)return;const i=this._emojiShapeDict.get(n);i&&uI(t,i)}async init(t){const n=t.actualOptions,{validTypes:i}=this;if(!i.find(s=>Ee(s,n.particles.shape.type)))return;const r=[_v(Ef)],o=i.map(s=>n.particles.shape.options[s]).find(s=>!!s);o&&Zt(o,s=>{s.font&&r.push(_v(s.font))}),await Promise.all(r)}particleDestroy(t){t.emojiDataKey=void 0}particleInit(t,n){const r=n.shapeData;if(!(r!=null&&r.value))return;const o=sn(r.value,n.randomIndexData);if(!o)return;const s=typeof o=="string"?{font:r.font??Ef,padding:r.padding??Xv,value:o}:{font:Ef,padding:Xv,...r,...o},a=s.font,l=s.value,c=`${l}_${a}`;if(this._emojiShapeDict.has(c)){n.emojiDataKey=c;return}const u=s.padding*2,f=Mn(n.size.value),d=f+u,p=d*2;let y;if(typeof OffscreenCanvas<"u"){const h=new OffscreenCanvas(p,p),b=h.getContext("2d");if(!b)return;b.font=`400 ${f*2}px ${a}`,b.textBaseline="middle",b.textAlign="center",b.fillText(l,d,d),y=h.transferToImageBitmap()}else{const h=document.createElement("canvas");h.width=p,h.height=p;const b=h.getContext("2d");if(!b)return;b.font=`400 ${f*2}px ${a}`,b.textBaseline="middle",b.textAlign="center",b.fillText(l,d,d),y=h}this._emojiShapeDict.set(c,y),n.emojiDataKey=c}}async function dI(e,t=!0){await e.addShape(new fI,t)}const hI=1,pI=1,NS=0;function VS(e,t,n,i,r){const o=e.actualOptions.interactivity.modes.attract;if(!o)return;const s=e.particles.quadTree.query(i,r);for(const a of s){const{dx:l,dy:c,distance:u}=ut(a.position,t),f=o.speed*o.factor,d=Yt(xS(o.easing)(pI-u/n)*f,hI,o.maxSpeed),p=Ne.create(u?l/u*d:f,u?c/u*d:f);a.position.subFrom(p)}}function mI(e,t){e.attract||(e.attract={particles:[]});const{attract:n}=e;if(n.finish||(n.count||(n.count=0),n.count++,n.count===e.particles.count&&(n.finish=!0)),n.clicking){const i=e.interactivity.mouse.clickPosition,r=e.retina.attractModeDistance;if(!r||rt(o))}else n.clicking===!1&&(n.particles=[])}function gI(e,t){const n=e.interactivity.mouse.position,i=e.retina.attractModeDistance;!i||it(r))}class yI{constructor(){this.distance=200,this.duration=.4,this.easing=pr.easeOutQuad,this.factor=1,this.maxSpeed=50,this.speed=1}load(t){L(t)||(t.distance!==void 0&&(this.distance=t.distance),t.duration!==void 0&&(this.duration=t.duration),t.easing!==void 0&&(this.easing=t.easing),t.factor!==void 0&&(this.factor=t.factor),t.maxSpeed!==void 0&&(this.maxSpeed=t.maxSpeed),t.speed!==void 0&&(this.speed=t.speed))}}const cs="attract";let vI=class extends In{constructor(t,n){super(n),this._engine=t,n.attract||(n.attract={particles:[]}),this.handleClickMode=i=>{const r=this.container.actualOptions,o=r.interactivity.modes.attract;if(!(!o||i!==cs)){n.attract||(n.attract={particles:[]}),n.attract.clicking=!0,n.attract.count=0;for(const s of n.attract.particles)this.isEnabled(s)&&s.velocity.setTo(s.initialVelocity);n.attract.particles=[],n.attract.finish=!1,setTimeout(()=>{n.destroyed||(n.attract||(n.attract={particles:[]}),n.attract.clicking=!1)},o.duration*et)}}}clear(){}init(){const t=this.container,n=t.actualOptions.interactivity.modes.attract;n&&(t.retina.attractModeDistance=n.distance*t.retina.pixelRatio)}interact(){const t=this.container,n=t.actualOptions,i=t.interactivity.status===Sr,r=n.interactivity.events,{enable:o,mode:s}=r.onHover,{enable:a,mode:l}=r.onClick;i&&o&&Ee(cs,s)?gI(this.container,c=>this.isEnabled(c)):a&&Ee(cs,l)&&mI(this.container,c=>this.isEnabled(c))}isEnabled(t){const n=this.container,i=n.actualOptions,r=n.interactivity.mouse,o=((t==null?void 0:t.interactivity)??i.interactivity).events;if((!r.position||!o.onHover.enable)&&(!r.clickPosition||!o.onClick.enable))return!1;const s=o.onHover.mode,a=o.onClick.mode;return Ee(cs,s)||Ee(cs,a)}loadModeOptions(t,...n){t.attract||(t.attract=new yI);for(const i of n)t.attract.load(i==null?void 0:i.attract)}reset(){}};async function xI(e,t=!0){await e.addInteractor("externalAttract",n=>Promise.resolve(new vI(e,n)),t)}const wI=2,Ll=.5,bI=Math.PI*Ll,Zv=2,BS=10,SI=0;function US(e,t,n,i,r){const o=e.particles.quadTree.query(i,r);for(const s of o)i instanceof nt?CS(rh(s),{position:t,radius:n,mass:n**wI*bI,velocity:Ne.origin,factor:Ne.origin}):i instanceof pn&&XO(s,ka(t,n))}function CI(e,t,n,i){const r=document.querySelectorAll(t);r.length&&r.forEach(o=>{const s=o,a=e.retina.pixelRatio,l={x:(s.offsetLeft+s.offsetWidth*Ll)*a,y:(s.offsetTop+s.offsetHeight*Ll)*a},c=s.offsetWidth*Ll*a,u=BS*a,f=n.type===$o.circle?new nt(l.x,l.y,c+u):new pn(s.offsetLeft*a-u,s.offsetTop*a-u,s.offsetWidth*a+u*Zv,s.offsetHeight*a+u*Zv);i(l,c,f)})}function kI(e,t,n,i){lm(n,t,(r,o)=>CI(e,r,o,(s,a,l)=>US(e,s,a,l,i)))}function PI(e,t){const n=e.retina.pixelRatio,i=BS*n,r=e.interactivity.mouse.position,o=e.retina.bounceModeDistance;!o||othis.isEnabled(l)):kI(this.container,a,ul,l=>this.isEnabled(l))}isEnabled(t){const n=this.container,i=n.actualOptions,r=n.interactivity.mouse,o=((t==null?void 0:t.interactivity)??i.interactivity).events,s=o.onDiv;return!!r.position&&o.onHover.enable&&Ee(ul,o.onHover.mode)||am(ul,s)}loadModeOptions(t,...n){t.bounce||(t.bounce=new TI);for(const i of n)t.bounce.load(i==null?void 0:i.bounce)}reset(){}}async function EI(e,t=!0){await e.addInteractor("externalBounce",n=>Promise.resolve(new MI(n)),t)}class WS{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(t){if(!L(t)){if(t.distance!==void 0&&(this.distance=t.distance),t.duration!==void 0&&(this.duration=t.duration),t.mix!==void 0&&(this.mix=t.mix),t.opacity!==void 0&&(this.opacity=t.opacity),t.color!==void 0){const n=Ln(this.color)?void 0:this.color;this.color=Zt(t.color,i=>ot.create(n,i))}t.size!==void 0&&(this.size=t.size)}}}class _I extends WS{constructor(){super(),this.selectors=[]}load(t){super.load(t),!L(t)&&t.selectors!==void 0&&(this.selectors=t.selectors)}}class RI extends WS{load(t){super.load(t),!L(t)&&(this.divs=Zt(t.divs,n=>{const i=new _I;return i.load(n),i}))}}var bn;(function(e){e.color="color",e.opacity="opacity",e.size="size"})(bn||(bn={}));function Jv(e,t,n,i){if(t>=n){const r=e+(t-n)*i;return Yt(r,e,t)}else if(t{var c;const n=this.container,i=n.actualOptions,r=n.interactivity.mouse.clickPosition,o=i.interactivity.modes.bubble;if(!o||!r)return;n.bubble||(n.bubble={});const s=n.retina.bubbleModeDistance;if(!s||s<_f)return;const a=n.particles.quadTree.queryCircle(r,s,u=>this.isEnabled(u)),{bubble:l}=n;for(const u of a){if(!l.clicking)continue;u.bubble.inRange=!l.durationEnd;const f=u.getPosition(),d=At(f,r),p=(new Date().getTime()-(n.interactivity.mouse.clickTime??AI))/et;p>o.duration&&(l.durationEnd=!0),p>o.duration*OI&&(l.clicking=!1,l.durationEnd=!1);const y={bubbleObj:{optValue:n.retina.bubbleModeSize,value:u.bubble.radius},particlesObj:{optValue:Mn(u.options.size.value)*n.retina.pixelRatio,value:u.size.value},type:bn.size};this._process(u,d,p,y);const h={bubbleObj:{optValue:o.opacity,value:u.bubble.opacity},particlesObj:{optValue:Mn(u.options.opacity.value),value:((c=u.opacity)==null?void 0:c.value)??e0},type:bn.opacity};this._process(u,d,p,h),!l.durationEnd&&d<=s?this._hoverBubbleColor(u,d):delete u.bubble.color}},this._hoverBubble=()=>{const n=this.container,i=n.interactivity.mouse.position,r=n.retina.bubbleModeDistance;if(!r||r<_f||!i)return;const o=n.particles.quadTree.queryCircle(i,r,s=>this.isEnabled(s));for(const s of o){s.bubble.inRange=!0;const a=s.getPosition(),l=At(a,i),c=t0-l/r;l<=r?c>=LI&&n.interactivity.status===Sr&&(this._hoverBubbleSize(s,c),this._hoverBubbleOpacity(s,c),this._hoverBubbleColor(s,c)):this.reset(s),n.interactivity.status===nh&&this.reset(s)}},this._hoverBubbleColor=(n,i,r)=>{const o=this.container.actualOptions,s=r??o.interactivity.modes.bubble;if(s){if(!n.bubble.finalColor){const a=s.color;if(!a)return;const l=sn(a);n.bubble.finalColor=aa(l)}if(n.bubble.finalColor)if(s.mix){n.bubble.color=void 0;const a=n.getFillColor();n.bubble.color=a?ES(um(a,n.bubble.finalColor,t0-i,i)):n.bubble.finalColor}else n.bubble.color=n.bubble.finalColor}},this._hoverBubbleOpacity=(n,i,r)=>{var f,d;const o=this.container,s=o.actualOptions,a=(r==null?void 0:r.opacity)??((f=s.interactivity.modes.bubble)==null?void 0:f.opacity);if(!a)return;const l=n.options.opacity.value,c=((d=n.opacity)==null?void 0:d.value)??e0,u=Jv(c,a,Mn(l),i);u!==void 0&&(n.bubble.opacity=u)},this._hoverBubbleSize=(n,i,r)=>{const o=this.container,s=r!=null&&r.size?r.size*o.retina.pixelRatio:o.retina.bubbleModeSize;if(s===void 0)return;const a=Mn(n.options.size.value)*o.retina.pixelRatio,l=n.size.value,c=Jv(l,s,a,i);c!==void 0&&(n.bubble.radius=c)},this._process=(n,i,r,o)=>{const s=this.container,a=o.bubbleObj.optValue,l=s.actualOptions,c=l.interactivity.modes.bubble;if(!c||a===void 0)return;const u=c.duration,f=s.retina.bubbleModeDistance,d=o.particlesObj.optValue,p=o.bubbleObj.value,y=o.particlesObj.value??zI,h=o.type;if(!(!f||f<_f||a===d))if(s.bubble||(s.bubble={}),s.bubble.durationEnd)p&&(h===bn.size&&delete n.bubble.radius,h===bn.opacity&&delete n.bubble.opacity);else if(i<=f){if((p??y)!==a){const m=y-r*(y-a)/u;h===bn.size&&(n.bubble.radius=m),h===bn.opacity&&(n.bubble.opacity=m)}}else h===bn.size&&delete n.bubble.radius,h===bn.opacity&&delete n.bubble.opacity},this._singleSelectorHover=(n,i,r)=>{const o=this.container,s=document.querySelectorAll(i),a=o.actualOptions.interactivity.modes.bubble;!a||!s.length||s.forEach(l=>{const c=l,u=o.retina.pixelRatio,f={x:(c.offsetLeft+c.offsetWidth*Rf)*u,y:(c.offsetTop+c.offsetHeight*Rf)*u},d=c.offsetWidth*Rf*u,p=r.type===$o.circle?new nt(f.x,f.y,d):new pn(c.offsetLeft*u,c.offsetTop*u,c.offsetWidth*u,c.offsetHeight*u),y=o.particles.quadTree.query(p,h=>this.isEnabled(h));for(const h of y){if(!p.contains(h.getPosition()))continue;h.bubble.inRange=!0;const b=a.divs,m=SS(b,c);(!h.bubble.div||h.bubble.div!==c)&&(this.clear(h,n,!0),h.bubble.div=c),this._hoverBubbleSize(h,Af,m),this._hoverBubbleOpacity(h,Af,m),this._hoverBubbleColor(h,Af,m)}})},t.bubble||(t.bubble={}),this.handleClickMode=n=>{n===Gi&&(t.bubble||(t.bubble={}),t.bubble.clicking=!0)}}clear(t,n,i){t.bubble.inRange&&!i||(delete t.bubble.div,delete t.bubble.opacity,delete t.bubble.radius,delete t.bubble.color)}init(){const t=this.container,n=t.actualOptions.interactivity.modes.bubble;n&&(t.retina.bubbleModeDistance=n.distance*t.retina.pixelRatio,n.size!==void 0&&(t.retina.bubbleModeSize=n.size*t.retina.pixelRatio))}interact(t){const n=this.container.actualOptions,i=n.interactivity.events,r=i.onHover,o=i.onClick,s=r.enable,a=r.mode,l=o.enable,c=o.mode,u=i.onDiv;s&&Ee(Gi,a)?this._hoverBubble():l&&Ee(Gi,c)?this._clickBubble():lm(Gi,u,(f,d)=>this._singleSelectorHover(t,f,d))}isEnabled(t){const n=this.container,i=n.actualOptions,r=n.interactivity.mouse,o=((t==null?void 0:t.interactivity)??i.interactivity).events,{onClick:s,onDiv:a,onHover:l}=o,c=am(Gi,a);return c||l.enable&&r.position||s.enable&&r.clickPosition?Ee(Gi,l.mode)||Ee(Gi,s.mode)||c:!1}loadModeOptions(t,...n){t.bubble||(t.bubble=new RI);for(const i of n)t.bubble.load(i==null?void 0:i.bubble)}reset(t){t.bubble.inRange=!1}}async function DI(e,t=!0){await e.addInteractor("externalBubble",n=>Promise.resolve(new II(n)),t)}class $I{constructor(){this.opacity=.5}load(t){L(t)||t.opacity!==void 0&&(this.opacity=t.opacity)}}class FI{constructor(){this.distance=80,this.links=new $I,this.radius=60}load(t){L(t)||(t.distance!==void 0&&(this.distance=t.distance),this.links.load(t.links),t.radius!==void 0&&(this.radius=t.radius))}}const n0=0,i0=1,jI=0;function NI(e,t,n,i){const r=Math.floor(n.getRadius()/t.getRadius()),o=t.getFillColor(),s=n.getFillColor();if(!o||!s)return;const a=t.getPosition(),l=n.getPosition(),c=um(o,s,t.getRadius(),n.getRadius()),u=e.createLinearGradient(a.x,a.y,l.x,l.y);return u.addColorStop(n0,la(o,i)),u.addColorStop(Yt(r,n0,i0),Xn(c,i)),u.addColorStop(i0,la(s,i)),u}function VI(e,t,n,i,r){Is(e,i,r),e.lineWidth=t,e.strokeStyle=n,e.stroke()}function BI(e,t,n,i){const r=e.actualOptions,o=r.interactivity.modes.connect;if(o)return NI(t,n,i,o.links.opacity)}function UI(e,t,n){e.canvas.draw(i=>{const r=BI(e,i,t,n);if(!r)return;const o=t.getPosition(),s=n.getPosition();VI(i,t.retina.linksWidth??jI,r,o,s)})}const WI="connect",r0=0;class HI extends In{constructor(t){super(t)}clear(){}init(){const t=this.container,n=t.actualOptions.interactivity.modes.connect;n&&(t.retina.connectModeDistance=n.distance*t.retina.pixelRatio,t.retina.connectModeRadius=n.radius*t.retina.pixelRatio)}interact(){const t=this.container;if(t.actualOptions.interactivity.events.onHover.enable&&t.interactivity.status==="pointermove"){const i=t.interactivity.mouse.position,{connectModeDistance:r,connectModeRadius:o}=t.retina;if(!r||rthis.isEnabled(l));a.forEach((l,c)=>{const u=l.getPosition(),f=1;for(const d of a.slice(c+f)){const p=d.getPosition(),y=Math.abs(r),h=Math.abs(u.x-p.x),b=Math.abs(u.y-p.y);hPromise.resolve(new HI(n)),t)}class KI{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(t){L(t)||(t.blink!==void 0&&(this.blink=t.blink),t.color!==void 0&&(this.color=ot.create(this.color,t.color)),t.consent!==void 0&&(this.consent=t.consent),t.opacity!==void 0&&(this.opacity=t.opacity))}}class qI{constructor(){this.distance=100,this.links=new KI}load(t){L(t)||(t.distance!==void 0&&(this.distance=t.distance),this.links.load(t.links))}}const QI=0;function YI(e,t,n,i,r,o){Is(e,n,i),e.strokeStyle=Xn(r,o),e.lineWidth=t,e.stroke()}function XI(e,t,n,i,r){e.canvas.draw(o=>{const s=t.getPosition();YI(o,t.retina.linksWidth??QI,s,r,n,i)})}const ZI="grab",JI=0,e3=0;class t3 extends In{constructor(t){super(t)}clear(){}init(){const t=this.container,n=t.actualOptions.interactivity.modes.grab;n&&(t.retina.grabModeDistance=n.distance*t.retina.pixelRatio)}interact(){var a;const t=this.container,n=t.actualOptions,i=n.interactivity;if(!i.modes.grab||!i.events.onHover.enable||t.interactivity.status!==Sr)return;const r=t.interactivity.mouse.position;if(!r)return;const o=t.retina.grabModeDistance;if(!o||othis.isEnabled(l));for(const l of s){const c=l.getPosition(),u=At(c,r);if(u>o)continue;const f=i.modes.grab.links,d=f.opacity,p=d-u*d/o;if(p<=e3)continue;const y=f.color??((a=l.options.links)==null?void 0:a.color);if(!t.particles.grabLineColor&&y){const b=i.modes.grab.links;t.particles.grabLineColor=RS(y,b.blink,b.consent)}const h=sh(l,void 0,t.particles.grabLineColor);h&&XI(t,l,h,p,r)}}isEnabled(t){const n=this.container,i=n.interactivity.mouse,r=((t==null?void 0:t.interactivity)??n.actualOptions.interactivity).events;return r.onHover.enable&&!!i.position&&Ee(ZI,r.onHover.mode)}loadModeOptions(t,...n){t.grab||(t.grab=new qI);for(const i of n)t.grab.load(i==null?void 0:i.grab)}reset(){}}async function n3(e,t=!0){await e.addInteractor("externalGrab",n=>Promise.resolve(new t3(n)),t)}const i3="pause";class r3 extends In{constructor(t){super(t),this.handleClickMode=n=>{if(n!==i3)return;const i=this.container;i.animationStatus?i.pause():i.play()}}clear(){}init(){}interact(){}isEnabled(){return!0}reset(){}}async function o3(e,t=!0){await e.addInteractor("externalPause",n=>Promise.resolve(new r3(n)),t)}class s3{constructor(){this.default=!0,this.groups=[],this.quantity=4}load(t){if(L(t))return;t.default!==void 0&&(this.default=t.default),t.groups!==void 0&&(this.groups=t.groups.map(i=>i)),this.groups.length||(this.default=!0);const n=t.quantity;n!==void 0&&(this.quantity=Z(n))}}const a3="push",l3=0;class c3 extends In{constructor(t){super(t),this.handleClickMode=n=>{if(n!==a3)return;const i=this.container,r=i.actualOptions,o=r.interactivity.modes.push;if(!o)return;const s=N(o.quantity);if(s<=l3)return;const a=bu([void 0,...o.groups]),l=a!==void 0?i.actualOptions.particles.groups[a]:void 0;i.particles.push(s,i.interactivity.mouse,l,a)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(t,...n){t.push||(t.push=new s3);for(const i of n)t.push.load(i==null?void 0:i.push)}reset(){}}async function u3(e,t=!0){await e.addInteractor("externalPush",n=>Promise.resolve(new c3(n)),t)}class f3{constructor(){this.quantity=2}load(t){if(L(t))return;const n=t.quantity;n!==void 0&&(this.quantity=Z(n))}}const d3="remove";class h3 extends In{constructor(t){super(t),this.handleClickMode=n=>{const i=this.container,r=i.actualOptions;if(!r.interactivity.modes.remove||n!==d3)return;const o=N(r.interactivity.modes.remove.quantity);i.particles.removeQuantity(o)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(t,...n){t.remove||(t.remove=new f3);for(const i of n)t.remove.load(i==null?void 0:i.remove)}reset(){}}async function p3(e,t=!0){await e.addInteractor("externalRemove",n=>Promise.resolve(new h3(n)),t)}class HS{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing=pr.easeOutQuad}load(t){L(t)||(t.distance!==void 0&&(this.distance=t.distance),t.duration!==void 0&&(this.duration=t.duration),t.easing!==void 0&&(this.easing=t.easing),t.factor!==void 0&&(this.factor=t.factor),t.speed!==void 0&&(this.speed=t.speed),t.maxSpeed!==void 0&&(this.maxSpeed=t.maxSpeed))}}class m3 extends HS{constructor(){super(),this.selectors=[]}load(t){super.load(t),!L(t)&&t.selectors!==void 0&&(this.selectors=t.selectors)}}class g3 extends HS{load(t){super.load(t),!L(t)&&(this.divs=Zt(t.divs,n=>{const i=new m3;return i.load(n),i}))}}const Ki="repulse",y3=0,v3=6,x3=3,w3=2,b3=0,S3=0,C3=1,Of=.5;class k3 extends In{constructor(t,n){super(n),this._clickRepulse=()=>{const i=this.container,r=i.actualOptions.interactivity.modes.repulse;if(!r)return;const o=i.repulse??{particles:[]};if(o.finish||(o.count||(o.count=0),o.count++,o.count===i.particles.count&&(o.finish=!0)),o.clicking){const s=i.retina.repulseModeDistance;if(!s||sthis.isEnabled(f));for(const f of u){const{dx:d,dy:p,distance:y}=ut(l,f.position),h=y**w3,b=r.speed,m=-a*b/h;if(h<=a){o.particles.push(f);const g=Ne.create(d,p);g.length=m,f.velocity.setTo(g)}}}else if(o.clicking===!1){for(const s of o.particles)s.velocity.setTo(s.initialVelocity);o.particles=[]}},this._hoverRepulse=()=>{const i=this.container,r=i.interactivity.mouse.position,o=i.retina.repulseModeDistance;!o||o{const a=this.container,l=a.particles.quadTree.query(o,b=>this.isEnabled(b)),c=a.actualOptions.interactivity.modes.repulse;if(!c)return;const{easing:u,speed:f,factor:d,maxSpeed:p}=c,y=xS(u),h=((s==null?void 0:s.speed)??f)*d;for(const b of l){const{dx:m,dy:g,distance:v}=ut(b.position,i),w=Yt(y(C3-v/r)*h,S3,p),S=Ne.create(v?m/v*w:h,v?g/v*w:h);b.position.addTo(S)}},this._singleSelectorRepulse=(i,r)=>{const o=this.container,s=o.actualOptions.interactivity.modes.repulse;if(!s)return;const a=document.querySelectorAll(i);a.length&&a.forEach(l=>{const c=l,u=o.retina.pixelRatio,f={x:(c.offsetLeft+c.offsetWidth*Of)*u,y:(c.offsetTop+c.offsetHeight*Of)*u},d=c.offsetWidth*Of*u,p=r.type===$o.circle?new nt(f.x,f.y,d):new pn(c.offsetLeft*u,c.offsetTop*u,c.offsetWidth*u,c.offsetHeight*u),y=s.divs,h=SS(y,c);this._processRepulse(f,d,p,h)})},this._engine=t,n.repulse||(n.repulse={particles:[]}),this.handleClickMode=i=>{const r=this.container.actualOptions,o=r.interactivity.modes.repulse;if(!o||i!==Ki)return;n.repulse||(n.repulse={particles:[]});const s=n.repulse;s.clicking=!0,s.count=0;for(const a of n.repulse.particles)this.isEnabled(a)&&a.velocity.setTo(a.initialVelocity);s.particles=[],s.finish=!1,setTimeout(()=>{n.destroyed||(s.clicking=!1)},o.duration*et)}}clear(){}init(){const t=this.container,n=t.actualOptions.interactivity.modes.repulse;n&&(t.retina.repulseModeDistance=n.distance*t.retina.pixelRatio)}interact(){const t=this.container,n=t.actualOptions,i=t.interactivity.status===Sr,r=n.interactivity.events,o=r.onHover,s=o.enable,a=o.mode,l=r.onClick,c=l.enable,u=l.mode,f=r.onDiv;i&&s&&Ee(Ki,a)?this._hoverRepulse():c&&Ee(Ki,u)?this._clickRepulse():lm(Ki,f,(d,p)=>this._singleSelectorRepulse(d,p))}isEnabled(t){const n=this.container,i=n.actualOptions,r=n.interactivity.mouse,o=((t==null?void 0:t.interactivity)??i.interactivity).events,s=o.onDiv,a=o.onHover,l=o.onClick,c=am(Ki,s);if(!(c||a.enable&&r.position||l.enable&&r.clickPosition))return!1;const u=a.mode,f=l.mode;return Ee(Ki,u)||Ee(Ki,f)||c}loadModeOptions(t,...n){t.repulse||(t.repulse=new g3);for(const i of n)t.repulse.load(i==null?void 0:i.repulse)}reset(){}}async function P3(e,t=!0){await e.addInteractor("externalRepulse",n=>Promise.resolve(new k3(e,n)),t)}class T3{constructor(){this.factor=3,this.radius=200}load(t){L(t)||(t.factor!==void 0&&(this.factor=t.factor),t.radius!==void 0&&(this.radius=t.radius))}}const M3="slow",E3=0;class _3 extends In{constructor(t){super(t)}clear(t,n,i){t.slow.inRange&&!i||(t.slow.factor=1)}init(){const t=this.container,n=t.actualOptions.interactivity.modes.slow;n&&(t.retina.slowModeRadius=n.radius*t.retina.pixelRatio)}interact(){}isEnabled(t){const n=this.container,i=n.interactivity.mouse,r=((t==null?void 0:t.interactivity)??n.actualOptions.interactivity).events;return r.onHover.enable&&!!i.position&&Ee(M3,r.onHover.mode)}loadModeOptions(t,...n){t.slow||(t.slow=new T3);for(const i of n)t.slow.load(i==null?void 0:i.slow)}reset(t){t.slow.inRange=!1;const n=this.container,i=n.actualOptions,r=n.interactivity.mouse.position,o=n.retina.slowModeRadius,s=i.interactivity.modes.slow;if(!s||!o||oo||(f.inRange=!0,f.factor=c/u)}}async function R3(e,t=!0){await e.addInteractor("externalSlow",n=>Promise.resolve(new _3(n)),t)}const A3=0,O3=1,z3=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function L3(e,t,n){const{svgData:i}=e;if(!i)return"";const r=la(t,n);if(i.includes("fill"))return i.replace(z3,()=>r);const o=i.indexOf(">");return`${i.substring(A3,o)} fill="${r}"${i.substring(o)}`}async function Cu(e){return new Promise(t=>{e.loading=!0;const n=new Image;e.element=n,n.addEventListener("load",()=>{e.loading=!1,t()}),n.addEventListener("error",()=>{e.element=void 0,e.error=!0,e.loading=!1,kr().error(`${Qt} loading image: ${e.source}`),t()}),n.src=e.source})}async function I3(e){if(e.type!=="svg"){await Cu(e);return}e.loading=!0;const t=await fetch(e.source);t.ok?e.svgData=await t.text():(kr().error(`${Qt} Image not found`),e.error=!0),e.loading=!1}function D3(e,t,n,i){var s;const r=L3(e,n,((s=i.opacity)==null?void 0:s.value)??O3),o={color:n,gif:t.gif,data:{...e,svgData:r},loaded:!1,ratio:t.width/t.height,replaceColor:t.replaceColor,source:t.src};return new Promise(a=>{const l=new Blob([r],{type:"image/svg+xml"}),c=URL||window.URL||window.webkitURL||window,u=c.createObjectURL(l),f=new Image;f.addEventListener("load",()=>{o.loaded=!0,o.element=f,a(o),c.revokeObjectURL(u)});const d=async()=>{c.revokeObjectURL(u);const p={...e,error:!1,loading:!0};await Cu(p),o.loaded=!0,o.element=p.element,a(o)};f.addEventListener("error",()=>void d()),f.src=u})}const zf=[0,4,2,1],o0=[8,8,4,2];class $3{constructor(t){this.pos=0,this.data=new Uint8ClampedArray(t)}getString(t){const n=this.data.slice(this.pos,this.pos+t);return this.pos+=n.length,n.reduce((i,r)=>i+String.fromCharCode(r),"")}nextByte(){return this.data[this.pos++]}nextTwoBytes(){return this.pos+=2,this.data[this.pos-2]+(this.data[this.pos-1]<<8)}readSubBlocks(){let t="",n=0;const i=0,r=0;do{n=this.data[this.pos++];for(let o=n;--o>=i;t+=String.fromCharCode(this.data[this.pos++]));}while(n!==r);return t}readSubBlocksBin(){let t=this.data[this.pos],n=0;const i=0,r=1;for(let s=0;t!==i;s+=t+r,t=this.data[this.pos+s])n+=t;const o=new Uint8Array(n);t=this.data[this.pos++];for(let s=0;t!==i;t=this.data[this.pos++])for(let a=t;--a>=i;o[s++]=this.data[this.pos++]);return o}skipSubBlocks(){for(const t=1,n=0;this.data[this.pos]!==n;this.pos+=this.data[this.pos]+t);this.pos++}}var nn;(function(e){e[e.Replace=0]="Replace",e[e.Combine=1]="Combine",e[e.RestoreBackground=2]="RestoreBackground",e[e.RestorePrevious=3]="RestorePrevious",e[e.UndefinedA=4]="UndefinedA",e[e.UndefinedB=5]="UndefinedB",e[e.UndefinedC=6]="UndefinedC",e[e.UndefinedD=7]="UndefinedD"})(nn||(nn={}));var Hn;(function(e){e[e.Extension=33]="Extension",e[e.ApplicationExtension=255]="ApplicationExtension",e[e.GraphicsControlExtension=249]="GraphicsControlExtension",e[e.PlainTextExtension=1]="PlainTextExtension",e[e.CommentExtension=254]="CommentExtension",e[e.Image=44]="Image",e[e.EndOfFile=59]="EndOfFile"})(Hn||(Hn={}));const ht={x:0,y:0},F3=0,s0=.5,j3=0,a0=0,ch=0;function GS(e,t){const n=[];for(let i=0;i>>5,r.disposalMethod=(o&28)>>>2,r.userInputDelayFlag=(o&2)===2;const s=(o&1)===1;r.delayTime=e.nextTwoBytes()*10;const a=e.nextByte();s&&i(a),e.pos++;break}case Hn.ApplicationExtension:{e.pos++;const r={identifier:e.getString(8),authenticationCode:e.getString(3),data:e.readSubBlocksBin()};t.applicationExtensions.push(r);break}case Hn.CommentExtension:{t.comments.push([n(!1),e.readSubBlocks()]);break}case Hn.PlainTextExtension:{if(t.globalColorTable.length===0)throw new EvalError("plain text extension without global color table");e.pos++,t.frames[n(!1)].plainTextData={left:e.nextTwoBytes(),top:e.nextTwoBytes(),width:e.nextTwoBytes(),height:e.nextTwoBytes(),charSize:{width:e.nextTwoBytes(),height:e.nextTwoBytes()},foregroundColor:e.nextByte(),backgroundColor:e.nextByte(),text:e.readSubBlocks()};break}default:e.skipSubBlocks();break}}async function V3(e,t,n,i,r,o){const s=t.frames[i(!0)];s.left=e.nextTwoBytes(),s.top=e.nextTwoBytes(),s.width=e.nextTwoBytes(),s.height=e.nextTwoBytes();const a=e.nextByte(),l=(a&128)===128,c=(a&64)===64;s.sortFlag=(a&32)===32,s.reserved=(a&24)>>>3;const u=1<<(a&7)+1;l&&(s.localColorTable=GS(e,u));const f=m=>{const{r:g,g:v,b:w}=(l?s.localColorTable:t.globalColorTable)[m];return m!==r(null)?{r:g,g:v,b:w,a:255}:{r:g,g:v,b:w,a:n?~~((g+v+w)/3):0}},d=(()=>{try{return new ImageData(s.width,s.height,{colorSpace:"srgb"})}catch(m){if(m instanceof DOMException&&m.name==="IndexSizeError")return null;throw m}})();if(d==null)throw new EvalError("GIF frame size is to large");const p=e.nextByte(),y=e.readSubBlocksBin(),h=1<{const v=m>>>3,w=m&7;return(y[v]+(y[v+1]<<8)+(y[v+2]<<16)&(1<>>w};if(c){for(let m=0,g=p+1,v=0,w=[[0]],S=0;S<4;S++)if(zf[S]=w.length?w.push(w[z].concat(w[z][0])):z!==h&&w.push(w[z].concat(w[m][0]));for(const x of w[m]){const{r:_,g:R,b:F,a:D}=f(x);d.data.set([_,R,F,D],zf[S]*s.width+o0[S]*T+C%(s.width*4)),C+=4}w.length===1<=s.height&&(M=!0))}}s.image=d,s.bitmap=await createImageBitmap(d)}else{let m=0,g=p+1,v=0,w=-4,S=!1;const C=[[0]];for(;!S;){const T=m;if(m=b(v,g),v+=g,m===h){g=p+1,C.length=h+2;for(let M=0;M=C.length?C.push(C[T].concat(C[T][0])):T!==h&&C.push(C[T].concat(C[m][0]));for(const M of C[m]){const{r:z,g:x,b:_,a:R}=f(M);d.data.set([z,x,_,R],w+=4)}C.length>=1<>>4,o.sortFlag=(a&8)===8;const c=1<<(a&7)+1,u=s.nextByte();o.pixelAspectRatio=s.nextByte(),o.pixelAspectRatio!==0&&(o.pixelAspectRatio=(o.pixelAspectRatio+15)/64),l&&(o.globalColorTable=GS(s,c));const f=(()=>{try{return new ImageData(o.width,o.height,{colorSpace:"srgb"})}catch(w){if(w instanceof DOMException&&w.name==="IndexSizeError")return null;throw w}})();if(f==null)throw new Error("GIF frame size is to large");const{r:d,g:p,b:y}=o.globalColorTable[u];f.data.set(l?[d,p,y,255]:[0,0,0,0]);for(let w=4;w(w&&(b=!0),h),v=w=>(w!=null&&(m=w),m);try{do b&&(o.frames.push({left:0,top:0,width:0,height:0,disposalMethod:nn.Replace,image:new ImageData(1,1,{colorSpace:"srgb"}),plainTextData:null,userInputDelayFlag:!1,delayTime:0,sortFlag:!1,localColorTable:[],reserved:0,GCreserved:0}),h++,m=-1,b=!1);while(!await B3(s,o,n,g,v,t));o.frames.length--;for(const w of o.frames){if(w.userInputDelayFlag&&w.delayTime===0){o.totalTime=1/0;break}o.totalTime+=w.delayTime}return o}catch(w){throw w instanceof EvalError?new Error(`error while parsing frame ${h} "${w.message}"`):w}}function H3(e){const{context:t,radius:n,particle:i,delta:r}=e,o=i.image;if(!(o!=null&&o.gifData)||!o.gif)return;const s=new OffscreenCanvas(o.gifData.width,o.gifData.height),a=s.getContext("2d");if(!a)throw new Error("could not create offscreen canvas context");a.imageSmoothingQuality="low",a.imageSmoothingEnabled=!1,a.clearRect(ht.x,ht.y,s.width,s.height),i.gifLoopCount===void 0&&(i.gifLoopCount=o.gifLoopCount??ch);let l=i.gifFrame??F3;const c={x:-o.gifData.width*s0,y:-o.gifData.height*s0},u=o.gifData.frames[l];if(i.gifTime===void 0&&(i.gifTime=j3),!!u.bitmap){switch(t.scale(n/o.gifData.width,n/o.gifData.height),u.disposalMethod){case nn.UndefinedA:case nn.UndefinedB:case nn.UndefinedC:case nn.UndefinedD:case nn.Replace:a.drawImage(u.bitmap,u.left,u.top),t.drawImage(s,c.x,c.y),a.clearRect(ht.x,ht.y,s.width,s.height);break;case nn.Combine:a.drawImage(u.bitmap,u.left,u.top),t.drawImage(s,c.x,c.y);break;case nn.RestoreBackground:a.drawImage(u.bitmap,u.left,u.top),t.drawImage(s,c.x,c.y),a.clearRect(ht.x,ht.y,s.width,s.height),o.gifData.globalColorTable.length?a.putImageData(o.gifData.backgroundImage,c.x,c.y):a.putImageData(o.gifData.frames[a0].image,c.x+u.left,c.y+u.top);break;case nn.RestorePrevious:{const f=a.getImageData(ht.x,ht.y,s.width,s.height);a.drawImage(u.bitmap,u.left,u.top),t.drawImage(s,c.x,c.y),a.clearRect(ht.x,ht.y,s.width,s.height),a.putImageData(f,ht.x,ht.y)}break}if(i.gifTime+=r.value,i.gifTime>u.delayTime){if(i.gifTime-=u.delayTime,++l>=o.gifData.frames.length){if(--i.gifLoopCount<=ch)return;l=a0,a.clearRect(ht.x,ht.y,s.width,s.height)}i.gifFrame=l}t.scale(o.gifData.width/n,o.gifData.height/n)}}async function G3(e){if(e.type!=="gif"){await Cu(e);return}e.loading=!0;try{e.gifData=await W3(e.source),e.gifLoopCount=U3(e.gifData)??ch,e.gifLoopCount||(e.gifLoopCount=1/0)}catch{e.error=!0}e.loading=!1}const K3=2,q3=1,Q3=12,Y3=1;class X3{constructor(t){this.validTypes=["image","images"],this.loadImageShape=async n=>{if(!this._engine.loadImage)throw new Error(`${Qt} image shape not initialized`);await this._engine.loadImage({gif:n.gif,name:n.name,replaceColor:n.replaceColor??!1,src:n.src})},this._engine=t}addImage(t){this._engine.images||(this._engine.images=[]),this._engine.images.push(t)}draw(t){const{context:n,radius:i,particle:r,opacity:o}=t,s=r.image,a=s==null?void 0:s.element;if(s){if(n.globalAlpha=o,s.gif&&s.gifData)H3(t);else if(a){const l=s.ratio,c={x:-i,y:-i},u=i*K3;n.drawImage(a,c.x,c.y,u,u/l)}n.globalAlpha=q3}}getSidesCount(){return Q3}async init(t){const n=t.actualOptions;if(!(!n.preload||!this._engine.loadImage))for(const i of n.preload)await this._engine.loadImage(i)}loadShape(t){if(t.shape!=="image"&&t.shape!=="images")return;this._engine.images||(this._engine.images=[]);const n=t.shapeData;if(!n)return;this._engine.images.find(r=>r.name===n.name||r.source===n.src)||this.loadImageShape(n).then(()=>{this.loadShape(t)})}particleInit(t,n){if(n.shape!=="image"&&n.shape!=="images")return;this._engine.images||(this._engine.images=[]);const i=this._engine.images,r=n.shapeData;if(!r)return;const o=n.getFillColor(),s=i.find(l=>l.name===r.name||l.source===r.src);if(!s)return;const a=r.replaceColor??s.replaceColor;if(s.loading){setTimeout(()=>{this.particleInit(t,n)});return}(async()=>{let l;s.svgData&&o?l=await D3(s,r,o,n):l={color:o,data:s,element:s.element,gif:s.gif,gifData:s.gifData,gifLoopCount:s.gifLoopCount,loaded:!0,ratio:r.width&&r.height?r.width/r.height:s.ratio??Y3,replaceColor:a,source:r.src},l.ratio||(l.ratio=1);const c=r.fill??n.shapeFill,u=r.close??n.shapeClose,f={image:l,fill:c,close:u};n.image=f.image,n.shapeFill=f.fill,n.shapeClose=f.close})()}}class Z3{constructor(){this.src="",this.gif=!1}load(t){L(t)||(t.gif!==void 0&&(this.gif=t.gif),t.height!==void 0&&(this.height=t.height),t.name!==void 0&&(this.name=t.name),t.replaceColor!==void 0&&(this.replaceColor=t.replaceColor),t.src!==void 0&&(this.src=t.src),t.width!==void 0&&(this.width=t.width))}}class J3{constructor(t){this.id="imagePreloader",this._engine=t}async getPlugin(){return await Promise.resolve(),{}}loadOptions(t,n){if(!(n!=null&&n.preload))return;t.preload||(t.preload=[]);const i=t.preload;for(const r of n.preload){const o=i.find(s=>s.name===r.name||s.src===r.src);if(o)o.load(r);else{const s=new Z3;s.load(r),i.push(s)}}}needsPlugin(){return!0}}const eD=3;function tD(e){e.loadImage||(e.loadImage=async t=>{if(!t.name&&!t.src)throw new Error(`${Qt} no image source provided`);if(e.images||(e.images=[]),!e.images.find(n=>n.name===t.name||n.source===t.src))try{const n={gif:t.gif??!1,name:t.name??t.src,source:t.src,type:t.src.substring(t.src.length-eD),error:!1,loading:!0,replaceColor:t.replaceColor,ratio:t.width&&t.height?t.width/t.height:void 0};e.images.push(n);let i;t.gif?i=G3:i=t.replaceColor?I3:Cu,await i(n)}catch{throw new Error(`${Qt} ${t.name??t.src} not found`)}})}async function nD(e,t=!0){tD(e);const n=new J3(e);await e.addPlugin(n,t),await e.addShape(new X3(e),t)}class iD extends _r{constructor(){super(),this.sync=!1}load(t){L(t)||(super.load(t),t.sync!==void 0&&(this.sync=t.sync))}}class rD extends _r{constructor(){super(),this.sync=!1}load(t){L(t)||(super.load(t),t.sync!==void 0&&(this.sync=t.sync))}}class oD{constructor(){this.count=0,this.delay=new iD,this.duration=new rD}load(t){L(t)||(t.count!==void 0&&(this.count=t.count),this.delay.load(t.delay),this.duration.load(t.duration))}}const Fr=0,sD=-1,l0=0,c0=0;function aD(e,t,n){if(!e.life)return;const i=e.life;let r=!1;if(e.spawning)if(i.delayTime+=t.value,i.delayTime>=e.life.delay)r=!0,e.spawning=!1,i.delayTime=Fr,i.time=Fr;else return;if(i.duration===sD||e.spawning||(r?i.time=Fr:i.time+=t.value,i.timel0&&e.life.count--,e.life.count===l0){e.destroy();return}const o=Z(c0,n.width),s=Z(c0,n.width);e.position.x=Et(o),e.position.y=Et(s),e.spawning=!0,i.delayTime=Fr,i.time=Fr,e.reset();const a=e.options.life;a&&(i.delay=N(a.delay.value)*et,i.duration=N(a.duration.value)*et)}const qi=0,u0=1,f0=-1;class lD{constructor(t){this.container=t}init(t){const n=this.container,i=t.options,r=i.life;r&&(t.life={delay:n.retina.reduceFactor?N(r.delay.value)*(r.delay.sync?u0:de())/n.retina.reduceFactor*et:qi,delayTime:qi,duration:n.retina.reduceFactor?N(r.duration.value)*(r.duration.sync?u0:de())/n.retina.reduceFactor*et:qi,time:qi,count:r.count},t.life.duration<=qi&&(t.life.duration=f0),t.life.count<=qi&&(t.life.count=f0),t.life&&(t.spawning=t.life.delay>qi))}isEnabled(t){return!t.destroyed}loadOptions(t,...n){t.life||(t.life=new oD);for(const i of n)t.life.load(i==null?void 0:i.life)}update(t,n){!this.isEnabled(t)||!t.life||aD(t,n,this.container.canvas.size)}}async function cD(e,t=!0){await e.addParticleUpdater("life",async n=>Promise.resolve(new lD(n)),t)}function uD(e){const{context:t,particle:n,radius:i}=e,r=n.shapeData,o=0;t.moveTo(-i,o),t.lineTo(i,o),t.lineCap=(r==null?void 0:r.cap)??"butt"}const fD=1;class dD{constructor(){this.validTypes=["line"]}draw(t){uD(t)}getSidesCount(){return fD}}async function hD(e,t=!0){await e.addShape(new dD,t)}const d0=.5;class pD{init(){}isEnabled(t){return!Pr()&&!t.destroyed&&t.container.actualOptions.interactivity.events.onHover.parallax.enable}move(t){const n=t.container,i=n.actualOptions,r=i.interactivity.events.onHover.parallax;if(Pr()||!r.enable)return;const o=r.force,s=n.interactivity.mouse.position;if(!s)return;const a=n.canvas.size,l={x:a.width*d0,y:a.height*d0},c=r.smooth,u=t.getRadius()/o,f={x:(s.x-l.x)*u,y:(s.y-l.y)*u},{offset:d}=t;d.x+=(f.x-d.x)/c,d.y+=(f.y-d.y)/c}}async function mD(e,t=!0){await e.addMover("parallax",()=>Promise.resolve(new pD),t)}const h0=1e3,gD=1;class yD extends hm{constructor(t){super(t)}clear(){}init(){}interact(t){const n=this.container;t.attractDistance===void 0&&(t.attractDistance=N(t.options.move.attract.distance)*n.retina.pixelRatio);const i=t.attractDistance,r=t.getPosition(),o=n.particles.quadTree.queryCircle(r,i);for(const s of o){if(t===s||!s.options.move.attract.enable||s.destroyed||s.spawning)continue;const a=s.getPosition(),{dx:l,dy:c}=ut(r,a),u=t.options.move.attract.rotate,f=l/(u.x*h0),d=c/(u.y*h0),p=s.size.value/t.size.value,y=gD/p;t.velocity.x-=f*p,t.velocity.y-=d*p,s.velocity.x+=f*y,s.velocity.y+=d*y}}isEnabled(t){return t.options.move.attract.enable}reset(){}}async function vD(e,t=!0){await e.addInteractor("particlesAttract",n=>Promise.resolve(new yD(n)),t)}const xD=.5,wD=10,bD=0;function p0(e,t,n,i,r,o){const s=Yt(e.options.collisions.absorb.speed*r.factor/wD,bD,i);e.size.value+=s*xD,n.size.value-=s,i<=o&&(n.size.value=0,n.destroy())}function SD(e,t,n,i){const r=e.getRadius(),o=t.getRadius();r===void 0&&o!==void 0?e.destroy():r!==void 0&&o===void 0?t.destroy():r!==void 0&&o!==void 0&&(r>=o?p0(e,r,t,o,n,i):p0(t,o,e,r,n,i))}const m0=e=>{e.collisionMaxSpeed===void 0&&(e.collisionMaxSpeed=N(e.options.collisions.maxSpeed)),e.velocity.length>e.collisionMaxSpeed&&(e.velocity.length=e.collisionMaxSpeed)};function KS(e,t){CS(rh(e),rh(t)),m0(e),m0(t)}function CD(e,t){!e.unbreakable&&!t.unbreakable&&KS(e,t),e.getRadius()===void 0&&t.getRadius()!==void 0?e.destroy():e.getRadius()!==void 0&&t.getRadius()===void 0?t.destroy():e.getRadius()!==void 0&&t.getRadius()!==void 0&&(e.getRadius()>=t.getRadius()?t:e).destroy()}function kD(e,t,n,i){switch(e.options.collisions.mode){case vo.absorb:{SD(e,t,n,i);break}case vo.bounce:{KS(e,t);break}case vo.destroy:{CD(e,t);break}}}const PD=2;class TD extends hm{constructor(t){super(t)}clear(){}init(){}interact(t,n){if(t.destroyed||t.spawning)return;const i=this.container,r=t.getPosition(),o=t.getRadius(),s=i.particles.quadTree.queryCircle(r,o*PD);for(const a of s){if(t===a||!a.options.collisions.enable||t.options.collisions.mode!==a.options.collisions.mode||a.destroyed||a.spawning)continue;const l=a.getPosition(),c=a.getRadius();if(Math.abs(Math.round(r.z)-Math.round(l.z))>o+c)continue;const u=At(r,l),f=o+c;u>f||kD(t,a,n,i.retina.pixelRatio)}}isEnabled(t){return t.options.collisions.enable}reset(){}}async function MD(e,t=!0){await e.addInteractor("particlesCollisions",n=>Promise.resolve(new TD(n)),t)}const Lf=2;class ED extends nt{constructor(t,n,i,r){super(t,n,i),this.canvasSize=r,this.canvasSize={...r}}contains(t){const{width:n,height:i}=this.canvasSize,{x:r,y:o}=t;return super.contains(t)||super.contains({x:r-n,y:o})||super.contains({x:r-n,y:o-i})||super.contains({x:r,y:o-i})}intersects(t){if(super.intersects(t))return!0;const n=t,i=t,r={x:t.position.x-this.canvasSize.width,y:t.position.y-this.canvasSize.height};if(i.radius!==void 0){const o=new nt(r.x,r.y,i.radius*Lf);return super.intersects(o)}else if(n.size!==void 0){const o=new pn(r.x,r.y,n.size.width*Lf,n.size.height*Lf);return super.intersects(o)}return!1}}class _D{constructor(){this.blur=5,this.color=new ot,this.color.value="#000",this.enable=!1}load(t){L(t)||(t.blur!==void 0&&(this.blur=t.blur),this.color=ot.create(this.color,t.color),t.enable!==void 0&&(this.enable=t.enable))}}class RD{constructor(){this.enable=!1,this.frequency=1}load(t){L(t)||(t.color!==void 0&&(this.color=ot.create(this.color,t.color)),t.enable!==void 0&&(this.enable=t.enable),t.frequency!==void 0&&(this.frequency=t.frequency),t.opacity!==void 0&&(this.opacity=t.opacity))}}class AD{constructor(){this.blink=!1,this.color=new ot,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new _D,this.triangles=new RD,this.width=1,this.warp=!1}load(t){L(t)||(t.id!==void 0&&(this.id=t.id),t.blink!==void 0&&(this.blink=t.blink),this.color=ot.create(this.color,t.color),t.consent!==void 0&&(this.consent=t.consent),t.distance!==void 0&&(this.distance=t.distance),t.enable!==void 0&&(this.enable=t.enable),t.frequency!==void 0&&(this.frequency=t.frequency),t.opacity!==void 0&&(this.opacity=t.opacity),this.shadow.load(t.shadow),this.triangles.load(t.triangles),t.width!==void 0&&(this.width=t.width),t.warp!==void 0&&(this.warp=t.warp))}}const g0=2,OD=1,fl={x:0,y:0},zD=0;function LD(e,t,n,i,r){const{dx:o,dy:s,distance:a}=ut(e,t);if(!r||a<=n)return a;const l={x:Math.abs(o),y:Math.abs(s)},c={x:Math.min(l.x,i.width-l.x),y:Math.min(l.y,i.height-l.y)};return Math.sqrt(c.x**g0+c.y**g0)}class ID extends hm{constructor(t){super(t),this._setColor=n=>{if(!n.options.links)return;const i=this.linkContainer,r=n.options.links;let o=r.id===void 0?i.particles.linksColor:i.particles.linksColors.get(r.id);if(o)return;const s=r.color;o=RS(s,r.blink,r.consent),r.id===void 0?i.particles.linksColor=o:i.particles.linksColors.set(r.id,o)},this.linkContainer=t}clear(){}init(){this.linkContainer.particles.linksColor=void 0,this.linkContainer.particles.linksColors=new Map}interact(t){if(!t.options.links)return;t.links=[];const n=t.getPosition(),i=this.container,r=i.canvas.size;if(n.xr.width||n.y>r.height)return;const o=t.options.links,s=o.opacity,a=t.retina.linksDistance??zD,l=o.warp;let c;l?c=new ED(n.x,n.y,a,r):c=new nt(n.x,n.y,a);const u=i.particles.quadTree.query(c);for(const f of u){const d=f.options.links;if(t===f||!(d!=null&&d.enable)||o.id!==d.id||f.spawning||f.destroyed||!f.links||t.links.some(b=>b.destination===f)||f.links.some(b=>b.destination===t))continue;const p=f.getPosition();if(p.xr.width||p.y>r.height)continue;const y=LD(n,p,a,r,l&&d.warp);if(y>a)continue;const h=(OD-y/a)*s;this._setColor(t),t.links.push({destination:f,opacity:h})}}isEnabled(t){var n;return!!((n=t.options.links)!=null&&n.enable)}loadParticlesOptions(t,...n){t.links||(t.links=new AD);for(const i of n)t.links.load(i==null?void 0:i.links)}reset(){}}async function DD(e,t=!0){await e.addInteractor("particlesLinks",async n=>Promise.resolve(new ID(n)),t)}function $D(e,t,n,i){e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(n.x,n.y),e.lineTo(i.x,i.y),e.closePath()}function FD(e){let t=!1;const{begin:n,end:i,maxDistance:r,context:o,canvasSize:s,width:a,backgroundMask:l,colorLine:c,opacity:u,links:f}=e;if(At(n,i)<=r)Is(o,n,i),t=!0;else if(f.warp){let p,y;const h={x:i.x-s.width,y:i.y},b=ut(n,h);if(b.distance<=r){const m=n.y-b.dy/b.dx*n.x;p={x:0,y:m},y={x:s.width,y:m}}else{const m={x:i.x,y:i.y-s.height},g=ut(n,m);if(g.distance<=r){const w=-(n.y-g.dy/g.dx*n.x)/(g.dy/g.dx);p={x:w,y:0},y={x:w,y:s.height}}else{const v={x:i.x-s.width,y:i.y-s.height},w=ut(n,v);if(w.distance<=r){const S=n.y-w.dy/w.dx*n.x;p={x:-S/(w.dy/w.dx),y:S},y={x:p.x+s.width,y:p.y+s.height}}}}p&&y&&(Is(o,n,p),Is(o,i,y),t=!0)}if(!t)return;o.lineWidth=a,l.enable&&(o.globalCompositeOperation=l.composite),o.strokeStyle=Xn(c,u);const{shadow:d}=f;if(d.enable){const p=fn(d.color);p&&(o.shadowBlur=d.blur,o.shadowColor=Xn(p))}o.stroke()}function jD(e){const{context:t,pos1:n,pos2:i,pos3:r,backgroundMask:o,colorTriangle:s,opacityTriangle:a}=e;$D(t,n,i,r),o.enable&&(t.globalCompositeOperation=o.composite),t.fillStyle=Xn(s,a),t.fill()}function ND(e){return e.sort((t,n)=>t-n),e.join("_")}function y0(e,t){const n=ND(e.map(r=>r.id));let i=t.get(n);return i===void 0&&(i=de(),t.set(n,i)),i}const v0=0,If=0,x0=0,VD=.5,BD=1;class UD{constructor(t){this.container=t,this._drawLinkLine=(n,i)=>{const r=n.options.links;if(!(r!=null&&r.enable))return;const o=this.container,s=o.actualOptions,a=i.destination,l=n.getPosition(),c=a.getPosition();let u=i.opacity;o.canvas.draw(f=>{var m;let d;const p=(m=n.options.twinkle)==null?void 0:m.lines;if(p!=null&&p.enable){const g=p.frequency,v=fn(p.color);de(){const o=n.options.links;if(!(o!=null&&o.enable))return;const s=o.triangles;if(!s.enable)return;const a=this.container,l=a.actualOptions,c=i.destination,u=r.destination,f=s.opacity??(i.opacity+r.opacity)*VD;f<=v0||a.canvas.draw(d=>{const p=n.getPosition(),y=c.getPosition(),h=u.getPosition(),b=n.retina.linksDistance??x0;if(At(p,y)>b||At(h,y)>b||At(h,p)>b)return;let m=fn(s.color);if(!m){const g=o.id!==void 0?a.particles.linksColors.get(o.id):a.particles.linksColor;m=sh(n,c,g)}m&&jD({context:d,pos1:p,pos2:y,pos3:h,backgroundMask:l.backgroundMask,colorTriangle:m,opacityTriangle:f})})},this._drawTriangles=(n,i,r,o)=>{var l,c,u;const s=r.destination;if(!((l=n.links)!=null&&l.triangles.enable&&((c=s.options.links)!=null&&c.triangles.enable)))return;const a=(u=s.links)==null?void 0:u.filter(f=>{const d=this._getLinkFrequency(s,f.destination);return s.options.links&&d<=s.options.links.frequency&&o.findIndex(y=>y.destination===f.destination)>=0});if(a!=null&&a.length)for(const f of a){const d=f.destination;this._getTriangleFrequency(i,s,d)>n.links.triangles.frequency||this._drawLinkTriangle(i,r,f)}},this._getLinkFrequency=(n,i)=>y0([n,i],this._freqs.links),this._getTriangleFrequency=(n,i,r)=>y0([n,i,r],this._freqs.triangles),this._freqs={links:new Map,triangles:new Map}}drawParticle(t,n){const{links:i,options:r}=n;if(!(i!=null&&i.length))return;const o=i.filter(s=>r.links&&(r.links.frequency>=BD||this._getLinkFrequency(n,s.destination)<=r.links.frequency));for(const s of o)this._drawTriangles(r,n,s,o),s.opacity>v0&&(n.retina.linksWidth??If)>If&&this._drawLinkLine(n,s)}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map,await Promise.resolve()}particleCreated(t){if(t.links=[],!t.options.links)return;const n=this.container.retina.pixelRatio,{retina:i}=t,{distance:r,width:o}=t.options.links;i.linksDistance=r*n,i.linksWidth=o*n}particleDestroyed(t){t.links=[]}}class WD{constructor(){this.id="links"}getPlugin(t){return Promise.resolve(new UD(t))}loadOptions(){}needsPlugin(){return!0}}async function HD(e,t=!0){const n=new WD;await e.addPlugin(n,t)}async function GD(e,t=!0){await DD(e,t),await HD(e,t)}const KD=180,dl={x:0,y:0},qD=2;function QD(e,t,n){const{context:i}=e,r=n.count.numerator*n.count.denominator,o=n.count.numerator/n.count.denominator,s=KD*(o-qD)/o,a=Math.PI-ki(s);if(i){i.beginPath(),i.translate(t.x,t.y),i.moveTo(dl.x,dl.y);for(let l=0;l0?Wt.counterClockwise:Wt.clockwise),i){case Wt.counterClockwise:case"counterClockwise":t.rotate.status=Oe.decreasing;break;case Wt.clockwise:t.rotate.status=Oe.increasing;break}const r=n.animation;r.enable&&(t.rotate.decay=c4-N(r.decay),t.rotate.velocity=N(r.speed)/u4*this.container.retina.reduceFactor,r.sync||(t.rotate.velocity*=de())),t.rotation=t.rotate.value}isEnabled(t){const n=t.options.rotate;return n?!t.destroyed&&!t.spawning&&(!!n.value||n.animation.enable||n.path):!1}loadOptions(t,...n){t.rotate||(t.rotate=new a4);for(const i of n)t.rotate.load(i==null?void 0:i.rotate)}update(t,n){this.isEnabled(t)&&(t.isRotating=!!t.rotate,t.rotate&&(cm(t,t.rotate,!1,Cr.none,n),t.rotation=t.rotate.value))}}async function d4(e,t=!0){await e.addParticleUpdater("rotate",n=>Promise.resolve(new f4(n)),t)}const h4=2,p4=Math.sqrt(h4),m4=2;function g4(e){const{context:t,radius:n}=e,i=n/p4,r=i*m4;t.rect(-i,-i,r,r)}const y4=4;class v4{constructor(){this.validTypes=["edge","square"]}draw(t){g4(t)}getSidesCount(){return y4}}async function x4(e,t=!0){await e.addShape(new v4,t)}const w4=2,jr={x:0,y:0};function b4(e){const{context:t,particle:n,radius:i}=e,r=n.sides,o=n.starInset??w4;t.moveTo(jr.x,jr.y-i);for(let s=0;sPromise.resolve(new M4(n)),t)}async function _4(e,t=!0){await mD(e,!1),await xI(e,!1),await EI(e,!1),await DI(e,!1),await GI(e,!1),await n3(e,!1),await o3(e,!1),await u3(e,!1),await p3(e,!1),await P3(e,!1),await R3(e,!1),await vD(e,!1),await MD(e,!1),await GD(e,!1),await cI(),await dI(e,!1),await nD(e,!1),await hD(e,!1),await o4(e,!1),await x4(e,!1),await P4(e,!1),await cD(e,!1),await d4(e,!1),await E4(e,!1),await lI(e,t)}function YS(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t{const t=z4(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:s=>{const a=s.split(mm);return a[0]===""&&a.length!==1&&a.shift(),XS(a,t)||O4(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&i[s]?[...l,...i[s]]:l}}},XS=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],i=t.nextPart.get(n),r=i?XS(e.slice(1),i):void 0;if(r)return r;if(t.validators.length===0)return;const o=e.join(mm);return(s=t.validators.find(({validator:a})=>a(o)))==null?void 0:s.classGroupId},S0=/^\[(.+)\]$/,O4=e=>{if(S0.test(e)){const t=S0.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},z4=e=>{const{theme:t,prefix:n}=e,i={nextPart:new Map,validators:[]};return I4(Object.entries(e.classGroups),n).forEach(([o,s])=>{uh(s,i,o,t)}),i},uh=(e,t,n,i)=>{e.forEach(r=>{if(typeof r=="string"){const o=r===""?t:C0(t,r);o.classGroupId=n;return}if(typeof r=="function"){if(L4(r)){uh(r(i),t,n,i);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(([o,s])=>{uh(s,C0(t,o),n,i)})})},C0=(e,t)=>{let n=e;return t.split(mm).forEach(i=>{n.nextPart.has(i)||n.nextPart.set(i,{nextPart:new Map,validators:[]}),n=n.nextPart.get(i)}),n},L4=e=>e.isThemeGetter,I4=(e,t)=>t?e.map(([n,i])=>{const r=i.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,a])=>[t+s,a])):o);return[n,r]}):e,D4=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,i=new Map;const r=(o,s)=>{n.set(o,s),t++,t>e&&(t=0,i=n,n=new Map)};return{get(o){let s=n.get(o);if(s!==void 0)return s;if((s=i.get(o))!==void 0)return r(o,s),s},set(o,s){n.has(o)?n.set(o,s):r(o,s)}}},ZS="!",$4=e=>{const{separator:t,experimentalParseClassName:n}=e,i=t.length===1,r=t[0],o=t.length,s=a=>{const l=[];let c=0,u=0,f;for(let b=0;bu?f-u:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:y,maybePostfixModifierPosition:h}};return n?a=>n({className:a,parseClassName:s}):s},F4=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(i=>{i[0]==="["?(t.push(...n.sort(),i),n=[]):n.push(i)}),t.push(...n.sort()),t},j4=e=>({cache:D4(e.cacheSize),parseClassName:$4(e),...A4(e)}),N4=/\s+/,V4=(e,t)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:r}=t,o=[],s=e.trim().split(N4);let a="";for(let l=s.length-1;l>=0;l-=1){const c=s[l],{modifiers:u,hasImportantModifier:f,baseClassName:d,maybePostfixModifierPosition:p}=n(c);let y=!!p,h=i(y?d.substring(0,p):d);if(!h){if(!y){a=c+(a.length>0?" "+a:a);continue}if(h=i(d),!h){a=c+(a.length>0?" "+a:a);continue}y=!1}const b=F4(u).join(":"),m=f?b+ZS:b,g=m+h;if(o.includes(g))continue;o.push(g);const v=r(h,y);for(let w=0;w0?" "+a:a)}return a};function B4(){let e=0,t,n,i="";for(;e{if(typeof e=="string")return e;let t,n="";for(let i=0;if(u),e());return n=j4(c),i=n.cache.get,r=n.cache.set,o=a,a(l)}function a(l){const c=i(l);if(c)return c;const u=V4(l,n);return r(l,u),u}return function(){return o(B4.apply(null,arguments))}}const ce=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},eC=/^\[(?:([a-z-]+):)?(.+)\]$/i,W4=/^\d+\/\d+$/,H4=new Set(["px","full","screen"]),G4=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,K4=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,q4=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Q4=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Y4=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,jn=e=>bo(e)||H4.has(e)||W4.test(e),oi=e=>Wo(e,"length",r$),bo=e=>!!e&&!Number.isNaN(Number(e)),Df=e=>Wo(e,"number",bo),us=e=>!!e&&Number.isInteger(Number(e)),X4=e=>e.endsWith("%")&&bo(e.slice(0,-1)),H=e=>eC.test(e),si=e=>G4.test(e),Z4=new Set(["length","size","percentage"]),J4=e=>Wo(e,Z4,tC),e$=e=>Wo(e,"position",tC),t$=new Set(["image","url"]),n$=e=>Wo(e,t$,s$),i$=e=>Wo(e,"",o$),fs=()=>!0,Wo=(e,t,n)=>{const i=eC.exec(e);return i?i[1]?typeof t=="string"?i[1]===t:t.has(i[1]):n(i[2]):!1},r$=e=>K4.test(e)&&!q4.test(e),tC=()=>!1,o$=e=>Q4.test(e),s$=e=>Y4.test(e),a$=()=>{const e=ce("colors"),t=ce("spacing"),n=ce("blur"),i=ce("brightness"),r=ce("borderColor"),o=ce("borderRadius"),s=ce("borderSpacing"),a=ce("borderWidth"),l=ce("contrast"),c=ce("grayscale"),u=ce("hueRotate"),f=ce("invert"),d=ce("gap"),p=ce("gradientColorStops"),y=ce("gradientColorStopPositions"),h=ce("inset"),b=ce("margin"),m=ce("opacity"),g=ce("padding"),v=ce("saturate"),w=ce("scale"),S=ce("sepia"),C=ce("skew"),T=ce("space"),M=ce("translate"),z=()=>["auto","contain","none"],x=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto",H,t],R=()=>[H,t],F=()=>["",jn,oi],D=()=>["auto",bo,H],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ne=()=>["solid","dashed","dotted","double","none"],U=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",H],j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[bo,H];return{cacheSize:500,separator:":",theme:{colors:[fs],spacing:[jn,oi],blur:["none","",si,H],brightness:W(),borderColor:[e],borderRadius:["none","","full",si,H],borderSpacing:R(),borderWidth:F(),contrast:W(),grayscale:I(),hueRotate:W(),invert:I(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[X4,oi],inset:_(),margin:_(),opacity:W(),padding:R(),saturate:W(),scale:W(),sepia:I(),skew:W(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",H]}],container:["container"],columns:[{columns:[si]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Y(),H]}],overflow:[{overflow:x()}],"overflow-x":[{"overflow-x":x()}],"overflow-y":[{"overflow-y":x()}],overscroll:[{overscroll:z()}],"overscroll-x":[{"overscroll-x":z()}],"overscroll-y":[{"overscroll-y":z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",us,H]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",H]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",us,H]}],"grid-cols":[{"grid-cols":[fs]}],"col-start-end":[{col:["auto",{span:["full",us,H]},H]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[fs]}],"row-start-end":[{row:["auto",{span:[us,H]},H]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",H]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",H]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",H,t]}],"min-w":[{"min-w":[H,t,"min","max","fit"]}],"max-w":[{"max-w":[H,t,"none","full","min","max","fit","prose",{screen:[si]},si]}],h:[{h:[H,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[H,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[H,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[H,t,"auto","min","max","fit"]}],"font-size":[{text:["base",si,oi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Df]}],"font-family":[{font:[fs]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",H]}],"line-clamp":[{"line-clamp":["none",bo,Df]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",jn,H]}],"list-image":[{"list-image":["none",H]}],"list-style-type":[{list:["none","disc","decimal",H]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ne(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",jn,oi]}],"underline-offset":[{"underline-offset":["auto",jn,H]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",H]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",H]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Y(),e$]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",J4]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},n$]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...ne(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:ne()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...ne()]}],"outline-offset":[{"outline-offset":[jn,H]}],"outline-w":[{outline:[jn,oi]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:F()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[jn,oi]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",si,i$]}],"shadow-color":[{shadow:[fs]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...U(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":U()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[i]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",si,H]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",H]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",H]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",H]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[us,H]}],"translate-x":[{"translate-x":[M]}],"translate-y":[{"translate-y":[M]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",H]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",H]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",H]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[jn,oi,Df]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},l$=U4(a$);function k0(...e){return l$(R4(e))}const c$=e=>{const{id:t="tsparticles",className:n,background:i="transparent",minSize:r=.6,maxSize:o=1.4,particleDensity:s=100,particleColor:a="#FFFFFF"}=e,[l,c]=k.useState(!1);k.useEffect(()=>{TL(async f=>{await _4(f)}).then(()=>{c(!0)})},[]);const u=async()=>{};return l?P.jsx("div",{className:k0("w-full h-full",n),children:P.jsx(PL,{id:t,className:k0("h-full w-full"),particlesLoaded:u,options:{background:{color:{value:i}},fullScreen:{enable:!1},fpsLimit:120,interactivity:{events:{onClick:{enable:!0,mode:"push"},onHover:{enable:!0,mode:"repulse"},resize:!0},modes:{push:{quantity:4},repulse:{distance:100,duration:.4}}},particles:{color:{value:a},links:{color:a,distance:150,enable:!0,opacity:.5,width:1},collisions:{enable:!0},move:{direction:"none",enable:!0,outModes:{default:"bounce"},random:!1,speed:1,straight:!1},number:{density:{enable:!0,area:s},value:s},opacity:{value:.5},shape:{type:"circle"},size:{value:{min:r,max:o}}},detectRetina:!0}})}):null},fh=["AI solutions","Frontend UI","Backend solutions"],nC=Math.max(...fh.map(e=>e.length)),u$=" ".repeat(nC),iC=k.memo(({onComplete:e})=>{const[t,n]=k.useState(0),[i,r]=k.useState(""),[o,s]=k.useState(!1),a=k.useCallback(()=>{const l=fh[t];return o?i.length>0?(r(l.slice(0,i.length-1)),80):(s(!1),n(c=>(c+1)%fh.length),1500):i.length{const l=setTimeout(a,a());return()=>clearTimeout(l)},[a]),P.jsxs("div",{className:"inline-block relative",style:{minWidth:`${nC}ch`},children:[P.jsx("span",{className:"bg-clip-text text-transparent bg-gradient-to-r from-blue-500 to-purple-500 whitespace-pre opacity-0",children:u$}),P.jsx("span",{className:"absolute top-0 left-0 bg-clip-text text-transparent bg-gradient-to-r from-blue-500 to-purple-500",style:{clipPath:"inset(0 0 0 0)",transform:"translateZ(0)",WebkitFontSmoothing:"antialiased",backfaceVisibility:"hidden",transition:"color 0.3s ease-in-out"},children:i}),P.jsx(ke.span,{initial:{opacity:0},animate:{opacity:[0,1,1,0]},transition:{duration:1.2,ease:"easeInOut",times:[0,.2,.8,1],repeat:1/0,repeatDelay:.2},className:"inline-block w-[4px] h-4 md:h-6 lg:h-8 bg-blue-500 ml-1"})]})});iC.displayName="TypeWriter";function f$(){return P.jsxs("div",{id:"home",className:"h-screen w-full bg-black flex flex-col items-center justify-center overflow-hidden rounded-md relative",children:[P.jsx("div",{className:"w-full absolute inset-0 h-screen",children:P.jsx(c$,{id:"tsparticlesfullpage",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:100,className:"w-full h-full",particleColor:"#FFFFFF"})}),P.jsx("div",{className:"relative z-20 text-center",children:P.jsxs(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:3.5},className:"flex flex-col items-center gap-4 p-8 backdrop-blur-sm rounded-lg border border-white/10 bg-black/20",children:[P.jsx(ke.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:4.5,delay:1.2},className:"text-4xl md:text-6xl font-bold text-center bg-clip-text text-transparent bg-gradient-to-r from-blue-500 to-purple-500",children:"Rushi M Goswami"}),P.jsx(ke.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:4.5,delay:1.3},className:"text-xl md:text-2xl text-white/90 font-semibold",children:"Software Engineer"}),P.jsxs(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:4.5,delay:1.4},className:"mt-4 w-full max-w-3xl text-base sm:text-xl md:text-3xl lg:text-4xl font-bold",children:[P.jsx("span",{className:"text-white/90",children:"Building next gen "}),P.jsx(iC,{})]})]})}),P.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 via-black/20 to-black/50 pointer-events-none z-10"})]})}const xn={company:"Promact Infotech",role:"Software Engineer",duration:"July 2023 - Present",description:"Working as a Software Engineer specializing in AI/ML development.",achievements:["Developed and deployed multiple ML models improving business efficiency by 40%","Implemented NLP solutions for automated text analysis and processing","Created custom AI solutions for client-specific requirements","Optimized existing ML pipelines reducing processing time by 30%"],responsibilities:["Design and implement ML models for various business applications","Develop and maintain AI-powered software solutions","Collaborate with cross-functional teams for project delivery","Research and implement new AI/ML technologies"],education:{degree:"B.Tech in Computer Science",institution:"Marwadi University",duration:"2019-2023",gpa:"8.9/10"}};function d$(){const e={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.2}}},t={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5}}};return P.jsxs("section",{id:"about",className:"relative py-20",children:[P.jsx("div",{className:"absolute inset-0 bg-black",children:P.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-20"})}),P.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[P.jsx(ke.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},className:"text-3xl md:text-4xl font-bold text-center mb-12 bg-clip-text text-transparent bg-gradient-to-r from-blue-500 to-purple-500",children:"About Me"}),P.jsxs(ke.div,{variants:e,initial:"hidden",whileInView:"visible",className:"grid grid-cols-1 md:grid-cols-2 gap-6 max-w-6xl mx-auto",children:[P.jsxs(ke.div,{variants:t,whileHover:{scale:1.02},className:"p-6 rounded-lg border border-white/10 bg-white/5 backdrop-blur-sm hover:bg-white/[0.07] transition-all",children:[P.jsx("h3",{className:"text-xl font-semibold mb-4 text-white/90",children:"Current Role"}),P.jsxs("div",{className:"space-y-2",children:[P.jsx("p",{className:"text-white/80",children:xn.company}),P.jsx("p",{className:"text-white/70",children:xn.role}),P.jsx("p",{className:"text-white/60",children:xn.duration}),P.jsx("p",{className:"text-white/80 mt-4",children:xn.description})]})]}),P.jsxs(ke.div,{variants:t,whileHover:{scale:1.02},className:"p-6 rounded-lg border border-white/10 bg-white/5 backdrop-blur-sm hover:bg-white/[0.07] transition-all",children:[P.jsx("h3",{className:"text-xl font-semibold mb-4 text-white/90",children:"Education"}),P.jsxs("div",{className:"space-y-2",children:[P.jsx("p",{className:"text-white/80",children:xn.education.degree}),P.jsx("p",{className:"text-white/70",children:xn.education.institution}),P.jsx("p",{className:"text-white/60",children:xn.education.duration}),P.jsxs("p",{className:"text-white/80 mt-4",children:["GPA: ",xn.education.gpa]})]})]}),P.jsxs(ke.div,{variants:t,whileHover:{scale:1.02},className:"p-6 rounded-lg border border-white/10 bg-white/5 backdrop-blur-sm hover:bg-white/[0.07] transition-all",children:[P.jsx("h3",{className:"text-xl font-semibold mb-4 text-white/90",children:"Key Achievements"}),P.jsx("ul",{className:"list-disc list-inside space-y-2",children:xn.achievements.map((n,i)=>P.jsx("li",{className:"text-white/80",children:n},i))})]}),P.jsxs(ke.div,{variants:t,whileHover:{scale:1.02},className:"p-6 rounded-lg border border-white/10 bg-white/5 backdrop-blur-sm hover:bg-white/[0.07] transition-all",children:[P.jsx("h3",{className:"text-xl font-semibold mb-4 text-white/90",children:"Responsibilities"}),P.jsx("ul",{className:"list-disc list-inside space-y-2",children:xn.responsibilities.map((n,i)=>P.jsx("li",{className:"text-white/80",children:n},i))})]})]})]})]})}const ku=CM;function h$(e){return ii("MuiSvgIcon",e)}$i("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const p$=e=>{const{color:t,fontSize:n,classes:i}=e,r={root:["root",t!=="inherit"&&`color${G(t)}`,`fontSize${G(n)}`]};return Fi(r,h$,i)},m$=mn("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${G(n.color)}`],t[`fontSize${G(n.fontSize)}`]]}})(ku(({theme:e})=>{var t,n,i,r,o,s,a,l,c,u,f,d,p,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(r=(t=e.transitions)==null?void 0:t.create)==null?void 0:r.call(t,"fill",{duration:(i=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:i.shorter}),variants:[{props:h=>!h.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((s=(o=e.typography)==null?void 0:o.pxToRem)==null?void 0:s.call(o,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((l=(a=e.typography)==null?void 0:a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((u=(c=e.typography)==null?void 0:c.pxToRem)==null?void 0:u.call(c,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,h])=>h&&h.main).map(([h])=>{var b,m;return{props:{color:h},style:{color:(m=(b=(e.vars??e).palette)==null?void 0:b[h])==null?void 0:m.main}}}),{props:{color:"action"},style:{color:(d=(f=(e.vars??e).palette)==null?void 0:f.action)==null?void 0:d.active}},{props:{color:"disabled"},style:{color:(y=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:y.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Sc=k.forwardRef(function(t,n){const i=zn({props:t,name:"MuiSvgIcon"}),{children:r,className:o,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:f,viewBox:d="0 0 24 24",...p}=i,y=k.isValidElement(r)&&r.type==="svg",h={...i,color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:y},b={};u||(b.viewBox=d);const m=p$(h);return P.jsxs(m$,{as:a,className:ge(m.root,o),focusable:"false",color:c,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n,...b,...p,...y&&r.props,ownerState:h,children:[y?r.props.children:r,f?P.jsx("title",{children:f}):null]})});Sc&&(Sc.muiName="SvgIcon");function Vi(e,t){function n(i,r){return P.jsx(Sc,{"data-testid":`${t}Icon`,ref:r,...i,children:e})}return n.muiName=Sc.muiName,k.memo(k.forwardRef(n))}function g$(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}function dh(e,t){return dh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},dh(e,t)}function y$(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,dh(e,t)}const P0=Nr.createContext(null);function v$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gm(e,t){var n=function(o){return t&&k.isValidElement(o)?t(o):o},i=Object.create(null);return e&&k.Children.map(e,function(r){return r}).forEach(function(r){i[r.key]=n(r)}),i}function x$(e,t){e=e||{},t=t||{};function n(u){return u in t?t[u]:e[u]}var i=Object.create(null),r=[];for(var o in e)o in t?r.length&&(i[o]=r,r=[]):r.push(o);var s,a={};for(var l in t){if(i[l])for(s=0;s{const{square:t,elevation:n,variant:i,classes:r}=e,o={root:["root",i,!t&&"rounded",i==="elevation"&&`elevation${n}`]};return Fi(o,k$,r)},T$=mn("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(ku(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),M$=k.forwardRef(function(t,n){var p;const i=zn({props:t,name:"MuiPaper"}),r=Ep(),{className:o,component:s="div",elevation:a=1,square:l=!1,variant:c="elevation",...u}=i,f={...i,component:s,elevation:a,square:l,variant:c},d=P$(f);return P.jsx(T$,{as:s,ownerState:f,className:ge(d.root,o),ref:n,...u,style:{...c==="elevation"&&{"--Paper-shadow":(r.vars||r).shadows[a],...r.vars&&{"--Paper-overlay":(p=r.vars.overlays)==null?void 0:p[a]},...!r.vars&&r.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Ct("#fff",Id(a))}, ${Ct("#fff",Id(a))})`}},...u.style}})});class Cc{constructor(){Qo(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Cc}static use(){const t=Tw(Cc.create).current,[n,i]=k.useState(!1);return t.shouldMount=n,t.setShouldMount=i,k.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=_$(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function E$(){return Cc.use()}function _$(){let e,t;const n=new Promise((i,r)=>{e=i,t=r});return n.resolve=e,n.reject=t,n}function R$(e){const{className:t,classes:n,pulsate:i=!1,rippleX:r,rippleY:o,rippleSize:s,in:a,onExited:l,timeout:c}=e,[u,f]=k.useState(!1),d=ge(t,n.ripple,n.rippleVisible,i&&n.ripplePulsate),p={width:s,height:s,top:-(s/2)+o,left:-(s/2)+r},y=ge(n.child,u&&n.childLeaving,i&&n.childPulsate);return!a&&!u&&f(!0),k.useEffect(()=>{if(!a&&l!=null){const h=setTimeout(l,c);return()=>{clearTimeout(h)}}},[l,a,c]),P.jsx("span",{className:d,style:p,children:P.jsx("span",{className:y})})}const Nt=$i("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),hh=550,A$=80,O$=pp` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`,z$=pp` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`,L$=pp` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`,I$=mn("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),D$=mn(R$,{name:"MuiTouchRipple",slot:"Ripple"})` - opacity: 0; - position: absolute; - - &.${Nt.rippleVisible} { - opacity: 0.3; - transform: scale(1); - animation-name: ${O$}; - animation-duration: ${hh}ms; - animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; - } - - &.${Nt.ripplePulsate} { - animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; - } - - & .${Nt.child} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${Nt.childLeaving} { - opacity: 0; - animation-name: ${z$}; - animation-duration: ${hh}ms; - animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; - } - - & .${Nt.childPulsate} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${L$}; - animation-duration: 2500ms; - animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`,$$=k.forwardRef(function(t,n){const i=zn({props:t,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:s,...a}=i,[l,c]=k.useState([]),u=k.useRef(0),f=k.useRef(null);k.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=k.useRef(!1),p=hM(),y=k.useRef(null),h=k.useRef(null),b=k.useCallback(w=>{const{pulsate:S,rippleX:C,rippleY:T,rippleSize:M,cb:z}=w;c(x=>[...x,P.jsx(D$,{classes:{ripple:ge(o.ripple,Nt.ripple),rippleVisible:ge(o.rippleVisible,Nt.rippleVisible),ripplePulsate:ge(o.ripplePulsate,Nt.ripplePulsate),child:ge(o.child,Nt.child),childLeaving:ge(o.childLeaving,Nt.childLeaving),childPulsate:ge(o.childPulsate,Nt.childPulsate)},timeout:hh,pulsate:S,rippleX:C,rippleY:T,rippleSize:M},u.current)]),u.current+=1,f.current=z},[o]),m=k.useCallback((w={},S={},C=()=>{})=>{const{pulsate:T=!1,center:M=r||S.pulsate,fakeElement:z=!1}=S;if((w==null?void 0:w.type)==="mousedown"&&d.current){d.current=!1;return}(w==null?void 0:w.type)==="touchstart"&&(d.current=!0);const x=z?null:h.current,_=x?x.getBoundingClientRect():{width:0,height:0,left:0,top:0};let R,F,D;if(M||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)R=Math.round(_.width/2),F=Math.round(_.height/2);else{const{clientX:Y,clientY:ne}=w.touches&&w.touches.length>0?w.touches[0]:w;R=Math.round(Y-_.left),F=Math.round(ne-_.top)}if(M)D=Math.sqrt((2*_.width**2+_.height**2)/3),D%2===0&&(D+=1);else{const Y=Math.max(Math.abs((x?x.clientWidth:0)-R),R)*2+2,ne=Math.max(Math.abs((x?x.clientHeight:0)-F),F)*2+2;D=Math.sqrt(Y**2+ne**2)}w!=null&&w.touches?y.current===null&&(y.current=()=>{b({pulsate:T,rippleX:R,rippleY:F,rippleSize:D,cb:C})},p.start(A$,()=>{y.current&&(y.current(),y.current=null)})):b({pulsate:T,rippleX:R,rippleY:F,rippleSize:D,cb:C})},[r,b,p]),g=k.useCallback(()=>{m({},{pulsate:!0})},[m]),v=k.useCallback((w,S)=>{if(p.clear(),(w==null?void 0:w.type)==="touchend"&&y.current){y.current(),y.current=null,p.start(0,()=>{v(w,S)});return}y.current=null,c(C=>C.length>0?C.slice(1):C),f.current=S},[p]);return k.useImperativeHandle(n,()=>({pulsate:g,start:m,stop:v}),[g,m,v]),P.jsx(I$,{className:ge(Nt.root,o.root,s),ref:h,...a,children:P.jsx(ym,{component:null,exit:!0,children:l})})});function F$(e){return ii("MuiButtonBase",e)}const j$=$i("MuiButtonBase",["root","disabled","focusVisible"]),N$=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:i,classes:r}=e,s=Fi({root:["root",t&&"disabled",n&&"focusVisible"]},F$,r);return n&&i&&(s.root+=` ${i}`),s},V$=mn("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${j$.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),T0=k.forwardRef(function(t,n){const i=zn({props:t,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:s,className:a,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:f=!1,focusRipple:d=!1,focusVisibleClassName:p,LinkComponent:y="a",onBlur:h,onClick:b,onContextMenu:m,onDragLeave:g,onFocus:v,onFocusVisible:w,onKeyDown:S,onKeyUp:C,onMouseDown:T,onMouseLeave:M,onMouseUp:z,onTouchEnd:x,onTouchMove:_,onTouchStart:R,tabIndex:F=0,TouchRippleProps:D,touchRippleRef:Y,type:ne,...U}=i,O=k.useRef(null),I=E$(),j=zd(I.ref,Y),[W,te]=k.useState(!1);c&&W&&te(!1),k.useImperativeHandle(r,()=>({focusVisible:()=>{te(!0),O.current.focus()}}),[]);const Dn=I.shouldMount&&!u&&!c;k.useEffect(()=>{W&&d&&!u&&I.pulsate()},[u,d,W,I]);function Re(B,Ko,Aa=f){return Ja(qo=>(Ko&&Ko(qo),Aa||I[B](qo),!0))}const Bi=Re("start",T),Jt=Re("stop",m),$n=Re("stop",g),Pa=Re("stop",z),Ta=Re("stop",B=>{W&&B.preventDefault(),M&&M(B)}),Ma=Re("start",R),Pu=Re("stop",x),Ea=Re("stop",_),Ho=Re("stop",B=>{Ug(B.target)||te(!1),h&&h(B)},!1),bt=Ja(B=>{O.current||(O.current=B.currentTarget),Ug(B.target)&&(te(!0),w&&w(B)),v&&v(B)}),Rr=()=>{const B=O.current;return l&&l!=="button"&&!(B.tagName==="A"&&B.href)},Tu=Ja(B=>{d&&!B.repeat&&W&&B.key===" "&&I.stop(B,()=>{I.start(B)}),B.target===B.currentTarget&&Rr()&&B.key===" "&&B.preventDefault(),S&&S(B),B.target===B.currentTarget&&Rr()&&B.key==="Enter"&&!c&&(B.preventDefault(),b&&b(B))}),St=Ja(B=>{d&&B.key===" "&&W&&!B.defaultPrevented&&I.stop(B,()=>{I.pulsate(B)}),C&&C(B),b&&B.target===B.currentTarget&&Rr()&&B.key===" "&&!B.defaultPrevented&&b(B)});let gn=l;gn==="button"&&(U.href||U.to)&&(gn=y);const Ui={};gn==="button"?(Ui.type=ne===void 0?"button":ne,Ui.disabled=c):(!U.href&&!U.to&&(Ui.role="button"),c&&(Ui["aria-disabled"]=c));const _a=zd(n,O),Go={...i,centerRipple:o,component:l,disabled:c,disableRipple:u,disableTouchRipple:f,focusRipple:d,tabIndex:F,focusVisible:W},Ra=N$(Go);return P.jsxs(V$,{as:gn,className:ge(Ra.root,a),ownerState:Go,onBlur:Ho,onClick:b,onContextMenu:Jt,onFocus:bt,onKeyDown:Tu,onKeyUp:St,onMouseDown:Bi,onMouseLeave:Ta,onMouseUp:Pa,onDragLeave:$n,onTouchEnd:Pu,onTouchMove:Ea,onTouchStart:Ma,ref:_a,tabIndex:c?-1:F,type:ne,...Ui,...U,children:[s,Dn?P.jsx($$,{ref:j,center:o,...D}):null]})});function B$(e){return typeof e.main=="string"}function U$(e,t=[]){if(!B$(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function bs(e=[]){return([,t])=>t&&U$(t,e)}function W$(e){return ii("MuiTypography",e)}$i("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const H$={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},G$=_E(),K$=e=>{const{align:t,gutterBottom:n,noWrap:i,paragraph:r,variant:o,classes:s}=e,a={root:["root",o,e.align!=="inherit"&&`align${G(t)}`,n&&"gutterBottom",i&&"noWrap",r&&"paragraph"]};return Fi(a,W$,s)},q$=mn("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${G(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(ku(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,i])=>n!=="inherit"&&i&&typeof i=="object").map(([n,i])=>({props:{variant:n},style:i})),...Object.entries(e.palette).filter(bs()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${G(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),M0={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},E0=k.forwardRef(function(t,n){const{color:i,...r}=zn({props:t,name:"MuiTypography"}),o=!H$[i],s=G$({...r,...o&&{color:i}}),{align:a="inherit",className:l,component:c,gutterBottom:u=!1,noWrap:f=!1,paragraph:d=!1,variant:p="body1",variantMapping:y=M0,...h}=s,b={...s,align:a,color:i,className:l,component:c,gutterBottom:u,noWrap:f,paragraph:d,variant:p,variantMapping:y},m=c||(d?"p":y[p]||M0[p])||"span",g=K$(b);return P.jsx(q$,{as:m,ref:n,className:ge(g.root,l),...h,ownerState:b,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...h.style}})}),Q$=Vi(P.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function Y$(e){return ii("MuiChip",e)}const K=$i("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),X$=e=>{const{classes:t,disabled:n,size:i,color:r,iconColor:o,onDelete:s,clickable:a,variant:l}=e,c={root:["root",l,n&&"disabled",`size${G(i)}`,`color${G(r)}`,a&&"clickable",a&&`clickableColor${G(r)}`,s&&"deletable",s&&`deletableColor${G(r)}`,`${l}${G(r)}`],label:["label",`label${G(i)}`],avatar:["avatar",`avatar${G(i)}`,`avatarColor${G(r)}`],icon:["icon",`icon${G(i)}`,`iconColor${G(o)}`],deleteIcon:["deleteIcon",`deleteIcon${G(i)}`,`deleteIconColor${G(r)}`,`deleteIcon${G(l)}Color${G(r)}`]};return Fi(c,Y$,t)},Z$=mn("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:i,iconColor:r,clickable:o,onDelete:s,size:a,variant:l}=n;return[{[`& .${K.avatar}`]:t.avatar},{[`& .${K.avatar}`]:t[`avatar${G(a)}`]},{[`& .${K.avatar}`]:t[`avatarColor${G(i)}`]},{[`& .${K.icon}`]:t.icon},{[`& .${K.icon}`]:t[`icon${G(a)}`]},{[`& .${K.icon}`]:t[`iconColor${G(r)}`]},{[`& .${K.deleteIcon}`]:t.deleteIcon},{[`& .${K.deleteIcon}`]:t[`deleteIcon${G(a)}`]},{[`& .${K.deleteIcon}`]:t[`deleteIconColor${G(i)}`]},{[`& .${K.deleteIcon}`]:t[`deleteIcon${G(l)}Color${G(i)}`]},t.root,t[`size${G(a)}`],t[`color${G(i)}`],o&&t.clickable,o&&i!=="default"&&t[`clickableColor${G(i)})`],s&&t.deletable,s&&i!=="default"&&t[`deletableColor${G(i)}`],t[l],t[`${l}${G(i)}`]]}})(ku(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${K.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${K.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${K.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${K.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${K.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${K.icon}`]:{marginLeft:5,marginRight:-6},[`& .${K.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Ct(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Ct(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${K.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${K.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(bs(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${K.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:Ct(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${K.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${K.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${K.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ct(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(bs(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${K.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ct(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${K.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ct(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(bs(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${K.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${K.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${K.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${K.avatar}`]:{marginLeft:4},[`& .${K.avatarSmall}`]:{marginLeft:2},[`& .${K.icon}`]:{marginLeft:4},[`& .${K.iconSmall}`]:{marginLeft:2},[`& .${K.deleteIcon}`]:{marginRight:5},[`& .${K.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(bs()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Ct(e.palette[n].main,.7)}`,[`&.${K.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ct(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${K.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Ct(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${K.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Ct(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),J$=mn("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:i}=n;return[t.label,t[`label${G(i)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function _0(e){return e.key==="Backspace"||e.key==="Delete"}const rC=k.forwardRef(function(t,n){const i=zn({props:t,name:"MuiChip"}),{avatar:r,className:o,clickable:s,color:a="default",component:l,deleteIcon:c,disabled:u=!1,icon:f,label:d,onClick:p,onDelete:y,onKeyDown:h,onKeyUp:b,size:m="medium",variant:g="filled",tabIndex:v,skipFocusWhenDisabled:w=!1,...S}=i,C=k.useRef(null),T=zd(C,n),M=I=>{I.stopPropagation(),y&&y(I)},z=I=>{I.currentTarget===I.target&&_0(I)&&I.preventDefault(),h&&h(I)},x=I=>{I.currentTarget===I.target&&y&&_0(I)&&y(I),b&&b(I)},_=s!==!1&&p?!0:s,R=_||y?T0:l||"div",F={...i,component:R,disabled:u,size:m,color:a,iconColor:k.isValidElement(f)&&f.props.color||a,onDelete:!!y,clickable:_,variant:g},D=X$(F),Y=R===T0?{component:l||"div",focusVisibleClassName:D.focusVisible,...y&&{disableRipple:!0}}:{};let ne=null;y&&(ne=c&&k.isValidElement(c)?k.cloneElement(c,{className:ge(c.props.className,D.deleteIcon),onClick:M}):P.jsx(Q$,{className:ge(D.deleteIcon),onClick:M}));let U=null;r&&k.isValidElement(r)&&(U=k.cloneElement(r,{className:ge(D.avatar,r.props.className)}));let O=null;return f&&k.isValidElement(f)&&(O=k.cloneElement(f,{className:ge(D.icon,f.props.className)})),P.jsxs(Z$,{as:R,className:ge(D.root,o),disabled:_&&u?!0:void 0,onClick:p,onKeyDown:z,onKeyUp:x,ref:T,tabIndex:w&&u?-1:v,ownerState:F,...Y,...S,children:[U||O,P.jsx(J$,{className:ge(D.label),ownerState:F,children:d}),ne]})}),eF=$i("MuiBox",["root"]),tF=hu(),So=GT({themeId:un,defaultTheme:tF,defaultClassName:eF.root,generateClassName:mw.generate}),oC=jM({createStyledComponent:mn("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${G(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>zn({props:e,name:"MuiContainer"})}),R0=k.createContext();function nF(e){return ii("MuiGrid",e)}const iF=[0,1,2,3,4,5,6,7,8,9,10],rF=["column-reverse","column","row-reverse","row"],oF=["nowrap","wrap-reverse","wrap"],ds=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],fa=$i("MuiGrid",["root","container","item","zeroMinWidth",...iF.map(e=>`spacing-xs-${e}`),...rF.map(e=>`direction-xs-${e}`),...oF.map(e=>`wrap-xs-${e}`),...ds.map(e=>`grid-xs-${e}`),...ds.map(e=>`grid-sm-${e}`),...ds.map(e=>`grid-md-${e}`),...ds.map(e=>`grid-lg-${e}`),...ds.map(e=>`grid-xl-${e}`)]);function sF({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((i,r)=>{let o={};if(t[r]&&(n=t[r]),!n)return i;if(n===!0)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const s=dr({values:t.columns,breakpoints:e.breakpoints.values}),a=typeof s=="object"?s[r]:s;if(a==null)return i;const l=`${Math.round(n/a*1e8)/1e6}%`;let c={};if(t.container&&t.item&&t.columnSpacing!==0){const u=e.spacing(t.columnSpacing);if(u!=="0px"){const f=`calc(${l} + ${u})`;c={flexBasis:f,maxWidth:f}}}o={flexBasis:l,flexGrow:0,maxWidth:l,...c}}return e.breakpoints.values[r]===0?Object.assign(i,o):i[e.breakpoints.up(r)]=o,i},{})}function aF({theme:e,ownerState:t}){const n=dr({values:t.direction,breakpoints:e.breakpoints.values});return wt({theme:e},n,i=>{const r={flexDirection:i};return i.startsWith("column")&&(r[`& > .${fa.item}`]={maxWidth:"none"}),r})}function sC({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(r=>{n===""&&t[r]!==0&&(n=r)});const i=Object.keys(e).sort((r,o)=>e[r]-e[o]);return i.slice(0,i.indexOf(n))}function lF({theme:e,ownerState:t}){const{container:n,rowSpacing:i}=t;let r={};if(n&&i!==0){const o=dr({values:i,breakpoints:e.breakpoints.values});let s;typeof o=="object"&&(s=sC({breakpoints:e.breakpoints.values,values:o})),r=wt({theme:e},o,(a,l)=>{const c=e.spacing(a);return c!=="0px"?{marginTop:`-${c}`,[`& > .${fa.item}`]:{paddingTop:c}}:s!=null&&s.includes(l)?{}:{marginTop:0,[`& > .${fa.item}`]:{paddingTop:0}}})}return r}function cF({theme:e,ownerState:t}){const{container:n,columnSpacing:i}=t;let r={};if(n&&i!==0){const o=dr({values:i,breakpoints:e.breakpoints.values});let s;typeof o=="object"&&(s=sC({breakpoints:e.breakpoints.values,values:o})),r=wt({theme:e},o,(a,l)=>{const c=e.spacing(a);if(c!=="0px"){const u=`-${c}`;return{width:`calc(100% + ${c})`,marginLeft:u,[`& > .${fa.item}`]:{paddingLeft:c}}}return s!=null&&s.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${fa.item}`]:{paddingLeft:0}}})}return r}function uF(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const i=[];return t.forEach(r=>{const o=e[r];Number(o)>0&&i.push(n[`spacing-${r}-${String(o)}`])}),i}const fF=mn("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:i,direction:r,item:o,spacing:s,wrap:a,zeroMinWidth:l,breakpoints:c}=n;let u=[];i&&(u=uF(s,c,t));const f=[];return c.forEach(d=>{const p=n[d];p&&f.push(t[`grid-${d}-${String(p)}`])}),[t.root,i&&t.container,o&&t.item,l&&t.zeroMinWidth,...u,r!=="row"&&t[`direction-xs-${String(r)}`],a!=="wrap"&&t[`wrap-xs-${String(a)}`],...f]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},...e.wrap!=="wrap"&&{flexWrap:e.wrap}}),aF,lF,cF,sF);function dF(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(i=>{const r=e[i];if(Number(r)>0){const o=`spacing-${i}-${String(r)}`;n.push(o)}}),n}const hF=e=>{const{classes:t,container:n,direction:i,item:r,spacing:o,wrap:s,zeroMinWidth:a,breakpoints:l}=e;let c=[];n&&(c=dF(o,l));const u=[];l.forEach(d=>{const p=e[d];p&&u.push(`grid-${d}-${String(p)}`)});const f={root:["root",n&&"container",r&&"item",a&&"zeroMinWidth",...c,i!=="row"&&`direction-xs-${String(i)}`,s!=="wrap"&&`wrap-xs-${String(s)}`,...u]};return Fi(f,nF,t)},kc=k.forwardRef(function(t,n){const i=zn({props:t,name:"MuiGrid"}),{breakpoints:r}=Ep(),o=fu(i),{className:s,columns:a,columnSpacing:l,component:c="div",container:u=!1,direction:f="row",item:d=!1,rowSpacing:p,spacing:y=0,wrap:h="wrap",zeroMinWidth:b=!1,...m}=o,g=p||y,v=l||y,w=k.useContext(R0),S=u?a||12:w,C={},T={...m};r.keys.forEach(x=>{m[x]!=null&&(C[x]=m[x],delete T[x])});const M={...o,columns:S,container:u,direction:f,item:d,rowSpacing:g,columnSpacing:v,wrap:h,zeroMinWidth:b,spacing:y,...C,breakpoints:r.keys},z=hF(M);return P.jsx(R0.Provider,{value:S,children:P.jsx(fF,{ownerState:M,className:ge(z.root,s),as:c,ref:n,...T})})}),pF=rM({themeId:un}),mF=GM({createStyledComponent:mn("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>zn({props:e,name:"MuiStack"})}),gF=Vi(P.jsx("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"}),"Code"),yF=Vi(P.jsx("path",{d:"M2 20h20v-4H2zm2-3h2v2H4zM2 4v4h20V4zm4 3H4V5h2zm-4 7h20v-4H2zm2-3h2v2H4z"}),"Storage"),vF=Vi([P.jsx("path",{d:"M13 8.57c-.79 0-1.43.64-1.43 1.43s.64 1.43 1.43 1.43 1.43-.64 1.43-1.43-.64-1.43-1.43-1.43"},"0"),P.jsx("path",{d:"M13 3C9.25 3 6.2 5.94 6.02 9.64L4.1 12.2c-.25.33-.01.8.4.8H6v3c0 1.1.9 2 2 2h1v3h7v-4.68c2.36-1.12 4-3.53 4-6.32 0-3.87-3.13-7-7-7m3 7c0 .13-.01.26-.02.39l.83.66c.08.06.1.16.05.25l-.8 1.39c-.05.09-.16.12-.24.09l-.99-.4c-.21.16-.43.29-.67.39L14 13.83c-.01.1-.1.17-.2.17h-1.6c-.1 0-.18-.07-.2-.17l-.15-1.06c-.25-.1-.47-.23-.68-.39l-.99.4c-.09.03-.2 0-.25-.09l-.8-1.39c-.05-.08-.03-.19.05-.25l.84-.66c-.01-.13-.02-.26-.02-.39s.02-.27.04-.39l-.85-.66c-.08-.06-.1-.16-.05-.26l.8-1.38c.05-.09.15-.12.24-.09l1 .4c.2-.15.43-.29.67-.39L12 6.17c.02-.1.1-.17.2-.17h1.6c.1 0 .18.07.2.17l.15 1.06c.24.1.46.23.67.39l1-.4c.09-.03.2 0 .24.09l.8 1.38c.05.09.03.2-.05.26l-.85.66c.03.12.04.25.04.39"},"1")],"Psychology"),xF=Vi(P.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96"}),"Cloud"),wF=Vi(P.jsx("path",{d:"M20 9V7c0-1.1-.9-2-2-2h-3c0-1.66-1.34-3-3-3S9 3.34 9 5H6c-1.1 0-2 .9-2 2v2c-1.66 0-3 1.34-3 3s1.34 3 3 3v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c1.66 0 3-1.34 3-3s-1.34-3-3-3M7.5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S9.83 13 9 13s-1.5-.67-1.5-1.5M16 17H8v-2h8zm-1-4c-.83 0-1.5-.67-1.5-1.5S14.17 10 15 10s1.5.67 1.5 1.5S15.83 13 15 13"}),"SmartToy"),bF=Vi(P.jsx("path",{d:"M20 4H4c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H4V8h16zm-2-1h-6v-2h6zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4z"}),"Terminal"),SF=Vi([P.jsx("path",{d:"M7 19c-1.1 0-2 .9-2 2h14c0-1.1-.9-2-2-2h-4v-2h3c1.1 0 2-.9 2-2h-8c-1.66 0-3-1.34-3-3 0-1.09.59-2.04 1.46-2.56C8.17 9.03 8 8.54 8 8c0-.21.04-.42.09-.62C6.28 8.13 5 9.92 5 12c0 2.76 2.24 5 5 5v2z"},"0"),P.jsx("path",{d:"M10.56 5.51C11.91 5.54 13 6.64 13 8c0 .75-.33 1.41-.85 1.87l.59 1.62.94-.34.34.94 1.88-.68-.34-.94.94-.34-2.74-7.53-.94.34-.34-.94-1.88.68.34.94-.94.35z"},"1"),P.jsx("circle",{cx:"10.5",cy:"8",r:"1.5"},"2")],"Biotech"),CF=()=>{const e=Ep(),t=pF(e.breakpoints.down("sm")),n=[{title:"Languages",icon:P.jsx(gF,{fontSize:"large",color:"primary"}),skills:["Python","JavaScript","C++"]},{title:"Database",icon:P.jsx(yF,{fontSize:"large",color:"primary"}),skills:["Postgres","Azure Data Tables","MySQL","Neo4j- Graph DB"]},{title:"Web Technologies",icon:P.jsx(bF,{fontSize:"large",color:"primary"}),skills:["React","Django","FastAPI","Flask","Git/GitHub","VSCode"]},{title:"Machine Learning",icon:P.jsx(SF,{fontSize:"large",color:"primary"}),skills:["Linear regression","Ridge & Lasso Regularization","Logistic Regression","Naive-Bayes Classifier","KNN","SVM","Decision Tree","Random Forest","Ada-Boost","XG-Boost","K-means Clustering"]},{title:"Deep Learning & NLP",icon:P.jsx(vF,{fontSize:"large",color:"primary"}),skills:["NLTK","Spacy","Stop-words","Stemming","Lemmatization","Tokenization","TF-IDF","Bag of Words","Word2Vec","RNNs","CNNs","LSTM","Yolo","Activation Functions","Pytorch","Tensorflow"]},{title:"Generative AI",icon:P.jsx(wF,{fontSize:"large",color:"primary"}),skills:["OpenAI API","LLMs (Llama, Mistral, Phi-mini, Reflection-based models)","Prompt Engineering","RAG","Tool Calling","Fine Tuning","PEFT","VectorDBs","Agents","Langchain","LanGraph","LlamaIndex","HuggingFace tools","Langfuse","Cursor"]},{title:"Cloud services",icon:P.jsx(xF,{fontSize:"large",color:"primary"}),skills:["Azure AI services","Azure Openai","Azure AI search","Azure Document Intelligence","Azure Speech","Azure Machine Learning","AWS bedrock","AWS sagemaker","AWS SQS"]}];return P.jsxs(So,{id:"skills",py:8,className:"relative",sx:{bgcolor:"background.paper"},children:[P.jsx("div",{className:"absolute inset-0 bg-black",children:P.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-20"})}),P.jsxs(oC,{maxWidth:"lg",className:"relative z-10",children:[P.jsx(ke.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},children:P.jsx(E0,{variant:t?"h4":"h3",component:"h2",textAlign:"center",gutterBottom:!0,sx:{fontSize:{xs:"2rem",sm:"2.5rem",md:"3rem"},mb:6,textGradient:"linear-gradient(to right, #2196f3, #7a1bff)"},children:"Skills & Technologies"})}),P.jsx(kc,{container:!0,spacing:4,children:n.map((i,r)=>P.jsx(kc,{item:!0,xs:12,md:6,children:P.jsx(ke.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:r*.1},children:P.jsxs(M$,{elevation:3,sx:{p:{xs:2,sm:3},height:"100%",transition:"transform 0.2s","&:hover":{transform:"translateY(-5px)",boxShadow:e.shadows[10]},bgcolor:"rgba(255, 255, 255, 0.05)",backdropFilter:"blur(10px)"},children:[P.jsxs(So,{sx:{display:"flex",alignItems:"center",mb:2},children:[i.icon,P.jsx(E0,{variant:"h6",sx:{fontSize:{xs:"1.1rem",sm:"1.25rem"},color:"primary.main",ml:1,fontWeight:600},children:i.title})]}),P.jsx(So,{sx:{display:"flex",flexWrap:"wrap",gap:{xs:.5,sm:1}},children:i.skills.map((o,s)=>P.jsx(rC,{label:o,sx:{m:.5,fontSize:{xs:"0.75rem",sm:"0.875rem"},bgcolor:"rgba(255, 255, 255, 0.1)","&:hover":{bgcolor:"rgba(255, 255, 255, 0.2)"}},variant:"outlined"},s))})]})})},r))})]})]})},kF=()=>{const e=[{title:"AI based large construction project analyser",description:"Developed a production level micro-services architecture with multiple servers and lambdas to build construction project's operation and maintenance analysis, task generators, tender requirement extractions, tender bidding analysis and many more AI features.",tools:["Python FastAPI","Azure functions","Azure OpenAI","Langchain","Unstructured","Neo4j"]},{title:"AI Legal Research Tool",description:"Developed an AI application for legal professionals with legal search engine, judgment summaries, research book generation and many more AI features. Engineered batch systems with 5 different ML pipeline running parallel on spot instances and built NER system to extract and classify legal entities from large legal document corpus.",tools:["Flask","Elasticsearch","OpenAI API","RAG","BiLSTM","Selenium","Azure machine learning"]},{title:"AI Sales Agent",description:"Implemented an AI application that automates the entire sales process, from building rapport to converting leads. Utilized chat and instructive agents, reduced API calls by 60% through code refactoring resulting efficient and cost-effective way to manage CRMs and drive sales.",tools:["FastAPI","Reactjs","ChromaDB","Agent Architectures","OpenAI API","Zapier","Salesforce- Apex"]}];return P.jsx(So,{id:"projects",py:8,children:P.jsxs(oC,{children:[P.jsx(ke.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},className:"text-3xl md:text-4xl font-bold text-center mb-12 bg-clip-text text-transparent bg-gradient-to-r from-blue-500 to-purple-500",children:"Projects"}),P.jsx(kc,{container:!0,spacing:4,children:e.map((t,n)=>P.jsx(kc,{item:!0,xs:12,children:P.jsxs(ke.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:n*.1},className:"p-6 rounded-lg border border-white/10 bg-white/5 backdrop-blur-sm",children:[P.jsx("h3",{className:"text-xl font-semibold mb-4 text-white/90",children:t.title}),P.jsx("p",{className:"text-white/70 mb-4",children:t.description}),P.jsx(mF,{direction:"row",spacing:1,flexWrap:"wrap",gap:1,mt:2,children:t.tools.map(i=>P.jsx(rC,{label:i,color:"primary",variant:"outlined"},i))})]})},t.title))})]})})},PF=[{icon:vc,label:"Email",value:"goswamirushi39@gmail.com",link:"mailto:goswamirushi39@gmail.com"},{icon:th,label:"Phone",value:"8140226399",link:"tel:8140226399"},{icon:SO,label:"LinkedIn",value:"linkedin.com/in/rushigoswami",link:"https://linkedin.com/in/rushigoswami"},{icon:wO,label:"GitHub",value:"github.com/rushigoswami",link:"https://github.com/rushigoswami"}];function TF(){return P.jsxs("section",{id:"contact",className:"relative py-20",children:[P.jsx("div",{className:"absolute inset-0 bg-black",children:P.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-20"})}),P.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[P.jsx(ke.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},className:"text-3xl md:text-4xl font-bold text-center mb-12 bg-clip-text text-transparent bg-gradient-to-r from-blue-500 to-purple-500",children:"Get in Touch"}),P.jsx("div",{className:"max-w-4xl mx-auto",children:P.jsx("div",{className:"p-6 rounded-lg border border-white/10 bg-white/5 backdrop-blur-sm",children:P.jsx(ke.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5},className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:PF.map((e,t)=>P.jsxs(ke.a,{href:e.link,target:e.icon!==th&&e.icon!==vc?"_blank":void 0,rel:e.icon!==th&&e.icon!==vc?"noopener noreferrer":void 0,initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:t*.1},className:"p-4 rounded-lg border border-white/10 bg-white/5 hover:bg-white/[0.07] transition-all group flex items-center gap-4",children:[P.jsx("div",{className:"p-3 rounded-full bg-white/10 group-hover:bg-white/20 transition-colors",children:P.jsx(e.icon,{size:24,className:"text-white/80"})}),P.jsxs("div",{children:[P.jsx("h3",{className:"text-lg font-semibold text-white/90 mb-1",children:e.label}),P.jsx("p",{className:"text-white/70 group-hover:text-white/90 transition-colors",children:e.value})]})]},e.label))})})})]})]})}function MF(){const[e,t]=k.useState("dark"),n=k.useMemo(()=>hu({palette:{mode:e,primary:{main:e==="dark"?"#7C3AED":"#6D28D9",light:e==="dark"?"#8B5CF6":"#7C3AED",dark:"#5B21B6"},secondary:{main:e==="dark"?"#EC4899":"#DB2777"},background:{default:e==="dark"?"#0F172A":"#F8FAFC",paper:e==="dark"?"#1E293B":"#FFFFFF"},text:{primary:e==="dark"?"#F1F5F9":"#1E293B",secondary:e==="dark"?"#CBD5E1":"#475569"}},typography:{fontFamily:'"Inter", "Roboto", "Helvetica", "Arial", sans-serif',h1:{fontWeight:800},h2:{fontWeight:700},h3:{fontWeight:700},h4:{fontWeight:600},h5:{fontWeight:600},h6:{fontWeight:600}},components:{MuiContainer:{styleOverrides:{root:{"@media (min-width: 1200px)":{maxWidth:"1400px"}}}},MuiPaper:{styleOverrides:{root:{backgroundImage:"none"}}}}}),[e]),i=()=>{t(r=>r==="light"?"dark":"light")};return P.jsxs(ME,{theme:n,children:[P.jsx(LE,{}),P.jsx(KE,{children:P.jsx(So,{sx:{width:"100%",margin:0,padding:0,overflow:"hidden",minHeight:"100vh",bgcolor:"background.default",color:"text.primary",position:"relative","&::before":{content:'""',position:"fixed",top:0,left:0,right:0,bottom:0,background:e==="dark"?"radial-gradient(circle at center, rgba(124, 58, 237, 0.1) 0%, rgba(15, 23, 42, 0) 70%)":"radial-gradient(circle at center, rgba(109, 40, 217, 0.05) 0%, rgba(248, 250, 252, 0) 70%)",pointerEvents:"none",zIndex:1}},children:P.jsxs(So,{sx:{position:"relative",zIndex:2},children:[P.jsx(PO,{colorMode:{mode:e,toggleColorMode:i}}),P.jsx(f$,{}),P.jsx(d$,{}),P.jsx(CF,{}),P.jsx(kF,{}),P.jsx(TF,{})]})})})]})}U1(document.getElementById("root")).render(P.jsx(k.StrictMode,{children:P.jsx(MF,{})})); diff --git a/dist/assets/index-BO8ynfS5.js b/dist/assets/index-BO8ynfS5.js new file mode 100644 index 0000000..6e32a38 --- /dev/null +++ b/dist/assets/index-BO8ynfS5.js @@ -0,0 +1,40 @@ +(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const o of u.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function t(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(l){if(l.ep)return;l.ep=!0;const u=t(l);fetch(l.href,u)}})();var Bi={exports:{}},br={},Hi={exports:{}},L={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Kt=Symbol.for("react.element"),tc=Symbol.for("react.portal"),rc=Symbol.for("react.fragment"),lc=Symbol.for("react.strict_mode"),uc=Symbol.for("react.profiler"),oc=Symbol.for("react.provider"),ic=Symbol.for("react.context"),sc=Symbol.for("react.forward_ref"),ac=Symbol.for("react.suspense"),cc=Symbol.for("react.memo"),fc=Symbol.for("react.lazy"),Mo=Symbol.iterator;function dc(e){return e===null||typeof e!="object"?null:(e=Mo&&e[Mo]||e["@@iterator"],typeof e=="function"?e:null)}var Wi={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Qi=Object.assign,Ki={};function rt(e,n,t){this.props=e,this.context=n,this.refs=Ki,this.updater=t||Wi}rt.prototype.isReactComponent={};rt.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")};rt.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Yi(){}Yi.prototype=rt.prototype;function Fu(e,n,t){this.props=e,this.context=n,this.refs=Ki,this.updater=t||Wi}var ju=Fu.prototype=new Yi;ju.constructor=Fu;Qi(ju,rt.prototype);ju.isPureReactComponent=!0;var Do=Array.isArray,Xi=Object.prototype.hasOwnProperty,Uu={current:null},Gi={key:!0,ref:!0,__self:!0,__source:!0};function Zi(e,n,t){var r,l={},u=null,o=null;if(n!=null)for(r in n.ref!==void 0&&(o=n.ref),n.key!==void 0&&(u=""+n.key),n)Xi.call(n,r)&&!Gi.hasOwnProperty(r)&&(l[r]=n[r]);var i=arguments.length-2;if(i===1)l.children=t;else if(1>>1,X=C[H];if(0>>1;Hl(yl,z))hnl(qt,yl)?(C[H]=qt,C[hn]=z,H=hn):(C[H]=yl,C[vn]=z,H=vn);else if(hnl(qt,z))C[H]=qt,C[hn]=z,H=hn;else break e}}return N}function l(C,N){var z=C.sortIndex-N.sortIndex;return z!==0?z:C.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var o=Date,i=o.now();e.unstable_now=function(){return o.now()-i}}var s=[],c=[],v=1,m=null,p=3,g=!1,w=!1,S=!1,F=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(C){for(var N=t(c);N!==null;){if(N.callback===null)r(c);else if(N.startTime<=C)r(c),N.sortIndex=N.expirationTime,n(s,N);else break;N=t(c)}}function h(C){if(S=!1,d(C),!w)if(t(s)!==null)w=!0,vl(E);else{var N=t(c);N!==null&&hl(h,N.startTime-C)}}function E(C,N){w=!1,S&&(S=!1,f(P),P=-1),g=!0;var z=p;try{for(d(N),m=t(s);m!==null&&(!(m.expirationTime>N)||C&&!xe());){var H=m.callback;if(typeof H=="function"){m.callback=null,p=m.priorityLevel;var X=H(m.expirationTime<=N);N=e.unstable_now(),typeof X=="function"?m.callback=X:m===t(s)&&r(s),d(N)}else r(s);m=t(s)}if(m!==null)var Jt=!0;else{var vn=t(c);vn!==null&&hl(h,vn.startTime-N),Jt=!1}return Jt}finally{m=null,p=z,g=!1}}var _=!1,x=null,P=-1,B=5,T=-1;function xe(){return!(e.unstable_now()-TC||125H?(C.sortIndex=z,n(c,C),t(s)===null&&C===t(c)&&(S?(f(P),P=-1):S=!0,hl(h,z-H))):(C.sortIndex=X,n(s,C),w||g||(w=!0,vl(E))),C},e.unstable_shouldYield=xe,e.unstable_wrapCallback=function(C){var N=p;return function(){var z=p;p=N;try{return C.apply(this,arguments)}finally{p=z}}}})(ns);es.exports=ns;var Cc=es.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var _c=Au,he=Cc;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Wl=Object.prototype.hasOwnProperty,xc=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Fo={},jo={};function Pc(e){return Wl.call(jo,e)?!0:Wl.call(Fo,e)?!1:xc.test(e)?jo[e]=!0:(Fo[e]=!0,!1)}function Nc(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function zc(e,n,t,r){if(n===null||typeof n>"u"||Nc(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ie(e,n,t,r,l,u,o){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=u,this.removeEmptyString=o}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){b[e]=new ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];b[n]=new ie(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){b[e]=new ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){b[e]=new ie(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){b[e]=new ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){b[e]=new ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){b[e]=new ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){b[e]=new ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){b[e]=new ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Vu=/[\-:]([a-z])/g;function Bu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Vu,Bu);b[n]=new ie(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Vu,Bu);b[n]=new ie(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Vu,Bu);b[n]=new ie(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){b[e]=new ie(e,1,!1,e.toLowerCase(),null,!1,!1)});b.xlinkHref=new ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){b[e]=new ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Hu(e,n,t,r){var l=b.hasOwnProperty(n)?b[n]:null;(l!==null?l.type!==0:r||!(2i||l[o]!==u[i]){var s=` +`+l[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=i);break}}}finally{Sl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?ht(e):""}function Lc(e){switch(e.tag){case 5:return ht(e.type);case 16:return ht("Lazy");case 13:return ht("Suspense");case 19:return ht("SuspenseList");case 0:case 2:case 15:return e=kl(e.type,!1),e;case 11:return e=kl(e.type.render,!1),e;case 1:return e=kl(e.type,!0),e;default:return""}}function Xl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Mn:return"Fragment";case On:return"Portal";case Ql:return"Profiler";case Wu:return"StrictMode";case Kl:return"Suspense";case Yl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ls:return(e.displayName||"Context")+".Consumer";case rs:return(e._context.displayName||"Context")+".Provider";case Qu:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ku:return n=e.displayName||null,n!==null?n:Xl(e.type)||"Memo";case Ge:n=e._payload,e=e._init;try{return Xl(e(n))}catch{}}return null}function Tc(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Xl(n);case 8:return n===Wu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function cn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function os(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Rc(e){var n=os(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,u=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,u.call(this,o)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function nr(e){e._valueTracker||(e._valueTracker=Rc(e))}function is(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=os(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Lr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Gl(e,n){var t=n.checked;return A({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function $o(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=cn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function ss(e,n){n=n.checked,n!=null&&Hu(e,"checked",n,!1)}function Zl(e,n){ss(e,n);var t=cn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Jl(e,n.type,t):n.hasOwnProperty("defaultValue")&&Jl(e,n.type,cn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Ao(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Jl(e,n,t){(n!=="number"||Lr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var yt=Array.isArray;function Wn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=tr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Tt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var St={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Oc=["Webkit","ms","Moz","O"];Object.keys(St).forEach(function(e){Oc.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),St[n]=St[e]})});function ds(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||St.hasOwnProperty(e)&&St[e]?(""+n).trim():n+"px"}function ps(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=ds(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Mc=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function eu(e,n){if(n){if(Mc[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function nu(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tu=null;function Yu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ru=null,Qn=null,Kn=null;function Ho(e){if(e=Gt(e)){if(typeof ru!="function")throw Error(y(280));var n=e.stateNode;n&&(n=ll(n),ru(e.stateNode,e.type,n))}}function ms(e){Qn?Kn?Kn.push(e):Kn=[e]:Qn=e}function vs(){if(Qn){var e=Qn,n=Kn;if(Kn=Qn=null,Ho(e),n)for(e=0;e>>=0,e===0?32:31-(Wc(e)/Qc|0)|0}var rr=64,lr=4194304;function gt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Mr(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,u=e.pingedLanes,o=t&268435455;if(o!==0){var i=o&~l;i!==0?r=gt(i):(u&=o,u!==0&&(r=gt(u)))}else o=t&~l,o!==0?r=gt(o):u!==0&&(r=gt(u));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,u=n&-n,l>=u||l===16&&(u&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Yt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Te(n),e[n]=t}function Gc(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Et),qo=" ",bo=!1;function Is(e,n){switch(e){case"keyup":return _f.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function Pf(e,n){switch(e){case"compositionend":return Fs(n);case"keypress":return n.which!==32?null:(bo=!0,qo);case"textInput":return e=n.data,e===qo&&bo?null:e;default:return null}}function Nf(e,n){if(Dn)return e==="compositionend"||!no&&Is(e,n)?(e=Ms(),wr=qu=be=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=ri(t)}}function As(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?As(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Vs(){for(var e=window,n=Lr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Lr(e.document)}return n}function to(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Ff(e){var n=Vs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&As(t.ownerDocument.documentElement,t)){if(r!==null&&to(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,u=Math.min(r.start,l);r=r.end===void 0?u:Math.min(r.end,l),!e.extend&&u>r&&(l=r,r=u,u=l),l=li(t,u);var o=li(t,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),u>r?(e.addRange(n),e.extend(o.node,o.offset)):(n.setEnd(o.node,o.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,In=null,au=null,_t=null,cu=!1;function ui(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;cu||In==null||In!==Lr(r)||(r=In,"selectionStart"in r&&to(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),_t&&Ft(_t,r)||(_t=r,r=Fr(au,"onSelect"),0Un||(e.current=hu[Un],hu[Un]=null,Un--)}function M(e,n){Un++,hu[Un]=e.current,e.current=n}var fn={},re=pn(fn),ce=pn(!1),_n=fn;function Jn(e,n){var t=e.type.contextTypes;if(!t)return fn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},u;for(u in t)l[u]=n[u];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function fe(e){return e=e.childContextTypes,e!=null}function Ur(){I(ce),I(re)}function di(e,n,t){if(re.current!==fn)throw Error(y(168));M(re,n),M(ce,t)}function Zs(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Tc(e)||"Unknown",l));return A({},t,r)}function $r(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fn,_n=re.current,M(re,e),M(ce,ce.current),!0}function pi(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=Zs(e,n,_n),r.__reactInternalMemoizedMergedChildContext=e,I(ce),I(re),M(re,e)):I(ce),M(ce,t)}var $e=null,ul=!1,Il=!1;function Js(e){$e===null?$e=[e]:$e.push(e)}function Xf(e){ul=!0,Js(e)}function mn(){if(!Il&&$e!==null){Il=!0;var e=0,n=O;try{var t=$e;for(O=1;e>=o,l-=o,Ae=1<<32-Te(n)+l|t<P?(B=x,x=null):B=x.sibling;var T=p(f,x,d[P],h);if(T===null){x===null&&(x=B);break}e&&x&&T.alternate===null&&n(f,x),a=u(T,a,P),_===null?E=T:_.sibling=T,_=T,x=B}if(P===d.length)return t(f,x),j&&yn(f,P),E;if(x===null){for(;PP?(B=x,x=null):B=x.sibling;var xe=p(f,x,T.value,h);if(xe===null){x===null&&(x=B);break}e&&x&&xe.alternate===null&&n(f,x),a=u(xe,a,P),_===null?E=xe:_.sibling=xe,_=xe,x=B}if(T.done)return t(f,x),j&&yn(f,P),E;if(x===null){for(;!T.done;P++,T=d.next())T=m(f,T.value,h),T!==null&&(a=u(T,a,P),_===null?E=T:_.sibling=T,_=T);return j&&yn(f,P),E}for(x=r(f,x);!T.done;P++,T=d.next())T=g(x,f,P,T.value,h),T!==null&&(e&&T.alternate!==null&&x.delete(T.key===null?P:T.key),a=u(T,a,P),_===null?E=T:_.sibling=T,_=T);return e&&x.forEach(function(ot){return n(f,ot)}),j&&yn(f,P),E}function F(f,a,d,h){if(typeof d=="object"&&d!==null&&d.type===Mn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case er:e:{for(var E=d.key,_=a;_!==null;){if(_.key===E){if(E=d.type,E===Mn){if(_.tag===7){t(f,_.sibling),a=l(_,d.props.children),a.return=f,f=a;break e}}else if(_.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ge&&hi(E)===_.type){t(f,_.sibling),a=l(_,d.props),a.ref=pt(f,_,d),a.return=f,f=a;break e}t(f,_);break}else n(f,_);_=_.sibling}d.type===Mn?(a=Cn(d.props.children,f.mode,h,d.key),a.return=f,f=a):(h=Nr(d.type,d.key,d.props,null,f.mode,h),h.ref=pt(f,a,d),h.return=f,f=h)}return o(f);case On:e:{for(_=d.key;a!==null;){if(a.key===_)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){t(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{t(f,a);break}else n(f,a);a=a.sibling}a=Hl(d,f.mode,h),a.return=f,f=a}return o(f);case Ge:return _=d._init,F(f,a,_(d._payload),h)}if(yt(d))return w(f,a,d,h);if(st(d))return S(f,a,d,h);fr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(t(f,a.sibling),a=l(a,d),a.return=f,f=a):(t(f,a),a=Bl(d,f.mode,h),a.return=f,f=a),o(f)):t(f,a)}return F}var bn=na(!0),ta=na(!1),Br=pn(null),Hr=null,Vn=null,oo=null;function io(){oo=Vn=Hr=null}function so(e){var n=Br.current;I(Br),e._currentValue=n}function wu(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Xn(e,n){Hr=e,oo=Vn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(ae=!0),e.firstContext=null)}function Ce(e){var n=e._currentValue;if(oo!==e)if(e={context:e,memoizedValue:n,next:null},Vn===null){if(Hr===null)throw Error(y(308));Vn=e,Hr.dependencies={lanes:0,firstContext:e}}else Vn=Vn.next=e;return n}var Sn=null;function ao(e){Sn===null?Sn=[e]:Sn.push(e)}function ra(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,ao(n)):(t.next=l.next,l.next=t),n.interleaved=t,Qe(e,r)}function Qe(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var Ze=!1;function co(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function la(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Be(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function un(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,R&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Qe(e,t)}return l=r.interleaved,l===null?(n.next=n,ao(r)):(n.next=l.next,l.next=n),r.interleaved=n,Qe(e,t)}function kr(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Gu(e,t)}}function yi(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,u=null;if(t=t.firstBaseUpdate,t!==null){do{var o={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};u===null?l=u=o:u=u.next=o,t=t.next}while(t!==null);u===null?l=u=n:u=u.next=n}else l=u=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:u,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Wr(e,n,t,r){var l=e.updateQueue;Ze=!1;var u=l.firstBaseUpdate,o=l.lastBaseUpdate,i=l.shared.pending;if(i!==null){l.shared.pending=null;var s=i,c=s.next;s.next=null,o===null?u=c:o.next=c,o=s;var v=e.alternate;v!==null&&(v=v.updateQueue,i=v.lastBaseUpdate,i!==o&&(i===null?v.firstBaseUpdate=c:i.next=c,v.lastBaseUpdate=s))}if(u!==null){var m=l.baseState;o=0,v=c=s=null,i=u;do{var p=i.lane,g=i.eventTime;if((r&p)===p){v!==null&&(v=v.next={eventTime:g,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var w=e,S=i;switch(p=n,g=t,S.tag){case 1:if(w=S.payload,typeof w=="function"){m=w.call(g,m,p);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=S.payload,p=typeof w=="function"?w.call(g,m,p):w,p==null)break e;m=A({},m,p);break e;case 2:Ze=!0}}i.callback!==null&&i.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[i]:p.push(i))}else g={eventTime:g,lane:p,tag:i.tag,payload:i.payload,callback:i.callback,next:null},v===null?(c=v=g,s=m):v=v.next=g,o|=p;if(i=i.next,i===null){if(i=l.shared.pending,i===null)break;p=i,i=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(v===null&&(s=m),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=v,n=l.shared.interleaved,n!==null){l=n;do o|=l.lane,l=l.next;while(l!==n)}else u===null&&(l.shared.lanes=0);Nn|=o,e.lanes=o,e.memoizedState=m}}function gi(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;nt?t:4,e(!0);var r=jl.transition;jl.transition={};try{e(!1),n()}finally{O=t,jl.transition=r}}function ka(){return _e().memoizedState}function qf(e,n,t){var r=sn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Ea(e))Ca(n,t);else if(t=ra(e,n,t,r),t!==null){var l=ue();Re(t,e,r,l),_a(t,n,r)}}function bf(e,n,t){var r=sn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Ea(e))Ca(n,l);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=n.lastRenderedReducer,u!==null))try{var o=n.lastRenderedState,i=u(o,t);if(l.hasEagerState=!0,l.eagerState=i,Oe(i,o)){var s=n.interleaved;s===null?(l.next=l,ao(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=ra(e,n,l,r),t!==null&&(l=ue(),Re(t,e,r,l),_a(t,n,r))}}function Ea(e){var n=e.alternate;return e===$||n!==null&&n===$}function Ca(e,n){xt=Kr=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function _a(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Gu(e,t)}}var Yr={readContext:Ce,useCallback:ee,useContext:ee,useEffect:ee,useImperativeHandle:ee,useInsertionEffect:ee,useLayoutEffect:ee,useMemo:ee,useReducer:ee,useRef:ee,useState:ee,useDebugValue:ee,useDeferredValue:ee,useTransition:ee,useMutableSource:ee,useSyncExternalStore:ee,useId:ee,unstable_isNewReconciler:!1},ed={readContext:Ce,useCallback:function(e,n){return De().memoizedState=[e,n===void 0?null:n],e},useContext:Ce,useEffect:Si,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Cr(4194308,4,ha.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Cr(4194308,4,e,n)},useInsertionEffect:function(e,n){return Cr(4,2,e,n)},useMemo:function(e,n){var t=De();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=De();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=qf.bind(null,$,e),[r.memoizedState,e]},useRef:function(e){var n=De();return e={current:e},n.memoizedState=e},useState:wi,useDebugValue:wo,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=wi(!1),n=e[0];return e=Jf.bind(null,e[1]),De().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=$,l=De();if(j){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),Z===null)throw Error(y(349));Pn&30||sa(r,n,t)}l.memoizedState=t;var u={value:t,getSnapshot:n};return l.queue=u,Si(ca.bind(null,r,u,e),[e]),r.flags|=2048,Wt(9,aa.bind(null,r,u,t,n),void 0,null),t},useId:function(){var e=De(),n=Z.identifierPrefix;if(j){var t=Ve,r=Ae;t=(r&~(1<<32-Te(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Bt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(t,{is:r.is}):(e=o.createElement(t),t==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,t),e[Ie]=n,e[$t]=r,Da(e,n,!1,!1),n.stateNode=e;e:{switch(o=nu(t,r),t){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;ltt&&(n.flags|=128,r=!0,mt(u,!1),n.lanes=4194304)}else{if(!r)if(e=Qr(o),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),mt(u,!0),u.tail===null&&u.tailMode==="hidden"&&!o.alternate&&!j)return ne(n),null}else 2*W()-u.renderingStartTime>tt&&t!==1073741824&&(n.flags|=128,r=!0,mt(u,!1),n.lanes=4194304);u.isBackwards?(o.sibling=n.child,n.child=o):(t=u.last,t!==null?t.sibling=o:n.child=o,u.last=o)}return u.tail!==null?(n=u.tail,u.rendering=n,u.tail=n.sibling,u.renderingStartTime=W(),n.sibling=null,t=U.current,M(U,r?t&1|2:t&1),n):(ne(n),null);case 22:case 23:return xo(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?pe&1073741824&&(ne(n),n.subtreeFlags&6&&(n.flags|=8192)):ne(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function sd(e,n){switch(lo(n),n.tag){case 1:return fe(n.type)&&Ur(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return et(),I(ce),I(re),mo(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return po(n),null;case 13:if(I(U),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));qn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return I(U),null;case 4:return et(),null;case 10:return so(n.type._context),null;case 22:case 23:return xo(),null;case 24:return null;default:return null}}var pr=!1,te=!1,ad=typeof WeakSet=="function"?WeakSet:Set,k=null;function Bn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){V(e,n,r)}else t.current=null}function zu(e,n,t){try{t()}catch(r){V(e,n,r)}}var Ri=!1;function cd(e,n){if(fu=Dr,e=Vs(),to(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,u=r.focusNode;r=r.focusOffset;try{t.nodeType,u.nodeType}catch{t=null;break e}var o=0,i=-1,s=-1,c=0,v=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(i=o+l),m!==u||r!==0&&m.nodeType!==3||(s=o+r),m.nodeType===3&&(o+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++c===l&&(i=o),p===u&&++v===r&&(s=o),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=i===-1||s===-1?null:{start:i,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(du={focusedElem:e,selectionRange:t},Dr=!1,k=n;k!==null;)if(n=k,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,k=e;else for(;k!==null;){n=k;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var S=w.memoizedProps,F=w.memoizedState,f=n.stateNode,a=f.getSnapshotBeforeUpdate(n.elementType===n.type?S:Ne(n.type,S),F);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=n.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(h){V(n,n.return,h)}if(e=n.sibling,e!==null){e.return=n.return,k=e;break}k=n.return}return w=Ri,Ri=!1,w}function Pt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var u=l.destroy;l.destroy=void 0,u!==void 0&&zu(n,t,u)}l=l.next}while(l!==r)}}function sl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function Lu(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function ja(e){var n=e.alternate;n!==null&&(e.alternate=null,ja(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ie],delete n[$t],delete n[vu],delete n[Kf],delete n[Yf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ua(e){return e.tag===5||e.tag===3||e.tag===4}function Oi(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ua(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Tu(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=jr));else if(r!==4&&(e=e.child,e!==null))for(Tu(e,n,t),e=e.sibling;e!==null;)Tu(e,n,t),e=e.sibling}function Ru(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ru(e,n,t),e=e.sibling;e!==null;)Ru(e,n,t),e=e.sibling}var J=null,ze=!1;function Xe(e,n,t){for(t=t.child;t!==null;)$a(e,n,t),t=t.sibling}function $a(e,n,t){if(Fe&&typeof Fe.onCommitFiberUnmount=="function")try{Fe.onCommitFiberUnmount(el,t)}catch{}switch(t.tag){case 5:te||Bn(t,n);case 6:var r=J,l=ze;J=null,Xe(e,n,t),J=r,ze=l,J!==null&&(ze?(e=J,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):J.removeChild(t.stateNode));break;case 18:J!==null&&(ze?(e=J,t=t.stateNode,e.nodeType===8?Dl(e.parentNode,t):e.nodeType===1&&Dl(e,t),Dt(e)):Dl(J,t.stateNode));break;case 4:r=J,l=ze,J=t.stateNode.containerInfo,ze=!0,Xe(e,n,t),J=r,ze=l;break;case 0:case 11:case 14:case 15:if(!te&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var u=l,o=u.destroy;u=u.tag,o!==void 0&&(u&2||u&4)&&zu(t,n,o),l=l.next}while(l!==r)}Xe(e,n,t);break;case 1:if(!te&&(Bn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(i){V(t,n,i)}Xe(e,n,t);break;case 21:Xe(e,n,t);break;case 22:t.mode&1?(te=(r=te)||t.memoizedState!==null,Xe(e,n,t),te=r):Xe(e,n,t);break;default:Xe(e,n,t)}}function Mi(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new ad),n.forEach(function(r){var l=wd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function Pe(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=o),r&=~u}if(r=l,r=W()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*dd(r/1960))-r,10e?16:e,en===null)var r=!1;else{if(e=en,en=null,Zr=0,R&6)throw Error(y(331));var l=R;for(R|=4,k=e.current;k!==null;){var u=k,o=u.child;if(k.flags&16){var i=u.deletions;if(i!==null){for(var s=0;sW()-Co?En(e,0):Eo|=t),de(e,n)}function Ya(e,n){n===0&&(e.mode&1?(n=lr,lr<<=1,!(lr&130023424)&&(lr=4194304)):n=1);var t=ue();e=Qe(e,n),e!==null&&(Yt(e,n,t),de(e,t))}function gd(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),Ya(e,t)}function wd(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),Ya(e,t)}var Xa;Xa=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||ce.current)ae=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return ae=!1,od(e,n,t);ae=!!(e.flags&131072)}else ae=!1,j&&n.flags&1048576&&qs(n,Vr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;_r(e,n),e=n.pendingProps;var l=Jn(n,re.current);Xn(n,t),l=ho(null,n,r,e,l,t);var u=yo();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,fe(r)?(u=!0,$r(n)):u=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,co(n),l.updater=il,n.stateNode=l,l._reactInternals=n,ku(n,r,e,t),n=_u(null,n,r,!0,u,t)):(n.tag=0,j&&u&&ro(n),le(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(_r(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=kd(r),e=Ne(r,e),l){case 0:n=Cu(null,n,r,e,t);break e;case 1:n=zi(null,n,r,e,t);break e;case 11:n=Pi(null,n,r,e,t);break e;case 14:n=Ni(null,n,r,Ne(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),Cu(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),zi(e,n,r,l,t);case 3:e:{if(Ra(n),e===null)throw Error(y(387));r=n.pendingProps,u=n.memoizedState,l=u.element,la(e,n),Wr(n,r,null,t);var o=n.memoizedState;if(r=o.element,u.isDehydrated)if(u={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},n.updateQueue.baseState=u,n.memoizedState=u,n.flags&256){l=nt(Error(y(423)),n),n=Li(e,n,r,t,l);break e}else if(r!==l){l=nt(Error(y(424)),n),n=Li(e,n,r,t,l);break e}else for(me=ln(n.stateNode.containerInfo.firstChild),ve=n,j=!0,Le=null,t=ta(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(qn(),r===l){n=Ke(e,n,t);break e}le(e,n,r,t)}n=n.child}return n;case 5:return ua(n),e===null&&gu(n),r=n.type,l=n.pendingProps,u=e!==null?e.memoizedProps:null,o=l.children,pu(r,l)?o=null:u!==null&&pu(r,u)&&(n.flags|=32),Ta(e,n),le(e,n,o,t),n.child;case 6:return e===null&&gu(n),null;case 13:return Oa(e,n,t);case 4:return fo(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=bn(n,null,r,t):le(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),Pi(e,n,r,l,t);case 7:return le(e,n,n.pendingProps,t),n.child;case 8:return le(e,n,n.pendingProps.children,t),n.child;case 12:return le(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,u=n.memoizedProps,o=l.value,M(Br,r._currentValue),r._currentValue=o,u!==null)if(Oe(u.value,o)){if(u.children===l.children&&!ce.current){n=Ke(e,n,t);break e}}else for(u=n.child,u!==null&&(u.return=n);u!==null;){var i=u.dependencies;if(i!==null){o=u.child;for(var s=i.firstContext;s!==null;){if(s.context===r){if(u.tag===1){s=Be(-1,t&-t),s.tag=2;var c=u.updateQueue;if(c!==null){c=c.shared;var v=c.pending;v===null?s.next=s:(s.next=v.next,v.next=s),c.pending=s}}u.lanes|=t,s=u.alternate,s!==null&&(s.lanes|=t),wu(u.return,t,n),i.lanes|=t;break}s=s.next}}else if(u.tag===10)o=u.type===n.type?null:u.child;else if(u.tag===18){if(o=u.return,o===null)throw Error(y(341));o.lanes|=t,i=o.alternate,i!==null&&(i.lanes|=t),wu(o,t,n),o=u.sibling}else o=u.child;if(o!==null)o.return=u;else for(o=u;o!==null;){if(o===n){o=null;break}if(u=o.sibling,u!==null){u.return=o.return,o=u;break}o=o.return}u=o}le(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Xn(n,t),l=Ce(l),r=r(l),n.flags|=1,le(e,n,r,t),n.child;case 14:return r=n.type,l=Ne(r,n.pendingProps),l=Ne(r.type,l),Ni(e,n,r,l,t);case 15:return za(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),_r(e,n),n.tag=1,fe(r)?(e=!0,$r(n)):e=!1,Xn(n,t),xa(n,r,l),ku(n,r,l,t),_u(null,n,r,!0,e,t);case 19:return Ma(e,n,t);case 22:return La(e,n,t)}throw Error(y(156,n.tag))};function Ga(e,n){return Es(e,n)}function Sd(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ke(e,n,t,r){return new Sd(e,n,t,r)}function No(e){return e=e.prototype,!(!e||!e.isReactComponent)}function kd(e){if(typeof e=="function")return No(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Qu)return 11;if(e===Ku)return 14}return 2}function an(e,n){var t=e.alternate;return t===null?(t=ke(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Nr(e,n,t,r,l,u){var o=2;if(r=e,typeof e=="function")No(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Mn:return Cn(t.children,l,u,n);case Wu:o=8,l|=8;break;case Ql:return e=ke(12,t,n,l|2),e.elementType=Ql,e.lanes=u,e;case Kl:return e=ke(13,t,n,l),e.elementType=Kl,e.lanes=u,e;case Yl:return e=ke(19,t,n,l),e.elementType=Yl,e.lanes=u,e;case us:return cl(t,l,u,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case rs:o=10;break e;case ls:o=9;break e;case Qu:o=11;break e;case Ku:o=14;break e;case Ge:o=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=ke(o,t,n,l),n.elementType=e,n.type=r,n.lanes=u,n}function Cn(e,n,t,r){return e=ke(7,e,r,n),e.lanes=t,e}function cl(e,n,t,r){return e=ke(22,e,r,n),e.elementType=us,e.lanes=t,e.stateNode={isHidden:!1},e}function Bl(e,n,t){return e=ke(6,e,null,n),e.lanes=t,e}function Hl(e,n,t){return n=ke(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Ed(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Cl(0),this.expirationTimes=Cl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function zo(e,n,t,r,l,u,o,i,s){return e=new Ed(e,n,t,i,s),n===1?(n=1,u===!0&&(n|=8)):n=0,u=ke(3,null,null,n),e.current=u,u.stateNode=e,u.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},co(u),e}function Cd(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ba)}catch(e){console.error(e)}}ba(),bi.exports=ye;var zd=bi.exports,ec,Vi=zd;ec=Vi.createRoot,Vi.hydrateRoot;function Ld(){return zr.jsx("div",{className:"min-h-screen bg-black",children:zr.jsx("h1",{className:"text-white text-3xl font-bold",children:"Welcome to My Portfolio"})})}ec(document.getElementById("root")).render(zr.jsx(Au.StrictMode,{children:zr.jsx(Ld,{})})); diff --git a/dist/assets/index-Dha9-lM4.css b/dist/assets/index-Dha9-lM4.css new file mode 100644 index 0000000..68c8aaa --- /dev/null +++ b/dist/assets/index-Dha9-lM4.css @@ -0,0 +1 @@ +*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.pointer-events-none{pointer-events:none!important}.visible{visibility:visible!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.inset-0{top:0!important;right:0!important;bottom:0!important;left:0!important}.inset-auto{inset:auto!important}.-bottom-1{bottom:-.25rem!important}.-bottom-12{bottom:-3rem!important}.left-0{left:0!important}.left-1\/2{left:50%!important}.right-0{right:0!important}.top-0{top:0!important}.top-4{top:1rem!important}.top-full{top:100%!important}.z-0{z-index:0!important}.z-10{z-index:10!important}.z-20{z-index:20!important}.z-50{z-index:50!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.mb-1{margin-bottom:.25rem!important}.mb-12{margin-bottom:3rem!important}.mb-2{margin-bottom:.5rem!important}.mb-4{margin-bottom:1rem!important}.ml-1{margin-left:.25rem!important}.mt-4{margin-top:1rem!important}.block{display:block!important}.inline-block{display:inline-block!important}.inline{display:inline!important}.flex{display:flex!important}.grid{display:grid!important}.hidden{display:none!important}.h-0\.5{height:.125rem!important}.h-4{height:1rem!important}.h-40{height:10rem!important}.h-5{height:1.25rem!important}.h-\[500px\]{height:500px!important}.h-full{height:100%!important}.h-screen{height:100vh!important}.min-h-screen{min-height:100vh!important}.w-5{width:1.25rem!important}.w-\[300px\]{width:300px!important}.w-\[4px\]{width:4px!important}.w-\[500px\]{width:500px!important}.w-full{width:100%!important}.w-max{width:-moz-max-content!important;width:max-content!important}.max-w-3xl{max-width:48rem!important}.max-w-4xl{max-width:56rem!important}.max-w-6xl{max-width:72rem!important}.-translate-x-1\/2{--tw-translate-x: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-y-1\/2{--tw-translate-y: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes gradient{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}.animate-gradient{animation:gradient 8s linear infinite!important}.resize{resize:both!important}.list-inside{list-style-position:inside!important}.list-disc{list-style-type:disc!important}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.flex-col{flex-direction:column!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.gap-2{gap:.5rem!important}.gap-4{gap:1rem!important}.gap-6{gap:1.5rem!important}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.5rem * var(--tw-space-y-reverse))!important}.overflow-hidden{overflow:hidden!important}.whitespace-nowrap{white-space:nowrap!important}.whitespace-pre{white-space:pre!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.rounded-md{border-radius:.375rem!important}.rounded-sm{border-radius:.125rem!important}.rounded-xl{border-radius:.75rem!important}.border{border-width:1px!important}.border-neutral-800{--tw-border-opacity: 1 !important;border-color:rgb(38 38 38 / var(--tw-border-opacity, 1))!important}.border-white\/10{border-color:#ffffff1a!important}.border-white\/\[0\.2\]{border-color:#fff3!important}.bg-black{--tw-bg-opacity: 1 !important;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))!important}.bg-black\/20{background-color:#0003!important}.bg-black\/50{background-color:#00000080!important}.bg-black\/60{background-color:#0009!important}.bg-black\/80{background-color:#000c!important}.bg-blue-100{--tw-bg-opacity: 1 !important;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))!important}.bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))!important}.bg-gray-900{--tw-bg-opacity: 1 !important;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))!important}.bg-white\/10{background-color:#ffffff1a!important}.bg-white\/5{background-color:#ffffff0d!important}.bg-zinc-900{--tw-bg-opacity: 1 !important;background-color:rgb(24 24 27 / var(--tw-bg-opacity, 1))!important}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))!important}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))!important}.from-black\/50{--tw-gradient-from: rgb(0 0 0 / .5) var(--tw-gradient-from-position) !important;--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important}.from-blue-500{--tw-gradient-from: #3b82f6 var(--tw-gradient-from-position) !important;--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important}.via-black\/20{--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / .2) var(--tw-gradient-via-position), var(--tw-gradient-to) !important}.via-purple-500{--tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position) !important;--tw-gradient-stops: var(--tw-gradient-from), #a855f7 var(--tw-gradient-via-position), var(--tw-gradient-to) !important}.to-black\/50{--tw-gradient-to: rgb(0 0 0 / .5) var(--tw-gradient-to-position) !important}.to-blue-500{--tw-gradient-to: #3b82f6 var(--tw-gradient-to-position) !important}.to-purple-500{--tw-gradient-to: #a855f7 var(--tw-gradient-to-position) !important}.bg-dot-pattern{background-size:24px 24px!important}.bg-clip-text{-webkit-background-clip:text!important;background-clip:text!important}.object-cover{-o-object-fit:cover!important;object-fit:cover!important}.p-2{padding:.5rem!important}.p-3{padding:.75rem!important}.p-4{padding:1rem!important}.p-6{padding:1.5rem!important}.p-8{padding:2rem!important}.p-\[4px\]{padding:4px!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-20{padding-top:5rem!important;padding-bottom:5rem!important}.py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.text-center{text-align:center!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.font-bold{font-weight:700!important}.font-medium{font-weight:500!important}.font-semibold{font-weight:600!important}.text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity, 1))!important}.text-current{color:currentColor!important}.text-gray-300{--tw-text-opacity: 1 !important;color:rgb(209 213 219 / var(--tw-text-opacity, 1))!important}.text-transparent{color:transparent!important}.text-white{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity, 1))!important}.text-white\/60{color:#fff9!important}.text-white\/70{color:#ffffffb3!important}.text-white\/80{color:#fffc!important}.text-white\/90{color:#ffffffe6!important}.antialiased{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important}.opacity-0{opacity:0!important}.opacity-20{opacity:.2!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.blur{--tw-blur: blur(8px) !important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.blur-3xl{--tw-blur: blur(64px) !important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.blur-lg{--tw-blur: blur(16px) !important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.backdrop-blur-md{--tw-backdrop-blur: blur(12px) !important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px) !important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-all{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-opacity{transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-300{transition-duration:.3s!important}.duration-500{transition-duration:.5s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}:root{color-scheme:dark}html{scroll-behavior:smooth;scroll-padding-top:80px}body{min-height:100vh;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));font-family:Inter,system-ui,-apple-system,sans-serif}.bg-dot-pattern{background-image:radial-gradient(rgba(255,255,255,.1) 1px,transparent 1px);background-size:40px 40px;background-position:-19px -19px}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1 !important;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))!important}.hover\:bg-white\/\[0\.07\]:hover{background-color:#ffffff12!important}.hover\:text-blue-500:hover{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity, 1))!important}.hover\:text-white:hover{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity, 1))!important}.group:hover .group-hover\:bg-white\/20{background-color:#fff3!important}.group:hover .group-hover\:text-white\/90{color:#ffffffe6!important}.group:hover .group-hover\:opacity-100{opacity:1!important}.group:hover .group-hover\:blur-2xl{--tw-blur: blur(40px) !important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}@media (min-width: 640px){.sm\:text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.sm\:text-xl{font-size:1.25rem!important;line-height:1.75rem!important}}@media (min-width: 768px){.md\:h-6{height:1.5rem!important}.md\:h-8{height:2rem!important}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:text-2xl{font-size:1.5rem!important;line-height:2rem!important}.md\:text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.md\:text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.md\:text-5xl{font-size:3rem!important;line-height:1!important}.md\:text-6xl{font-size:3.75rem!important;line-height:1!important}}@media (min-width: 1024px){.lg\:h-8{height:2rem!important}.lg\:text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}}@media (prefers-color-scheme: dark){.dark\:bg-blue-900\/20{background-color:#1e3a8a33!important}.dark\:hover\:bg-gray-800:hover{--tw-bg-opacity: 1 !important;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))!important}.dark\:hover\:text-blue-400:hover{--tw-text-opacity: 1 !important;color:rgb(96 165 250 / var(--tw-text-opacity, 1))!important}} diff --git a/dist/index.html b/dist/index.html index 3d3a66d..ef80c76 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,8 +5,8 @@ Rushi - Portfolio - - + +
diff --git a/index.html b/index.html index 147e397..7ea27e8 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,6 @@
- + diff --git a/src/App.js b/src/App.jsx similarity index 100% rename from src/App.js rename to src/App.jsx diff --git a/src/main.js b/src/main.jsx similarity index 87% rename from src/main.js rename to src/main.jsx index 496ba7e..ccfc6aa 100644 --- a/src/main.js +++ b/src/main.jsx @@ -1,7 +1,7 @@ import { React, StrictMode } from "react"; import { createRoot } from "react-dom/client"; import "./index.css"; -import App from "./App"; +import App from "./App.jsx"; createRoot(document.getElementById("root")).render(