From 3d14344b32bd3f819432cbc59113011e21edaaa2 Mon Sep 17 00:00:00 2001 From: lawtlee Date: Sun, 26 Nov 2023 01:46:42 -0800 Subject: [PATCH] Updates --- ...{index-Ai9IQpXE.css => index-lCxQDDQj.css} | 2 +- .../{index-2qVWbOMv.js => index-xW7VQVUM.js} | 25 ++++++++++-------- home/categoryBG.png | Bin 0 -> 10136 bytes index.html | 4 +-- 4 files changed, 17 insertions(+), 14 deletions(-) rename assets/{index-Ai9IQpXE.css => index-lCxQDDQj.css} (54%) rename assets/{index-2qVWbOMv.js => index-xW7VQVUM.js} (55%) create mode 100644 home/categoryBG.png diff --git a/assets/index-Ai9IQpXE.css b/assets/index-lCxQDDQj.css similarity index 54% rename from assets/index-Ai9IQpXE.css rename to assets/index-lCxQDDQj.css index 9caa20f..54c4b50 100644 --- a/assets/index-Ai9IQpXE.css +++ b/assets/index-lCxQDDQj.css @@ -1 +1 @@ -@import"https://fonts.googleapis.com/css2?family=Reem+Kufi:wght@400;700&display=swap";@import"https://fonts.googleapis.com/css?family=Nova+Mono";@import"https://fonts.googleapis.com/css?family=Red+Hat+Mono";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{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,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}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-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;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[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]{display:none}*,: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: }::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: }.absolute{position:absolute}.bottom-0{bottom:0}.left-0{left:0}.left-2{left:.5rem}.right-0{right:0}.right-10{right:2.5rem}.top-0{top:0}.top-\[200px\]{top:200px}.top-\[400px\]{top:400px}.block{display:block}.flex{display:flex}.hidden{display:none}.h-\[103px\]{height:103px}.h-\[10vh\]{height:10vh}.h-\[301px\]{height:301px}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.min-h-\[100vh\],.min-h-screen{min-height:100vh}.w-\[20vw\]{width:20vw}.w-\[45\%\]{width:45%}.w-\[75vw\]{width:75vw}.w-\[80vw\]{width:80vw}.w-fit{width:-moz-fit-content;width:fit-content}.min-w-\[80vw\]{min-width:80vw}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-5{gap:1.25rem}.overflow-hidden{overflow:hidden}.border-\[1px\]{border-width:1px}.border-b-\[2px\]{border-bottom-width:2px}.border-\[\#9B8F84\]{--tw-border-opacity: 1;border-color:rgb(155 143 132 / var(--tw-border-opacity))}.border-teal{--tw-border-opacity: 1;border-color:rgb(84 126 136 / var(--tw-border-opacity))}.bg-\[\#D9D9D9\]{--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.pb-5{padding-bottom:1.25rem}.text-left{text-align:left}.font-NovoMono{font-family:Novo Mono,monospace}.font-RedHat{font-family:Red Hat Mono,monospace}.text-\[16px\]{font-size:16px}.text-\[20px\]{font-size:20px}.text-\[28px\]{font-size:28px}.text-\[32px\]{font-size:32px}.text-\[40px\]{font-size:40px}.font-bold{font-weight:700}.font-semibold{font-weight:600}.text-\[\#547E88\]{--tw-text-opacity: 1;color:rgb(84 126 136 / var(--tw-text-opacity))}.text-\[\#9B8F84\]{--tw-text-opacity: 1;color:rgb(155 143 132 / var(--tw-text-opacity))}.text-teal{--tw-text-opacity: 1;color:rgb(84 126 136 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}body{font-family:Reem Kufi,sans-serif;background-color:#ddb998}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:border-coffee:hover{--tw-border-opacity: 1;border-color:rgb(221 185 152 / var(--tw-border-opacity))}.hover\:text-\[\#7B695A\]:hover{--tw-text-opacity: 1;color:rgb(123 105 90 / var(--tw-text-opacity))}.hover\:text-coffee:hover{--tw-text-opacity: 1;color:rgb(221 185 152 / var(--tw-text-opacity))}@media (min-width: 1024px){.lg\:block{display:block}}@media (min-width: 1280px){.xl\:left-20{left:5rem}.xl\:right-20{right:5rem}} +@import"https://fonts.googleapis.com/css2?family=Reem+Kufi:wght@400;700&display=swap";@import"https://fonts.googleapis.com/css?family=Nova+Mono";@import"https://fonts.googleapis.com/css?family=Red+Hat+Mono";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{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,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}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-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;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[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]{display:none}*,: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: }::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: }.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.left-0{left:0}.left-2{left:.5rem}.right-0{right:0}.right-10{right:2.5rem}.top-\[200px\]{top:200px}.top-\[400px\]{top:400px}.z-0{z-index:0}.z-\[1\]{z-index:1}.mt-\[-2\.5rem\]{margin-top:-2.5rem}.block{display:block}.flex{display:flex}.hidden{display:none}.h-\[10vh\]{height:10vh}.h-\[226px\]{height:226px}.h-\[301px\]{height:301px}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.min-h-\[100vh\],.min-h-screen{min-height:100vh}.w-\[20vw\]{width:20vw}.w-\[226px\]{width:226px}.w-\[45\%\]{width:45%}.w-\[75\%\]{width:75%}.w-\[75vw\]{width:75vw}.w-\[80\%\]{width:80%}.w-\[80vw\]{width:80vw}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-\[80vw\]{min-width:80vw}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-5{gap:1.25rem}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:9999px}.border-\[1px\]{border-width:1px}.border-b-\[2px\]{border-bottom-width:2px}.border-\[\#9B8F84\]{--tw-border-opacity: 1;border-color:rgb(155 143 132 / var(--tw-border-opacity))}.border-teal{--tw-border-opacity: 1;border-color:rgb(84 126 136 / var(--tw-border-opacity))}.bg-\[\#D9D9D9\]{--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity))}.bg-\[\#F6DEC9\]{--tw-bg-opacity: 1;background-color:rgb(246 222 201 / var(--tw-bg-opacity))}.bg-coffee{--tw-bg-opacity: 1;background-color:rgb(221 185 152 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.pb-10{padding-bottom:2.5rem}.pt-10{padding-top:2.5rem}.text-left{text-align:left}.text-center{text-align:center}.font-NovoMono{font-family:Novo Mono,monospace}.font-RedHat{font-family:Red Hat Mono,monospace}.text-\[16px\]{font-size:16px}.text-\[20px\]{font-size:20px}.text-\[28px\]{font-size:28px}.text-\[32px\]{font-size:32px}.text-\[40px\]{font-size:40px}.text-\[48px\]{font-size:48px}.font-bold{font-weight:700}.font-semibold{font-weight:600}.text-\[\#547E88\]{--tw-text-opacity: 1;color:rgb(84 126 136 / var(--tw-text-opacity))}.text-\[\#9B8F84\],.text-grey{--tw-text-opacity: 1;color:rgb(155 143 132 / var(--tw-text-opacity))}.text-teal{--tw-text-opacity: 1;color:rgb(84 126 136 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}body{font-family:Reem Kufi,sans-serif;background-color:#ddb998}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:border-coffee:hover{--tw-border-opacity: 1;border-color:rgb(221 185 152 / var(--tw-border-opacity))}.hover\:text-\[\#7B695A\]:hover{--tw-text-opacity: 1;color:rgb(123 105 90 / var(--tw-text-opacity))}.hover\:text-\[\#FFF7ED\]:hover{--tw-text-opacity: 1;color:rgb(255 247 237 / var(--tw-text-opacity))}.hover\:text-coffee:hover{--tw-text-opacity: 1;color:rgb(221 185 152 / var(--tw-text-opacity))}@media (min-width: 1024px){.lg\:block{display:block}}@media (min-width: 1280px){.xl\:left-20{left:5rem}.xl\:right-20{right:5rem}} diff --git a/assets/index-2qVWbOMv.js b/assets/index-xW7VQVUM.js similarity index 55% rename from assets/index-2qVWbOMv.js rename to assets/index-xW7VQVUM.js index ce5a0ca..dbb52de 100644 --- a/assets/index-2qVWbOMv.js +++ b/assets/index-xW7VQVUM.js @@ -1,4 +1,4 @@ -function Mm(e,t){for(var n=0;nr[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Dm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bf={exports:{}},Mo={},zf={exports:{}},O={};/** +function Dm(e,t){for(var n=0;nr[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Nm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zf={exports:{}},Mo={},Uf={exports:{}},O={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function Mm(e,t){for(var n=0;n>>1,W=L[A];if(0>>1;Ai(Cn,_))Vei(qt,Cn)?(L[A]=qt,L[Ve]=_,A=Ve):(L[A]=Cn,L[be]=_,A=be);else if(Vei(qt,_))L[A]=qt,L[Ve]=_,A=Ve;else break e}}return j}function i(L,j){var _=L.sortIndex-j.sortIndex;return _!==0?_:L.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],c=1,f=null,d=3,m=!1,y=!1,v=!1,C=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(L){for(var j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=L)r(u),j.sortIndex=j.expirationTime,t(a,j);else break;j=n(u)}}function x(L){if(v=!1,p(L),!y)if(n(a)!==null)y=!0,Fe(w);else{var j=n(u);j!==null&&qe(x,j.startTime-L)}}function w(L,j){y=!1,v&&(v=!1,g(k),k=-1),m=!0;var _=d;try{for(p(j),f=n(a);f!==null&&(!(f.expirationTime>j)||L&&!J());){var A=f.callback;if(typeof A=="function"){f.callback=null,d=f.priorityLevel;var W=A(f.expirationTime<=j);j=e.unstable_now(),typeof W=="function"?f.callback=W:f===n(a)&&r(a),p(j)}else r(a);f=n(a)}if(f!==null)var Jt=!0;else{var be=n(u);be!==null&&qe(x,be.startTime-j),Jt=!1}return Jt}finally{f=null,d=_,m=!1}}var E=!1,T=null,k=-1,N=5,D=-1;function J(){return!(e.unstable_now()-DL||125A?(L.sortIndex=_,t(u,L),n(a)===null&&L===n(u)&&(v?(g(k),k=-1):v=!0,qe(x,_-A))):(L.sortIndex=W,t(a,L),y||m||(y=!0,Fe(w))),L},e.unstable_shouldYield=J,e.unstable_wrapCallback=function(L){var j=d;return function(){var _=d;d=j;try{return L.apply(this,arguments)}finally{d=_}}}})(Jf);Zf.exports=Jf;var eg=Zf.exports;/** + */(function(e){function t(R,j){var _=R.length;R.push(j);e:for(;0<_;){var N=_-1>>>1,W=R[N];if(0>>1;Ni(Pn,_))Vei(qt,Pn)?(R[N]=qt,R[Ve]=_,N=Ve):(R[N]=Pn,R[be]=_,N=be);else if(Vei(qt,_))R[N]=qt,R[Ve]=_,N=Ve;else break e}}return j}function i(R,j){var _=R.sortIndex-j.sortIndex;return _!==0?_:R.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],c=1,f=null,d=3,m=!1,y=!1,v=!1,C=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(R){for(var j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=R)r(u),j.sortIndex=j.expirationTime,t(a,j);else break;j=n(u)}}function x(R){if(v=!1,p(R),!y)if(n(a)!==null)y=!0,Fe(w);else{var j=n(u);j!==null&&qe(x,j.startTime-R)}}function w(R,j){y=!1,v&&(v=!1,g(k),k=-1),m=!0;var _=d;try{for(p(j),f=n(a);f!==null&&(!(f.expirationTime>j)||R&&!J());){var N=f.callback;if(typeof N=="function"){f.callback=null,d=f.priorityLevel;var W=N(f.expirationTime<=j);j=e.unstable_now(),typeof W=="function"?f.callback=W:f===n(a)&&r(a),p(j)}else r(a);f=n(a)}if(f!==null)var Jt=!0;else{var be=n(u);be!==null&&qe(x,be.startTime-j),Jt=!1}return Jt}finally{f=null,d=_,m=!1}}var L=!1,T=null,k=-1,A=5,D=-1;function J(){return!(e.unstable_now()-DR||125N?(R.sortIndex=_,t(u,R),n(a)===null&&R===n(u)&&(v?(g(k),k=-1):v=!0,qe(x,_-N))):(R.sortIndex=W,t(a,R),y||m||(y=!0,Fe(w))),R},e.unstable_shouldYield=J,e.unstable_wrapCallback=function(R){var j=d;return function(){var _=d;d=j;try{return R.apply(this,arguments)}finally{d=_}}}})(qf);Jf.exports=qf;var tg=Jf.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function Mm(e,t){for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ws=Object.prototype.hasOwnProperty,tg=/^[: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]*$/,xu={},wu={};function ng(e){return Ws.call(wu,e)?!0:Ws.call(xu,e)?!1:tg.test(e)?wu[e]=!0:(xu[e]=!0,!1)}function rg(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ig(e,t,n,r){if(t===null||typeof t>"u"||rg(e,t,n,r))return!0;if(r)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 we(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fe[e]=new we(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];fe[t]=new we(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fe[e]=new we(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fe[e]=new we(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){fe[e]=new we(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fe[e]=new we(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fe[e]=new we(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fe[e]=new we(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fe[e]=new we(e,5,!1,e.toLowerCase(),null,!1,!1)});var ta=/[\-:]([a-z])/g;function na(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(ta,na);fe[t]=new we(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(ta,na);fe[t]=new we(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(ta,na);fe[t]=new we(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fe[e]=new we(e,1,!1,e.toLowerCase(),null,!1,!1)});fe.xlinkHref=new we("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fe[e]=new we(e,1,!1,e.toLowerCase(),null,!0,!0)});function ra(e,t,n,r){var i=fe.hasOwnProperty(t)?fe[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hs=Object.prototype.hasOwnProperty,ng=/^[: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]*$/,wu={},Su={};function rg(e){return Hs.call(Su,e)?!0:Hs.call(wu,e)?!1:ng.test(e)?Su[e]=!0:(wu[e]=!0,!1)}function ig(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function og(e,t,n,r){if(t===null||typeof t>"u"||ig(e,t,n,r))return!0;if(r)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 we(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fe[e]=new we(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];fe[t]=new we(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fe[e]=new we(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fe[e]=new we(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){fe[e]=new we(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fe[e]=new we(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fe[e]=new we(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fe[e]=new we(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fe[e]=new we(e,5,!1,e.toLowerCase(),null,!1,!1)});var na=/[\-:]([a-z])/g;function ra(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(na,ra);fe[t]=new we(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(na,ra);fe[t]=new we(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(na,ra);fe[t]=new we(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fe[e]=new we(e,1,!1,e.toLowerCase(),null,!1,!1)});fe.xlinkHref=new we("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fe[e]=new we(e,1,!1,e.toLowerCase(),null,!0,!0)});function ia(e,t,n,r){var i=fe.hasOwnProperty(t)?fe[t]:null;(i!==null?i.type!==0:r||!(2l||i[s]!==o[l]){var a=` -`+i[s].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{os=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yr(e):""}function og(e){switch(e.tag){case 5:return yr(e.type);case 16:return yr("Lazy");case 13:return yr("Suspense");case 19:return yr("SuspenseList");case 0:case 2:case 15:return e=ss(e.type,!1),e;case 11:return e=ss(e.type.render,!1),e;case 1:return e=ss(e.type,!0),e;default:return""}}function Qs(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 En:return"Fragment";case Tn:return"Portal";case Hs:return"Profiler";case ia:return"StrictMode";case Ks:return"Suspense";case Gs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case td:return(e.displayName||"Context")+".Consumer";case ed:return(e._context.displayName||"Context")+".Provider";case oa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case sa:return t=e.displayName||null,t!==null?t:Qs(e.type)||"Memo";case kt:t=e._payload,e=e._init;try{return Qs(e(t))}catch{}}return null}function sg(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 Qs(t);case 8:return t===ia?"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 Wt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function rd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lg(e){var t=rd(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mi(e){e._valueTracker||(e._valueTracker=lg(e))}function id(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=rd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Yi(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 Ys(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Cu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Wt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function od(e,t){t=t.checked,t!=null&&ra(e,"checked",t,!1)}function Xs(e,t){od(e,t);var n=Wt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Zs(e,t.type,n):t.hasOwnProperty("defaultValue")&&Zs(e,t.type,Wt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Pu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="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 Zs(e,t,n){(t!=="number"||Yi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var vr=Array.isArray;function Un(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=gi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Or(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Cr={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},ag=["Webkit","ms","Moz","O"];Object.keys(Cr).forEach(function(e){ag.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Cr[t]=Cr[e]})});function ud(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Cr.hasOwnProperty(e)&&Cr[e]?(""+t).trim():t+"px"}function cd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=ud(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var ug=Y({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 bs(e,t){if(t){if(ug[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(P(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(P(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(P(61))}if(t.style!=null&&typeof t.style!="object")throw Error(P(62))}}function el(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 tl=null;function la(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var nl=null,$n=null,Wn=null;function Eu(e){if(e=oi(e)){if(typeof nl!="function")throw Error(P(280));var t=e.stateNode;t&&(t=Oo(t),nl(e.stateNode,e.type,t))}}function fd(e){$n?Wn?Wn.push(e):Wn=[e]:$n=e}function dd(){if($n){var e=$n,t=Wn;if(Wn=$n=null,Eu(e),t)for(e=0;e>>=0,e===0?32:31-(wg(e)/Sg|0)|0}var yi=64,vi=4194304;function xr(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 qi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=xr(l):(o&=s,o!==0&&(r=xr(o)))}else s=n&~i,s!==0?r=xr(s):o!==0&&(r=xr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ri(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Xe(t),e[t]=n}function Tg(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 r=e.eventTimes;for(e=e.expirationTimes;0=kr),_u=" ",Ou=!1;function Ad(e,t){switch(e){case"keyup":return bg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Nd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ln=!1;function ty(e,t){switch(e){case"compositionend":return Nd(t);case"keypress":return t.which!==32?null:(Ou=!0,_u);case"textInput":return e=t.data,e===_u&&Ou?null:e;default:return null}}function ny(e,t){if(Ln)return e==="compositionend"||!ma&&Ad(e,t)?(e=Md(),Fi=da=Vt=null,Ln=!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=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=zu(n)}}function Fd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Fd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Id(){for(var e=window,t=Yi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yi(e.document)}return t}function ga(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 fy(e){var t=Id(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Fd(n.ownerDocument.documentElement,n)){if(r!==null&&ga(n)){if(t=r.start,e=r.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 i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Uu(n,o);var s=Uu(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(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,Rn=null,al=null,Er=null,ul=!1;function $u(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ul||Rn==null||Rn!==Yi(r)||(r=Rn,"selectionStart"in r&&ga(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}),Er&&$r(Er,r)||(Er=r,r=to(al,"onSelect"),0Dn||(e.current=ml[Dn],ml[Dn]=null,Dn--)}function B(e,t){Dn++,ml[Dn]=e.current,e.current=t}var Ht={},me=Yt(Ht),Te=Yt(!1),dn=Ht;function Yn(e,t){var n=e.type.contextTypes;if(!n)return Ht;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ee(e){return e=e.childContextTypes,e!=null}function ro(){U(Te),U(me)}function Xu(e,t,n){if(me.current!==Ht)throw Error(P(168));B(me,t),B(Te,n)}function Qd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(P(108,sg(e)||"Unknown",i));return Y({},n,r)}function io(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ht,dn=me.current,B(me,e),B(Te,Te.current),!0}function Zu(e,t,n){var r=e.stateNode;if(!r)throw Error(P(169));n?(e=Qd(e,t,dn),r.__reactInternalMemoizedMergedChildContext=e,U(Te),U(me),B(me,e)):U(Te),B(Te,n)}var at=null,Fo=!1,ws=!1;function Yd(e){at===null?at=[e]:at.push(e)}function Py(e){Fo=!0,Yd(e)}function Xt(){if(!ws&&at!==null){ws=!0;var e=0,t=I;try{var n=at;for(I=1;e>=s,i-=s,ut=1<<32-Xe(t)+i|n<k?(N=T,T=null):N=T.sibling;var D=d(g,T,p[k],x);if(D===null){T===null&&(T=N);break}e&&T&&D.alternate===null&&t(g,T),h=o(D,h,k),E===null?w=D:E.sibling=D,E=D,T=N}if(k===p.length)return n(g,T),H&&tn(g,k),w;if(T===null){for(;kk?(N=T,T=null):N=T.sibling;var J=d(g,T,D.value,x);if(J===null){T===null&&(T=N);break}e&&T&&J.alternate===null&&t(g,T),h=o(J,h,k),E===null?w=J:E.sibling=J,E=J,T=N}if(D.done)return n(g,T),H&&tn(g,k),w;if(T===null){for(;!D.done;k++,D=p.next())D=f(g,D.value,x),D!==null&&(h=o(D,h,k),E===null?w=D:E.sibling=D,E=D);return H&&tn(g,k),w}for(T=r(g,T);!D.done;k++,D=p.next())D=m(T,g,k,D.value,x),D!==null&&(e&&D.alternate!==null&&T.delete(D.key===null?k:D.key),h=o(D,h,k),E===null?w=D:E.sibling=D,E=D);return e&&T.forEach(function(Se){return t(g,Se)}),H&&tn(g,k),w}function C(g,h,p,x){if(typeof p=="object"&&p!==null&&p.type===En&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case pi:e:{for(var w=p.key,E=h;E!==null;){if(E.key===w){if(w=p.type,w===En){if(E.tag===7){n(g,E.sibling),h=i(E,p.props.children),h.return=g,g=h;break e}}else if(E.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===kt&&rc(w)===E.type){n(g,E.sibling),h=i(E,p.props),h.ref=dr(g,E,p),h.return=g,g=h;break e}n(g,E);break}else t(g,E);E=E.sibling}p.type===En?(h=fn(p.props.children,g.mode,x,p.key),h.return=g,g=h):(x=Ki(p.type,p.key,p.props,null,g.mode,x),x.ref=dr(g,h,p),x.return=g,g=x)}return s(g);case Tn:e:{for(E=p.key;h!==null;){if(h.key===E)if(h.tag===4&&h.stateNode.containerInfo===p.containerInfo&&h.stateNode.implementation===p.implementation){n(g,h.sibling),h=i(h,p.children||[]),h.return=g,g=h;break e}else{n(g,h);break}else t(g,h);h=h.sibling}h=Rs(p,g.mode,x),h.return=g,g=h}return s(g);case kt:return E=p._init,C(g,h,E(p._payload),x)}if(vr(p))return y(g,h,p,x);if(lr(p))return v(g,h,p,x);Ti(g,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,h!==null&&h.tag===6?(n(g,h.sibling),h=i(h,p),h.return=g,g=h):(n(g,h),h=Ls(p,g.mode,x),h.return=g,g=h),s(g)):n(g,h)}return C}var Zn=nh(!0),rh=nh(!1),si={},ot=Yt(si),Gr=Yt(si),Qr=Yt(si);function an(e){if(e===si)throw Error(P(174));return e}function Ta(e,t){switch(B(Qr,t),B(Gr,e),B(ot,si),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:qs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=qs(t,e)}U(ot),B(ot,t)}function Jn(){U(ot),U(Gr),U(Qr)}function ih(e){an(Qr.current);var t=an(ot.current),n=qs(t,e.type);t!==n&&(B(Gr,e),B(ot,n))}function Ea(e){Gr.current===e&&(U(ot),U(Gr))}var K=Yt(0);function co(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ss=[];function La(){for(var e=0;en?n:4,e(!0);var r=Cs.transition;Cs.transition={};try{e(!1),t()}finally{I=n,Cs.transition=r}}function wh(){return He().memoizedState}function Ly(e,t,n){var r=It(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Sh(e))Ch(t,n);else if(n=qd(e,t,n,r),n!==null){var i=ve();Ze(n,e,r,i),Ph(n,t,r)}}function Ry(e,t,n){var r=It(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Sh(e))Ch(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,Je(l,s)){var a=t.interleaved;a===null?(i.next=i,Pa(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=qd(e,t,i,r),n!==null&&(i=ve(),Ze(n,e,r,i),Ph(n,t,r))}}function Sh(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function Ch(e,t){Lr=fo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ph(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ua(e,n)}}var ho={readContext:We,useCallback:de,useContext:de,useEffect:de,useImperativeHandle:de,useInsertionEffect:de,useLayoutEffect:de,useMemo:de,useReducer:de,useRef:de,useState:de,useDebugValue:de,useDeferredValue:de,useTransition:de,useMutableSource:de,useSyncExternalStore:de,useId:de,unstable_isNewReconciler:!1},Vy={readContext:We,useCallback:function(e,t){return tt().memoizedState=[e,t===void 0?null:t],e},useContext:We,useEffect:oc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ui(4194308,4,mh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ui(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ui(4,2,e,t)},useMemo:function(e,t){var n=tt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=tt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ly.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=tt();return e={current:e},t.memoizedState=e},useState:ic,useDebugValue:Aa,useDeferredValue:function(e){return tt().memoizedState=e},useTransition:function(){var e=ic(!1),t=e[0];return e=Ey.bind(null,e[1]),tt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,i=tt();if(H){if(n===void 0)throw Error(P(407));n=n()}else{if(n=t(),ae===null)throw Error(P(349));pn&30||lh(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,oc(uh.bind(null,r,o,e),[e]),r.flags|=2048,Zr(9,ah.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=tt(),t=ae.identifierPrefix;if(H){var n=ct,r=ut;n=(r&~(1<<32-Xe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Yr++,0")&&(a=a.replace("",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{os=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yr(e):""}function sg(e){switch(e.tag){case 5:return yr(e.type);case 16:return yr("Lazy");case 13:return yr("Suspense");case 19:return yr("SuspenseList");case 0:case 2:case 15:return e=ss(e.type,!1),e;case 11:return e=ss(e.type.render,!1),e;case 1:return e=ss(e.type,!0),e;default:return""}}function Ys(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 En:return"Fragment";case Tn:return"Portal";case Ks:return"Profiler";case oa:return"StrictMode";case Gs:return"Suspense";case Qs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case nd:return(e.displayName||"Context")+".Consumer";case td:return(e._context.displayName||"Context")+".Provider";case sa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case la:return t=e.displayName||null,t!==null?t:Ys(e.type)||"Memo";case kt:t=e._payload,e=e._init;try{return Ys(e(t))}catch{}}return null}function lg(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 Ys(t);case 8:return t===oa?"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 Wt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function id(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ag(e){var t=id(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mi(e){e._valueTracker||(e._valueTracker=ag(e))}function od(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=id(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Yi(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 Xs(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Pu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Wt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function sd(e,t){t=t.checked,t!=null&&ia(e,"checked",t,!1)}function Zs(e,t){sd(e,t);var n=Wt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Js(e,t.type,n):t.hasOwnProperty("defaultValue")&&Js(e,t.type,Wt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ku(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="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 Js(e,t,n){(t!=="number"||Yi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var vr=Array.isArray;function Un(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=gi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Or(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Cr={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},ug=["Webkit","ms","Moz","O"];Object.keys(Cr).forEach(function(e){ug.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Cr[t]=Cr[e]})});function cd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Cr.hasOwnProperty(e)&&Cr[e]?(""+t).trim():t+"px"}function fd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=cd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var cg=Y({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 el(e,t){if(t){if(cg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(P(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(P(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(P(61))}if(t.style!=null&&typeof t.style!="object")throw Error(P(62))}}function tl(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 nl=null;function aa(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var rl=null,$n=null,Wn=null;function Lu(e){if(e=oi(e)){if(typeof rl!="function")throw Error(P(280));var t=e.stateNode;t&&(t=Oo(t),rl(e.stateNode,e.type,t))}}function dd(e){$n?Wn?Wn.push(e):Wn=[e]:$n=e}function hd(){if($n){var e=$n,t=Wn;if(Wn=$n=null,Lu(e),t)for(e=0;e>>=0,e===0?32:31-(Sg(e)/Cg|0)|0}var yi=64,vi=4194304;function xr(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 qi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=xr(l):(o&=s,o!==0&&(r=xr(o)))}else s=n&~i,s!==0?r=xr(s):o!==0&&(r=xr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ri(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Xe(t),e[t]=n}function Eg(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 r=e.eventTimes;for(e=e.expirationTimes;0=kr),Ou=" ",Fu=!1;function Ad(e,t){switch(e){case"keyup":return e0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ln=!1;function n0(e,t){switch(e){case"compositionend":return jd(t);case"keypress":return t.which!==32?null:(Fu=!0,Ou);case"textInput":return e=t.data,e===Ou&&Fu?null:e;default:return null}}function r0(e,t){if(Ln)return e==="compositionend"||!ga&&Ad(e,t)?(e=Dd(),Fi=ha=Vt=null,Ln=!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=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Uu(n)}}function Id(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Id(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Bd(){for(var e=window,t=Yi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yi(e.document)}return t}function ya(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 d0(e){var t=Bd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Id(n.ownerDocument.documentElement,n)){if(r!==null&&ya(n)){if(t=r.start,e=r.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 i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=$u(n,o);var s=$u(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(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,Rn=null,ul=null,Er=null,cl=!1;function Wu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;cl||Rn==null||Rn!==Yi(r)||(r=Rn,"selectionStart"in r&&ya(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}),Er&&$r(Er,r)||(Er=r,r=to(ul,"onSelect"),0Dn||(e.current=gl[Dn],gl[Dn]=null,Dn--)}function B(e,t){Dn++,gl[Dn]=e.current,e.current=t}var Ht={},me=Yt(Ht),Te=Yt(!1),hn=Ht;function Yn(e,t){var n=e.type.contextTypes;if(!n)return Ht;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ee(e){return e=e.childContextTypes,e!=null}function ro(){U(Te),U(me)}function Zu(e,t,n){if(me.current!==Ht)throw Error(P(168));B(me,t),B(Te,n)}function Yd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(P(108,lg(e)||"Unknown",i));return Y({},n,r)}function io(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ht,hn=me.current,B(me,e),B(Te,Te.current),!0}function Ju(e,t,n){var r=e.stateNode;if(!r)throw Error(P(169));n?(e=Yd(e,t,hn),r.__reactInternalMemoizedMergedChildContext=e,U(Te),U(me),B(me,e)):U(Te),B(Te,n)}var ut=null,Fo=!1,ws=!1;function Xd(e){ut===null?ut=[e]:ut.push(e)}function k0(e){Fo=!0,Xd(e)}function Xt(){if(!ws&&ut!==null){ws=!0;var e=0,t=I;try{var n=ut;for(I=1;e>=s,i-=s,ct=1<<32-Xe(t)+i|n<k?(A=T,T=null):A=T.sibling;var D=d(g,T,p[k],x);if(D===null){T===null&&(T=A);break}e&&T&&D.alternate===null&&t(g,T),h=o(D,h,k),L===null?w=D:L.sibling=D,L=D,T=A}if(k===p.length)return n(g,T),H&&tn(g,k),w;if(T===null){for(;kk?(A=T,T=null):A=T.sibling;var J=d(g,T,D.value,x);if(J===null){T===null&&(T=A);break}e&&T&&J.alternate===null&&t(g,T),h=o(J,h,k),L===null?w=J:L.sibling=J,L=J,T=A}if(D.done)return n(g,T),H&&tn(g,k),w;if(T===null){for(;!D.done;k++,D=p.next())D=f(g,D.value,x),D!==null&&(h=o(D,h,k),L===null?w=D:L.sibling=D,L=D);return H&&tn(g,k),w}for(T=r(g,T);!D.done;k++,D=p.next())D=m(T,g,k,D.value,x),D!==null&&(e&&D.alternate!==null&&T.delete(D.key===null?k:D.key),h=o(D,h,k),L===null?w=D:L.sibling=D,L=D);return e&&T.forEach(function(Se){return t(g,Se)}),H&&tn(g,k),w}function C(g,h,p,x){if(typeof p=="object"&&p!==null&&p.type===En&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case pi:e:{for(var w=p.key,L=h;L!==null;){if(L.key===w){if(w=p.type,w===En){if(L.tag===7){n(g,L.sibling),h=i(L,p.props.children),h.return=g,g=h;break e}}else if(L.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===kt&&ic(w)===L.type){n(g,L.sibling),h=i(L,p.props),h.ref=dr(g,L,p),h.return=g,g=h;break e}n(g,L);break}else t(g,L);L=L.sibling}p.type===En?(h=dn(p.props.children,g.mode,x,p.key),h.return=g,g=h):(x=Ki(p.type,p.key,p.props,null,g.mode,x),x.ref=dr(g,h,p),x.return=g,g=x)}return s(g);case Tn:e:{for(L=p.key;h!==null;){if(h.key===L)if(h.tag===4&&h.stateNode.containerInfo===p.containerInfo&&h.stateNode.implementation===p.implementation){n(g,h.sibling),h=i(h,p.children||[]),h.return=g,g=h;break e}else{n(g,h);break}else t(g,h);h=h.sibling}h=Rs(p,g.mode,x),h.return=g,g=h}return s(g);case kt:return L=p._init,C(g,h,L(p._payload),x)}if(vr(p))return y(g,h,p,x);if(lr(p))return v(g,h,p,x);Ti(g,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,h!==null&&h.tag===6?(n(g,h.sibling),h=i(h,p),h.return=g,g=h):(n(g,h),h=Ls(p,g.mode,x),h.return=g,g=h),s(g)):n(g,h)}return C}var Zn=rh(!0),ih=rh(!1),si={},ot=Yt(si),Gr=Yt(si),Qr=Yt(si);function un(e){if(e===si)throw Error(P(174));return e}function Ea(e,t){switch(B(Qr,t),B(Gr,e),B(ot,si),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:bs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=bs(t,e)}U(ot),B(ot,t)}function Jn(){U(ot),U(Gr),U(Qr)}function oh(e){un(Qr.current);var t=un(ot.current),n=bs(t,e.type);t!==n&&(B(Gr,e),B(ot,n))}function La(e){Gr.current===e&&(U(ot),U(Gr))}var K=Yt(0);function co(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ss=[];function Ra(){for(var e=0;en?n:4,e(!0);var r=Cs.transition;Cs.transition={};try{e(!1),t()}finally{I=n,Cs.transition=r}}function Sh(){return He().memoizedState}function R0(e,t,n){var r=It(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ch(e))Ph(t,n);else if(n=bd(e,t,n,r),n!==null){var i=ve();Ze(n,e,r,i),kh(n,t,r)}}function V0(e,t,n){var r=It(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ch(e))Ph(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,Je(l,s)){var a=t.interleaved;a===null?(i.next=i,ka(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=bd(e,t,i,r),n!==null&&(i=ve(),Ze(n,e,r,i),kh(n,t,r))}}function Ch(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function Ph(e,t){Lr=fo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function kh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ca(e,n)}}var ho={readContext:We,useCallback:de,useContext:de,useEffect:de,useImperativeHandle:de,useInsertionEffect:de,useLayoutEffect:de,useMemo:de,useReducer:de,useRef:de,useState:de,useDebugValue:de,useDeferredValue:de,useTransition:de,useMutableSource:de,useSyncExternalStore:de,useId:de,unstable_isNewReconciler:!1},M0={readContext:We,useCallback:function(e,t){return tt().memoizedState=[e,t===void 0?null:t],e},useContext:We,useEffect:sc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ui(4194308,4,gh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ui(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ui(4,2,e,t)},useMemo:function(e,t){var n=tt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=tt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=R0.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=tt();return e={current:e},t.memoizedState=e},useState:oc,useDebugValue:Aa,useDeferredValue:function(e){return tt().memoizedState=e},useTransition:function(){var e=oc(!1),t=e[0];return e=L0.bind(null,e[1]),tt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,i=tt();if(H){if(n===void 0)throw Error(P(407));n=n()}else{if(n=t(),ae===null)throw Error(P(349));mn&30||ah(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,sc(ch.bind(null,r,o,e),[e]),r.flags|=2048,Zr(9,uh.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=tt(),t=ae.identifierPrefix;if(H){var n=ft,r=ct;n=(r&~(1<<32-Xe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Yr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[rt]=t,e[Kr]=r,Ah(e,t,!1,!1),t.stateNode=e;e:{switch(s=el(n,r),n){case"dialog":z("cancel",e),z("close",e),i=r;break;case"iframe":case"object":case"embed":z("load",e),i=r;break;case"video":case"audio":for(i=0;ibn&&(t.flags|=128,r=!0,hr(o,!1),t.lanes=4194304)}else{if(!r)if(e=co(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),hr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!H)return he(t),null}else 2*ee()-o.renderingStartTime>bn&&n!==1073741824&&(t.flags|=128,r=!0,hr(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=ee(),t.sibling=null,n=K.current,B(K,r?n&1|2:n&1),t):(he(t),null);case 22:case 23:return Ia(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Me&1073741824&&(he(t),t.subtreeFlags&6&&(t.flags|=8192)):he(t),null;case 24:return null;case 25:return null}throw Error(P(156,t.tag))}function Fy(e,t){switch(va(t),t.tag){case 1:return Ee(t.type)&&ro(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Jn(),U(Te),U(me),La(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ea(t),null;case 13:if(U(K),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(P(340));Xn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(K),null;case 4:return Jn(),null;case 10:return Ca(t.type._context),null;case 22:case 23:return Ia(),null;case 24:return null;default:return null}}var Li=!1,pe=!1,Iy=typeof WeakSet=="function"?WeakSet:Set,R=null;function _n(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){X(e,t,r)}else n.current=null}function Ll(e,t,n){try{n()}catch(r){X(e,t,r)}}var pc=!1;function By(e,t){if(cl=bi,e=Id(),ga(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var m;f!==n||i!==0&&f.nodeType!==3||(l=s+i),f!==o||r!==0&&f.nodeType!==3||(a=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)d=f,f=m;for(;;){if(f===e)break t;if(d===n&&++u===i&&(l=s),d===o&&++c===r&&(a=s),(m=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=m}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(fl={focusedElem:e,selectionRange:n},bi=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;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 v=y.memoizedProps,C=y.memoizedState,g=t.stateNode,h=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:Ge(t.type,v),C);g.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(P(163))}}catch(x){X(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return y=pc,pc=!1,y}function Rr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Ll(t,n,o)}i=i.next}while(i!==r)}}function zo(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 r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Rl(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 _h(e){var t=e.alternate;t!==null&&(e.alternate=null,_h(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rt],delete t[Kr],delete t[pl],delete t[Sy],delete t[Cy])),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 Oh(e){return e.tag===5||e.tag===3||e.tag===4}function mc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Oh(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 Vl(e,t,n){var r=e.tag;if(r===5||r===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=no));else if(r!==4&&(e=e.child,e!==null))for(Vl(e,t,n),e=e.sibling;e!==null;)Vl(e,t,n),e=e.sibling}function Ml(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ml(e,t,n),e=e.sibling;e!==null;)Ml(e,t,n),e=e.sibling}var ue=null,Qe=!1;function St(e,t,n){for(n=n.child;n!==null;)Fh(e,t,n),n=n.sibling}function Fh(e,t,n){if(it&&typeof it.onCommitFiberUnmount=="function")try{it.onCommitFiberUnmount(Ao,n)}catch{}switch(n.tag){case 5:pe||_n(n,t);case 6:var r=ue,i=Qe;ue=null,St(e,t,n),ue=r,Qe=i,ue!==null&&(Qe?(e=ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ue.removeChild(n.stateNode));break;case 18:ue!==null&&(Qe?(e=ue,n=n.stateNode,e.nodeType===8?xs(e.parentNode,n):e.nodeType===1&&xs(e,n),zr(e)):xs(ue,n.stateNode));break;case 4:r=ue,i=Qe,ue=n.stateNode.containerInfo,Qe=!0,St(e,t,n),ue=r,Qe=i;break;case 0:case 11:case 14:case 15:if(!pe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Ll(n,t,s),i=i.next}while(i!==r)}St(e,t,n);break;case 1:if(!pe&&(_n(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){X(n,t,l)}St(e,t,n);break;case 21:St(e,t,n);break;case 22:n.mode&1?(pe=(r=pe)||n.memoizedState!==null,St(e,t,n),pe=r):St(e,t,n);break;default:St(e,t,n)}}function gc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Iy),t.forEach(function(r){var i=Yy.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ke(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=ee()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Uy(r/1960))-r,10e?16:e,Mt===null)var r=!1;else{if(e=Mt,Mt=null,go=0,F&6)throw Error(P(331));var i=F;for(F|=4,R=e.current;R!==null;){var o=R,s=o.child;if(R.flags&16){var l=o.deletions;if(l!==null){for(var a=0;aee()-Oa?cn(e,0):_a|=n),Le(e,t)}function Kh(e,t){t===0&&(e.mode&1?(t=vi,vi<<=1,!(vi&130023424)&&(vi=4194304)):t=1);var n=ve();e=yt(e,t),e!==null&&(ri(e,t,n),Le(e,n))}function Qy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Kh(e,n)}function Yy(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(P(314))}r!==null&&r.delete(t),Kh(e,n)}var Gh;Gh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Te.current)ke=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ke=!1,_y(e,t,n);ke=!!(e.flags&131072)}else ke=!1,H&&t.flags&1048576&&Xd(t,so,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;$i(e,t),e=t.pendingProps;var i=Yn(t,me.current);Kn(t,n),i=Va(null,t,r,e,i,n);var o=Ma();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ee(r)?(o=!0,io(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ka(t),i.updater=Io,t.stateNode=i,i._reactInternals=t,wl(t,r,e,n),t=Pl(null,t,r,!0,o,n)):(t.tag=0,H&&o&&ya(t),ye(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch($i(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Zy(r),e=Ge(r,e),i){case 0:t=Cl(null,t,r,e,n);break e;case 1:t=fc(null,t,r,e,n);break e;case 11:t=uc(null,t,r,e,n);break e;case 14:t=cc(null,t,r,Ge(r.type,e),n);break e}throw Error(P(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),Cl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),fc(e,t,r,i,n);case 3:e:{if(Vh(t),e===null)throw Error(P(387));r=t.pendingProps,o=t.memoizedState,i=o.element,bd(e,t),uo(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=qn(Error(P(423)),t),t=dc(e,t,r,n,i);break e}else if(r!==i){i=qn(Error(P(424)),t),t=dc(e,t,r,n,i);break e}else for(De=_t(t.stateNode.containerInfo.firstChild),Ae=t,H=!0,Ye=null,n=rh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Xn(),r===i){t=vt(e,t,n);break e}ye(e,t,r,n)}t=t.child}return t;case 5:return ih(t),e===null&&yl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,dl(r,i)?s=null:o!==null&&dl(r,o)&&(t.flags|=32),Rh(e,t),ye(e,t,s,n),t.child;case 6:return e===null&&yl(t),null;case 13:return Mh(e,t,n);case 4:return Ta(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Zn(t,null,r,n):ye(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),uc(e,t,r,i,n);case 7:return ye(e,t,t.pendingProps,n),t.child;case 8:return ye(e,t,t.pendingProps.children,n),t.child;case 12:return ye(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,B(lo,r._currentValue),r._currentValue=s,o!==null)if(Je(o.value,s)){if(o.children===i.children&&!Te.current){t=vt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=dt(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),vl(o.return,n,t),l.lanes|=n;break}a=a.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(P(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),vl(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}ye(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Kn(t,n),i=We(i),r=r(i),t.flags|=1,ye(e,t,r,n),t.child;case 14:return r=t.type,i=Ge(r,t.pendingProps),i=Ge(r.type,i),cc(e,t,r,i,n);case 15:return Eh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),$i(e,t),t.tag=1,Ee(r)?(e=!0,io(t)):e=!1,Kn(t,n),th(t,r,i),wl(t,r,i,n),Pl(null,t,r,!0,e,n);case 19:return Dh(e,t,n);case 22:return Lh(e,t,n)}throw Error(P(156,t.tag))};function Qh(e,t){return xd(e,t)}function Xy(e,t,n,r){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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ue(e,t,n,r){return new Xy(e,t,n,r)}function za(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Zy(e){if(typeof e=="function")return za(e)?1:0;if(e!=null){if(e=e.$$typeof,e===oa)return 11;if(e===sa)return 14}return 2}function Bt(e,t){var n=e.alternate;return n===null?(n=Ue(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 Ki(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")za(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case En:return fn(n.children,i,o,t);case ia:s=8,i|=8;break;case Hs:return e=Ue(12,n,t,i|2),e.elementType=Hs,e.lanes=o,e;case Ks:return e=Ue(13,n,t,i),e.elementType=Ks,e.lanes=o,e;case Gs:return e=Ue(19,n,t,i),e.elementType=Gs,e.lanes=o,e;case nd:return $o(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ed:s=10;break e;case td:s=9;break e;case oa:s=11;break e;case sa:s=14;break e;case kt:s=16,r=null;break e}throw Error(P(130,e==null?e:typeof e,""))}return t=Ue(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function fn(e,t,n,r){return e=Ue(7,e,r,t),e.lanes=n,e}function $o(e,t,n,r){return e=Ue(22,e,r,t),e.elementType=nd,e.lanes=n,e.stateNode={isHidden:!1},e}function Ls(e,t,n){return e=Ue(6,e,null,t),e.lanes=n,e}function Rs(e,t,n){return t=Ue(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Jy(e,t,n,r,i){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=as(0),this.expirationTimes=as(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=as(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ua(e,t,n,r,i,o,s,l,a){return e=new Jy(e,t,n,l,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ue(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ka(o),e}function qy(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Jh)}catch(e){console.error(e)}}Jh(),Xf.exports=_e;var r0=Xf.exports,kc=r0;$s.createRoot=kc.createRoot,$s.hydrateRoot=kc.hydrateRoot;/** +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Ts(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Cl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var A0=typeof WeakMap=="function"?WeakMap:Map;function Th(e,t,n){n=ht(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){mo||(mo=!0,Nl=r),Cl(e,t)},n}function Eh(e,t,n){n=ht(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Cl(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Cl(e,t),typeof r!="function"&&(Ft===null?Ft=new Set([this]):Ft.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function lc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new A0;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Q0.bind(null,e,t,n),t.then(e,e))}function ac(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function uc(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=ht(-1,1),t.tag=2,Ot(n,t,1))),n.lanes|=1),e)}var j0=St.ReactCurrentOwner,ke=!1;function ye(e,t,n,r){t.child=e===null?ih(t,null,n,r):Zn(t,e.child,n,r)}function cc(e,t,n,r,i){n=n.render;var o=t.ref;return Kn(t,i),r=Ma(e,t,n,r,o,i),n=Da(),e!==null&&!ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,xt(e,t,i)):(H&&n&&va(t),t.flags|=1,ye(e,t,r,i),t.child)}function fc(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Ua(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Lh(e,t,o,r,i)):(e=Ki(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:$r,n(s,r)&&e.ref===t.ref)return xt(e,t,i)}return t.flags|=1,e=Bt(o,r),e.ref=t.ref,e.return=t,t.child=e}function Lh(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if($r(o,r)&&e.ref===t.ref)if(ke=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(ke=!0);else return t.lanes=e.lanes,xt(e,t,i)}return Pl(e,t,n,r,i)}function Rh(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},B(On,Me),Me|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,B(On,Me),Me|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,B(On,Me),Me|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,B(On,Me),Me|=r;return ye(e,t,i,n),t.child}function Vh(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Pl(e,t,n,r,i){var o=Ee(n)?hn:me.current;return o=Yn(t,o),Kn(t,i),n=Ma(e,t,n,r,o,i),r=Da(),e!==null&&!ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,xt(e,t,i)):(H&&r&&va(t),t.flags|=1,ye(e,t,n,i),t.child)}function dc(e,t,n,r,i){if(Ee(n)){var o=!0;io(t)}else o=!1;if(Kn(t,i),t.stateNode===null)$i(e,t),nh(t,n,r),Sl(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=We(u):(u=Ee(n)?hn:me.current,u=Yn(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&rc(t,s,r,u),Tt=!1;var d=t.memoizedState;s.state=d,uo(t,r,s,i),a=t.memoizedState,l!==r||d!==a||Te.current||Tt?(typeof c=="function"&&(wl(t,n,c,r),a=t.memoizedState),(l=Tt||nc(t,n,l,r,d,a,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,eh(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Ge(t.type,l),s.props=u,f=t.pendingProps,d=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=We(a):(a=Ee(n)?hn:me.current,a=Yn(t,a));var m=n.getDerivedStateFromProps;(c=typeof m=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==f||d!==a)&&rc(t,s,r,a),Tt=!1,d=t.memoizedState,s.state=d,uo(t,r,s,i);var y=t.memoizedState;l!==f||d!==y||Te.current||Tt?(typeof m=="function"&&(wl(t,n,m,r),y=t.memoizedState),(u=Tt||nc(t,n,u,r,d,y,a)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,y,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,y,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),s.props=r,s.state=y,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return kl(e,t,n,r,o,i)}function kl(e,t,n,r,i,o){Vh(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&Ju(t,n,!1),xt(e,t,o);r=t.stateNode,j0.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Zn(t,e.child,null,o),t.child=Zn(t,null,l,o)):ye(e,t,l,o),t.memoizedState=r.state,i&&Ju(t,n,!0),t.child}function Mh(e){var t=e.stateNode;t.pendingContext?Zu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Zu(e,t.context,!1),Ea(e,t.containerInfo)}function hc(e,t,n,r,i){return Xn(),wa(i),t.flags|=256,ye(e,t,n,r),t.child}var Tl={dehydrated:null,treeContext:null,retryLane:0};function El(e){return{baseLanes:e,cachePool:null,transitions:null}}function Dh(e,t,n){var r=t.pendingProps,i=K.current,o=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),B(K,i&1),e===null)return vl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=$o(s,r,0,null),e=dn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=El(n),t.memoizedState=Tl,e):ja(t,s));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return _0(e,t,s,r,l,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,l=i.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Bt(i,a),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=Bt(l,o):(o=dn(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?El(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Tl,r}return o=e.child,e=o.sibling,r=Bt(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ja(e,t){return t=$o({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ei(e,t,n,r){return r!==null&&wa(r),Zn(t,e.child,null,n),e=ja(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function _0(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=Ts(Error(P(422))),Ei(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=$o({mode:"visible",children:r.children},i,0,null),o=dn(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Zn(t,e.child,null,s),t.child.memoizedState=El(s),t.memoizedState=Tl,o);if(!(t.mode&1))return Ei(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(P(419)),r=Ts(o,r,void 0),Ei(e,t,s,r)}if(l=(s&e.childLanes)!==0,ke||l){if(r=ae,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,vt(e,i),Ze(r,e,i,-1))}return za(),r=Ts(Error(P(421))),Ei(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Y0.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,De=_t(i.nextSibling),Ne=t,H=!0,Ye=null,e!==null&&(Be[ze++]=ct,Be[ze++]=ft,Be[ze++]=pn,ct=e.id,ft=e.overflow,pn=t),t=ja(t,r.children),t.flags|=4096,t)}function pc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),xl(e.return,t,n)}function Es(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Nh(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ye(e,t,r.children,n),r=K.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&pc(e,n,t);else if(e.tag===19)pc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(B(K,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&co(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Es(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&co(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Es(t,!0,n,null,o);break;case"together":Es(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function $i(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function xt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),gn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(P(153));if(t.child!==null){for(e=t.child,n=Bt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Bt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function O0(e,t,n){switch(t.tag){case 3:Mh(t),Xn();break;case 5:oh(t);break;case 1:Ee(t.type)&&io(t);break;case 4:Ea(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;B(lo,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(B(K,K.current&1),t.flags|=128,null):n&t.child.childLanes?Dh(e,t,n):(B(K,K.current&1),e=xt(e,t,n),e!==null?e.sibling:null);B(K,K.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Nh(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),B(K,K.current),r)break;return null;case 22:case 23:return t.lanes=0,Rh(e,t,n)}return xt(e,t,n)}var Ah,Ll,jh,_h;Ah=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Ll=function(){};jh=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,un(ot.current);var o=null;switch(n){case"input":i=Xs(e,i),r=Xs(e,r),o=[];break;case"select":i=Y({},i,{value:void 0}),r=Y({},r,{value:void 0}),o=[];break;case"textarea":i=qs(e,i),r=qs(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=no)}el(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(_r.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var a=r[u];if(l=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(o||(o=[]),o.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(o=o||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(_r.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&z("scroll",e),o||l===a||(o=[])):(o=o||[]).push(u,a))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};_h=function(e,t,n,r){n!==r&&(t.flags|=4)};function hr(e,t){if(!H)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function he(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function F0(e,t,n){var r=t.pendingProps;switch(xa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return he(t),null;case 1:return Ee(t.type)&&ro(),he(t),null;case 3:return r=t.stateNode,Jn(),U(Te),U(me),Ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ki(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ye!==null&&(_l(Ye),Ye=null))),Ll(e,t),he(t),null;case 5:La(t);var i=un(Qr.current);if(n=t.type,e!==null&&t.stateNode!=null)jh(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(P(166));return he(t),null}if(e=un(ot.current),ki(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[rt]=t,r[Kr]=o,e=(t.mode&1)!==0,n){case"dialog":z("cancel",r),z("close",r);break;case"iframe":case"object":case"embed":z("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[rt]=t,e[Kr]=r,Ah(e,t,!1,!1),t.stateNode=e;e:{switch(s=tl(n,r),n){case"dialog":z("cancel",e),z("close",e),i=r;break;case"iframe":case"object":case"embed":z("load",e),i=r;break;case"video":case"audio":for(i=0;ibn&&(t.flags|=128,r=!0,hr(o,!1),t.lanes=4194304)}else{if(!r)if(e=co(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),hr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!H)return he(t),null}else 2*ee()-o.renderingStartTime>bn&&n!==1073741824&&(t.flags|=128,r=!0,hr(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=ee(),t.sibling=null,n=K.current,B(K,r?n&1|2:n&1),t):(he(t),null);case 22:case 23:return Ba(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Me&1073741824&&(he(t),t.subtreeFlags&6&&(t.flags|=8192)):he(t),null;case 24:return null;case 25:return null}throw Error(P(156,t.tag))}function I0(e,t){switch(xa(t),t.tag){case 1:return Ee(t.type)&&ro(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Jn(),U(Te),U(me),Ra(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return La(t),null;case 13:if(U(K),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(P(340));Xn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(K),null;case 4:return Jn(),null;case 10:return Pa(t.type._context),null;case 22:case 23:return Ba(),null;case 24:return null;default:return null}}var Li=!1,pe=!1,B0=typeof WeakSet=="function"?WeakSet:Set,V=null;function _n(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){X(e,t,r)}else n.current=null}function Rl(e,t,n){try{n()}catch(r){X(e,t,r)}}var mc=!1;function z0(e,t){if(fl=bi,e=Bd(),ya(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var m;f!==n||i!==0&&f.nodeType!==3||(l=s+i),f!==o||r!==0&&f.nodeType!==3||(a=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)d=f,f=m;for(;;){if(f===e)break t;if(d===n&&++u===i&&(l=s),d===o&&++c===r&&(a=s),(m=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=m}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(dl={focusedElem:e,selectionRange:n},bi=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;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 v=y.memoizedProps,C=y.memoizedState,g=t.stateNode,h=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:Ge(t.type,v),C);g.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(P(163))}}catch(x){X(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return y=mc,mc=!1,y}function Rr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Rl(t,n,o)}i=i.next}while(i!==r)}}function zo(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 r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Vl(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 Oh(e){var t=e.alternate;t!==null&&(e.alternate=null,Oh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rt],delete t[Kr],delete t[ml],delete t[C0],delete t[P0])),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 Fh(e){return e.tag===5||e.tag===3||e.tag===4}function gc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Fh(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 Ml(e,t,n){var r=e.tag;if(r===5||r===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=no));else if(r!==4&&(e=e.child,e!==null))for(Ml(e,t,n),e=e.sibling;e!==null;)Ml(e,t,n),e=e.sibling}function Dl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Dl(e,t,n),e=e.sibling;e!==null;)Dl(e,t,n),e=e.sibling}var ue=null,Qe=!1;function Ct(e,t,n){for(n=n.child;n!==null;)Ih(e,t,n),n=n.sibling}function Ih(e,t,n){if(it&&typeof it.onCommitFiberUnmount=="function")try{it.onCommitFiberUnmount(No,n)}catch{}switch(n.tag){case 5:pe||_n(n,t);case 6:var r=ue,i=Qe;ue=null,Ct(e,t,n),ue=r,Qe=i,ue!==null&&(Qe?(e=ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ue.removeChild(n.stateNode));break;case 18:ue!==null&&(Qe?(e=ue,n=n.stateNode,e.nodeType===8?xs(e.parentNode,n):e.nodeType===1&&xs(e,n),zr(e)):xs(ue,n.stateNode));break;case 4:r=ue,i=Qe,ue=n.stateNode.containerInfo,Qe=!0,Ct(e,t,n),ue=r,Qe=i;break;case 0:case 11:case 14:case 15:if(!pe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Rl(n,t,s),i=i.next}while(i!==r)}Ct(e,t,n);break;case 1:if(!pe&&(_n(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){X(n,t,l)}Ct(e,t,n);break;case 21:Ct(e,t,n);break;case 22:n.mode&1?(pe=(r=pe)||n.memoizedState!==null,Ct(e,t,n),pe=r):Ct(e,t,n);break;default:Ct(e,t,n)}}function yc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new B0),t.forEach(function(r){var i=X0.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ke(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=ee()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$0(r/1960))-r,10e?16:e,Mt===null)var r=!1;else{if(e=Mt,Mt=null,go=0,F&6)throw Error(P(331));var i=F;for(F|=4,V=e.current;V!==null;){var o=V,s=o.child;if(V.flags&16){var l=o.deletions;if(l!==null){for(var a=0;aee()-Fa?fn(e,0):Oa|=n),Le(e,t)}function Gh(e,t){t===0&&(e.mode&1?(t=vi,vi<<=1,!(vi&130023424)&&(vi=4194304)):t=1);var n=ve();e=vt(e,t),e!==null&&(ri(e,t,n),Le(e,n))}function Y0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Gh(e,n)}function X0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(P(314))}r!==null&&r.delete(t),Gh(e,n)}var Qh;Qh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Te.current)ke=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ke=!1,O0(e,t,n);ke=!!(e.flags&131072)}else ke=!1,H&&t.flags&1048576&&Zd(t,so,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;$i(e,t),e=t.pendingProps;var i=Yn(t,me.current);Kn(t,n),i=Ma(null,t,r,e,i,n);var o=Da();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ee(r)?(o=!0,io(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ta(t),i.updater=Io,t.stateNode=i,i._reactInternals=t,Sl(t,r,e,n),t=kl(null,t,r,!0,o,n)):(t.tag=0,H&&o&&va(t),ye(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch($i(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=J0(r),e=Ge(r,e),i){case 0:t=Pl(null,t,r,e,n);break e;case 1:t=dc(null,t,r,e,n);break e;case 11:t=cc(null,t,r,e,n);break e;case 14:t=fc(null,t,r,Ge(r.type,e),n);break e}throw Error(P(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),Pl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),dc(e,t,r,i,n);case 3:e:{if(Mh(t),e===null)throw Error(P(387));r=t.pendingProps,o=t.memoizedState,i=o.element,eh(e,t),uo(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=qn(Error(P(423)),t),t=hc(e,t,r,n,i);break e}else if(r!==i){i=qn(Error(P(424)),t),t=hc(e,t,r,n,i);break e}else for(De=_t(t.stateNode.containerInfo.firstChild),Ne=t,H=!0,Ye=null,n=ih(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Xn(),r===i){t=xt(e,t,n);break e}ye(e,t,r,n)}t=t.child}return t;case 5:return oh(t),e===null&&vl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,hl(r,i)?s=null:o!==null&&hl(r,o)&&(t.flags|=32),Vh(e,t),ye(e,t,s,n),t.child;case 6:return e===null&&vl(t),null;case 13:return Dh(e,t,n);case 4:return Ea(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Zn(t,null,r,n):ye(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),cc(e,t,r,i,n);case 7:return ye(e,t,t.pendingProps,n),t.child;case 8:return ye(e,t,t.pendingProps.children,n),t.child;case 12:return ye(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,B(lo,r._currentValue),r._currentValue=s,o!==null)if(Je(o.value,s)){if(o.children===i.children&&!Te.current){t=xt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=ht(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),xl(o.return,n,t),l.lanes|=n;break}a=a.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(P(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),xl(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}ye(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Kn(t,n),i=We(i),r=r(i),t.flags|=1,ye(e,t,r,n),t.child;case 14:return r=t.type,i=Ge(r,t.pendingProps),i=Ge(r.type,i),fc(e,t,r,i,n);case 15:return Lh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),$i(e,t),t.tag=1,Ee(r)?(e=!0,io(t)):e=!1,Kn(t,n),nh(t,r,i),Sl(t,r,i,n),kl(null,t,r,!0,e,n);case 19:return Nh(e,t,n);case 22:return Rh(e,t,n)}throw Error(P(156,t.tag))};function Yh(e,t){return wd(e,t)}function Z0(e,t,n,r){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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ue(e,t,n,r){return new Z0(e,t,n,r)}function Ua(e){return e=e.prototype,!(!e||!e.isReactComponent)}function J0(e){if(typeof e=="function")return Ua(e)?1:0;if(e!=null){if(e=e.$$typeof,e===sa)return 11;if(e===la)return 14}return 2}function Bt(e,t){var n=e.alternate;return n===null?(n=Ue(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 Ki(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Ua(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case En:return dn(n.children,i,o,t);case oa:s=8,i|=8;break;case Ks:return e=Ue(12,n,t,i|2),e.elementType=Ks,e.lanes=o,e;case Gs:return e=Ue(13,n,t,i),e.elementType=Gs,e.lanes=o,e;case Qs:return e=Ue(19,n,t,i),e.elementType=Qs,e.lanes=o,e;case rd:return $o(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case td:s=10;break e;case nd:s=9;break e;case sa:s=11;break e;case la:s=14;break e;case kt:s=16,r=null;break e}throw Error(P(130,e==null?e:typeof e,""))}return t=Ue(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function dn(e,t,n,r){return e=Ue(7,e,r,t),e.lanes=n,e}function $o(e,t,n,r){return e=Ue(22,e,r,t),e.elementType=rd,e.lanes=n,e.stateNode={isHidden:!1},e}function Ls(e,t,n){return e=Ue(6,e,null,t),e.lanes=n,e}function Rs(e,t,n){return t=Ue(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function q0(e,t,n,r,i){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=as(0),this.expirationTimes=as(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=as(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function $a(e,t,n,r,i,o,s,l,a){return e=new q0(e,t,n,l,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ue(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ta(o),e}function b0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(qh)}catch(e){console.error(e)}}qh(),Zf.exports=_e;var iy=Zf.exports,Tc=iy;Ws.createRoot=Tc.createRoot,Ws.hydrateRoot=Tc.hydrateRoot;/** * @remix-run/router v1.13.0 * * Copyright (c) Remix Software Inc. @@ -46,7 +46,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function qr(){return qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Ka(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function o0(){return Math.random().toString(36).substr(2,8)}function Ec(e,t){return{usr:e.state,key:e.key,idx:t}}function _l(e,t,n,r){return n===void 0&&(n=null),qr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?or(t):t,{state:n,key:t&&t.key||r||o0()})}function xo(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function or(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function s0(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,l=Dt.Pop,a=null,u=c();u==null&&(u=0,s.replaceState(qr({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function f(){l=Dt.Pop;let C=c(),g=C==null?null:C-u;u=C,a&&a({action:l,location:v.location,delta:g})}function d(C,g){l=Dt.Push;let h=_l(v.location,C,g);n&&n(h,C),u=c()+1;let p=Ec(h,u),x=v.createHref(h);try{s.pushState(p,"",x)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;i.location.assign(x)}o&&a&&a({action:l,location:v.location,delta:1})}function m(C,g){l=Dt.Replace;let h=_l(v.location,C,g);n&&n(h,C),u=c();let p=Ec(h,u),x=v.createHref(h);s.replaceState(p,"",x),o&&a&&a({action:l,location:v.location,delta:0})}function y(C){let g=i.location.origin!=="null"?i.location.origin:i.location.href,h=typeof C=="string"?C:xo(C);return re(g,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,g)}let v={get action(){return l},get location(){return e(i,s)},listen(C){if(a)throw new Error("A history only accepts one active listener");return i.addEventListener(Tc,f),a=C,()=>{i.removeEventListener(Tc,f),a=null}},createHref(C){return t(i,C)},createURL:y,encodeLocation(C){let g=y(C);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:d,replace:m,go(C){return s.go(C)}};return v}var Lc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Lc||(Lc={}));function l0(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?or(t):t,i=Ga(r.pathname||"/",n);if(i==null)return null;let o=qh(e);a0(o);let s=null;for(let l=0;s==null&&l{let a={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};a.relativePath.startsWith("/")&&(re(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let u=zt([r,a.relativePath]),c=n.concat(a);o.children&&o.children.length>0&&(re(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),qh(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:m0(u,o.index),routesMeta:c})};return e.forEach((o,s)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))i(o,s);else for(let a of bh(o.path))i(o,s,a)}),t}function bh(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=bh(r.join("/")),l=[];return l.push(...s.map(a=>a===""?o:[o,a].join("/"))),i&&l.push(...s),l.map(a=>e.startsWith("/")&&a===""?"/":a)}function a0(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:g0(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const u0=/^:\w+$/,c0=3,f0=2,d0=1,h0=10,p0=-2,Rc=e=>e==="*";function m0(e,t){let n=e.split("/"),r=n.length;return n.some(Rc)&&(r+=p0),t&&(r+=f0),n.filter(i=>!Rc(i)).reduce((i,o)=>i+(u0.test(o)?c0:o===""?d0:h0),r)}function g0(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function y0(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let s=0;s{let{paramName:d,isOptional:m}=c;if(d==="*"){let v=l[f]||"";s=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const y=l[f];return m&&!y?u[d]=void 0:u[d]=S0(y||"",d),u},{}),pathname:o,pathnameBase:s,pattern:e}}function x0(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ka(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(s,l,a)=>(r.push({paramName:l,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function w0(e){try{return decodeURI(e)}catch(t){return Ka(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function S0(e,t){try{return decodeURIComponent(e)}catch(n){return Ka(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Ga(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function C0(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?or(e):e;return{pathname:n?n.startsWith("/")?n:P0(n,t):t,search:E0(r),hash:L0(i)}}function P0(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Vs(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function k0(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ep(e){return k0(e).map((t,n)=>n===e.length-1?t.pathname:t.pathnameBase)}function tp(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=or(e):(i=qr({},e),re(!i.pathname||!i.pathname.includes("?"),Vs("?","pathname","search",i)),re(!i.pathname||!i.pathname.includes("#"),Vs("#","pathname","hash",i)),re(!i.search||!i.search.includes("#"),Vs("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,l;if(s==null)l=n;else if(r){let f=t[t.length-1].replace(/^\//,"").split("/");if(s.startsWith("..")){let d=s.split("/");for(;d[0]==="..";)d.shift(),f.pop();i.pathname=d.join("/")}l="/"+f.join("/")}else{let f=t.length-1;if(s.startsWith("..")){let d=s.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}l=f>=0?t[f]:"/"}let a=C0(i,l),u=s&&s!=="/"&&s.endsWith("/"),c=(o||s===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(u||c)&&(a.pathname+="/"),a}const zt=e=>e.join("/").replace(/\/\/+/g,"/"),T0=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),E0=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,L0=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function R0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const np=["post","put","patch","delete"];new Set(np);const V0=["get",...np];new Set(V0);/** + */function qr(){return qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Ga(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function sy(){return Math.random().toString(36).substr(2,8)}function Lc(e,t){return{usr:e.state,key:e.key,idx:t}}function Ol(e,t,n,r){return n===void 0&&(n=null),qr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?or(t):t,{state:n,key:t&&t.key||r||sy()})}function xo(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function or(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function ly(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,l=Dt.Pop,a=null,u=c();u==null&&(u=0,s.replaceState(qr({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function f(){l=Dt.Pop;let C=c(),g=C==null?null:C-u;u=C,a&&a({action:l,location:v.location,delta:g})}function d(C,g){l=Dt.Push;let h=Ol(v.location,C,g);n&&n(h,C),u=c()+1;let p=Lc(h,u),x=v.createHref(h);try{s.pushState(p,"",x)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;i.location.assign(x)}o&&a&&a({action:l,location:v.location,delta:1})}function m(C,g){l=Dt.Replace;let h=Ol(v.location,C,g);n&&n(h,C),u=c();let p=Lc(h,u),x=v.createHref(h);s.replaceState(p,"",x),o&&a&&a({action:l,location:v.location,delta:0})}function y(C){let g=i.location.origin!=="null"?i.location.origin:i.location.href,h=typeof C=="string"?C:xo(C);return re(g,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,g)}let v={get action(){return l},get location(){return e(i,s)},listen(C){if(a)throw new Error("A history only accepts one active listener");return i.addEventListener(Ec,f),a=C,()=>{i.removeEventListener(Ec,f),a=null}},createHref(C){return t(i,C)},createURL:y,encodeLocation(C){let g=y(C);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:d,replace:m,go(C){return s.go(C)}};return v}var Rc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Rc||(Rc={}));function ay(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?or(t):t,i=Qa(r.pathname||"/",n);if(i==null)return null;let o=bh(e);uy(o);let s=null;for(let l=0;s==null&&l{let a={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};a.relativePath.startsWith("/")&&(re(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let u=zt([r,a.relativePath]),c=n.concat(a);o.children&&o.children.length>0&&(re(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),bh(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:gy(u,o.index),routesMeta:c})};return e.forEach((o,s)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))i(o,s);else for(let a of ep(o.path))i(o,s,a)}),t}function ep(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=ep(r.join("/")),l=[];return l.push(...s.map(a=>a===""?o:[o,a].join("/"))),i&&l.push(...s),l.map(a=>e.startsWith("/")&&a===""?"/":a)}function uy(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:yy(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const cy=/^:\w+$/,fy=3,dy=2,hy=1,py=10,my=-2,Vc=e=>e==="*";function gy(e,t){let n=e.split("/"),r=n.length;return n.some(Vc)&&(r+=my),t&&(r+=dy),n.filter(i=>!Vc(i)).reduce((i,o)=>i+(cy.test(o)?fy:o===""?hy:py),r)}function yy(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function vy(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let s=0;s{let{paramName:d,isOptional:m}=c;if(d==="*"){let v=l[f]||"";s=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const y=l[f];return m&&!y?u[d]=void 0:u[d]=Cy(y||"",d),u},{}),pathname:o,pathnameBase:s,pattern:e}}function wy(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ga(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(s,l,a)=>(r.push({paramName:l,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Sy(e){try{return decodeURI(e)}catch(t){return Ga(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Cy(e,t){try{return decodeURIComponent(e)}catch(n){return Ga(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Qa(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Py(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?or(e):e;return{pathname:n?n.startsWith("/")?n:ky(n,t):t,search:Ly(r),hash:Ry(i)}}function ky(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Vs(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Ty(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function tp(e){return Ty(e).map((t,n)=>n===e.length-1?t.pathname:t.pathnameBase)}function np(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=or(e):(i=qr({},e),re(!i.pathname||!i.pathname.includes("?"),Vs("?","pathname","search",i)),re(!i.pathname||!i.pathname.includes("#"),Vs("#","pathname","hash",i)),re(!i.search||!i.search.includes("#"),Vs("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,l;if(s==null)l=n;else if(r){let f=t[t.length-1].replace(/^\//,"").split("/");if(s.startsWith("..")){let d=s.split("/");for(;d[0]==="..";)d.shift(),f.pop();i.pathname=d.join("/")}l="/"+f.join("/")}else{let f=t.length-1;if(s.startsWith("..")){let d=s.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}l=f>=0?t[f]:"/"}let a=Py(i,l),u=s&&s!=="/"&&s.endsWith("/"),c=(o||s===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(u||c)&&(a.pathname+="/"),a}const zt=e=>e.join("/").replace(/\/\/+/g,"/"),Ey=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ly=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Ry=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Vy(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const rp=["post","put","patch","delete"];new Set(rp);const My=["get",...rp];new Set(My);/** * React Router v6.20.0 * * Copyright (c) Remix Software Inc. @@ -55,7 +55,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function wo(){return wo=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),S.useCallback(function(a,u){if(u===void 0&&(u={}),!s.current)return;if(typeof a=="number"){n.go(a);return}let c=tp(a,JSON.parse(o),i,u.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:zt([t,c.pathname])),(u.replace?n.replace:n.push)(c,u.state,u)},[t,n,o,i,e])}function op(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=S.useContext(xn),{pathname:i}=Yo(),o=JSON.stringify(ep(r));return S.useMemo(()=>tp(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function j0(e,t){return _0(e,t)}function _0(e,t,n){li()||re(!1);let{navigator:r}=S.useContext(sr),{matches:i}=S.useContext(xn),o=i[i.length-1],s=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let a=Yo(),u;if(t){var c;let v=typeof t=="string"?or(t):t;l==="/"||(c=v.pathname)!=null&&c.startsWith(l)||re(!1),u=v}else u=a;let f=u.pathname||"/",d=l==="/"?f:f.slice(l.length)||"/",m=l0(e,{pathname:d}),y=z0(m&&m.map(v=>Object.assign({},v,{params:Object.assign({},s,v.params),pathname:zt([l,r.encodeLocation?r.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?l:zt([l,r.encodeLocation?r.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,n);return t&&y?S.createElement(Qo.Provider,{value:{location:wo({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Dt.Pop}},y):y}function O0(){let e=H0(),t=R0(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},o=null;return S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},t),n?S.createElement("pre",{style:i},n):null,o)}const F0=S.createElement(O0,null);class I0 extends S.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?S.createElement(xn.Provider,{value:this.props.routeContext},S.createElement(rp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function B0(e){let{routeContext:t,match:n,children:r}=e,i=S.useContext(Qa);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),S.createElement(xn.Provider,{value:t},r)}function z0(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let o=e,s=(r=n)==null?void 0:r.errors;if(s!=null){let l=o.findIndex(a=>a.route.id&&(s==null?void 0:s[a.route.id]));l>=0||re(!1),o=o.slice(0,Math.min(o.length,l+1))}return o.reduceRight((l,a,u)=>{let c=a.route.id?s==null?void 0:s[a.route.id]:null,f=null;n&&(f=a.route.errorElement||F0);let d=t.concat(o.slice(0,u+1)),m=()=>{let y;return c?y=f:a.route.Component?y=S.createElement(a.route.Component,null):a.route.element?y=a.route.element:y=l,S.createElement(B0,{match:a,routeContext:{outlet:l,matches:d,isDataRoute:n!=null},children:y})};return n&&(a.route.ErrorBoundary||a.route.errorElement||u===0)?S.createElement(I0,{location:n.location,revalidation:n.revalidation,component:f,error:c,children:m(),routeContext:{outlet:null,matches:d,isDataRoute:!0}}):m()},null)}var sp=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(sp||{}),So=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(So||{});function U0(e){let t=S.useContext(Qa);return t||re(!1),t}function $0(e){let t=S.useContext(M0);return t||re(!1),t}function W0(e){let t=S.useContext(xn);return t||re(!1),t}function lp(e){let t=W0(),n=t.matches[t.matches.length-1];return n.route.id||re(!1),n.route.id}function H0(){var e;let t=S.useContext(rp),n=$0(So.UseRouteError),r=lp(So.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function K0(){let{router:e}=U0(sp.UseNavigateStable),t=lp(So.UseNavigateStable),n=S.useRef(!1);return ip(()=>{n.current=!0}),S.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,wo({fromRouteId:t},o)))},[e,t])}function ap(e){re(!1)}function G0(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Dt.Pop,navigator:o,static:s=!1}=e;li()&&re(!1);let l=t.replace(/^\/*/,"/"),a=S.useMemo(()=>({basename:l,navigator:o,static:s}),[l,o,s]);typeof r=="string"&&(r=or(r));let{pathname:u="/",search:c="",hash:f="",state:d=null,key:m="default"}=r,y=S.useMemo(()=>{let v=Ga(u,l);return v==null?null:{location:{pathname:v,search:c,hash:f,state:d,key:m},navigationType:i}},[l,u,c,f,d,m,i]);return y==null?null:S.createElement(sr.Provider,{value:a},S.createElement(Qo.Provider,{children:n,value:y}))}function Q0(e){let{children:t,location:n}=e;return j0(Ol(t),n)}new Promise(()=>{});function Ol(e,t){t===void 0&&(t=[]);let n=[];return S.Children.forEach(e,(r,i)=>{if(!S.isValidElement(r))return;let o=[...t,i];if(r.type===S.Fragment){n.push.apply(n,Ol(r.props.children,o));return}r.type!==ap&&re(!1),!r.props.index||!r.props.children||re(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Ol(r.props.children,o)),n.push(s)}),n}/** + */function wo(){return wo=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),S.useCallback(function(a,u){if(u===void 0&&(u={}),!s.current)return;if(typeof a=="number"){n.go(a);return}let c=np(a,JSON.parse(o),i,u.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:zt([t,c.pathname])),(u.replace?n.replace:n.push)(c,u.state,u)},[t,n,o,i,e])}function sp(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=S.useContext(wn),{pathname:i}=Yo(),o=JSON.stringify(tp(r));return S.useMemo(()=>np(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function _y(e,t){return Oy(e,t)}function Oy(e,t,n){li()||re(!1);let{navigator:r}=S.useContext(sr),{matches:i}=S.useContext(wn),o=i[i.length-1],s=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let a=Yo(),u;if(t){var c;let v=typeof t=="string"?or(t):t;l==="/"||(c=v.pathname)!=null&&c.startsWith(l)||re(!1),u=v}else u=a;let f=u.pathname||"/",d=l==="/"?f:f.slice(l.length)||"/",m=ay(e,{pathname:d}),y=Uy(m&&m.map(v=>Object.assign({},v,{params:Object.assign({},s,v.params),pathname:zt([l,r.encodeLocation?r.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?l:zt([l,r.encodeLocation?r.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,n);return t&&y?S.createElement(Qo.Provider,{value:{location:wo({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Dt.Pop}},y):y}function Fy(){let e=Ky(),t=Vy(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},o=null;return S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},t),n?S.createElement("pre",{style:i},n):null,o)}const Iy=S.createElement(Fy,null);class By extends S.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?S.createElement(wn.Provider,{value:this.props.routeContext},S.createElement(ip.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function zy(e){let{routeContext:t,match:n,children:r}=e,i=S.useContext(Ya);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),S.createElement(wn.Provider,{value:t},r)}function Uy(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let o=e,s=(r=n)==null?void 0:r.errors;if(s!=null){let l=o.findIndex(a=>a.route.id&&(s==null?void 0:s[a.route.id]));l>=0||re(!1),o=o.slice(0,Math.min(o.length,l+1))}return o.reduceRight((l,a,u)=>{let c=a.route.id?s==null?void 0:s[a.route.id]:null,f=null;n&&(f=a.route.errorElement||Iy);let d=t.concat(o.slice(0,u+1)),m=()=>{let y;return c?y=f:a.route.Component?y=S.createElement(a.route.Component,null):a.route.element?y=a.route.element:y=l,S.createElement(zy,{match:a,routeContext:{outlet:l,matches:d,isDataRoute:n!=null},children:y})};return n&&(a.route.ErrorBoundary||a.route.errorElement||u===0)?S.createElement(By,{location:n.location,revalidation:n.revalidation,component:f,error:c,children:m(),routeContext:{outlet:null,matches:d,isDataRoute:!0}}):m()},null)}var lp=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(lp||{}),So=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(So||{});function $y(e){let t=S.useContext(Ya);return t||re(!1),t}function Wy(e){let t=S.useContext(Dy);return t||re(!1),t}function Hy(e){let t=S.useContext(wn);return t||re(!1),t}function ap(e){let t=Hy(),n=t.matches[t.matches.length-1];return n.route.id||re(!1),n.route.id}function Ky(){var e;let t=S.useContext(ip),n=Wy(So.UseRouteError),r=ap(So.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function Gy(){let{router:e}=$y(lp.UseNavigateStable),t=ap(So.UseNavigateStable),n=S.useRef(!1);return op(()=>{n.current=!0}),S.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,wo({fromRouteId:t},o)))},[e,t])}function up(e){re(!1)}function Qy(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Dt.Pop,navigator:o,static:s=!1}=e;li()&&re(!1);let l=t.replace(/^\/*/,"/"),a=S.useMemo(()=>({basename:l,navigator:o,static:s}),[l,o,s]);typeof r=="string"&&(r=or(r));let{pathname:u="/",search:c="",hash:f="",state:d=null,key:m="default"}=r,y=S.useMemo(()=>{let v=Qa(u,l);return v==null?null:{location:{pathname:v,search:c,hash:f,state:d,key:m},navigationType:i}},[l,u,c,f,d,m,i]);return y==null?null:S.createElement(sr.Provider,{value:a},S.createElement(Qo.Provider,{children:n,value:y}))}function Yy(e){let{children:t,location:n}=e;return _y(Fl(t),n)}new Promise(()=>{});function Fl(e,t){t===void 0&&(t=[]);let n=[];return S.Children.forEach(e,(r,i)=>{if(!S.isValidElement(r))return;let o=[...t,i];if(r.type===S.Fragment){n.push.apply(n,Fl(r.props.children,o));return}r.type!==up&&re(!1),!r.props.index||!r.props.children||re(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Fl(r.props.children,o)),n.push(s)}),n}/** * React Router DOM v6.20.0 * * Copyright (c) Remix Software Inc. @@ -64,4 +64,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Fl(){return Fl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function X0(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Z0(e,t){return e.button===0&&(!t||t==="_self")&&!X0(e)}const J0=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],q0="startTransition",Vc=Qm[q0];function b0(e){let{basename:t,children:n,future:r,window:i}=e,o=S.useRef();o.current==null&&(o.current=i0({window:i,v5Compat:!0}));let s=o.current,[l,a]=S.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=S.useCallback(f=>{u&&Vc?Vc(()=>a(f)):a(f)},[a,u]);return S.useLayoutEffect(()=>s.listen(c),[s,c]),S.createElement(G0,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s})}const ev=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",tv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,kn=S.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:s,state:l,target:a,to:u,preventScrollReset:c,unstable_viewTransition:f}=t,d=Y0(t,J0),{basename:m}=S.useContext(sr),y,v=!1;if(typeof u=="string"&&tv.test(u)&&(y=u,ev))try{let p=new URL(window.location.href),x=u.startsWith("//")?new URL(p.protocol+u):new URL(u),w=Ga(x.pathname,m);x.origin===p.origin&&w!=null?u=w+x.search+x.hash:v=!0}catch{}let C=D0(u,{relative:i}),g=nv(u,{replace:s,state:l,target:a,preventScrollReset:c,relative:i,unstable_viewTransition:f});function h(p){r&&r(p),p.defaultPrevented||g(p)}return S.createElement("a",Fl({},d,{href:y||C,onClick:v||o?r:h,ref:n,target:a}))});var Mc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Mc||(Mc={}));var Dc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Dc||(Dc={}));function nv(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:s,unstable_viewTransition:l}=t===void 0?{}:t,a=A0(),u=Yo(),c=op(e,{relative:s});return S.useCallback(f=>{if(Z0(f,n)){f.preventDefault();let d=r!==void 0?r:xo(u)===xo(c);a(e,{replace:d,state:i,preventScrollReset:o,relative:s,unstable_viewTransition:l})}},[u,a,c,r,i,n,e,o,s,l])}const up=S.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Xo=S.createContext({}),Ya=S.createContext(null),Zo=typeof document<"u",rv=Zo?S.useLayoutEffect:S.useEffect,cp=S.createContext({strict:!1});function iv(e,t,n,r){const{visualElement:i}=S.useContext(Xo),o=S.useContext(cp),s=S.useContext(Ya),l=S.useContext(up).reducedMotion,a=S.useRef();r=r||o.renderer,!a.current&&r&&(a.current=r(e,{visualState:t,parent:i,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:l}));const u=a.current;S.useInsertionEffect(()=>{u&&u.update(n,s)});const c=S.useRef(!!window.HandoffAppearAnimations);return rv(()=>{u&&(u.render(),c.current&&u.animationState&&u.animationState.animateChanges())}),S.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,c.current=!1)}),u}function Fn(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function ov(e,t,n){return S.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Fn(n)&&(n.current=r))},[t])}function br(e){return typeof e=="string"||Array.isArray(e)}function Jo(e){return typeof e=="object"&&typeof e.start=="function"}const Xa=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Za=["initial",...Xa];function qo(e){return Jo(e.animate)||Za.some(t=>br(e[t]))}function fp(e){return!!(qo(e)||e.variants)}function sv(e,t){if(qo(e)){const{initial:n,animate:r}=e;return{initial:n===!1||br(n)?n:void 0,animate:br(r)?r:void 0}}return e.inherit!==!1?t:{}}function lv(e){const{initial:t,animate:n}=sv(e,S.useContext(Xo));return S.useMemo(()=>({initial:t,animate:n}),[Ac(t),Ac(n)])}function Ac(e){return Array.isArray(e)?e.join(" "):e}const Nc={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"]},ei={};for(const e in Nc)ei[e]={isEnabled:t=>Nc[e].some(n=>!!t[n])};function av(e){for(const t in e)ei[t]={...ei[t],...e[t]}}const dp=S.createContext({}),hp=S.createContext({}),uv=Symbol.for("motionComponentSymbol");function cv({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&av(e);function o(l,a){let u;const c={...S.useContext(up),...l,layoutId:fv(l)},{isStatic:f}=c,d=lv(l),m=r(l,f);if(!f&&Zo){d.visualElement=iv(i,m,c,t);const y=S.useContext(hp),v=S.useContext(cp).strict;d.visualElement&&(u=d.visualElement.loadFeatures(c,v,e,y))}return S.createElement(Xo.Provider,{value:d},u&&d.visualElement?S.createElement(u,{visualElement:d.visualElement,...c}):null,n(i,l,ov(m,d.visualElement,a),m,f,d.visualElement))}const s=S.forwardRef(o);return s[uv]=i,s}function fv({layoutId:e}){const t=S.useContext(dp).id;return t&&e!==void 0?t+"-"+e:e}function dv(e){function t(r,i={}){return cv(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const hv=["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 Ja(e){return typeof e!="string"||e.includes("-")?!1:!!(hv.indexOf(e)>-1||/[A-Z]/.test(e))}const Co={};function pv(e){Object.assign(Co,e)}const ai=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],wn=new Set(ai);function pp(e,{layout:t,layoutId:n}){return wn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Co[e]||e==="opacity")}const Re=e=>!!(e&&e.getVelocity),mv={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},gv=ai.length;function yv(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let s=0;st=>typeof t=="string"&&t.startsWith(e),gp=mp("--"),Il=mp("var(--"),vv=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,xv=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Kt=(e,t,n)=>Math.min(Math.max(n,e),t),Sn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Dr={...Sn,transform:e=>Kt(0,1,e)},Mi={...Sn,default:1},Ar=e=>Math.round(e*1e5)/1e5,bo=/(-)?([\d]*\.?[\d])+/g,yp=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,wv=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ui(e){return typeof e=="string"}const ci=e=>({test:t=>ui(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ct=ci("deg"),st=ci("%"),M=ci("px"),Sv=ci("vh"),Cv=ci("vw"),jc={...st,parse:e=>st.parse(e)/100,transform:e=>st.transform(e*100)},_c={...Sn,transform:Math.round},vp={borderWidth:M,borderTopWidth:M,borderRightWidth:M,borderBottomWidth:M,borderLeftWidth:M,borderRadius:M,radius:M,borderTopLeftRadius:M,borderTopRightRadius:M,borderBottomRightRadius:M,borderBottomLeftRadius:M,width:M,maxWidth:M,height:M,maxHeight:M,size:M,top:M,right:M,bottom:M,left:M,padding:M,paddingTop:M,paddingRight:M,paddingBottom:M,paddingLeft:M,margin:M,marginTop:M,marginRight:M,marginBottom:M,marginLeft:M,rotate:Ct,rotateX:Ct,rotateY:Ct,rotateZ:Ct,scale:Mi,scaleX:Mi,scaleY:Mi,scaleZ:Mi,skew:Ct,skewX:Ct,skewY:Ct,distance:M,translateX:M,translateY:M,translateZ:M,x:M,y:M,z:M,perspective:M,transformPerspective:M,opacity:Dr,originX:jc,originY:jc,originZ:M,zIndex:_c,fillOpacity:Dr,strokeOpacity:Dr,numOctaves:_c};function qa(e,t,n,r){const{style:i,vars:o,transform:s,transformOrigin:l}=e;let a=!1,u=!1,c=!0;for(const f in t){const d=t[f];if(gp(f)){o[f]=d;continue}const m=vp[f],y=xv(d,m);if(wn.has(f)){if(a=!0,s[f]=y,!c)continue;d!==(m.default||0)&&(c=!1)}else f.startsWith("origin")?(u=!0,l[f]=y):i[f]=y}if(t.transform||(a||r?i.transform=yv(e.transform,n,c,r):i.transform&&(i.transform="none")),u){const{originX:f="50%",originY:d="50%",originZ:m=0}=l;i.transformOrigin=`${f} ${d} ${m}`}}const ba=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function xp(e,t,n){for(const r in t)!Re(t[r])&&!pp(r,n)&&(e[r]=t[r])}function Pv({transformTemplate:e},t,n){return S.useMemo(()=>{const r=ba();return qa(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function kv(e,t,n){const r=e.style||{},i={};return xp(i,r,e),Object.assign(i,Pv(e,t,n)),e.transformValues?e.transformValues(i):i}function Tv(e,t,n){const r={},i=kv(e,t,n);return e.drag&&e.dragListener!==!1&&(r.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)&&(r.tabIndex=0),r.style=i,r}const Ev=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Po(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Ev.has(e)}let wp=e=>!Po(e);function Lv(e){e&&(wp=t=>t.startsWith("on")?!Po(t):e(t))}try{Lv(require("@emotion/is-prop-valid").default)}catch{}function Rv(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(wp(i)||n===!0&&Po(i)||!t&&!Po(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Oc(e,t,n){return typeof e=="string"?e:M.transform(t+n*e)}function Vv(e,t,n){const r=Oc(t,e.x,e.width),i=Oc(n,e.y,e.height);return`${r} ${i}`}const Mv={offset:"stroke-dashoffset",array:"stroke-dasharray"},Dv={offset:"strokeDashoffset",array:"strokeDasharray"};function Av(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?Mv:Dv;e[o.offset]=M.transform(-r);const s=M.transform(t),l=M.transform(n);e[o.array]=`${s} ${l}`}function eu(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:l=1,pathOffset:a=0,...u},c,f,d){if(qa(e,u,c,d),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:y,dimensions:v}=e;m.transform&&(v&&(y.transform=m.transform),delete m.transform),v&&(i!==void 0||o!==void 0||y.transform)&&(y.transformOrigin=Vv(v,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(m.x=t),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),s!==void 0&&Av(m,s,l,a,!1)}const Sp=()=>({...ba(),attrs:{}}),tu=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Nv(e,t,n,r){const i=S.useMemo(()=>{const o=Sp();return eu(o,t,{enableHardwareAcceleration:!1},tu(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};xp(o,e.style,e),i.style={...o,...i.style}}return i}function jv(e=!1){return(n,r,i,{latestValues:o},s)=>{const a=(Ja(n)?Nv:Tv)(r,o,s,n),c={...Rv(r,typeof n=="string",e),...a,ref:i},{children:f}=r,d=S.useMemo(()=>Re(f)?f.get():f,[f]);return S.createElement(n,{...c,children:d})}}const nu=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Cp(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const Pp=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 kp(e,t,n,r){Cp(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Pp.has(i)?i:nu(i),t.attrs[i])}function ru(e,t){const{style:n}=e,r={};for(const i in n)(Re(n[i])||t.style&&Re(t.style[i])||pp(i,e))&&(r[i]=n[i]);return r}function Tp(e,t){const n=ru(e,t);for(const r in e)if(Re(e[r])||Re(t[r])){const i=ai.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}function iu(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function _v(e){const t=S.useRef(null);return t.current===null&&(t.current=e()),t.current}const ko=e=>Array.isArray(e),Ov=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Fv=e=>ko(e)?e[e.length-1]||0:e;function Gi(e){const t=Re(e)?e.get():e;return Ov(t)?t.toValue():t}function Iv({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:Bv(r,i,o,e),renderState:t()};return n&&(s.mount=l=>n(r,l,s)),s}const Ep=e=>(t,n)=>{const r=S.useContext(Xo),i=S.useContext(Ya),o=()=>Iv(e,t,r,i);return n?o():_v(o)};function Bv(e,t,n,r){const i={},o=r(e,{});for(const d in o)i[d]=Gi(o[d]);let{initial:s,animate:l}=e;const a=qo(e),u=fp(e);t&&u&&!a&&e.inherit!==!1&&(s===void 0&&(s=t.initial),l===void 0&&(l=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const f=c?l:s;return f&&typeof f!="boolean"&&!Jo(f)&&(Array.isArray(f)?f:[f]).forEach(m=>{const y=iu(e,m);if(!y)return;const{transitionEnd:v,transition:C,...g}=y;for(const h in g){let p=g[h];if(Array.isArray(p)){const x=c?p.length-1:0;p=p[x]}p!==null&&(i[h]=p)}for(const h in v)i[h]=v[h]}),i}const Z=e=>e;class Fc{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function zv(e){let t=new Fc,n=new Fc,r=0,i=!1,o=!1;const s=new WeakSet,l={schedule:(a,u=!1,c=!1)=>{const f=c&&i,d=f?t:n;return u&&s.add(a),d.add(a)&&f&&i&&(r=t.order.length),a},cancel:a=>{n.remove(a),s.delete(a)},process:a=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u(f[d]=zv(()=>n=!0),f),{}),s=f=>o[f].process(i),l=()=>{const f=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(f-i.timestamp,Uv),1),i.timestamp=f,i.isProcessing=!0,Di.forEach(s),i.isProcessing=!1,n&&t&&(r=!1,e(l))},a=()=>{n=!0,r=!0,i.isProcessing||e(l)};return{schedule:Di.reduce((f,d)=>{const m=o[d];return f[d]=(y,v=!1,C=!1)=>(n||a(),m.schedule(y,v,C)),f},{}),cancel:f=>Di.forEach(d=>o[d].cancel(f)),state:i,steps:o}}const{schedule:$,cancel:xt,state:se,steps:Ms}=$v(typeof requestAnimationFrame<"u"?requestAnimationFrame:Z,!0),Wv={useVisualState:Ep({scrapeMotionValuesFromProps:Tp,createRenderState:Sp,onMount:(e,t,{renderState:n,latestValues:r})=>{$.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),$.render(()=>{eu(n,r,{enableHardwareAcceleration:!1},tu(t.tagName),e.transformTemplate),kp(t,n)})}})},Hv={useVisualState:Ep({scrapeMotionValuesFromProps:ru,createRenderState:ba})};function Kv(e,{forwardMotionProps:t=!1},n,r){return{...Ja(e)?Wv:Hv,preloadedFeatures:n,useRender:jv(t),createVisualElement:r,Component:e}}function ft(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Lp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function es(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const Gv=e=>t=>Lp(t)&&e(t,es(t));function ht(e,t,n,r){return ft(e,t,Gv(n),r)}const Qv=(e,t)=>n=>t(e(n)),Ut=(...e)=>e.reduce(Qv);function Rp(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Ic=Rp("dragHorizontal"),Bc=Rp("dragVertical");function Vp(e){let t=!1;if(e==="y")t=Bc();else if(e==="x")t=Ic();else{const n=Ic(),r=Bc();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function Mp(){const e=Vp(!0);return e?(e(),!1):!0}class Zt{constructor(t){this.isMounted=!1,this.node=t}update(){}}function zc(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(o,s)=>{if(o.type==="touch"||Mp())return;const l=e.getProps();e.animationState&&l.whileHover&&e.animationState.setActive("whileHover",t),l[r]&&$.update(()=>l[r](o,s))};return ht(e.current,n,i,{passive:!e.getProps()[r]})}class Yv extends Zt{mount(){this.unmount=Ut(zc(this.node,!0),zc(this.node,!1))}unmount(){}}class Xv extends Zt{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=Ut(ft(this.node.current,"focus",()=>this.onFocus()),ft(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Dp=(e,t)=>t?e===t?!0:Dp(e,t.parentElement):!1;function Ds(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,es(n))}class Zv extends Zt{constructor(){super(...arguments),this.removeStartListeners=Z,this.removeEndListeners=Z,this.removeAccessibleListeners=Z,this.startPointerPress=(t,n)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),o=ht(window,"pointerup",(l,a)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c}=this.node.getProps();$.update(()=>{Dp(this.node.current,l.target)?u&&u(l,a):c&&c(l,a)})},{passive:!(r.onTap||r.onPointerUp)}),s=ht(window,"pointercancel",(l,a)=>this.cancelPress(l,a),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Ut(o,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const s=l=>{l.key!=="Enter"||!this.checkPressEnd()||Ds("up",(a,u)=>{const{onTap:c}=this.node.getProps();c&&$.update(()=>c(a,u))})};this.removeEndListeners(),this.removeEndListeners=ft(this.node.current,"keyup",s),Ds("down",(l,a)=>{this.startPress(l,a)})},n=ft(this.node.current,"keydown",t),r=()=>{this.isPressing&&Ds("cancel",(o,s)=>this.cancelPress(o,s))},i=ft(this.node.current,"blur",r);this.removeAccessibleListeners=Ut(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&$.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Mp()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&$.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=ht(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=ft(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ut(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Bl=new WeakMap,As=new WeakMap,Jv=e=>{const t=Bl.get(e.target);t&&t(e)},qv=e=>{e.forEach(Jv)};function bv({root:e,...t}){const n=e||document;As.has(n)||As.set(n,{});const r=As.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(qv,{root:e,...t})),r[i]}function e1(e,t,n){const r=bv(t);return Bl.set(e,n),r.observe(e),()=>{Bl.delete(e),r.unobserve(e)}}const t1={some:0,all:1};class n1 extends Zt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:t1[i]},l=a=>{const{isIntersecting:u}=a;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),d=u?c:f;d&&d(a)};return e1(this.node.current,s,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(r1(t,n))&&this.startObserver()}unmount(){}}function r1({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const i1={inView:{Feature:n1},tap:{Feature:Zv},focus:{Feature:Xv},hover:{Feature:Yv}};function Ap(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rt[r]=n.get()),t}function s1(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function ts(e,t,n){const r=e.getProps();return iu(r,t,n!==void 0?n:r.custom,o1(e),s1(e))}const l1="framerAppearId",a1="data-"+nu(l1);let u1=Z,ou=Z;const $t=e=>e*1e3,pt=e=>e/1e3,c1={current:!1},Np=e=>Array.isArray(e)&&typeof e[0]=="number";function jp(e){return!!(!e||typeof e=="string"&&_p[e]||Np(e)||Array.isArray(e)&&e.every(jp))}const Sr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,_p={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Sr([0,.65,.55,1]),circOut:Sr([.55,0,1,.45]),backIn:Sr([.31,.01,.66,-.59]),backOut:Sr([.33,1.53,.69,.99])};function Op(e){if(e)return Np(e)?Sr(e):Array.isArray(e)?e.map(Op):_p[e]}function f1(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:s="loop",ease:l,times:a}={}){const u={[t]:n};a&&(u.offset=a);const c=Op(l);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}function d1(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const Fp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,h1=1e-7,p1=12;function m1(e,t,n,r,i){let o,s,l=0;do s=t+(n-t)/2,o=Fp(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>h1&&++lm1(o,0,1,e,n);return o=>o===0||o===1?o:Fp(i(o),t,r)}const g1=fi(.42,0,1,1),y1=fi(0,0,.58,1),Ip=fi(.42,0,.58,1),v1=e=>Array.isArray(e)&&typeof e[0]!="number",Bp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,zp=e=>t=>1-e(1-t),Up=e=>1-Math.sin(Math.acos(e)),su=zp(Up),x1=Bp(su),$p=fi(.33,1.53,.69,.99),lu=zp($p),w1=Bp(lu),S1=e=>(e*=2)<1?.5*lu(e):.5*(2-Math.pow(2,-10*(e-1))),C1={linear:Z,easeIn:g1,easeInOut:Ip,easeOut:y1,circIn:Up,circInOut:x1,circOut:su,backIn:lu,backInOut:w1,backOut:$p,anticipate:S1},Uc=e=>{if(Array.isArray(e)){ou(e.length===4);const[t,n,r,i]=e;return fi(t,n,r,i)}else if(typeof e=="string")return C1[e];return e},au=(e,t)=>n=>!!(ui(n)&&wv.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Wp=(e,t,n)=>r=>{if(!ui(r))return r;const[i,o,s,l]=r.match(bo);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:l!==void 0?parseFloat(l):1}},P1=e=>Kt(0,255,e),Ns={...Sn,transform:e=>Math.round(P1(e))},un={test:au("rgb","red"),parse:Wp("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ns.transform(e)+", "+Ns.transform(t)+", "+Ns.transform(n)+", "+Ar(Dr.transform(r))+")"};function k1(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const zl={test:au("#"),parse:k1,transform:un.transform},In={test:au("hsl","hue"),parse:Wp("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+st.transform(Ar(t))+", "+st.transform(Ar(n))+", "+Ar(Dr.transform(r))+")"},ge={test:e=>un.test(e)||zl.test(e)||In.test(e),parse:e=>un.test(e)?un.parse(e):In.test(e)?In.parse(e):zl.parse(e),transform:e=>ui(e)?e:e.hasOwnProperty("red")?un.transform(e):In.transform(e)},G=(e,t,n)=>-n*e+n*t+e;function js(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 T1({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;i=js(a,l,e+1/3),o=js(a,l,e),s=js(a,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}const _s=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},E1=[zl,un,In],L1=e=>E1.find(t=>t.test(e));function $c(e){const t=L1(e);let n=t.parse(e);return t===In&&(n=T1(n)),n}const Hp=(e,t)=>{const n=$c(e),r=$c(t),i={...n};return o=>(i.red=_s(n.red,r.red,o),i.green=_s(n.green,r.green,o),i.blue=_s(n.blue,r.blue,o),i.alpha=G(n.alpha,r.alpha,o),un.transform(i))};function R1(e){var t,n;return isNaN(e)&&ui(e)&&(((t=e.match(bo))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(yp))===null||n===void 0?void 0:n.length)||0)>0}const Kp={regex:vv,countKey:"Vars",token:"${v}",parse:Z},Gp={regex:yp,countKey:"Colors",token:"${c}",parse:ge.parse},Qp={regex:bo,countKey:"Numbers",token:"${n}",parse:Sn.parse};function Os(e,{regex:t,countKey:n,token:r,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function To(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Os(n,Kp),Os(n,Gp),Os(n,Qp),n}function Yp(e){return To(e).values}function Xp(e){const{values:t,numColors:n,numVars:r,tokenised:i}=To(e),o=t.length;return s=>{let l=i;for(let a=0;atypeof e=="number"?0:e;function M1(e){const t=Yp(e);return Xp(e)(t.map(V1))}const Gt={test:R1,parse:Yp,createTransformer:Xp,getAnimatableNone:M1},Zp=(e,t)=>n=>`${n>0?t:e}`;function Jp(e,t){return typeof e=="number"?n=>G(e,t,n):ge.test(e)?Hp(e,t):e.startsWith("var(")?Zp(e,t):bp(e,t)}const qp=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,s)=>Jp(o,t[s]));return o=>{for(let s=0;s{const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Jp(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}},bp=(e,t)=>{const n=Gt.createTransformer(t),r=To(e),i=To(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Ut(qp(r.values,i.values),n):Zp(e,t)},ti=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Wc=(e,t)=>n=>G(e,t,n);function A1(e){return typeof e=="number"?Wc:typeof e=="string"?ge.test(e)?Hp:bp:Array.isArray(e)?qp:typeof e=="object"?D1:Wc}function N1(e,t,n){const r=[],i=n||A1(e[0]),o=e.length-1;for(let s=0;st[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=N1(t,r,i),l=s.length,a=u=>{let c=0;if(l>1)for(;ca(Kt(e[0],e[o-1],u)):a}function j1(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=ti(0,t,r);e.push(G(n,1,i))}}function _1(e){const t=[0];return j1(t,e.length-1),t}function O1(e,t){return e.map(n=>n*t)}function F1(e,t){return e.map(()=>t||Ip).splice(0,e.length-1)}function Eo({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=v1(r)?r.map(Uc):Uc(r),o={done:!1,value:t[0]},s=O1(n&&n.length===t.length?n:_1(t),e),l=em(s,t,{ease:Array.isArray(i)?i:F1(t,i)});return{calculatedDuration:e,next:a=>(o.value=l(a),o.done=a>=e,o)}}function tm(e,t){return t?e*(1e3/t):0}const I1=5;function nm(e,t,n){const r=Math.max(t-I1,0);return tm(n-e(r),t-r)}const Fs=.001,B1=.01,Hc=10,z1=.05,U1=1;function $1({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;u1(e<=$t(Hc));let s=1-t;s=Kt(z1,U1,s),e=Kt(B1,Hc,pt(e)),s<1?(i=u=>{const c=u*s,f=c*e,d=c-n,m=Ul(u,s),y=Math.exp(-f);return Fs-d/m*y},o=u=>{const f=u*s*e,d=f*n+n,m=Math.pow(s,2)*Math.pow(u,2)*e,y=Math.exp(-f),v=Ul(Math.pow(u,2),s);return(-i(u)+Fs>0?-1:1)*((d-m)*y)/v}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-Fs+c*f},o=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const l=5/e,a=H1(i,o,l);if(e=$t(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(a,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const W1=12;function H1(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function Q1(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Kc(e,G1)&&Kc(e,K1)){const n=$1(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function rm({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:l,damping:a,mass:u,velocity:c,duration:f,isResolvedFromDuration:d}=Q1(r),m=c?-pt(c):0,y=a/(2*Math.sqrt(l*u)),v=o-i,C=pt(Math.sqrt(l/u)),g=Math.abs(v)<5;n||(n=g?.01:2),t||(t=g?.005:.5);let h;if(y<1){const p=Ul(C,y);h=x=>{const w=Math.exp(-y*C*x);return o-w*((m+y*C*v)/p*Math.sin(p*x)+v*Math.cos(p*x))}}else if(y===1)h=p=>o-Math.exp(-C*p)*(v+(m+C*v)*p);else{const p=C*Math.sqrt(y*y-1);h=x=>{const w=Math.exp(-y*C*x),E=Math.min(p*x,300);return o-w*((m+y*C*v)*Math.sinh(E)+p*v*Math.cosh(E))/p}}return{calculatedDuration:d&&f||null,next:p=>{const x=h(p);if(d)s.done=p>=f;else{let w=m;p!==0&&(y<1?w=nm(h,p,x):w=0);const E=Math.abs(w)<=n,T=Math.abs(o-x)<=t;s.done=E&&T}return s.value=s.done?o:x,s}}}function Gc({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:l,max:a,restDelta:u=.5,restSpeed:c}){const f=e[0],d={done:!1,value:f},m=k=>l!==void 0&&ka,y=k=>l===void 0?a:a===void 0||Math.abs(l-k)-v*Math.exp(-k/r),p=k=>g+h(k),x=k=>{const N=h(k),D=p(k);d.done=Math.abs(N)<=u,d.value=d.done?g:D};let w,E;const T=k=>{m(d.value)&&(w=k,E=rm({keyframes:[d.value,y(d.value)],velocity:nm(p,k,d.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:k=>{let N=!1;return!E&&w===void 0&&(N=!0,x(k),T(k)),w!==void 0&&k>w?E.next(k-w):(!N&&x(k),d)}}}const Y1=e=>{const t=({timestamp:n})=>e(n);return{start:()=>$.update(t,!0),stop:()=>xt(t),now:()=>se.isProcessing?se.timestamp:performance.now()}},Qc=2e4;function Yc(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Qc?1/0:t}const X1={decay:Gc,inertia:Gc,tween:Eo,keyframes:Eo,spring:rm};function Lo({autoplay:e=!0,delay:t=0,driver:n=Y1,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:l="loop",onPlay:a,onStop:u,onComplete:c,onUpdate:f,...d}){let m=1,y=!1,v,C;const g=()=>{C=new Promise(A=>{v=A})};g();let h;const p=X1[i]||Eo;let x;p!==Eo&&typeof r[0]!="number"&&(x=em([0,100],r,{clamp:!1}),r=[0,100]);const w=p({...d,keyframes:r});let E;l==="mirror"&&(E=p({...d,keyframes:[...r].reverse(),velocity:-(d.velocity||0)}));let T="idle",k=null,N=null,D=null;w.calculatedDuration===null&&o&&(w.calculatedDuration=Yc(w));const{calculatedDuration:J}=w;let Se=1/0,Ce=1/0;J!==null&&(Se=J+s,Ce=Se*(o+1)-s);let q=0;const b=A=>{if(N===null)return;m>0&&(N=Math.min(N,A)),m<0&&(N=Math.min(A-Ce/m,N)),k!==null?q=k:q=Math.round(A-N)*m;const W=q-t*(m>=0?1:-1),Jt=m>=0?W<0:W>Ce;q=Math.max(W,0),T==="finished"&&k===null&&(q=Ce);let be=q,Cn=w;if(o){const ns=q/Se;let di=Math.floor(ns),bt=ns%1;!bt&&ns>=1&&(bt=1),bt===1&&di--,di=Math.min(di,o+1);const pu=!!(di%2);pu&&(l==="reverse"?(bt=1-bt,s&&(bt-=s/Se)):l==="mirror"&&(Cn=E));let mu=Kt(0,1,bt);q>Ce&&(mu=l==="reverse"&&pu?1:0),be=mu*Se}const Ve=Jt?{done:!1,value:r[0]}:Cn.next(be);x&&(Ve.value=x(Ve.value));let{done:qt}=Ve;!Jt&&J!==null&&(qt=m>=0?q>=Ce:q<=0);const Vm=k===null&&(T==="finished"||T==="running"&&qt);return f&&f(Ve.value),Vm&&L(),Ve},Fe=()=>{h&&h.stop(),h=void 0},qe=()=>{T="idle",Fe(),v(),g(),N=D=null},L=()=>{T="finished",c&&c(),Fe(),v()},j=()=>{if(y)return;h||(h=n(b));const A=h.now();a&&a(),k!==null?N=A-k:(!N||T==="finished")&&(N=A),T==="finished"&&g(),D=N,k=null,T="running",h.start()};e&&j();const _={then(A,W){return C.then(A,W)},get time(){return pt(q)},set time(A){A=$t(A),q=A,k!==null||!h||m===0?k=A:N=h.now()-A/m},get duration(){const A=w.calculatedDuration===null?Yc(w):w.calculatedDuration;return pt(A)},get speed(){return m},set speed(A){A===m||!h||(m=A,_.time=pt(q))},get state(){return T},play:j,pause:()=>{T="paused",k=q},stop:()=>{y=!0,T!=="idle"&&(T="idle",u&&u(),qe())},cancel:()=>{D!==null&&b(D),qe()},complete:()=>{T="finished"},sample:A=>(N=0,b(A))};return _}function Z1(e){let t;return()=>(t===void 0&&(t=e()),t)}const J1=Z1(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),q1=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Ai=10,b1=2e4,ex=(e,t)=>t.type==="spring"||e==="backgroundColor"||!jp(t.ease);function tx(e,t,{onUpdate:n,onComplete:r,...i}){if(!(J1()&&q1.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let s=!1,l,a;const u=()=>{a=new Promise(h=>{l=h})};u();let{keyframes:c,duration:f=300,ease:d,times:m}=i;if(ex(t,i)){const h=Lo({...i,repeat:0,delay:0});let p={done:!1,value:c[0]};const x=[];let w=0;for(;!p.done&&wy.cancel(),C=()=>{$.update(v),l(),u()};return y.onfinish=()=>{e.set(d1(c,i)),r&&r(),C()},{then(h,p){return a.then(h,p)},attachTimeline(h){return y.timeline=h,y.onfinish=null,Z},get time(){return pt(y.currentTime||0)},set time(h){y.currentTime=$t(h)},get speed(){return y.playbackRate},set speed(h){y.playbackRate=h},get duration(){return pt(f)},play:()=>{s||(y.play(),xt(v))},pause:()=>y.pause(),stop:()=>{if(s=!0,y.playState==="idle")return;const{currentTime:h}=y;if(h){const p=Lo({...i,autoplay:!1});e.setWithVelocity(p.sample(h-Ai).value,p.sample(h).value,Ai)}C()},complete:()=>y.finish(),cancel:C}}function nx({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Z,pause:Z,stop:Z,then:o=>(o(),Promise.resolve()),cancel:Z,complete:Z});return t?Lo({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const rx={type:"spring",stiffness:500,damping:25,restSpeed:10},ix=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ox={type:"keyframes",duration:.8},sx={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},lx=(e,{keyframes:t})=>t.length>2?ox:wn.has(e)?e.startsWith("scale")?ix(t[1]):rx:sx,$l=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Gt.test(t)||t==="0")&&!t.startsWith("url(")),ax=new Set(["brightness","contrast","saturate","opacity"]);function ux(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(bo)||[];if(!r)return e;const i=n.replace(r,"");let o=ax.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const cx=/([a-z-]*)\(.*?\)/g,Wl={...Gt,getAnimatableNone:e=>{const t=e.match(cx);return t?t.map(ux).join(" "):e}},fx={...vp,color:ge,backgroundColor:ge,outlineColor:ge,fill:ge,stroke:ge,borderColor:ge,borderTopColor:ge,borderRightColor:ge,borderBottomColor:ge,borderLeftColor:ge,filter:Wl,WebkitFilter:Wl},uu=e=>fx[e];function im(e,t){let n=uu(e);return n!==Wl&&(n=Gt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const om=e=>/^0[^.\s]+$/.test(e);function dx(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||om(e)}function hx(e,t,n,r){const i=$l(t,n);let o;Array.isArray(n)?o=[...n]:o=[null,n];const s=r.from!==void 0?r.from:e.get();let l;const a=[];for(let u=0;ui=>{const o=sm(r,e)||{},s=o.delay||r.delay||0;let{elapsed:l=0}=r;l=l-$t(s);const a=hx(t,e,n,o),u=a[0],c=a[a.length-1],f=$l(e,u),d=$l(e,c);let m={keyframes:a,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-l,onUpdate:y=>{t.set(y),o.onUpdate&&o.onUpdate(y)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(px(o)||(m={...m,...lx(e,m)}),m.duration&&(m.duration=$t(m.duration)),m.repeatDelay&&(m.repeatDelay=$t(m.repeatDelay)),!f||!d||c1.current||o.type===!1)return nx(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const y=tx(t,e,m);if(y)return y}return Lo(m)};function Ro(e){return!!(Re(e)&&e.add)}const lm=e=>/^\-?\d*\.?\d+$/.test(e);function fu(e,t){e.indexOf(t)===-1&&e.push(t)}function du(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class hu{constructor(){this.subscriptions=[]}add(t){return fu(this.subscriptions,t),()=>du(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class gx{constructor(t,n={}){this.version="10.16.5",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:o,timestamp:s}=se;this.lastUpdated!==s&&(this.timeDelta=o,this.lastUpdated=s,$.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>$.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=mx(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new hu);const r=this.events[t].add(n);return t==="change"?()=>{r(),$.read(()=>{this.events.change.getSize()||this.stop()})}:r}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,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?tm(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}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 er(e,t){return new gx(e,t)}const am=e=>t=>t.test(e),yx={test:e=>e==="auto",parse:e=>e},um=[Sn,M,st,Ct,Cv,Sv,yx],mr=e=>um.find(am(e)),vx=[...um,ge,Gt],xx=e=>vx.find(am(e));function wx(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,er(n))}function Sx(e,t){const n=ts(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const s in o){const l=Fv(o[s]);wx(e,s,l)}}function Cx(e,t,n){var r,i;const o=Object.keys(t).filter(l=>!e.hasValue(l)),s=o.length;if(s)for(let l=0;la.remove(f))),u.push(v)}return s&&Promise.all(u).then(()=>{s&&Sx(e,s)}),u}function Hl(e,t,n={}){const r=ts(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(cm(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(a=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:f}=i;return Ex(e,t,u+a,c,f,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[a,u]=l==="beforeChildren"?[o,s]:[s,o];return a().then(()=>u())}else return Promise.all([o(),s(n.delay)])}function Ex(e,t,n=0,r=0,i=1,o){const s=[],l=(e.variantChildren.size-1)*r,a=i===1?(u=0)=>u*r:(u=0)=>l-u*r;return Array.from(e.variantChildren).sort(Lx).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(Hl(u,t,{...o,delay:n+a(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function Lx(e,t){return e.sortNodePosition(t)}function Rx(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>Hl(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Hl(e,t,n);else{const i=typeof t=="function"?ts(e,t,n.custom):t;r=Promise.all(cm(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}const Vx=[...Xa].reverse(),Mx=Xa.length;function Dx(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Rx(e,n,r)))}function Ax(e){let t=Dx(e);const n=jx();let r=!0;const i=(a,u)=>{const c=ts(e,u);if(c){const{transition:f,transitionEnd:d,...m}=c;a={...a,...m,...d}}return a};function o(a){t=a(e)}function s(a,u){const c=e.getProps(),f=e.getVariantContext(!0)||{},d=[],m=new Set;let y={},v=1/0;for(let g=0;gv&&w;const D=Array.isArray(x)?x:[x];let J=D.reduce(i,{});E===!1&&(J={});const{prevResolvedValues:Se={}}=p,Ce={...Se,...J},q=b=>{N=!0,m.delete(b),p.needsAnimating[b]=!0};for(const b in Ce){const Fe=J[b],qe=Se[b];y.hasOwnProperty(b)||(Fe!==qe?ko(Fe)&&ko(qe)?!Ap(Fe,qe)||k?q(b):p.protectedKeys[b]=!0:Fe!==void 0?q(b):m.add(b):Fe!==void 0&&m.has(b)?q(b):p.protectedKeys[b]=!0)}p.prevProp=x,p.prevResolvedValues=J,p.isActive&&(y={...y,...J}),r&&e.blockInitialAnimation&&(N=!1),N&&!T&&d.push(...D.map(b=>({animation:b,options:{type:h,...a}})))}if(m.size){const g={};m.forEach(h=>{const p=e.getBaseTarget(h);p!==void 0&&(g[h]=p)}),d.push({animation:g})}let C=!!d.length;return r&&c.initial===!1&&!e.manuallyAnimateOnMount&&(C=!1),r=!1,C?t(d):Promise.resolve()}function l(a,u,c){var f;if(n[a].isActive===u)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(m=>{var y;return(y=m.animationState)===null||y===void 0?void 0:y.setActive(a,u)}),n[a].isActive=u;const d=s(c,a);for(const m in n)n[m].protectedKeys={};return d}return{animateChanges:s,setActive:l,setAnimateFunction:o,getState:()=>n}}function Nx(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Ap(t,e):!1}function en(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function jx(){return{animate:en(!0),whileInView:en(),whileHover:en(),whileTap:en(),whileDrag:en(),whileFocus:en(),exit:en()}}class _x extends Zt{constructor(t){super(t),t.animationState||(t.animationState=Ax(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Jo(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let Ox=0;class Fx extends Zt{constructor(){super(...arguments),this.id=Ox++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const o=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const Ix={animation:{Feature:_x},exit:{Feature:Fx}},Xc=(e,t)=>Math.abs(e-t);function Bx(e,t){const n=Xc(e.x,t.x),r=Xc(e.y,t.y);return Math.sqrt(n**2+r**2)}class fm{constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=Bs(this.lastMoveEventInfo,this.history),c=this.startEvent!==null,f=Bx(u.offset,{x:0,y:0})>=3;if(!c&&!f)return;const{point:d}=u,{timestamp:m}=se;this.history.push({...d,timestamp:m});const{onStart:y,onMove:v}=this.handlers;c||(y&&y(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,u)},this.handlePointerMove=(u,c)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=Is(c,this.transformPagePoint),$.update(this.updatePoint,!0)},this.handlePointerUp=(u,c)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:f,onSessionEnd:d}=this.handlers,m=Bs(u.type==="pointercancel"?this.lastMoveEventInfo:Is(c,this.transformPagePoint),this.history);this.startEvent&&f&&f(u,m),d&&d(u,m)},!Lp(t))return;this.handlers=n,this.transformPagePoint=r;const i=es(t),o=Is(i,this.transformPagePoint),{point:s}=o,{timestamp:l}=se;this.history=[{...s,timestamp:l}];const{onSessionStart:a}=n;a&&a(t,Bs(o,this.history)),this.removeListeners=Ut(ht(window,"pointermove",this.handlePointerMove),ht(window,"pointerup",this.handlePointerUp),ht(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),xt(this.updatePoint)}}function Is(e,t){return t?{point:t(e.point)}:e}function Zc(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Bs({point:e},t){return{point:e,delta:Zc(e,dm(t)),offset:Zc(e,zx(t)),velocity:Ux(t,.1)}}function zx(e){return e[0]}function dm(e){return e[e.length-1]}function Ux(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=dm(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>$t(t)));)n--;if(!r)return{x:0,y:0};const o=pt(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function je(e){return e.max-e.min}function Kl(e,t=0,n=.01){return Math.abs(e-t)<=n}function Jc(e,t,n,r=.5){e.origin=r,e.originPoint=G(t.min,t.max,e.origin),e.scale=je(n)/je(t),(Kl(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=G(n.min,n.max,e.origin)-e.originPoint,(Kl(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Nr(e,t,n,r){Jc(e.x,t.x,n.x,r?r.originX:void 0),Jc(e.y,t.y,n.y,r?r.originY:void 0)}function qc(e,t,n){e.min=n.min+t.min,e.max=e.min+je(t)}function $x(e,t,n){qc(e.x,t.x,n.x),qc(e.y,t.y,n.y)}function bc(e,t,n){e.min=t.min-n.min,e.max=e.min+je(t)}function jr(e,t,n){bc(e.x,t.x,n.x),bc(e.y,t.y,n.y)}function Wx(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?G(n,e,r.max):Math.min(e,n)),e}function ef(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 Hx(e,{top:t,left:n,bottom:r,right:i}){return{x:ef(e.x,n,i),y:ef(e.y,t,r)}}function tf(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=ti(t.min,t.max-r,e.min):r>i&&(n=ti(e.min,e.max-i,t.min)),Kt(0,1,n)}function Qx(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 Gl=.35;function Yx(e=Gl){return e===!1?e=0:e===!0&&(e=Gl),{x:nf(e,"left","right"),y:nf(e,"top","bottom")}}function nf(e,t,n){return{min:rf(e,t),max:rf(e,n)}}function rf(e,t){return typeof e=="number"?e:e[t]||0}const of=()=>({translate:0,scale:1,origin:0,originPoint:0}),Bn=()=>({x:of(),y:of()}),sf=()=>({min:0,max:0}),te=()=>({x:sf(),y:sf()});function nt(e){return[e("x"),e("y")]}function hm({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Xx({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Zx(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function zs(e){return e===void 0||e===1}function Ql({scale:e,scaleX:t,scaleY:n}){return!zs(e)||!zs(t)||!zs(n)}function rn(e){return Ql(e)||pm(e)||e.z||e.rotate||e.rotateX||e.rotateY}function pm(e){return lf(e.x)||lf(e.y)}function lf(e){return e&&e!=="0%"}function Vo(e,t,n){const r=e-n,i=t*r;return n+i}function af(e,t,n,r,i){return i!==void 0&&(e=Vo(e,i,r)),Vo(e,n,r)+t}function Yl(e,t=0,n=1,r,i){e.min=af(e.min,t,n,r,i),e.max=af(e.max,t,n,r,i)}function mm(e,{x:t,y:n}){Yl(e.x,t.translate,t.scale,t.originPoint),Yl(e.y,n.translate,n.scale,n.originPoint)}function Jx(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let l=0;l1.0000000000001||e<.999999999999?e:1}function Et(e,t){e.min=e.min+t,e.max=e.max+t}function cf(e,t,[n,r,i]){const o=t[i]!==void 0?t[i]:.5,s=G(e.min,e.max,o);Yl(e,t[n],t[r],s,t.scale)}const qx=["x","scaleX","originX"],bx=["y","scaleY","originY"];function zn(e,t){cf(e.x,t,qx),cf(e.y,t,bx)}function gm(e,t){return hm(Zx(e.getBoundingClientRect(),t))}function ew(e,t,n){const r=gm(e,n),{scroll:i}=t;return i&&(Et(r.x,i.offset.x),Et(r.y,i.offset.y)),r}const tw=new WeakMap;class nw{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:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=a=>{this.stopAnimation(),n&&this.snapToCursor(es(a,"page").point)},o=(a,u)=>{const{drag:c,dragPropagation:f,onDragStart:d}=this.getProps();if(c&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Vp(c),!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),nt(y=>{let v=this.getAxisMotionValue(y).get()||0;if(st.test(v)){const{projection:C}=this.visualElement;if(C&&C.layout){const g=C.layout.layoutBox[y];g&&(v=je(g)*(parseFloat(v)/100))}}this.originPoint[y]=v}),d&&$.update(()=>d(a,u),!1,!0);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},s=(a,u)=>{const{dragPropagation:c,dragDirectionLock:f,onDirectionLock:d,onDrag:m}=this.getProps();if(!c&&!this.openGlobalLock)return;const{offset:y}=u;if(f&&this.currentDirection===null){this.currentDirection=rw(y),this.currentDirection!==null&&d&&d(this.currentDirection);return}this.updateAxis("x",u.point,y),this.updateAxis("y",u.point,y),this.visualElement.render(),m&&m(a,u)},l=(a,u)=>this.stop(a,u);this.panSession=new fm(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:l},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&$.update(()=>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:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Ni(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=Wx(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;t&&Fn(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=Hx(r.layoutBox,t):this.constraints=!1,this.elastic=Yx(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&nt(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=Qx(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Fn(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=ew(r,i.root,this.visualElement.getTransformPagePoint());let s=Kx(i.layout.layoutBox,o);if(n){const l=n(Xx(s));this.hasMutatedConstraints=!!l,l&&(s=hm(l))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:l}=this.getProps(),a=this.constraints||{},u=nt(c=>{if(!Ni(c,n,this.currentDirection))return;let f=a&&a[c]||{};s&&(f={min:0,max:0});const d=i?200:1e6,m=i?40:1e7,y={type:"inertia",velocity:r?t[c]:0,bounceStiffness:d,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(c,y)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(cu(t,r,0,n))}stopAnimation(){nt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){nt(n=>{const{drag:r}=this.getProps();if(!Ni(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:l}=i.layout.layoutBox[n];o.set(t[n]-G(s,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Fn(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};nt(s=>{const l=this.getAxisMotionValue(s);if(l){const a=l.get();i[s]=Gx({min:a,max:a},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),nt(s=>{if(!Ni(s,t,null))return;const l=this.getAxisMotionValue(s),{min:a,max:u}=this.constraints[s];l.set(G(a,u,i[s]))})}addListeners(){if(!this.visualElement.current)return;tw.set(this.visualElement,this);const t=this.visualElement.current,n=ht(t,"pointerdown",a=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(a)}),r=()=>{const{dragConstraints:a}=this.getProps();Fn(a)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const s=ft(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:a,hasLayoutChanged:u})=>{this.isDragging&&u&&(nt(c=>{const f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=a[c].translate,f.set(f.get()+a[c].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=Gl,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:l}}}function Ni(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function rw(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class iw extends Zt{constructor(t){super(t),this.removeGroupControls=Z,this.removeListeners=Z,this.controls=new nw(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Z}unmount(){this.removeGroupControls(),this.removeListeners()}}const ff=e=>(t,n)=>{e&&$.update(()=>e(t,n))};class ow extends Zt{constructor(){super(...arguments),this.removePointerDownListener=Z}onPointerDown(t){this.session=new fm(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:ff(t),onStart:ff(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&$.update(()=>i(o,s))}}}mount(){this.removePointerDownListener=ht(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function sw(){const e=S.useContext(Ya);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=S.useId();return S.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Qi={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function df(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const gr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(M.test(e))e=parseFloat(e);else return e;const n=df(e,t.target.x),r=df(e,t.target.y);return`${n}% ${r}%`}},lw={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Gt.parse(e);if(i.length>5)return r;const o=Gt.createTransformer(e),s=typeof i[0]!="number"?1:0,l=n.x.scale*t.x,a=n.y.scale*t.y;i[0+s]/=l,i[1+s]/=a;const u=G(l,a,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}};class aw extends Do.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;pv(uw),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Qi.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,s=r.projection;return s&&(s.isPresent=o,i||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||$.postRender(()=>{const l=s.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ym(e){const[t,n]=sw(),r=S.useContext(dp);return Do.createElement(aw,{...e,layoutGroup:r,switchLayoutGroup:S.useContext(hp),isPresent:t,safeToRemove:n})}const uw={borderRadius:{...gr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:gr,borderTopRightRadius:gr,borderBottomLeftRadius:gr,borderBottomRightRadius:gr,boxShadow:lw},vm=["TopLeft","TopRight","BottomLeft","BottomRight"],cw=vm.length,hf=e=>typeof e=="string"?parseFloat(e):e,pf=e=>typeof e=="number"||M.test(e);function fw(e,t,n,r,i,o){i?(e.opacity=G(0,n.opacity!==void 0?n.opacity:1,dw(r)),e.opacityExit=G(t.opacity!==void 0?t.opacity:1,0,hw(r))):o&&(e.opacity=G(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(ti(e,t,r))}function gf(e,t){e.min=t.min,e.max=t.max}function Ie(e,t){gf(e.x,t.x),gf(e.y,t.y)}function yf(e,t,n,r,i){return e-=t,e=Vo(e,1/n,r),i!==void 0&&(e=Vo(e,1/i,r)),e}function pw(e,t=0,n=1,r=.5,i,o=e,s=e){if(st.test(t)&&(t=parseFloat(t),t=G(s.min,s.max,t/100)-s.min),typeof t!="number")return;let l=G(o.min,o.max,r);e===o&&(l-=t),e.min=yf(e.min,t,n,l,i),e.max=yf(e.max,t,n,l,i)}function vf(e,t,[n,r,i],o,s){pw(e,t[n],t[r],t[i],t.scale,o,s)}const mw=["x","scaleX","originX"],gw=["y","scaleY","originY"];function xf(e,t,n,r){vf(e.x,t,mw,n?n.x:void 0,r?r.x:void 0),vf(e.y,t,gw,n?n.y:void 0,r?r.y:void 0)}function wf(e){return e.translate===0&&e.scale===1}function wm(e){return wf(e.x)&&wf(e.y)}function yw(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Sm(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Sf(e){return je(e.x)/je(e.y)}class vw{constructor(){this.members=[]}add(t){fu(this.members,t),t.scheduleRender()}remove(t){if(du(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(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Cf(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:a,rotateX:u,rotateY:c}=n;a&&(r+=`rotate(${a}deg) `),u&&(r+=`rotateX(${u}deg) `),c&&(r+=`rotateY(${c}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return(s!==1||l!==1)&&(r+=`scale(${s}, ${l})`),r||"none"}const xw=(e,t)=>e.depth-t.depth;class ww{constructor(){this.children=[],this.isDirty=!1}add(t){fu(this.children,t),this.isDirty=!0}remove(t){du(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(xw),this.isDirty=!1,this.children.forEach(t)}}function Sw(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(xt(r),e(o-t))};return $.read(r,!0),()=>xt(r)}function Cw(e){window.MotionDebug&&window.MotionDebug.record(e)}function Pw(e){return e instanceof SVGElement&&e.tagName!=="svg"}function kw(e,t,n){const r=Re(e)?e:er(e);return r.start(cu("",r,t,n)),r.animation}const Pf=["","X","Y","Z"],kf=1e3;let Tw=0;const on={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Cm({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},l=t==null?void 0:t()){this.id=Tw++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{on.totalNodes=on.resolvedTargetDeltas=on.recalculatedProjection=0,this.nodes.forEach(Rw),this.nodes.forEach(Nw),this.nodes.forEach(jw),this.nodes.forEach(Vw),Cw(on)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let a=0;athis.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=Sw(d,250),Qi.hasAnimatedSinceResize&&(Qi.hasAnimatedSinceResize=!1,this.nodes.forEach(Ef))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:m,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||Bw,{onLayoutAnimationStart:C,onLayoutAnimationComplete:g}=c.getProps(),h=!this.targetLayout||!Sm(this.targetLayout,y)||m,p=!d&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||p||d&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,p);const x={...sm(v,"layout"),onPlay:C,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else d||Ef(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,xt(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(_w),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(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(Mw),this.sharedNodes.forEach(Ow)}scheduleUpdateProjection(){$.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){$.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a{const w=x/1e3;Lf(f.x,s.x,w),Lf(f.y,s.y,w),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(jr(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Fw(this.relativeTarget,this.relativeTargetOrigin,d,w),p&&yw(this.relativeTarget,p)&&(this.isProjectionDirty=!1),p||(p=te()),Ie(p,this.relativeTarget)),v&&(this.animationValues=c,fw(c,u,this.latestValues,w,h,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},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&&(xt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=$.update(()=>{Qi.hasAnimatedSinceResize=!0,this.currentAnimation=kw(0,kf,{...s,onUpdate:l=>{this.mixTargetDelta(l),s.onUpdate&&s.onUpdate(l)},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(kf),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:l,target:a,layout:u,latestValues:c}=s;if(!(!l||!a||!u)){if(this!==s&&this.layout&&u&&Pm(this.options.animationType,this.layout.layoutBox,u.layoutBox)){a=this.target||te();const f=je(this.layout.layoutBox.x);a.x.min=s.target.x.min,a.x.max=a.x.min+f;const d=je(this.layout.layoutBox.y);a.y.min=s.target.y.min,a.y.max=a.y.min+d}Ie(l,a),zn(l,c),Nr(this.projectionDeltaWithTransform,this.layoutCorrected,l,c)}}registerSharedNode(s,l){this.sharedNodes.has(s)||this.sharedNodes.set(s,new vw),this.sharedNodes.get(s).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:l}=this.options;return l?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:l}=this.options;return l?(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:l,preserveFollowOpacity:a}={}){const u=this.getStack();u&&u.promote(this,a),s&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetRotation(){const{visualElement:s}=this.options;if(!s)return;let l=!1;const{latestValues:a}=s;if((a.rotate||a.rotateX||a.rotateY||a.rotateZ)&&(l=!0),!l)return;const u={};for(let c=0;c{var l;return(l=s.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(Tf),this.root.sharedNodes.clear()}}}function Ew(e){e.updateLayout()}function Lw(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:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?nt(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],m=je(d);d.min=r[f].min,d.max=d.min+m}):Pm(o,n.layoutBox,r)&&nt(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],m=je(r[f]);d.max=d.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+m)});const l=Bn();Nr(l,r,n.layoutBox);const a=Bn();s?Nr(a,e.applyTransform(i,!0),n.measuredBox):Nr(a,r,n.layoutBox);const u=!wm(l);let c=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:m}=f;if(d&&m){const y=te();jr(y,n.layoutBox,d.layoutBox);const v=te();jr(v,r,m.layoutBox),Sm(y,v)||(c=!0),f.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=y,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:a,layoutDelta:l,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function Rw(e){on.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 Vw(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Mw(e){e.clearSnapshot()}function Tf(e){e.clearMeasurements()}function Dw(e){e.isLayoutDirty=!1}function Aw(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ef(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Nw(e){e.resolveTargetDelta()}function jw(e){e.calcProjection()}function _w(e){e.resetRotation()}function Ow(e){e.removeLeadSnapshot()}function Lf(e,t,n){e.translate=G(t.translate,0,n),e.scale=G(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Rf(e,t,n,r){e.min=G(t.min,n.min,r),e.max=G(t.max,n.max,r)}function Fw(e,t,n,r){Rf(e.x,t.x,n.x,r),Rf(e.y,t.y,n.y,r)}function Iw(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Bw={duration:.45,ease:[.4,0,.1,1]},Vf=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Mf=Vf("applewebkit/")&&!Vf("chrome/")?Math.round:Z;function Df(e){e.min=Mf(e.min),e.max=Mf(e.max)}function zw(e){Df(e.x),Df(e.y)}function Pm(e,t,n){return e==="position"||e==="preserve-aspect"&&!Kl(Sf(t),Sf(n),.2)}const Uw=Cm({attachResizeListener:(e,t)=>ft(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Us={current:void 0},km=Cm({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Us.current){const e=new Uw({});e.mount(window),e.setOptions({layoutScroll:!0}),Us.current=e}return Us.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),$w={pan:{Feature:ow},drag:{Feature:iw,ProjectionNode:km,MeasureLayout:ym}},Ww=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Hw(e){const t=Ww.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function Xl(e,t,n=1){const[r,i]=Hw(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return lm(s)?parseFloat(s):s}else return Il(i)?Xl(i,t,n+1):i}function Kw(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const o=i.get();if(!Il(o))return;const s=Xl(o,r);s&&i.set(s)});for(const i in t){const o=t[i];if(!Il(o))continue;const s=Xl(o,r);s&&(t[i]=s,n||(n={}),n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}const Gw=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Tm=e=>Gw.has(e),Qw=e=>Object.keys(e).some(Tm),Af=e=>e===Sn||e===M,Nf=(e,t)=>parseFloat(e.split(", ")[t]),jf=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Nf(i[1],t);{const o=r.match(/^matrix\((.+)\)$/);return o?Nf(o[1],e):0}},Yw=new Set(["x","y","z"]),Xw=ai.filter(e=>!Yw.has(e));function Zw(e){const t=[];return Xw.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const tr={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:jf(4,13),y:jf(5,14)};tr.translateX=tr.x;tr.translateY=tr.y;const Jw=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:s}=o,l={};s==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{l[u]=tr[u](r,o)}),t.render();const a=t.measureViewportBox();return n.forEach(u=>{const c=t.getValue(u);c&&c.jump(l[u]),e[u]=tr[u](a,o)}),e},qw=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(Tm);let o=[],s=!1;const l=[];if(i.forEach(a=>{const u=e.getValue(a);if(!e.hasValue(a))return;let c=n[a],f=mr(c);const d=t[a];let m;if(ko(d)){const y=d.length,v=d[0]===null?1:0;c=d[v],f=mr(c);for(let C=v;C=0?window.pageYOffset:null,u=Jw(t,e,l);return o.length&&o.forEach(([c,f])=>{e.getValue(c).set(f)}),e.render(),Zo&&a!==null&&window.scrollTo({top:a}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function bw(e,t,n,r){return Qw(t)?qw(e,t,n,r):{target:t,transitionEnd:r}}const eS=(e,t,n,r)=>{const i=Kw(e,t,r);return t=i.target,r=i.transitionEnd,bw(e,t,n,r)},Zl={current:null},Em={current:!1};function tS(){if(Em.current=!0,!!Zo)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Zl.current=e.matches;e.addListener(t),t()}else Zl.current=!1}function nS(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],s=n[i];if(Re(o))e.addValue(i,o),Ro(r)&&r.add(i);else if(Re(s))e.addValue(i,er(o,{owner:e})),Ro(r)&&r.remove(i);else if(s!==o)if(e.hasValue(i)){const l=e.getValue(i);!l.hasAnimated&&l.set(o)}else{const l=e.getStaticValue(i);e.addValue(i,er(l!==void 0?l:o,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const _f=new WeakMap,Lm=Object.keys(ei),rS=Lm.length,Of=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],iS=Za.length;class oS{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>$.render(this.render,!1,!0);const{latestValues:l,renderState:a}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=a,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.isControllingVariants=qo(n),this.isVariantNode=fp(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(n,{});for(const f in c){const d=c[f];l[f]!==void 0&&Re(d)&&(d.set(l[f],!1),Ro(u)&&u.add(f))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,_f.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Em.current||tS(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Zl.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){_f.delete(this.current),this.projection&&this.projection.unmount(),xt(this.notifyUpdate),xt(this.render),this.valueSubscriptions.forEach(t=>t()),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)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=wn.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&$.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,o){let s,l;for(let a=0;athis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:o,layoutScroll:d,layoutRoot:m})}return l}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,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}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,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 r=0;rn.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(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 r=this.values.get(t);return r===void 0&&n!==void 0&&(r=er(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=iu(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Re(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new hu),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Rm extends oS{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:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},o){let s=kx(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),s&&(s=i(s))),o){Cx(this,r,s);const l=eS(this,r,s,n);n=l.transitionEnd,r=l.target}return{transition:t,transitionEnd:n,...r}}}function sS(e){return window.getComputedStyle(e)}class lS extends Rm{readValueFromInstance(t,n){if(wn.has(n)){const r=uu(n);return r&&r.default||0}else{const r=sS(t),i=(gp(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return gm(t,n)}build(t,n,r,i){qa(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n){return ru(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Re(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){Cp(t,n,r,i)}}class aS extends Rm{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(wn.has(n)){const r=uu(n);return r&&r.default||0}return n=Pp.has(n)?n:nu(n),t.getAttribute(n)}measureInstanceViewportBox(){return te()}scrapeMotionValuesFromProps(t,n){return Tp(t,n)}build(t,n,r,i){eu(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){kp(t,n,r,i)}mount(t){this.isSVGTag=tu(t.tagName),super.mount(t)}}const uS=(e,t)=>Ja(e)?new aS(t,{enableHardwareAcceleration:!1}):new lS(t,{enableHardwareAcceleration:!0}),cS={layout:{ProjectionNode:km,MeasureLayout:ym}},fS={...Ix,...i1,...$w,...cS},Pt=dv((e,t)=>Kv(e,t,fS,uS)),dS=()=>V.jsxs("div",{className:"flex flex-col justify-center items-center top-0 absolute text-[#9B8F84]",children:[V.jsxs("div",{className:"min-w-[80vw] flex flex-row justify-evenly items-center h-[10vh]",children:[V.jsxs("div",{className:"flex justify-evenly w-[20vw]",children:[V.jsx(kn,{to:"/",className:"hover:text-[#7B695A]",children:"home"}),V.jsx(kn,{to:"/blogs",className:"hover:text-[#7B695A]",children:"blogs"})]}),V.jsx("div",{className:"flex justify-evenly font-bold text-[40px]",children:V.jsxs(kn,{to:"/",className:"flex gap-5",children:[V.jsx("p",{children:"COFFEE "})," ",V.jsx("p",{children:"THOUGHTS"})]})}),V.jsxs("div",{className:"flex justify-evenly w-[20vw]",children:[V.jsx(kn,{to:"/about",className:"hover:text-[#7B695A]",children:"about"}),V.jsx(kn,{to:"/contact",className:"hover:text-[#7B695A]",children:"contact"})]})]}),V.jsx("div",{className:"w-[80vw] border-[#9B8F84] border-[1px]"})]}),hS={show:{y:-40,opacity:1},hidden:{opacity:0}},Ff={show:{opacity:1},move:{opacity:0,x:-500}},If={show:{opacity:1},move:{x:500,opacity:0}},pS=({setStatus:e})=>{const[t,n]=S.useState(!1),[r,i]=S.useState(!1),[o,s]=S.useState(!1),l=async()=>{i(!0),await new Promise(()=>{setTimeout(()=>{s(!0),e(!0)},1e3)})};return V.jsxs("div",{className:"overflow-hidden h-fit",children:[V.jsxs(Pt.div,{className:"flex-col flex items-center justify-center min-h-[100vh] h-fit",initial:"show",animate:r?"hidden":"show",variants:hS,transition:{duration:1},children:[V.jsx("img",{src:"landing/CoffeeText.png",alt:"Coffee Thoughts"}),V.jsxs(Pt.div,{className:"flex justify-center items-center hover:cursor-pointer",onClick:()=>l(),onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),initial:{y:-10},children:[V.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"154",height:"64",viewBox:"0 0 154 64",fill:"none",children:V.jsx("path",{d:"M106.899 58.8924L107.728 58.7318C126.313 55.1307 148.166 59.126 153.09 43.2882C156.559 32.1295 149.545 24.7297 141.625 15.4039C120.551 -9.41057 84.6754 1.18342 50.4025 9.827C28.8283 15.268 -1.47572 14.5479 0.0558387 33.8504C1.33429 49.9629 21.0342 52.6928 38.4389 58.7318C63.2715 67.348 80.9551 63.9207 106.899 58.8924Z",fill:t?"#547E88":"white"})}),V.jsx("p",{className:`absolute ${t?"text-white":"text-[#547E88]"} hover:cursor-pointer`,children:"enter site"})]}),V.jsx(Pt.img,{src:"landing/MitskiThots.png",alt:"Mitski in Coffee",initial:{x:30}})]}),V.jsx(Pt.div,{className:`hidden xl:left-20 top-[200px] lg:block absolute left-2 ${o?"hidden":"block"}`,variants:Ff,initial:"show",animate:r?"move":"show",transition:{duration:1},children:V.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"247",height:"105",viewBox:"0 0 247 105",fill:"none",children:V.jsx("path",{d:"M110.75 0.633141C94.6516 -1.96812 84.4204 3.6113 70.7292 14.3327C64.2488 19.4074 55.9847 31.6061 55.9847 31.6061C55.9847 31.6061 36.1492 26.4191 24.9162 31.6061C9.83679 38.5693 -1.52327 51.8577 0.166778 64.9616C2.16105 80.4244 11.2613 88.2018 24.9162 90.5739C34.6324 92.2617 49.1391 89.3826 49.1391 89.3826C49.1391 89.3826 64.7995 100.575 74.9418 102.487C87.5799 104.869 95.7252 105.258 110.223 104.869C123.748 104.506 141.292 92.3608 141.292 92.3608C141.292 92.3608 154.516 100.712 163.408 102.487C190.264 107.847 205.009 89.3826 205.009 89.3826C205.009 89.3826 227.453 86.8805 234.405 80.4545L234.631 80.2454C242.473 72.998 247 68.8144 247 57.2727C247 49.7727 240.703 41.5909 229.507 36.1364C219.707 31.3617 199.743 31.6061 199.743 31.6061C199.743 31.6061 192.897 17.8212 178.153 13.7371C160.249 8.7778 148.664 25.6498 148.664 25.6498C148.664 25.6498 132.866 4.20692 110.75 0.633141Z",fill:"#F6DEC9"})})}),V.jsx(Pt.div,{className:"hidden lg:block absolute xl:right-20 top-[400px] right-10",variants:If,initial:"show",animate:r?"move":"show",transition:{duration:1},children:V.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"247",height:"105",viewBox:"0 0 247 105",fill:"none",children:V.jsx("path",{d:"M110.75 0.633141C94.6516 -1.96812 84.4204 3.6113 70.7292 14.3327C64.2488 19.4074 55.9847 31.6061 55.9847 31.6061C55.9847 31.6061 36.1492 26.4191 24.9162 31.6061C9.83679 38.5693 -1.52327 51.8577 0.166778 64.9616C2.16105 80.4244 11.2613 88.2018 24.9162 90.5739C34.6324 92.2617 49.1391 89.3826 49.1391 89.3826C49.1391 89.3826 64.7995 100.575 74.9418 102.487C87.5799 104.869 95.7252 105.258 110.223 104.869C123.748 104.506 141.292 92.3608 141.292 92.3608C141.292 92.3608 154.516 100.712 163.408 102.487C190.264 107.847 205.009 89.3826 205.009 89.3826C205.009 89.3826 227.453 86.8805 234.405 80.4545L234.631 80.2454C242.473 72.998 247 68.8144 247 57.2727C247 49.7727 240.703 41.5909 229.507 36.1364C219.707 31.3617 199.743 31.6061 199.743 31.6061C199.743 31.6061 192.897 17.8212 178.153 13.7371C160.249 8.7778 148.664 25.6498 148.664 25.6498C148.664 25.6498 132.866 4.20692 110.75 0.633141Z",fill:"#F6DEC9"})})}),V.jsxs("div",{className:"overflow-hidden",children:[V.jsx(Pt.div,{className:`absolute bottom-0 right-0 ${o?"hidden":"block"}`,variants:If,initial:"show",animate:r?"move":"show",transition:{duration:1},children:V.jsx("img",{src:"landing/Cloud2.png",alt:"Clouds"})}),V.jsx(Pt.div,{className:"absolute bottom-0 left-0",variants:Ff,initial:"show",animate:r?"move":"show",transition:{duration:1},children:V.jsx("img",{src:"landing/Cloud1.png",alt:"Clouds"})})]})]})};function mS(e){const[t,n]=S.useState(0);return S.useEffect(()=>{e.index&&n(e.index),console.log(e)}),V.jsxs("div",{className:`flex w-[75vw] ${t%2==0?"flex-wrap":"flex-nowrap flex-row-reverse"} justify-between`,children:[V.jsx("div",{className:"w-[45%] bg-[#D9D9D9] h-[301px] flex justify-center items-center",children:V.jsx("img",{src:e.blog.image,alt:"Photo",className:"contain"})}),V.jsxs("div",{className:"w-[45%] h-full flex flex-col gap-5 text-left text-teal",children:[V.jsx("p",{className:"font-NovoMono text-[16px]",children:e.blog.date}),V.jsx("p",{className:"font-semibold text-[32px]",children:e.blog.title}),V.jsx("p",{className:"font-RedHat text-[20px]",children:e.blog.description}),V.jsx("div",{className:"w-fit border-b-[2px] border-teal hover:border-coffee hover:text-coffee",children:V.jsx(kn,{to:`/${e.blog.link}`,children:V.jsx("p",{className:"font-RedHat text-[20px]",children:"Read More"})})})]})]})}const gS=[{title:"TITLE",description:"These are words I am typing to fill up space so we get a better sense of how it can be visualized.",image:"asdf",date:"11.26.23",link:"/"},{title:"TITLE",description:"These are words I am typing to fill up space so we get a better sense of how it can be visualized.",image:"asdf",date:"11.26.23",link:"/"}],yS=()=>{const[e,t]=S.useState(!1);return e?V.jsxs(Pt.div,{className:"min-h-screen min-w-screen bg-white flex flex-col justify-center items-center gap-10 pb-5",initial:{opacity:0},animate:{opacity:1},transition:{duration:1},children:[V.jsx(dS,{}),V.jsx("div",{className:"h-[103px]"}),V.jsx("div",{className:"flex w-[75vw]",children:V.jsxs("div",{className:"flex justify-center items-center",children:[V.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"472",height:"85",viewBox:"0 0 472 85",fill:"none",children:V.jsx("path",{d:"M81.0095 76.9999C158.03 89.82 274.516 84.5303 355.533 76.9999C412.572 71.6982 459.033 82.4999 469.887 54.5065C475.872 39.0686 464.697 27.9999 433.121 18.6702C329.091 -12.0673 261.35 4.41235 145.797 4.41235C78.2325 4.41235 5.03258 4.41234 0.2242 40.6115C-2.94182 64.4464 27.5941 68.1088 81.0095 76.9999Z",fill:"#547E88"})}),V.jsxs("div",{className:"absolute flex gap-2",children:[V.jsx("p",{className:"font-semibold text-[28px] text-white",children:"RECENT"}),V.jsx("p",{className:"font-semibold text-[28px] text-white",children:"POSTS"})]})]})}),gS.map((n,r)=>V.jsx(mS,{blog:n,index:r}))]}):V.jsx(pS,{setStatus:t})};function vS(){return V.jsx(b0,{basename:"/Coffee-Thoughts/",children:V.jsx(Q0,{children:V.jsx(ap,{path:"/",element:V.jsx(yS,{})})})})}$s.createRoot(document.getElementById("root")).render(V.jsx(Do.StrictMode,{children:V.jsx(vS,{})})); + */function Il(){return Il=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function Zy(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Jy(e,t){return e.button===0&&(!t||t==="_self")&&!Zy(e)}const qy=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],by="startTransition",Mc=Ym[by];function ev(e){let{basename:t,children:n,future:r,window:i}=e,o=S.useRef();o.current==null&&(o.current=oy({window:i,v5Compat:!0}));let s=o.current,[l,a]=S.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=S.useCallback(f=>{u&&Mc?Mc(()=>a(f)):a(f)},[a,u]);return S.useLayoutEffect(()=>s.listen(c),[s,c]),S.createElement(Qy,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s})}const tv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",nv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,sn=S.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:s,state:l,target:a,to:u,preventScrollReset:c,unstable_viewTransition:f}=t,d=Xy(t,qy),{basename:m}=S.useContext(sr),y,v=!1;if(typeof u=="string"&&nv.test(u)&&(y=u,tv))try{let p=new URL(window.location.href),x=u.startsWith("//")?new URL(p.protocol+u):new URL(u),w=Qa(x.pathname,m);x.origin===p.origin&&w!=null?u=w+x.search+x.hash:v=!0}catch{}let C=Ny(u,{relative:i}),g=rv(u,{replace:s,state:l,target:a,preventScrollReset:c,relative:i,unstable_viewTransition:f});function h(p){r&&r(p),p.defaultPrevented||g(p)}return S.createElement("a",Il({},d,{href:y||C,onClick:v||o?r:h,ref:n,target:a}))});var Dc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Dc||(Dc={}));var Nc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Nc||(Nc={}));function rv(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:s,unstable_viewTransition:l}=t===void 0?{}:t,a=Ay(),u=Yo(),c=sp(e,{relative:s});return S.useCallback(f=>{if(Jy(f,n)){f.preventDefault();let d=r!==void 0?r:xo(u)===xo(c);a(e,{replace:d,state:i,preventScrollReset:o,relative:s,unstable_viewTransition:l})}},[u,a,c,r,i,n,e,o,s,l])}const cp=S.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Xo=S.createContext({}),Xa=S.createContext(null),Zo=typeof document<"u",iv=Zo?S.useLayoutEffect:S.useEffect,fp=S.createContext({strict:!1});function ov(e,t,n,r){const{visualElement:i}=S.useContext(Xo),o=S.useContext(fp),s=S.useContext(Xa),l=S.useContext(cp).reducedMotion,a=S.useRef();r=r||o.renderer,!a.current&&r&&(a.current=r(e,{visualState:t,parent:i,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:l}));const u=a.current;S.useInsertionEffect(()=>{u&&u.update(n,s)});const c=S.useRef(!!window.HandoffAppearAnimations);return iv(()=>{u&&(u.render(),c.current&&u.animationState&&u.animationState.animateChanges())}),S.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,c.current=!1)}),u}function Fn(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function sv(e,t,n){return S.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Fn(n)&&(n.current=r))},[t])}function br(e){return typeof e=="string"||Array.isArray(e)}function Jo(e){return typeof e=="object"&&typeof e.start=="function"}const Za=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ja=["initial",...Za];function qo(e){return Jo(e.animate)||Ja.some(t=>br(e[t]))}function dp(e){return!!(qo(e)||e.variants)}function lv(e,t){if(qo(e)){const{initial:n,animate:r}=e;return{initial:n===!1||br(n)?n:void 0,animate:br(r)?r:void 0}}return e.inherit!==!1?t:{}}function av(e){const{initial:t,animate:n}=lv(e,S.useContext(Xo));return S.useMemo(()=>({initial:t,animate:n}),[Ac(t),Ac(n)])}function Ac(e){return Array.isArray(e)?e.join(" "):e}const jc={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"]},ei={};for(const e in jc)ei[e]={isEnabled:t=>jc[e].some(n=>!!t[n])};function uv(e){for(const t in e)ei[t]={...ei[t],...e[t]}}const hp=S.createContext({}),pp=S.createContext({}),cv=Symbol.for("motionComponentSymbol");function fv({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&uv(e);function o(l,a){let u;const c={...S.useContext(cp),...l,layoutId:dv(l)},{isStatic:f}=c,d=av(l),m=r(l,f);if(!f&&Zo){d.visualElement=ov(i,m,c,t);const y=S.useContext(pp),v=S.useContext(fp).strict;d.visualElement&&(u=d.visualElement.loadFeatures(c,v,e,y))}return S.createElement(Xo.Provider,{value:d},u&&d.visualElement?S.createElement(u,{visualElement:d.visualElement,...c}):null,n(i,l,sv(m,d.visualElement,a),m,f,d.visualElement))}const s=S.forwardRef(o);return s[cv]=i,s}function dv({layoutId:e}){const t=S.useContext(hp).id;return t&&e!==void 0?t+"-"+e:e}function hv(e){function t(r,i={}){return fv(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const pv=["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 qa(e){return typeof e!="string"||e.includes("-")?!1:!!(pv.indexOf(e)>-1||/[A-Z]/.test(e))}const Co={};function mv(e){Object.assign(Co,e)}const ai=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Sn=new Set(ai);function mp(e,{layout:t,layoutId:n}){return Sn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Co[e]||e==="opacity")}const Re=e=>!!(e&&e.getVelocity),gv={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},yv=ai.length;function vv(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let s=0;st=>typeof t=="string"&&t.startsWith(e),yp=gp("--"),Bl=gp("var(--"),xv=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,wv=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Kt=(e,t,n)=>Math.min(Math.max(n,e),t),Cn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Dr={...Cn,transform:e=>Kt(0,1,e)},Mi={...Cn,default:1},Nr=e=>Math.round(e*1e5)/1e5,bo=/(-)?([\d]*\.?[\d])+/g,vp=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Sv=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ui(e){return typeof e=="string"}const ci=e=>({test:t=>ui(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Pt=ci("deg"),st=ci("%"),M=ci("px"),Cv=ci("vh"),Pv=ci("vw"),_c={...st,parse:e=>st.parse(e)/100,transform:e=>st.transform(e*100)},Oc={...Cn,transform:Math.round},xp={borderWidth:M,borderTopWidth:M,borderRightWidth:M,borderBottomWidth:M,borderLeftWidth:M,borderRadius:M,radius:M,borderTopLeftRadius:M,borderTopRightRadius:M,borderBottomRightRadius:M,borderBottomLeftRadius:M,width:M,maxWidth:M,height:M,maxHeight:M,size:M,top:M,right:M,bottom:M,left:M,padding:M,paddingTop:M,paddingRight:M,paddingBottom:M,paddingLeft:M,margin:M,marginTop:M,marginRight:M,marginBottom:M,marginLeft:M,rotate:Pt,rotateX:Pt,rotateY:Pt,rotateZ:Pt,scale:Mi,scaleX:Mi,scaleY:Mi,scaleZ:Mi,skew:Pt,skewX:Pt,skewY:Pt,distance:M,translateX:M,translateY:M,translateZ:M,x:M,y:M,z:M,perspective:M,transformPerspective:M,opacity:Dr,originX:_c,originY:_c,originZ:M,zIndex:Oc,fillOpacity:Dr,strokeOpacity:Dr,numOctaves:Oc};function ba(e,t,n,r){const{style:i,vars:o,transform:s,transformOrigin:l}=e;let a=!1,u=!1,c=!0;for(const f in t){const d=t[f];if(yp(f)){o[f]=d;continue}const m=xp[f],y=wv(d,m);if(Sn.has(f)){if(a=!0,s[f]=y,!c)continue;d!==(m.default||0)&&(c=!1)}else f.startsWith("origin")?(u=!0,l[f]=y):i[f]=y}if(t.transform||(a||r?i.transform=vv(e.transform,n,c,r):i.transform&&(i.transform="none")),u){const{originX:f="50%",originY:d="50%",originZ:m=0}=l;i.transformOrigin=`${f} ${d} ${m}`}}const eu=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function wp(e,t,n){for(const r in t)!Re(t[r])&&!mp(r,n)&&(e[r]=t[r])}function kv({transformTemplate:e},t,n){return S.useMemo(()=>{const r=eu();return ba(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function Tv(e,t,n){const r=e.style||{},i={};return wp(i,r,e),Object.assign(i,kv(e,t,n)),e.transformValues?e.transformValues(i):i}function Ev(e,t,n){const r={},i=Tv(e,t,n);return e.drag&&e.dragListener!==!1&&(r.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)&&(r.tabIndex=0),r.style=i,r}const Lv=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Po(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Lv.has(e)}let Sp=e=>!Po(e);function Rv(e){e&&(Sp=t=>t.startsWith("on")?!Po(t):e(t))}try{Rv(require("@emotion/is-prop-valid").default)}catch{}function Vv(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Sp(i)||n===!0&&Po(i)||!t&&!Po(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Fc(e,t,n){return typeof e=="string"?e:M.transform(t+n*e)}function Mv(e,t,n){const r=Fc(t,e.x,e.width),i=Fc(n,e.y,e.height);return`${r} ${i}`}const Dv={offset:"stroke-dashoffset",array:"stroke-dasharray"},Nv={offset:"strokeDashoffset",array:"strokeDasharray"};function Av(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?Dv:Nv;e[o.offset]=M.transform(-r);const s=M.transform(t),l=M.transform(n);e[o.array]=`${s} ${l}`}function tu(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:l=1,pathOffset:a=0,...u},c,f,d){if(ba(e,u,c,d),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:y,dimensions:v}=e;m.transform&&(v&&(y.transform=m.transform),delete m.transform),v&&(i!==void 0||o!==void 0||y.transform)&&(y.transformOrigin=Mv(v,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(m.x=t),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),s!==void 0&&Av(m,s,l,a,!1)}const Cp=()=>({...eu(),attrs:{}}),nu=e=>typeof e=="string"&&e.toLowerCase()==="svg";function jv(e,t,n,r){const i=S.useMemo(()=>{const o=Cp();return tu(o,t,{enableHardwareAcceleration:!1},nu(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};wp(o,e.style,e),i.style={...o,...i.style}}return i}function _v(e=!1){return(n,r,i,{latestValues:o},s)=>{const a=(qa(n)?jv:Ev)(r,o,s,n),c={...Vv(r,typeof n=="string",e),...a,ref:i},{children:f}=r,d=S.useMemo(()=>Re(f)?f.get():f,[f]);return S.createElement(n,{...c,children:d})}}const ru=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Pp(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const kp=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 Tp(e,t,n,r){Pp(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(kp.has(i)?i:ru(i),t.attrs[i])}function iu(e,t){const{style:n}=e,r={};for(const i in n)(Re(n[i])||t.style&&Re(t.style[i])||mp(i,e))&&(r[i]=n[i]);return r}function Ep(e,t){const n=iu(e,t);for(const r in e)if(Re(e[r])||Re(t[r])){const i=ai.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}function ou(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function Ov(e){const t=S.useRef(null);return t.current===null&&(t.current=e()),t.current}const ko=e=>Array.isArray(e),Fv=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Iv=e=>ko(e)?e[e.length-1]||0:e;function Gi(e){const t=Re(e)?e.get():e;return Fv(t)?t.toValue():t}function Bv({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:zv(r,i,o,e),renderState:t()};return n&&(s.mount=l=>n(r,l,s)),s}const Lp=e=>(t,n)=>{const r=S.useContext(Xo),i=S.useContext(Xa),o=()=>Bv(e,t,r,i);return n?o():Ov(o)};function zv(e,t,n,r){const i={},o=r(e,{});for(const d in o)i[d]=Gi(o[d]);let{initial:s,animate:l}=e;const a=qo(e),u=dp(e);t&&u&&!a&&e.inherit!==!1&&(s===void 0&&(s=t.initial),l===void 0&&(l=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const f=c?l:s;return f&&typeof f!="boolean"&&!Jo(f)&&(Array.isArray(f)?f:[f]).forEach(m=>{const y=ou(e,m);if(!y)return;const{transitionEnd:v,transition:C,...g}=y;for(const h in g){let p=g[h];if(Array.isArray(p)){const x=c?p.length-1:0;p=p[x]}p!==null&&(i[h]=p)}for(const h in v)i[h]=v[h]}),i}const Z=e=>e;class Ic{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function Uv(e){let t=new Ic,n=new Ic,r=0,i=!1,o=!1;const s=new WeakSet,l={schedule:(a,u=!1,c=!1)=>{const f=c&&i,d=f?t:n;return u&&s.add(a),d.add(a)&&f&&i&&(r=t.order.length),a},cancel:a=>{n.remove(a),s.delete(a)},process:a=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u(f[d]=Uv(()=>n=!0),f),{}),s=f=>o[f].process(i),l=()=>{const f=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(f-i.timestamp,$v),1),i.timestamp=f,i.isProcessing=!0,Di.forEach(s),i.isProcessing=!1,n&&t&&(r=!1,e(l))},a=()=>{n=!0,r=!0,i.isProcessing||e(l)};return{schedule:Di.reduce((f,d)=>{const m=o[d];return f[d]=(y,v=!1,C=!1)=>(n||a(),m.schedule(y,v,C)),f},{}),cancel:f=>Di.forEach(d=>o[d].cancel(f)),state:i,steps:o}}const{schedule:$,cancel:wt,state:se,steps:Ms}=Wv(typeof requestAnimationFrame<"u"?requestAnimationFrame:Z,!0),Hv={useVisualState:Lp({scrapeMotionValuesFromProps:Ep,createRenderState:Cp,onMount:(e,t,{renderState:n,latestValues:r})=>{$.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),$.render(()=>{tu(n,r,{enableHardwareAcceleration:!1},nu(t.tagName),e.transformTemplate),Tp(t,n)})}})},Kv={useVisualState:Lp({scrapeMotionValuesFromProps:iu,createRenderState:eu})};function Gv(e,{forwardMotionProps:t=!1},n,r){return{...qa(e)?Hv:Kv,preloadedFeatures:n,useRender:_v(t),createVisualElement:r,Component:e}}function dt(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Rp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function es(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const Qv=e=>t=>Rp(t)&&e(t,es(t));function pt(e,t,n,r){return dt(e,t,Qv(n),r)}const Yv=(e,t)=>n=>t(e(n)),Ut=(...e)=>e.reduce(Yv);function Vp(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Bc=Vp("dragHorizontal"),zc=Vp("dragVertical");function Mp(e){let t=!1;if(e==="y")t=zc();else if(e==="x")t=Bc();else{const n=Bc(),r=zc();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function Dp(){const e=Mp(!0);return e?(e(),!1):!0}class Zt{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Uc(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(o,s)=>{if(o.type==="touch"||Dp())return;const l=e.getProps();e.animationState&&l.whileHover&&e.animationState.setActive("whileHover",t),l[r]&&$.update(()=>l[r](o,s))};return pt(e.current,n,i,{passive:!e.getProps()[r]})}class Xv extends Zt{mount(){this.unmount=Ut(Uc(this.node,!0),Uc(this.node,!1))}unmount(){}}class Zv extends Zt{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=Ut(dt(this.node.current,"focus",()=>this.onFocus()),dt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Np=(e,t)=>t?e===t?!0:Np(e,t.parentElement):!1;function Ds(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,es(n))}class Jv extends Zt{constructor(){super(...arguments),this.removeStartListeners=Z,this.removeEndListeners=Z,this.removeAccessibleListeners=Z,this.startPointerPress=(t,n)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),o=pt(window,"pointerup",(l,a)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c}=this.node.getProps();$.update(()=>{Np(this.node.current,l.target)?u&&u(l,a):c&&c(l,a)})},{passive:!(r.onTap||r.onPointerUp)}),s=pt(window,"pointercancel",(l,a)=>this.cancelPress(l,a),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Ut(o,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const s=l=>{l.key!=="Enter"||!this.checkPressEnd()||Ds("up",(a,u)=>{const{onTap:c}=this.node.getProps();c&&$.update(()=>c(a,u))})};this.removeEndListeners(),this.removeEndListeners=dt(this.node.current,"keyup",s),Ds("down",(l,a)=>{this.startPress(l,a)})},n=dt(this.node.current,"keydown",t),r=()=>{this.isPressing&&Ds("cancel",(o,s)=>this.cancelPress(o,s))},i=dt(this.node.current,"blur",r);this.removeAccessibleListeners=Ut(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&$.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Dp()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&$.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=pt(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=dt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ut(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const zl=new WeakMap,Ns=new WeakMap,qv=e=>{const t=zl.get(e.target);t&&t(e)},bv=e=>{e.forEach(qv)};function e1({root:e,...t}){const n=e||document;Ns.has(n)||Ns.set(n,{});const r=Ns.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(bv,{root:e,...t})),r[i]}function t1(e,t,n){const r=e1(t);return zl.set(e,n),r.observe(e),()=>{zl.delete(e),r.unobserve(e)}}const n1={some:0,all:1};class r1 extends Zt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:n1[i]},l=a=>{const{isIntersecting:u}=a;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),d=u?c:f;d&&d(a)};return t1(this.node.current,s,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(i1(t,n))&&this.startObserver()}unmount(){}}function i1({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const o1={inView:{Feature:r1},tap:{Feature:Jv},focus:{Feature:Zv},hover:{Feature:Xv}};function Ap(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rt[r]=n.get()),t}function l1(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function ts(e,t,n){const r=e.getProps();return ou(r,t,n!==void 0?n:r.custom,s1(e),l1(e))}const a1="framerAppearId",u1="data-"+ru(a1);let c1=Z,su=Z;const $t=e=>e*1e3,mt=e=>e/1e3,f1={current:!1},jp=e=>Array.isArray(e)&&typeof e[0]=="number";function _p(e){return!!(!e||typeof e=="string"&&Op[e]||jp(e)||Array.isArray(e)&&e.every(_p))}const Sr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Op={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Sr([0,.65,.55,1]),circOut:Sr([.55,0,1,.45]),backIn:Sr([.31,.01,.66,-.59]),backOut:Sr([.33,1.53,.69,.99])};function Fp(e){if(e)return jp(e)?Sr(e):Array.isArray(e)?e.map(Fp):Op[e]}function d1(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:s="loop",ease:l,times:a}={}){const u={[t]:n};a&&(u.offset=a);const c=Fp(l);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}function h1(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const Ip=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,p1=1e-7,m1=12;function g1(e,t,n,r,i){let o,s,l=0;do s=t+(n-t)/2,o=Ip(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>p1&&++lg1(o,0,1,e,n);return o=>o===0||o===1?o:Ip(i(o),t,r)}const y1=fi(.42,0,1,1),v1=fi(0,0,.58,1),Bp=fi(.42,0,.58,1),x1=e=>Array.isArray(e)&&typeof e[0]!="number",zp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Up=e=>t=>1-e(1-t),$p=e=>1-Math.sin(Math.acos(e)),lu=Up($p),w1=zp(lu),Wp=fi(.33,1.53,.69,.99),au=Up(Wp),S1=zp(au),C1=e=>(e*=2)<1?.5*au(e):.5*(2-Math.pow(2,-10*(e-1))),P1={linear:Z,easeIn:y1,easeInOut:Bp,easeOut:v1,circIn:$p,circInOut:w1,circOut:lu,backIn:au,backInOut:S1,backOut:Wp,anticipate:C1},$c=e=>{if(Array.isArray(e)){su(e.length===4);const[t,n,r,i]=e;return fi(t,n,r,i)}else if(typeof e=="string")return P1[e];return e},uu=(e,t)=>n=>!!(ui(n)&&Sv.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Hp=(e,t,n)=>r=>{if(!ui(r))return r;const[i,o,s,l]=r.match(bo);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:l!==void 0?parseFloat(l):1}},k1=e=>Kt(0,255,e),As={...Cn,transform:e=>Math.round(k1(e))},cn={test:uu("rgb","red"),parse:Hp("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+As.transform(e)+", "+As.transform(t)+", "+As.transform(n)+", "+Nr(Dr.transform(r))+")"};function T1(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Ul={test:uu("#"),parse:T1,transform:cn.transform},In={test:uu("hsl","hue"),parse:Hp("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+st.transform(Nr(t))+", "+st.transform(Nr(n))+", "+Nr(Dr.transform(r))+")"},ge={test:e=>cn.test(e)||Ul.test(e)||In.test(e),parse:e=>cn.test(e)?cn.parse(e):In.test(e)?In.parse(e):Ul.parse(e),transform:e=>ui(e)?e:e.hasOwnProperty("red")?cn.transform(e):In.transform(e)},G=(e,t,n)=>-n*e+n*t+e;function js(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 E1({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;i=js(a,l,e+1/3),o=js(a,l,e),s=js(a,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}const _s=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},L1=[Ul,cn,In],R1=e=>L1.find(t=>t.test(e));function Wc(e){const t=R1(e);let n=t.parse(e);return t===In&&(n=E1(n)),n}const Kp=(e,t)=>{const n=Wc(e),r=Wc(t),i={...n};return o=>(i.red=_s(n.red,r.red,o),i.green=_s(n.green,r.green,o),i.blue=_s(n.blue,r.blue,o),i.alpha=G(n.alpha,r.alpha,o),cn.transform(i))};function V1(e){var t,n;return isNaN(e)&&ui(e)&&(((t=e.match(bo))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(vp))===null||n===void 0?void 0:n.length)||0)>0}const Gp={regex:xv,countKey:"Vars",token:"${v}",parse:Z},Qp={regex:vp,countKey:"Colors",token:"${c}",parse:ge.parse},Yp={regex:bo,countKey:"Numbers",token:"${n}",parse:Cn.parse};function Os(e,{regex:t,countKey:n,token:r,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function To(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Os(n,Gp),Os(n,Qp),Os(n,Yp),n}function Xp(e){return To(e).values}function Zp(e){const{values:t,numColors:n,numVars:r,tokenised:i}=To(e),o=t.length;return s=>{let l=i;for(let a=0;atypeof e=="number"?0:e;function D1(e){const t=Xp(e);return Zp(e)(t.map(M1))}const Gt={test:V1,parse:Xp,createTransformer:Zp,getAnimatableNone:D1},Jp=(e,t)=>n=>`${n>0?t:e}`;function qp(e,t){return typeof e=="number"?n=>G(e,t,n):ge.test(e)?Kp(e,t):e.startsWith("var(")?Jp(e,t):em(e,t)}const bp=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,s)=>qp(o,t[s]));return o=>{for(let s=0;s{const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=qp(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}},em=(e,t)=>{const n=Gt.createTransformer(t),r=To(e),i=To(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Ut(bp(r.values,i.values),n):Jp(e,t)},ti=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Hc=(e,t)=>n=>G(e,t,n);function A1(e){return typeof e=="number"?Hc:typeof e=="string"?ge.test(e)?Kp:em:Array.isArray(e)?bp:typeof e=="object"?N1:Hc}function j1(e,t,n){const r=[],i=n||A1(e[0]),o=e.length-1;for(let s=0;st[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=j1(t,r,i),l=s.length,a=u=>{let c=0;if(l>1)for(;ca(Kt(e[0],e[o-1],u)):a}function _1(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=ti(0,t,r);e.push(G(n,1,i))}}function O1(e){const t=[0];return _1(t,e.length-1),t}function F1(e,t){return e.map(n=>n*t)}function I1(e,t){return e.map(()=>t||Bp).splice(0,e.length-1)}function Eo({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=x1(r)?r.map($c):$c(r),o={done:!1,value:t[0]},s=F1(n&&n.length===t.length?n:O1(t),e),l=tm(s,t,{ease:Array.isArray(i)?i:I1(t,i)});return{calculatedDuration:e,next:a=>(o.value=l(a),o.done=a>=e,o)}}function nm(e,t){return t?e*(1e3/t):0}const B1=5;function rm(e,t,n){const r=Math.max(t-B1,0);return nm(n-e(r),t-r)}const Fs=.001,z1=.01,Kc=10,U1=.05,$1=1;function W1({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;c1(e<=$t(Kc));let s=1-t;s=Kt(U1,$1,s),e=Kt(z1,Kc,mt(e)),s<1?(i=u=>{const c=u*s,f=c*e,d=c-n,m=$l(u,s),y=Math.exp(-f);return Fs-d/m*y},o=u=>{const f=u*s*e,d=f*n+n,m=Math.pow(s,2)*Math.pow(u,2)*e,y=Math.exp(-f),v=$l(Math.pow(u,2),s);return(-i(u)+Fs>0?-1:1)*((d-m)*y)/v}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-Fs+c*f},o=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const l=5/e,a=K1(i,o,l);if(e=$t(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(a,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const H1=12;function K1(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function Y1(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Gc(e,Q1)&&Gc(e,G1)){const n=W1(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function im({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:l,damping:a,mass:u,velocity:c,duration:f,isResolvedFromDuration:d}=Y1(r),m=c?-mt(c):0,y=a/(2*Math.sqrt(l*u)),v=o-i,C=mt(Math.sqrt(l/u)),g=Math.abs(v)<5;n||(n=g?.01:2),t||(t=g?.005:.5);let h;if(y<1){const p=$l(C,y);h=x=>{const w=Math.exp(-y*C*x);return o-w*((m+y*C*v)/p*Math.sin(p*x)+v*Math.cos(p*x))}}else if(y===1)h=p=>o-Math.exp(-C*p)*(v+(m+C*v)*p);else{const p=C*Math.sqrt(y*y-1);h=x=>{const w=Math.exp(-y*C*x),L=Math.min(p*x,300);return o-w*((m+y*C*v)*Math.sinh(L)+p*v*Math.cosh(L))/p}}return{calculatedDuration:d&&f||null,next:p=>{const x=h(p);if(d)s.done=p>=f;else{let w=m;p!==0&&(y<1?w=rm(h,p,x):w=0);const L=Math.abs(w)<=n,T=Math.abs(o-x)<=t;s.done=L&&T}return s.value=s.done?o:x,s}}}function Qc({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:l,max:a,restDelta:u=.5,restSpeed:c}){const f=e[0],d={done:!1,value:f},m=k=>l!==void 0&&ka,y=k=>l===void 0?a:a===void 0||Math.abs(l-k)-v*Math.exp(-k/r),p=k=>g+h(k),x=k=>{const A=h(k),D=p(k);d.done=Math.abs(A)<=u,d.value=d.done?g:D};let w,L;const T=k=>{m(d.value)&&(w=k,L=im({keyframes:[d.value,y(d.value)],velocity:rm(p,k,d.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:k=>{let A=!1;return!L&&w===void 0&&(A=!0,x(k),T(k)),w!==void 0&&k>w?L.next(k-w):(!A&&x(k),d)}}}const X1=e=>{const t=({timestamp:n})=>e(n);return{start:()=>$.update(t,!0),stop:()=>wt(t),now:()=>se.isProcessing?se.timestamp:performance.now()}},Yc=2e4;function Xc(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Yc?1/0:t}const Z1={decay:Qc,inertia:Qc,tween:Eo,keyframes:Eo,spring:im};function Lo({autoplay:e=!0,delay:t=0,driver:n=X1,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:l="loop",onPlay:a,onStop:u,onComplete:c,onUpdate:f,...d}){let m=1,y=!1,v,C;const g=()=>{C=new Promise(N=>{v=N})};g();let h;const p=Z1[i]||Eo;let x;p!==Eo&&typeof r[0]!="number"&&(x=tm([0,100],r,{clamp:!1}),r=[0,100]);const w=p({...d,keyframes:r});let L;l==="mirror"&&(L=p({...d,keyframes:[...r].reverse(),velocity:-(d.velocity||0)}));let T="idle",k=null,A=null,D=null;w.calculatedDuration===null&&o&&(w.calculatedDuration=Xc(w));const{calculatedDuration:J}=w;let Se=1/0,Ce=1/0;J!==null&&(Se=J+s,Ce=Se*(o+1)-s);let q=0;const b=N=>{if(A===null)return;m>0&&(A=Math.min(A,N)),m<0&&(A=Math.min(N-Ce/m,A)),k!==null?q=k:q=Math.round(N-A)*m;const W=q-t*(m>=0?1:-1),Jt=m>=0?W<0:W>Ce;q=Math.max(W,0),T==="finished"&&k===null&&(q=Ce);let be=q,Pn=w;if(o){const ns=q/Se;let di=Math.floor(ns),bt=ns%1;!bt&&ns>=1&&(bt=1),bt===1&&di--,di=Math.min(di,o+1);const mu=!!(di%2);mu&&(l==="reverse"?(bt=1-bt,s&&(bt-=s/Se)):l==="mirror"&&(Pn=L));let gu=Kt(0,1,bt);q>Ce&&(gu=l==="reverse"&&mu?1:0),be=gu*Se}const Ve=Jt?{done:!1,value:r[0]}:Pn.next(be);x&&(Ve.value=x(Ve.value));let{done:qt}=Ve;!Jt&&J!==null&&(qt=m>=0?q>=Ce:q<=0);const Mm=k===null&&(T==="finished"||T==="running"&&qt);return f&&f(Ve.value),Mm&&R(),Ve},Fe=()=>{h&&h.stop(),h=void 0},qe=()=>{T="idle",Fe(),v(),g(),A=D=null},R=()=>{T="finished",c&&c(),Fe(),v()},j=()=>{if(y)return;h||(h=n(b));const N=h.now();a&&a(),k!==null?A=N-k:(!A||T==="finished")&&(A=N),T==="finished"&&g(),D=A,k=null,T="running",h.start()};e&&j();const _={then(N,W){return C.then(N,W)},get time(){return mt(q)},set time(N){N=$t(N),q=N,k!==null||!h||m===0?k=N:A=h.now()-N/m},get duration(){const N=w.calculatedDuration===null?Xc(w):w.calculatedDuration;return mt(N)},get speed(){return m},set speed(N){N===m||!h||(m=N,_.time=mt(q))},get state(){return T},play:j,pause:()=>{T="paused",k=q},stop:()=>{y=!0,T!=="idle"&&(T="idle",u&&u(),qe())},cancel:()=>{D!==null&&b(D),qe()},complete:()=>{T="finished"},sample:N=>(A=0,b(N))};return _}function J1(e){let t;return()=>(t===void 0&&(t=e()),t)}const q1=J1(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),b1=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Ni=10,ex=2e4,tx=(e,t)=>t.type==="spring"||e==="backgroundColor"||!_p(t.ease);function nx(e,t,{onUpdate:n,onComplete:r,...i}){if(!(q1()&&b1.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let s=!1,l,a;const u=()=>{a=new Promise(h=>{l=h})};u();let{keyframes:c,duration:f=300,ease:d,times:m}=i;if(tx(t,i)){const h=Lo({...i,repeat:0,delay:0});let p={done:!1,value:c[0]};const x=[];let w=0;for(;!p.done&&wy.cancel(),C=()=>{$.update(v),l(),u()};return y.onfinish=()=>{e.set(h1(c,i)),r&&r(),C()},{then(h,p){return a.then(h,p)},attachTimeline(h){return y.timeline=h,y.onfinish=null,Z},get time(){return mt(y.currentTime||0)},set time(h){y.currentTime=$t(h)},get speed(){return y.playbackRate},set speed(h){y.playbackRate=h},get duration(){return mt(f)},play:()=>{s||(y.play(),wt(v))},pause:()=>y.pause(),stop:()=>{if(s=!0,y.playState==="idle")return;const{currentTime:h}=y;if(h){const p=Lo({...i,autoplay:!1});e.setWithVelocity(p.sample(h-Ni).value,p.sample(h).value,Ni)}C()},complete:()=>y.finish(),cancel:C}}function rx({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Z,pause:Z,stop:Z,then:o=>(o(),Promise.resolve()),cancel:Z,complete:Z});return t?Lo({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const ix={type:"spring",stiffness:500,damping:25,restSpeed:10},ox=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),sx={type:"keyframes",duration:.8},lx={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ax=(e,{keyframes:t})=>t.length>2?sx:Sn.has(e)?e.startsWith("scale")?ox(t[1]):ix:lx,Wl=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Gt.test(t)||t==="0")&&!t.startsWith("url(")),ux=new Set(["brightness","contrast","saturate","opacity"]);function cx(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(bo)||[];if(!r)return e;const i=n.replace(r,"");let o=ux.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const fx=/([a-z-]*)\(.*?\)/g,Hl={...Gt,getAnimatableNone:e=>{const t=e.match(fx);return t?t.map(cx).join(" "):e}},dx={...xp,color:ge,backgroundColor:ge,outlineColor:ge,fill:ge,stroke:ge,borderColor:ge,borderTopColor:ge,borderRightColor:ge,borderBottomColor:ge,borderLeftColor:ge,filter:Hl,WebkitFilter:Hl},cu=e=>dx[e];function om(e,t){let n=cu(e);return n!==Hl&&(n=Gt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const sm=e=>/^0[^.\s]+$/.test(e);function hx(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||sm(e)}function px(e,t,n,r){const i=Wl(t,n);let o;Array.isArray(n)?o=[...n]:o=[null,n];const s=r.from!==void 0?r.from:e.get();let l;const a=[];for(let u=0;ui=>{const o=lm(r,e)||{},s=o.delay||r.delay||0;let{elapsed:l=0}=r;l=l-$t(s);const a=px(t,e,n,o),u=a[0],c=a[a.length-1],f=Wl(e,u),d=Wl(e,c);let m={keyframes:a,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-l,onUpdate:y=>{t.set(y),o.onUpdate&&o.onUpdate(y)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(mx(o)||(m={...m,...ax(e,m)}),m.duration&&(m.duration=$t(m.duration)),m.repeatDelay&&(m.repeatDelay=$t(m.repeatDelay)),!f||!d||f1.current||o.type===!1)return rx(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const y=nx(t,e,m);if(y)return y}return Lo(m)};function Ro(e){return!!(Re(e)&&e.add)}const am=e=>/^\-?\d*\.?\d+$/.test(e);function du(e,t){e.indexOf(t)===-1&&e.push(t)}function hu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class pu{constructor(){this.subscriptions=[]}add(t){return du(this.subscriptions,t),()=>hu(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class yx{constructor(t,n={}){this.version="10.16.5",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:o,timestamp:s}=se;this.lastUpdated!==s&&(this.timeDelta=o,this.lastUpdated=s,$.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>$.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=gx(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new pu);const r=this.events[t].add(n);return t==="change"?()=>{r(),$.read(()=>{this.events.change.getSize()||this.stop()})}:r}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,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?nm(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}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 er(e,t){return new yx(e,t)}const um=e=>t=>t.test(e),vx={test:e=>e==="auto",parse:e=>e},cm=[Cn,M,st,Pt,Pv,Cv,vx],mr=e=>cm.find(um(e)),xx=[...cm,ge,Gt],wx=e=>xx.find(um(e));function Sx(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,er(n))}function Cx(e,t){const n=ts(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const s in o){const l=Iv(o[s]);Sx(e,s,l)}}function Px(e,t,n){var r,i;const o=Object.keys(t).filter(l=>!e.hasValue(l)),s=o.length;if(s)for(let l=0;la.remove(f))),u.push(v)}return s&&Promise.all(u).then(()=>{s&&Cx(e,s)}),u}function Kl(e,t,n={}){const r=ts(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(fm(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(a=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:f}=i;return Lx(e,t,u+a,c,f,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[a,u]=l==="beforeChildren"?[o,s]:[s,o];return a().then(()=>u())}else return Promise.all([o(),s(n.delay)])}function Lx(e,t,n=0,r=0,i=1,o){const s=[],l=(e.variantChildren.size-1)*r,a=i===1?(u=0)=>u*r:(u=0)=>l-u*r;return Array.from(e.variantChildren).sort(Rx).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(Kl(u,t,{...o,delay:n+a(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function Rx(e,t){return e.sortNodePosition(t)}function Vx(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>Kl(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Kl(e,t,n);else{const i=typeof t=="function"?ts(e,t,n.custom):t;r=Promise.all(fm(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}const Mx=[...Za].reverse(),Dx=Za.length;function Nx(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Vx(e,n,r)))}function Ax(e){let t=Nx(e);const n=_x();let r=!0;const i=(a,u)=>{const c=ts(e,u);if(c){const{transition:f,transitionEnd:d,...m}=c;a={...a,...m,...d}}return a};function o(a){t=a(e)}function s(a,u){const c=e.getProps(),f=e.getVariantContext(!0)||{},d=[],m=new Set;let y={},v=1/0;for(let g=0;gv&&w;const D=Array.isArray(x)?x:[x];let J=D.reduce(i,{});L===!1&&(J={});const{prevResolvedValues:Se={}}=p,Ce={...Se,...J},q=b=>{A=!0,m.delete(b),p.needsAnimating[b]=!0};for(const b in Ce){const Fe=J[b],qe=Se[b];y.hasOwnProperty(b)||(Fe!==qe?ko(Fe)&&ko(qe)?!Ap(Fe,qe)||k?q(b):p.protectedKeys[b]=!0:Fe!==void 0?q(b):m.add(b):Fe!==void 0&&m.has(b)?q(b):p.protectedKeys[b]=!0)}p.prevProp=x,p.prevResolvedValues=J,p.isActive&&(y={...y,...J}),r&&e.blockInitialAnimation&&(A=!1),A&&!T&&d.push(...D.map(b=>({animation:b,options:{type:h,...a}})))}if(m.size){const g={};m.forEach(h=>{const p=e.getBaseTarget(h);p!==void 0&&(g[h]=p)}),d.push({animation:g})}let C=!!d.length;return r&&c.initial===!1&&!e.manuallyAnimateOnMount&&(C=!1),r=!1,C?t(d):Promise.resolve()}function l(a,u,c){var f;if(n[a].isActive===u)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(m=>{var y;return(y=m.animationState)===null||y===void 0?void 0:y.setActive(a,u)}),n[a].isActive=u;const d=s(c,a);for(const m in n)n[m].protectedKeys={};return d}return{animateChanges:s,setActive:l,setAnimateFunction:o,getState:()=>n}}function jx(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Ap(t,e):!1}function en(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function _x(){return{animate:en(!0),whileInView:en(),whileHover:en(),whileTap:en(),whileDrag:en(),whileFocus:en(),exit:en()}}class Ox extends Zt{constructor(t){super(t),t.animationState||(t.animationState=Ax(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Jo(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let Fx=0;class Ix extends Zt{constructor(){super(...arguments),this.id=Fx++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const o=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const Bx={animation:{Feature:Ox},exit:{Feature:Ix}},Zc=(e,t)=>Math.abs(e-t);function zx(e,t){const n=Zc(e.x,t.x),r=Zc(e.y,t.y);return Math.sqrt(n**2+r**2)}class dm{constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=Bs(this.lastMoveEventInfo,this.history),c=this.startEvent!==null,f=zx(u.offset,{x:0,y:0})>=3;if(!c&&!f)return;const{point:d}=u,{timestamp:m}=se;this.history.push({...d,timestamp:m});const{onStart:y,onMove:v}=this.handlers;c||(y&&y(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,u)},this.handlePointerMove=(u,c)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=Is(c,this.transformPagePoint),$.update(this.updatePoint,!0)},this.handlePointerUp=(u,c)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:f,onSessionEnd:d}=this.handlers,m=Bs(u.type==="pointercancel"?this.lastMoveEventInfo:Is(c,this.transformPagePoint),this.history);this.startEvent&&f&&f(u,m),d&&d(u,m)},!Rp(t))return;this.handlers=n,this.transformPagePoint=r;const i=es(t),o=Is(i,this.transformPagePoint),{point:s}=o,{timestamp:l}=se;this.history=[{...s,timestamp:l}];const{onSessionStart:a}=n;a&&a(t,Bs(o,this.history)),this.removeListeners=Ut(pt(window,"pointermove",this.handlePointerMove),pt(window,"pointerup",this.handlePointerUp),pt(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),wt(this.updatePoint)}}function Is(e,t){return t?{point:t(e.point)}:e}function Jc(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Bs({point:e},t){return{point:e,delta:Jc(e,hm(t)),offset:Jc(e,Ux(t)),velocity:$x(t,.1)}}function Ux(e){return e[0]}function hm(e){return e[e.length-1]}function $x(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=hm(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>$t(t)));)n--;if(!r)return{x:0,y:0};const o=mt(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function je(e){return e.max-e.min}function Gl(e,t=0,n=.01){return Math.abs(e-t)<=n}function qc(e,t,n,r=.5){e.origin=r,e.originPoint=G(t.min,t.max,e.origin),e.scale=je(n)/je(t),(Gl(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=G(n.min,n.max,e.origin)-e.originPoint,(Gl(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Ar(e,t,n,r){qc(e.x,t.x,n.x,r?r.originX:void 0),qc(e.y,t.y,n.y,r?r.originY:void 0)}function bc(e,t,n){e.min=n.min+t.min,e.max=e.min+je(t)}function Wx(e,t,n){bc(e.x,t.x,n.x),bc(e.y,t.y,n.y)}function ef(e,t,n){e.min=t.min-n.min,e.max=e.min+je(t)}function jr(e,t,n){ef(e.x,t.x,n.x),ef(e.y,t.y,n.y)}function Hx(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?G(n,e,r.max):Math.min(e,n)),e}function tf(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 Kx(e,{top:t,left:n,bottom:r,right:i}){return{x:tf(e.x,n,i),y:tf(e.y,t,r)}}function nf(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=ti(t.min,t.max-r,e.min):r>i&&(n=ti(e.min,e.max-i,t.min)),Kt(0,1,n)}function Yx(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 Ql=.35;function Xx(e=Ql){return e===!1?e=0:e===!0&&(e=Ql),{x:rf(e,"left","right"),y:rf(e,"top","bottom")}}function rf(e,t,n){return{min:of(e,t),max:of(e,n)}}function of(e,t){return typeof e=="number"?e:e[t]||0}const sf=()=>({translate:0,scale:1,origin:0,originPoint:0}),Bn=()=>({x:sf(),y:sf()}),lf=()=>({min:0,max:0}),te=()=>({x:lf(),y:lf()});function nt(e){return[e("x"),e("y")]}function pm({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Zx({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Jx(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function zs(e){return e===void 0||e===1}function Yl({scale:e,scaleX:t,scaleY:n}){return!zs(e)||!zs(t)||!zs(n)}function rn(e){return Yl(e)||mm(e)||e.z||e.rotate||e.rotateX||e.rotateY}function mm(e){return af(e.x)||af(e.y)}function af(e){return e&&e!=="0%"}function Vo(e,t,n){const r=e-n,i=t*r;return n+i}function uf(e,t,n,r,i){return i!==void 0&&(e=Vo(e,i,r)),Vo(e,n,r)+t}function Xl(e,t=0,n=1,r,i){e.min=uf(e.min,t,n,r,i),e.max=uf(e.max,t,n,r,i)}function gm(e,{x:t,y:n}){Xl(e.x,t.translate,t.scale,t.originPoint),Xl(e.y,n.translate,n.scale,n.originPoint)}function qx(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let l=0;l1.0000000000001||e<.999999999999?e:1}function Et(e,t){e.min=e.min+t,e.max=e.max+t}function ff(e,t,[n,r,i]){const o=t[i]!==void 0?t[i]:.5,s=G(e.min,e.max,o);Xl(e,t[n],t[r],s,t.scale)}const bx=["x","scaleX","originX"],ew=["y","scaleY","originY"];function zn(e,t){ff(e.x,t,bx),ff(e.y,t,ew)}function ym(e,t){return pm(Jx(e.getBoundingClientRect(),t))}function tw(e,t,n){const r=ym(e,n),{scroll:i}=t;return i&&(Et(r.x,i.offset.x),Et(r.y,i.offset.y)),r}const nw=new WeakMap;class rw{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:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=a=>{this.stopAnimation(),n&&this.snapToCursor(es(a,"page").point)},o=(a,u)=>{const{drag:c,dragPropagation:f,onDragStart:d}=this.getProps();if(c&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Mp(c),!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),nt(y=>{let v=this.getAxisMotionValue(y).get()||0;if(st.test(v)){const{projection:C}=this.visualElement;if(C&&C.layout){const g=C.layout.layoutBox[y];g&&(v=je(g)*(parseFloat(v)/100))}}this.originPoint[y]=v}),d&&$.update(()=>d(a,u),!1,!0);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},s=(a,u)=>{const{dragPropagation:c,dragDirectionLock:f,onDirectionLock:d,onDrag:m}=this.getProps();if(!c&&!this.openGlobalLock)return;const{offset:y}=u;if(f&&this.currentDirection===null){this.currentDirection=iw(y),this.currentDirection!==null&&d&&d(this.currentDirection);return}this.updateAxis("x",u.point,y),this.updateAxis("y",u.point,y),this.visualElement.render(),m&&m(a,u)},l=(a,u)=>this.stop(a,u);this.panSession=new dm(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:l},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&$.update(()=>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:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Ai(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=Hx(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;t&&Fn(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=Kx(r.layoutBox,t):this.constraints=!1,this.elastic=Xx(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&nt(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=Yx(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Fn(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=tw(r,i.root,this.visualElement.getTransformPagePoint());let s=Gx(i.layout.layoutBox,o);if(n){const l=n(Zx(s));this.hasMutatedConstraints=!!l,l&&(s=pm(l))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:l}=this.getProps(),a=this.constraints||{},u=nt(c=>{if(!Ai(c,n,this.currentDirection))return;let f=a&&a[c]||{};s&&(f={min:0,max:0});const d=i?200:1e6,m=i?40:1e7,y={type:"inertia",velocity:r?t[c]:0,bounceStiffness:d,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(c,y)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(fu(t,r,0,n))}stopAnimation(){nt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){nt(n=>{const{drag:r}=this.getProps();if(!Ai(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:l}=i.layout.layoutBox[n];o.set(t[n]-G(s,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Fn(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};nt(s=>{const l=this.getAxisMotionValue(s);if(l){const a=l.get();i[s]=Qx({min:a,max:a},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),nt(s=>{if(!Ai(s,t,null))return;const l=this.getAxisMotionValue(s),{min:a,max:u}=this.constraints[s];l.set(G(a,u,i[s]))})}addListeners(){if(!this.visualElement.current)return;nw.set(this.visualElement,this);const t=this.visualElement.current,n=pt(t,"pointerdown",a=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(a)}),r=()=>{const{dragConstraints:a}=this.getProps();Fn(a)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const s=dt(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:a,hasLayoutChanged:u})=>{this.isDragging&&u&&(nt(c=>{const f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=a[c].translate,f.set(f.get()+a[c].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=Ql,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:l}}}function Ai(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function iw(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class ow extends Zt{constructor(t){super(t),this.removeGroupControls=Z,this.removeListeners=Z,this.controls=new rw(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Z}unmount(){this.removeGroupControls(),this.removeListeners()}}const df=e=>(t,n)=>{e&&$.update(()=>e(t,n))};class sw extends Zt{constructor(){super(...arguments),this.removePointerDownListener=Z}onPointerDown(t){this.session=new dm(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:df(t),onStart:df(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&$.update(()=>i(o,s))}}}mount(){this.removePointerDownListener=pt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function lw(){const e=S.useContext(Xa);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=S.useId();return S.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Qi={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function hf(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const gr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(M.test(e))e=parseFloat(e);else return e;const n=hf(e,t.target.x),r=hf(e,t.target.y);return`${n}% ${r}%`}},aw={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Gt.parse(e);if(i.length>5)return r;const o=Gt.createTransformer(e),s=typeof i[0]!="number"?1:0,l=n.x.scale*t.x,a=n.y.scale*t.y;i[0+s]/=l,i[1+s]/=a;const u=G(l,a,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}};class uw extends Do.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;mv(cw),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Qi.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,s=r.projection;return s&&(s.isPresent=o,i||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||$.postRender(()=>{const l=s.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function vm(e){const[t,n]=lw(),r=S.useContext(hp);return Do.createElement(uw,{...e,layoutGroup:r,switchLayoutGroup:S.useContext(pp),isPresent:t,safeToRemove:n})}const cw={borderRadius:{...gr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:gr,borderTopRightRadius:gr,borderBottomLeftRadius:gr,borderBottomRightRadius:gr,boxShadow:aw},xm=["TopLeft","TopRight","BottomLeft","BottomRight"],fw=xm.length,pf=e=>typeof e=="string"?parseFloat(e):e,mf=e=>typeof e=="number"||M.test(e);function dw(e,t,n,r,i,o){i?(e.opacity=G(0,n.opacity!==void 0?n.opacity:1,hw(r)),e.opacityExit=G(t.opacity!==void 0?t.opacity:1,0,pw(r))):o&&(e.opacity=G(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(ti(e,t,r))}function yf(e,t){e.min=t.min,e.max=t.max}function Ie(e,t){yf(e.x,t.x),yf(e.y,t.y)}function vf(e,t,n,r,i){return e-=t,e=Vo(e,1/n,r),i!==void 0&&(e=Vo(e,1/i,r)),e}function mw(e,t=0,n=1,r=.5,i,o=e,s=e){if(st.test(t)&&(t=parseFloat(t),t=G(s.min,s.max,t/100)-s.min),typeof t!="number")return;let l=G(o.min,o.max,r);e===o&&(l-=t),e.min=vf(e.min,t,n,l,i),e.max=vf(e.max,t,n,l,i)}function xf(e,t,[n,r,i],o,s){mw(e,t[n],t[r],t[i],t.scale,o,s)}const gw=["x","scaleX","originX"],yw=["y","scaleY","originY"];function wf(e,t,n,r){xf(e.x,t,gw,n?n.x:void 0,r?r.x:void 0),xf(e.y,t,yw,n?n.y:void 0,r?r.y:void 0)}function Sf(e){return e.translate===0&&e.scale===1}function Sm(e){return Sf(e.x)&&Sf(e.y)}function vw(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Cm(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Cf(e){return je(e.x)/je(e.y)}class xw{constructor(){this.members=[]}add(t){du(this.members,t),t.scheduleRender()}remove(t){if(hu(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(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Pf(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:a,rotateX:u,rotateY:c}=n;a&&(r+=`rotate(${a}deg) `),u&&(r+=`rotateX(${u}deg) `),c&&(r+=`rotateY(${c}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return(s!==1||l!==1)&&(r+=`scale(${s}, ${l})`),r||"none"}const ww=(e,t)=>e.depth-t.depth;class Sw{constructor(){this.children=[],this.isDirty=!1}add(t){du(this.children,t),this.isDirty=!0}remove(t){hu(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ww),this.isDirty=!1,this.children.forEach(t)}}function Cw(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(wt(r),e(o-t))};return $.read(r,!0),()=>wt(r)}function Pw(e){window.MotionDebug&&window.MotionDebug.record(e)}function kw(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Tw(e,t,n){const r=Re(e)?e:er(e);return r.start(fu("",r,t,n)),r.animation}const kf=["","X","Y","Z"],Tf=1e3;let Ew=0;const on={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Pm({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},l=t==null?void 0:t()){this.id=Ew++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{on.totalNodes=on.resolvedTargetDeltas=on.recalculatedProjection=0,this.nodes.forEach(Vw),this.nodes.forEach(jw),this.nodes.forEach(_w),this.nodes.forEach(Mw),Pw(on)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let a=0;athis.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=Cw(d,250),Qi.hasAnimatedSinceResize&&(Qi.hasAnimatedSinceResize=!1,this.nodes.forEach(Lf))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:m,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||zw,{onLayoutAnimationStart:C,onLayoutAnimationComplete:g}=c.getProps(),h=!this.targetLayout||!Cm(this.targetLayout,y)||m,p=!d&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||p||d&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,p);const x={...lm(v,"layout"),onPlay:C,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else d||Lf(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,wt(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(Ow),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(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(Dw),this.sharedNodes.forEach(Fw)}scheduleUpdateProjection(){$.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){$.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a{const w=x/1e3;Rf(f.x,s.x,w),Rf(f.y,s.y,w),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(jr(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Iw(this.relativeTarget,this.relativeTargetOrigin,d,w),p&&vw(this.relativeTarget,p)&&(this.isProjectionDirty=!1),p||(p=te()),Ie(p,this.relativeTarget)),v&&(this.animationValues=c,dw(c,u,this.latestValues,w,h,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},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&&(wt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=$.update(()=>{Qi.hasAnimatedSinceResize=!0,this.currentAnimation=Tw(0,Tf,{...s,onUpdate:l=>{this.mixTargetDelta(l),s.onUpdate&&s.onUpdate(l)},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(Tf),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:l,target:a,layout:u,latestValues:c}=s;if(!(!l||!a||!u)){if(this!==s&&this.layout&&u&&km(this.options.animationType,this.layout.layoutBox,u.layoutBox)){a=this.target||te();const f=je(this.layout.layoutBox.x);a.x.min=s.target.x.min,a.x.max=a.x.min+f;const d=je(this.layout.layoutBox.y);a.y.min=s.target.y.min,a.y.max=a.y.min+d}Ie(l,a),zn(l,c),Ar(this.projectionDeltaWithTransform,this.layoutCorrected,l,c)}}registerSharedNode(s,l){this.sharedNodes.has(s)||this.sharedNodes.set(s,new xw),this.sharedNodes.get(s).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:l}=this.options;return l?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:l}=this.options;return l?(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:l,preserveFollowOpacity:a}={}){const u=this.getStack();u&&u.promote(this,a),s&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetRotation(){const{visualElement:s}=this.options;if(!s)return;let l=!1;const{latestValues:a}=s;if((a.rotate||a.rotateX||a.rotateY||a.rotateZ)&&(l=!0),!l)return;const u={};for(let c=0;c{var l;return(l=s.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(Ef),this.root.sharedNodes.clear()}}}function Lw(e){e.updateLayout()}function Rw(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:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?nt(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],m=je(d);d.min=r[f].min,d.max=d.min+m}):km(o,n.layoutBox,r)&&nt(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],m=je(r[f]);d.max=d.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+m)});const l=Bn();Ar(l,r,n.layoutBox);const a=Bn();s?Ar(a,e.applyTransform(i,!0),n.measuredBox):Ar(a,r,n.layoutBox);const u=!Sm(l);let c=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:m}=f;if(d&&m){const y=te();jr(y,n.layoutBox,d.layoutBox);const v=te();jr(v,r,m.layoutBox),Cm(y,v)||(c=!0),f.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=y,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:a,layoutDelta:l,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function Vw(e){on.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 Mw(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Dw(e){e.clearSnapshot()}function Ef(e){e.clearMeasurements()}function Nw(e){e.isLayoutDirty=!1}function Aw(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Lf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function jw(e){e.resolveTargetDelta()}function _w(e){e.calcProjection()}function Ow(e){e.resetRotation()}function Fw(e){e.removeLeadSnapshot()}function Rf(e,t,n){e.translate=G(t.translate,0,n),e.scale=G(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Vf(e,t,n,r){e.min=G(t.min,n.min,r),e.max=G(t.max,n.max,r)}function Iw(e,t,n,r){Vf(e.x,t.x,n.x,r),Vf(e.y,t.y,n.y,r)}function Bw(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const zw={duration:.45,ease:[.4,0,.1,1]},Mf=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Df=Mf("applewebkit/")&&!Mf("chrome/")?Math.round:Z;function Nf(e){e.min=Df(e.min),e.max=Df(e.max)}function Uw(e){Nf(e.x),Nf(e.y)}function km(e,t,n){return e==="position"||e==="preserve-aspect"&&!Gl(Cf(t),Cf(n),.2)}const $w=Pm({attachResizeListener:(e,t)=>dt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Us={current:void 0},Tm=Pm({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Us.current){const e=new $w({});e.mount(window),e.setOptions({layoutScroll:!0}),Us.current=e}return Us.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Ww={pan:{Feature:sw},drag:{Feature:ow,ProjectionNode:Tm,MeasureLayout:vm}},Hw=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Kw(e){const t=Hw.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function Zl(e,t,n=1){const[r,i]=Kw(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return am(s)?parseFloat(s):s}else return Bl(i)?Zl(i,t,n+1):i}function Gw(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const o=i.get();if(!Bl(o))return;const s=Zl(o,r);s&&i.set(s)});for(const i in t){const o=t[i];if(!Bl(o))continue;const s=Zl(o,r);s&&(t[i]=s,n||(n={}),n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}const Qw=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Em=e=>Qw.has(e),Yw=e=>Object.keys(e).some(Em),Af=e=>e===Cn||e===M,jf=(e,t)=>parseFloat(e.split(", ")[t]),_f=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return jf(i[1],t);{const o=r.match(/^matrix\((.+)\)$/);return o?jf(o[1],e):0}},Xw=new Set(["x","y","z"]),Zw=ai.filter(e=>!Xw.has(e));function Jw(e){const t=[];return Zw.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const tr={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:_f(4,13),y:_f(5,14)};tr.translateX=tr.x;tr.translateY=tr.y;const qw=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:s}=o,l={};s==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{l[u]=tr[u](r,o)}),t.render();const a=t.measureViewportBox();return n.forEach(u=>{const c=t.getValue(u);c&&c.jump(l[u]),e[u]=tr[u](a,o)}),e},bw=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(Em);let o=[],s=!1;const l=[];if(i.forEach(a=>{const u=e.getValue(a);if(!e.hasValue(a))return;let c=n[a],f=mr(c);const d=t[a];let m;if(ko(d)){const y=d.length,v=d[0]===null?1:0;c=d[v],f=mr(c);for(let C=v;C=0?window.pageYOffset:null,u=qw(t,e,l);return o.length&&o.forEach(([c,f])=>{e.getValue(c).set(f)}),e.render(),Zo&&a!==null&&window.scrollTo({top:a}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function eS(e,t,n,r){return Yw(t)?bw(e,t,n,r):{target:t,transitionEnd:r}}const tS=(e,t,n,r)=>{const i=Gw(e,t,r);return t=i.target,r=i.transitionEnd,eS(e,t,n,r)},Jl={current:null},Lm={current:!1};function nS(){if(Lm.current=!0,!!Zo)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Jl.current=e.matches;e.addListener(t),t()}else Jl.current=!1}function rS(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],s=n[i];if(Re(o))e.addValue(i,o),Ro(r)&&r.add(i);else if(Re(s))e.addValue(i,er(o,{owner:e})),Ro(r)&&r.remove(i);else if(s!==o)if(e.hasValue(i)){const l=e.getValue(i);!l.hasAnimated&&l.set(o)}else{const l=e.getStaticValue(i);e.addValue(i,er(l!==void 0?l:o,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const Of=new WeakMap,Rm=Object.keys(ei),iS=Rm.length,Ff=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],oS=Ja.length;class sS{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>$.render(this.render,!1,!0);const{latestValues:l,renderState:a}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=a,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.isControllingVariants=qo(n),this.isVariantNode=dp(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(n,{});for(const f in c){const d=c[f];l[f]!==void 0&&Re(d)&&(d.set(l[f],!1),Ro(u)&&u.add(f))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,Of.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Lm.current||nS(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Jl.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Of.delete(this.current),this.projection&&this.projection.unmount(),wt(this.notifyUpdate),wt(this.render),this.valueSubscriptions.forEach(t=>t()),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)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=Sn.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&$.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,o){let s,l;for(let a=0;athis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:o,layoutScroll:d,layoutRoot:m})}return l}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,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}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,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 r=0;rn.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(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 r=this.values.get(t);return r===void 0&&n!==void 0&&(r=er(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=ou(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Re(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new pu),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Vm extends sS{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:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},o){let s=Tx(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),s&&(s=i(s))),o){Px(this,r,s);const l=tS(this,r,s,n);n=l.transitionEnd,r=l.target}return{transition:t,transitionEnd:n,...r}}}function lS(e){return window.getComputedStyle(e)}class aS extends Vm{readValueFromInstance(t,n){if(Sn.has(n)){const r=cu(n);return r&&r.default||0}else{const r=lS(t),i=(yp(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return ym(t,n)}build(t,n,r,i){ba(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n){return iu(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Re(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){Pp(t,n,r,i)}}class uS extends Vm{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Sn.has(n)){const r=cu(n);return r&&r.default||0}return n=kp.has(n)?n:ru(n),t.getAttribute(n)}measureInstanceViewportBox(){return te()}scrapeMotionValuesFromProps(t,n){return Ep(t,n)}build(t,n,r,i){tu(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){Tp(t,n,r,i)}mount(t){this.isSVGTag=nu(t.tagName),super.mount(t)}}const cS=(e,t)=>qa(e)?new uS(t,{enableHardwareAcceleration:!1}):new aS(t,{enableHardwareAcceleration:!0}),fS={layout:{ProjectionNode:Tm,MeasureLayout:vm}},dS={...Bx,...o1,...Ww,...fS},at=hv((e,t)=>Gv(e,t,dS,cS)),hS=()=>E.jsxs("div",{className:"flex flex-col justify-center items-center text-[#9B8F84]",children:[E.jsxs("div",{className:"min-w-[80vw] flex flex-row justify-evenly items-center h-[10vh]",children:[E.jsxs("div",{className:"flex justify-evenly w-[20vw]",children:[E.jsx(sn,{to:"/",className:"hover:text-[#7B695A]",children:"home"}),E.jsx(sn,{to:"/blogs",className:"hover:text-[#7B695A]",children:"blogs"})]}),E.jsx("div",{className:"flex justify-evenly font-bold text-[40px]",children:E.jsxs(sn,{to:"/",className:"flex gap-5",children:[E.jsx("p",{children:"COFFEE "})," ",E.jsx("p",{children:"THOUGHTS"})]})}),E.jsxs("div",{className:"flex justify-evenly w-[20vw]",children:[E.jsx(sn,{to:"/about",className:"hover:text-[#7B695A]",children:"about"}),E.jsx(sn,{to:"/contact",className:"hover:text-[#7B695A]",children:"contact"})]})]}),E.jsx("div",{className:"w-[80vw] border-[#9B8F84] border-[1px]"})]}),pS={show:{y:-40,opacity:1},hidden:{opacity:0}},If={show:{opacity:1},move:{opacity:0,x:-500}},Bf={show:{opacity:1},move:{x:500,opacity:0}},mS=({setStatus:e})=>{const[t,n]=S.useState(!1),[r,i]=S.useState(!1),[o,s]=S.useState(!1),l=async()=>{i(!0),await new Promise(()=>{setTimeout(()=>{s(!0),e(!0)},1e3)})};return E.jsxs("div",{className:"overflow-hidden h-fit",children:[E.jsxs(at.div,{className:"flex-col flex items-center justify-center min-h-[100vh] h-fit",initial:"show",animate:r?"hidden":"show",variants:pS,transition:{duration:1},children:[E.jsx("img",{src:"landing/CoffeeText.png",alt:"Coffee Thoughts"}),E.jsxs(at.div,{className:"flex justify-center items-center hover:cursor-pointer",onClick:()=>l(),onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),initial:{y:-10},children:[E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"154",height:"64",viewBox:"0 0 154 64",fill:"none",children:E.jsx("path",{d:"M106.899 58.8924L107.728 58.7318C126.313 55.1307 148.166 59.126 153.09 43.2882C156.559 32.1295 149.545 24.7297 141.625 15.4039C120.551 -9.41057 84.6754 1.18342 50.4025 9.827C28.8283 15.268 -1.47572 14.5479 0.0558387 33.8504C1.33429 49.9629 21.0342 52.6928 38.4389 58.7318C63.2715 67.348 80.9551 63.9207 106.899 58.8924Z",fill:t?"#547E88":"white"})}),E.jsx("p",{className:`absolute ${t?"text-white":"text-[#547E88]"} hover:cursor-pointer`,children:"enter site"})]}),E.jsx(at.img,{src:"landing/MitskiThots.png",alt:"Mitski in Coffee",initial:{x:30}})]}),E.jsx(at.div,{className:`hidden xl:left-20 top-[200px] lg:block absolute left-2 ${o?"hidden":"block"}`,variants:If,initial:"show",animate:r?"move":"show",transition:{duration:1},children:E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"247",height:"105",viewBox:"0 0 247 105",fill:"none",children:E.jsx("path",{d:"M110.75 0.633141C94.6516 -1.96812 84.4204 3.6113 70.7292 14.3327C64.2488 19.4074 55.9847 31.6061 55.9847 31.6061C55.9847 31.6061 36.1492 26.4191 24.9162 31.6061C9.83679 38.5693 -1.52327 51.8577 0.166778 64.9616C2.16105 80.4244 11.2613 88.2018 24.9162 90.5739C34.6324 92.2617 49.1391 89.3826 49.1391 89.3826C49.1391 89.3826 64.7995 100.575 74.9418 102.487C87.5799 104.869 95.7252 105.258 110.223 104.869C123.748 104.506 141.292 92.3608 141.292 92.3608C141.292 92.3608 154.516 100.712 163.408 102.487C190.264 107.847 205.009 89.3826 205.009 89.3826C205.009 89.3826 227.453 86.8805 234.405 80.4545L234.631 80.2454C242.473 72.998 247 68.8144 247 57.2727C247 49.7727 240.703 41.5909 229.507 36.1364C219.707 31.3617 199.743 31.6061 199.743 31.6061C199.743 31.6061 192.897 17.8212 178.153 13.7371C160.249 8.7778 148.664 25.6498 148.664 25.6498C148.664 25.6498 132.866 4.20692 110.75 0.633141Z",fill:"#F6DEC9"})})}),E.jsx(at.div,{className:"hidden lg:block absolute xl:right-20 top-[400px] right-10",variants:Bf,initial:"show",animate:r?"move":"show",transition:{duration:1},children:E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"247",height:"105",viewBox:"0 0 247 105",fill:"none",children:E.jsx("path",{d:"M110.75 0.633141C94.6516 -1.96812 84.4204 3.6113 70.7292 14.3327C64.2488 19.4074 55.9847 31.6061 55.9847 31.6061C55.9847 31.6061 36.1492 26.4191 24.9162 31.6061C9.83679 38.5693 -1.52327 51.8577 0.166778 64.9616C2.16105 80.4244 11.2613 88.2018 24.9162 90.5739C34.6324 92.2617 49.1391 89.3826 49.1391 89.3826C49.1391 89.3826 64.7995 100.575 74.9418 102.487C87.5799 104.869 95.7252 105.258 110.223 104.869C123.748 104.506 141.292 92.3608 141.292 92.3608C141.292 92.3608 154.516 100.712 163.408 102.487C190.264 107.847 205.009 89.3826 205.009 89.3826C205.009 89.3826 227.453 86.8805 234.405 80.4545L234.631 80.2454C242.473 72.998 247 68.8144 247 57.2727C247 49.7727 240.703 41.5909 229.507 36.1364C219.707 31.3617 199.743 31.6061 199.743 31.6061C199.743 31.6061 192.897 17.8212 178.153 13.7371C160.249 8.7778 148.664 25.6498 148.664 25.6498C148.664 25.6498 132.866 4.20692 110.75 0.633141Z",fill:"#F6DEC9"})})}),E.jsxs("div",{className:"overflow-hidden",children:[E.jsx(at.div,{className:`absolute bottom-0 right-0 ${o?"hidden":"block"}`,variants:Bf,initial:"show",animate:r?"move":"show",transition:{duration:1},children:E.jsx("img",{src:"landing/Cloud2.png",alt:"Clouds"})}),E.jsx(at.div,{className:"absolute bottom-0 left-0",variants:If,initial:"show",animate:r?"move":"show",transition:{duration:1},children:E.jsx("img",{src:"landing/Cloud1.png",alt:"Clouds"})})]})]})};function gS(e){const[t,n]=S.useState(0);return S.useEffect(()=>{e.index&&n(e.index)}),E.jsxs("div",{className:`flex w-[75vw] ${t%2==0?"flex-wrap":"flex-nowrap flex-row-reverse"} justify-between z-[1]`,children:[E.jsx("div",{className:"w-[45%] bg-[#D9D9D9] h-[301px] flex justify-center items-center hover:cursor-pointer",children:E.jsx("img",{src:e.blog.image,alt:"Photo",className:"contain"})}),E.jsxs("div",{className:"w-[45%] h-full flex flex-col gap-5 text-left text-teal",children:[E.jsx("p",{className:"font-NovoMono text-[16px]",children:e.blog.date}),E.jsx("p",{className:"font-semibold text-[32px]",children:e.blog.title}),E.jsx("p",{className:"font-RedHat text-[20px]",children:e.blog.description}),E.jsx("div",{className:"w-fit border-b-[2px] border-teal hover:border-coffee hover:text-coffee",children:E.jsx(sn,{to:`/${e.blog.link}`,children:E.jsx("p",{className:"font-RedHat text-[20px]",children:"Read More"})})})]})]})}function $s(e){return E.jsx(sn,{to:`/${e.link}`,className:`text-center text-[#547E88] bg-[#F6DEC9] + w-[226px] h-[226px] flex flex-wrap items-center justify-center rounded-full + text-[32px] font-RedHat hover:text-[#FFF7ED] + `,children:E.jsx("p",{className:"w-[80%]",children:e.title})})}const yS=[{title:"TITLE",description:"These are words I am typing to fill up space so we get a better sense of how it can be visualized.",image:"asdf",date:"11.26.23",link:""},{title:"TITLE",description:"These are words I am typing to fill up space so we get a better sense of how it can be visualized.",image:"asdf",date:"11.26.23",link:""}],vS=()=>{const[e,t]=S.useState(!1);return e?E.jsxs(at.div,{className:"min-h-screen min-w-screen bg-white flex flex-col items-center gap-10",initial:{opacity:0},animate:{opacity:1},transition:{duration:1},children:[E.jsx(hS,{}),E.jsxs("div",{className:"flex flex-col gap-10 items-center",children:[E.jsx("div",{className:"flex w-[75vw]",children:E.jsxs("div",{className:"flex justify-center items-center",children:[E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"472",height:"85",viewBox:"0 0 472 85",fill:"none",children:E.jsx("path",{d:"M81.0095 76.9999C158.03 89.82 274.516 84.5303 355.533 76.9999C412.572 71.6982 459.033 82.4999 469.887 54.5065C475.872 39.0686 464.697 27.9999 433.121 18.6702C329.091 -12.0673 261.35 4.41235 145.797 4.41235C78.2325 4.41235 5.03258 4.41234 0.2242 40.6115C-2.94182 64.4464 27.5941 68.1088 81.0095 76.9999Z",fill:"#547E88"})}),E.jsxs("div",{className:"absolute flex gap-2",children:[E.jsx("p",{className:"font-semibold text-[28px] text-white",children:"RECENT"}),E.jsx("p",{className:"font-semibold text-[28px] text-white",children:"POSTS"})]})]})}),yS.map((n,r)=>E.jsx(gS,{blog:n,index:r}))]}),E.jsx("div",{className:"relative w-full",children:E.jsx(at.div,{className:"absolute bottom-0 right-0 z-0",initial:{scale:1},children:E.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"561",height:"538",viewBox:"0 0 561 538",fill:"none",children:E.jsx("path",{d:"M417.715 22.6488C475.431 -9.46067 560.715 3.64887 560.715 3.64887V537.149H116.715C116.715 537.149 18.1079 457.359 4.71533 402.149C-11.1172 336.881 27.6324 293.188 46.2154 228.649C69.037 149.39 122.215 106.617 185.215 98.6488C227.77 93.2663 277.56 110.738 318.715 98.6488C363.764 85.4164 376.686 45.4749 417.715 22.6488Z",fill:"#547E88",stroke:"#547E88"})})})}),E.jsxs("div",{className:"bg-coffee h-full w-full flex flex-col items-center mt-[-2.5rem] gap-10 pb-10",children:[E.jsxs("div",{className:"font-bold text-[48px] text-grey w-[80vw] flex gap-5 pt-10",children:[E.jsx("p",{children:"MORE"}),E.jsx("p",{children:"COFFEE"}),E.jsx("p",{children:"THOUGHTS"})]}),E.jsxs("div",{className:"flex flex-row flex-wrap justify-center items-center",children:[E.jsx("img",{src:"home/categoryBG.png",className:""}),E.jsxs("div",{className:"flex absolute justify-evenly w-[75%] flex-wrap",children:[E.jsx($s,{link:"",title:"Coffee Shop"}),E.jsx($s,{link:"",title:"DEEZ"}),E.jsx($s,{link:"",title:"CS"})]})]})]})]}):E.jsx(mS,{setStatus:t})};function xS(){return E.jsx(ev,{basename:"/Coffee-Thoughts/",children:E.jsx(Yy,{children:E.jsx(up,{path:"/",element:E.jsx(vS,{})})})})}Ws.createRoot(document.getElementById("root")).render(E.jsx(Do.StrictMode,{children:E.jsx(xS,{})})); diff --git a/home/categoryBG.png b/home/categoryBG.png new file mode 100644 index 0000000000000000000000000000000000000000..e0f173eb9e4c1d9a1d4f2ce80169890a2cd5babe GIT binary patch literal 10136 zcmY*L#GWHqY=Xs|0`~Cg?=+kq~x%b?&pL6f{S6@$q{v^jq7z{?QiMeJ7gHfSjFp5by z4S*R)XIusTqq~nW_lChvod*9=z%sMh0VIXDp#~aO(aW_2091ESx+oazb<(LLdukX= z=z``ol#xHh>Xe(;x%oQzKP&FKEeu7XBN3O4`-FT<5Y?33Co{^z?WtQ%Qi@^TP{y#{ zGNZUnox#edoP#^T^$Zs-B)N9DlrC<$vuAx_KYjbq*j01NtxuKN@?a%UlVY?Z0DoG- zp{VYP!v5W%D9lDtN6$v;1HpGvbyp8RcD}aMY^`qa91DKlT79_xXRdoUCF>r$v3H}p za$rxpC)cZ0k|Ycko*=o!F>hfbbU%&7wJ}(RL*~avcdpUZ)rp>CaT;Cr*FoUonj{E`-+EXUm8C- zdJUXJle-xMs^jG4@`K`)-7MZWH;%%srP#FR@RKl@_*A*5?D#C2o~PSfa-dOfj8Rbt zE;89!mL$~E#MriaF%(f*DQ4mB+CTxT&DM{qkw4pA&s#^5&U?2`KjaQapOkeDDpAqj z|1kFXUUH{s>h+Oqhevhf#eNHRS9Ib>H z=4Ejkh`U6G5v0{~&-!z#EK`}MH+XoCWODk|-Qgb*-P>`t>t)-4%7cDaUQ!uvRX0o- z$t9)eAC0>lWryjrQO1va-#jGDkzDd(qGBXVWm+4@Iq-HXJY=Ty2uEaOuaSJSSFiz29s2{Amr@?~`}h8Dtr3ZN+@+#LA_Jj#4V5b{>&B{YSFU%;?n(p03tf!ni<7zy;5ZoL=0SA!O z9PWX9{P3l*Tl%(BRD2sU0PY25HvJi+yl2cKzJhZ_mUek05Nju^G=YDKi^MX_vE?V_ zxl5UG`0LR~V{;tIb>0kod0SH7BsXYCOhZ@x}nB$JHcRL3mxPCug?- zNy#vj8Kl|dmU}nouugW?(k~Q~^x%|0MaT@~FbGRa3JvCP!CddSp!@d2Twi%BP!;W> zlq}yZBTyX|*kgct+d{*sKE(TKwf*ol4Ha@!pBmTZOjJ%_fcB3PX=vG z>Wl%@2mf>3@kckvgc5tB{gmy4dllbmWN)i0bF6-jKj1`yhOlx*_#WKZ;y9>$9cdJu z&HnD=+`&4a9}K8YV>o3^plXRZ%tm27#r{u?7Hj%*xLp$`_YQShWJka=VjmU2vV+?YDUc@`w$)A&qg0qIrcy|y?SxbqHH zZt!Y+kh=))Jmw(|>l*=^%&;tBVgdQx>OJsI3H2}+G&V0q1jI8A7dbZ^o3q?@jKm5i z94O_5ascR-*BH!-PGE#)v5QYOK2K#vaU$b|_GltlT&OpoJ$}%SNoT_yn5SLs;raK>!LS z=CE(yVL^r5x6PmWH9P}arph94cyQa|INmHdjS;=se-~j8Hay7%<7jMppU{}rDE-R6RT272WDky^k}`9{7^0c z+oH&R?aOgD(ECo|lgp)MqlHIjWWo*~lDa?-r>~ihhiIYPk`Wf04$c5$;!%%|0(|bC7exyOMX#)b<{neJ zOv)wgEeQ2Tu+pJJ@2O!Sg|bS%glSeb6OArVh}zW$l(WF@@hSdPH@wPL?}vfWcX|nJr|bnAYb0*DJb*(SAIu& zpuj(QzLdk4hL8UNkm2!(yu=G@B^`VMyu>}3e=tDy!7ln9pLxb_=~&hULKSI0CA|oG z<7g$&<&$Ln~qB5|PH;S;4Z+7n5;9znha|DhU|h=hx#Y{pD^ z9H47!8zxL2vfTU+dj9`G%@f8CSq%QtGWu3==(u9I0X=A_?)3#6mbUUQPhYG6(2l~8>s7h@;nSQzY#c(&8&Es^ zVdv|Vq|mX3-$N&A+RUDTb`}51x+ z4iT)#aR=Zl{EhfUxaJacxNrwL66$g~L)9AbLprBgG zvDHcS?g`&OCxttR3&T5`kM;!cp8*hde(9=(zKc%UG$TliEEqkYtxmc^hu*x4ADmPI z<0ag1PNCMnI4cfYJ}U(B(@#!iklATaebN0*l1>SjA%a znjhc_HI`*kkIIR40liOLD#bmZOf#`;iQ*i8G+hQ;Xg` z;uH9+0Uen+ySMYEb(aCX>5)IRa2sR*E7bIDXGONx+=JL*oDVlhPVI}%fA#!XKrHQ@ z6a#e~W6*>us;aXWX$N<6w-jD7a0s!@Gg4{ZG@3NvNqFE;$^*ui>c4Msp<2Y&F1@KH z{#z@1n&3&P!tEc7k(d>pa;afjXydEO$}0gyK&?oi=~;v#K-i%7a5U$=<#kMj3Inhw z+>rSCUD(u812s~_74pN$w4KT<#({cY&`?1=J$xW*t<XsjrOBqW;nIdf3YdgL0hErP| zaNTK3f-uB=xO7^xlECO*|9j#8{8#bA4UHY?L1A!Y%g^H+j(46;3*2Ev0-IFpmX8Q- z5>0aOvmTJ#!WJIKZ%u7%nH-?x(tpE6>)fEyxH>OiLr!JYI`^qFgZ0wzPL2Gg|D2;m z*lMr}^##n)1DPx?{VnhM%>2P}=B0HoNL61CgiiJsLK(&1?hZVe;K-!^Ca90r*_e&zY$|vSP8D19aAaT;MWe4n)G9o$ zw*o!b&LzOjT06z#Ntd&YqvtGSAv&PPRyVD4&)c?tz|#G~=yDHhB)&Hin@R%f8LTkV zTmPQRD_KF81knFq(zZgoow=gt`tJ%E{w8aPo1QF}N@{!lj;zkf5eBWPWkyH6lo57L zM_^BQvah6Yjcg8+GP#bqp6|v=>I) zZjYU1Q5dMlsg@{?vk&6<$ts-OiDg&Uz+uc0Adl1%>zu5E*#0ND{k{n(!t)qR7vJIl z5=_`Qw$$6w0@5L}(B7w`ikucAia_oRaDbJ8MVv8TO%x4$g-7~wM+=Z$QapXG9IV?d zF$!|$KqHMIfG~Z`KnE>MK*AwY4s9$?rt^Vh;hSfof&XBWS!8f9QWPBn36q(MZ-XdL zA<7uLE+QGCR8bf~TR8LS(97$fD0U}`A-*TmX#1rukxw$Xp4jWR3F%oJmr9KUmZ=69 z{=U|Zdo(Qx^3_UVV~+j=eV$C+Djt+9h-14AF@6}>?`DiiJ0Pl^xCw|7F5Sd+Ef%-2 zC_p~Ms3_6W(L&^JF~gauA`BNHFy=fJ*G=&3z}D;NQK}iq8^no2xNEf45Wi+;;w_c3t!;e4N3 zpjf;n(!}dss|1&lgw!(jOvKjh=jVC(rPv~pLgdcPsKlI!{!+VZEi>} z=jD46YcK0b_{&gKMc}sGCtC?9jNZ5-aBeu|d{ef@6;F*(T4WNA2w-5s{qaxzcrpXs z5Xm+xyw?(2A*60a?k8?zd7CGA$TQSh8$c-r`oUl81<>r@m8tDwn-qk9gT?~p`2)RG zDS29?@eLPnzS4h{x;Dh)?TAQzd)T^g8}vQUjRSTsy7+ihz|V%=B-@a3eypyGV`_pL z=}S@s*J$~~%GSRtgO?aX(e6~=3Q;9^$T?~_6_~JA9*G@V=Zzs-y~MpvefI$?GG+a) z9#lDBSyuEng&>mM$T5?)>t3zCyYruuI&HXS#(2CB|8vwWLJ}m~c39TMXI(+O=1Dgl7}h5r=mvF9MPU`gcmW7j_@y7H zmnKjmrj}agA5PreeRI=~5uNuAqMr{kU$=g+*Negc*Nm)N^W=JwHgNcq`@P2Xj=fTH zg~Fva+)HqtJ8}bgrs8r=du_K)e{S9V2VM3RQs`-^DGt46$s`TkZIZ2}h30ZEp##ZD z`vwGUP#yl>AXT+<{4%mRq4yyY7>u5=Lvhw=GZIwIxXv3bK=$NE!p}Yk9@;+yj}$iN z2Iz~$|CNCOdM}<;9o}vOCT4Pe*4rlSzVZVYm_bFPEHag5umKp~$l{r(O=nGK-3f7b zfkNlJ_L7fxcQEP^Ydt8>z8>wXUbg7DgGK15sdcHl9t*Asnq>PYm*MGQNL13-n5A>A`w{rQ^8pbz>;3 z-rM}{{y$k~XQvnj@4-60d2Wd0Ca$u9f_}i z?A5YxMfwFsG%lCiRcw2$%lZ=RK}}LCQtZK60u$rEPP^HE<1+ZImHty7>ZDa?z5L3h z$ckh`6SAEn91W}pPv|%J+kf;Gpb4#|?Ux{2ldRgq6+w6>p$}9_{|!qlxo`Ghp{~+Fk&oWRi7RFNRKT~HiikupzkqQV*xkaDw*ya| zM0=43Ly-#h)N%5dRQ6PirtmG9Szw)m{=L$uvq*Dt0Z+`{tyFYU2PLSoA&pHmFQ<~7 z5;CWNDGBo*b|%M%a-iq^ssFx#dx38eIkGtF0+lh^WDmsK1GTEML6r=}itc#42Zglb zZtS+5_W2hI8Z*YQ#?b%W5rKbhc>L!T@S+Q>YvHI3bz4g%FAHf}-gmpW!Urd3yT3v! z@HqBejtvJn(`4ep$U?5QVkL__13v|@*DRx+^z-f0Uf%zzg+E+`VGwvUo3NQiA(F{n zXFT`0Jf=X8Y<-i_uA_PDi|ck~_jtgRZrP+Cxu384oQ}Rm zZhYy;MTx-&VeGqKfl)GroP?LXl;VScTeKi_n{W9E%5gO*Xju@xL?9c6d9KfaA%_YH z+<78;pwadxVaJhyn_inctjHcX7bdR7+P8K^fbiSWr;s7b5x|6hE-9@Wcd$sx6Pt}F z5djw|j+#U@D%;9pN~`DifeWjy%$7BX_o)Di;Dkfl%y~s=QWtqt^0~O`#}tXL&te+T z+V28a{TkYstVX@6r$_UXhcPjct2cn>t^9L2dh$K_{d%s$`Ovy+^3^E4W=kJo!eOi~ z-V4g2t$XsHeb^&)-aCzYWt;|wweHFa#VmU1;SdBfAr#!#?MN}qSFU#_T4&xij6-%N z0Gi0w+{Xlv>lgUp=Bn2_#@Ik#-v@q{Y3BznuE1MKV(6HQbb2Mo@Vk2q@Q`qvNNo;0 zo%=U?kVl-_c+oKCQ~2VMjJG3mywG;b)$pOwnLwUXcL-ic>GS;V^}I1ktCfPVi@v?{mJ((WGm7*nV>58T(@E*k(yST~2qzX9IP!+a?!ULV?wkulKZx=5d2 zp&WnS(jOu1*|;4BHv1QL#-v-%E=U!Hxr(F4LmMka!CYc5UFjQG0m6f}>d#r^&HZ1o zO@e;=;9wHollGI(t!ZCR346Y#E!*g!%rWp28w}=(v!7d**a%NQ6a9GJH4VHzyOtfa z#%7$7b}0d-i_jHw{1Q0aRhf_1@y(viV|1xwMLK??0bdQr1TG(+YueZw6mA)aDeV2C zp%OAW30+mq{94Cw)8J16)c)adSQ8=?hAZx4*BIB+m?QB#1^fkRNu>4CzwbaRLhbei z%Q>+;iGlqmjHB_1JtqO_!hMIk7~dloq!|I}gg!59D*=aw69(KL1rW>mZMRg+Ty(^M zNPV*6k=gti>LaC<^r(~H5Z=#dT@##3(Fd)9RQnphE?8;hA4CD+1uOFA$P(brmblU_ zwxxu3x#~Z7@ceU+eZi5U>Wzs2l`|_-v<^+t?F-T%#%q9ti{>lmw{WxwkQx8C{2=Qq zKbXp;$j_)oo2I9R$C4)3fR{M2;$6~p=qDZ3 zIujXyJ8Lw4U?eNd<1ikKD&ZSB&1S=h0%IeW?$iJzfYE=!I?mvo_EQvXQ8H7Y)!rWV zFPGS}i-0*=#?7OEmA4QBncb&47ajtOThsuLk01fIoB-P$%f8I8iRWMo|0CIk?3lgb zsLOKs+*}^;a@v=t1r?Agr8<%Tabsh~F`?`lVt_dY=;@X zY6w9qZ_h3$id_;XhyrnYBTH$q5}?5*QR5!U%2vB38Sy5{aA#Tj4x7_4!PDg5KJGWw zlf=OQ98+~+ipB#?`RkGVzA;=4*!W!(;JOtHJokmV7N_Mfc^O!KNqIYS*n*VwIf~jO8D7n zz3qWs0$bq+u~@GyS&`l_>)xK%+eKoP&g+ZcDm$ZK-vd|Ii)~1fO{9@6yQ@)H6X4D8 zCt>zRmTdtqHLNOhT*y}>=OINi!3B4#O|F;^M%NTB zf<>aes7J-U;kF+FRyE>&Z^FNjeiq%(wpx1LNUMd=hWdi{{pIk8d1J@-eDfrQ;Ej}Ym%XlaF zXB9TTvukz>KI}QZJt&~pTUPq|@kI91omqvDWKw<@!peCz5<600y)b_>0^TBcr6g0K zJYAtAP=U=bn=6Zkxq28u34eh|*~t-lxJ^gGrtDi}Nlu|iPf&S8~3*0@cGM^B3FwWan_M2VnQJCTHGQyg}&mRg@(X{o2 zEQfs>$!`t{^$z0X1v^Y=@W2sz??nJ5Q2^$zFld)wK2)4_-*MpLCeeHa!|ARwuGU=y z%jhehUz}en$Q0OVqv*sZQwcwX-MScwJ=NxRsm>k!4k6U)$`a~om;$T+i=!L4~Hb2x}a5^$;p{R0i>q~0C zASX0@?jw^K0|lmt3i-~*L}Va_KR^N|*9JUmdxm`No&1_hS@q3^PD9BwW(}@-295B# z0oMLUxP8pJ*2jo6U-O19wQ-Jyoya-ZcjdOew01Yy9`AXXTzP5ucZPw`PaAi@Jo$PV zh0zdnlWA)56gD*W(Eb>~k4I^w#mv6UHwdfDJP{r%Sy54uG@&}Dxvgh$FMP`j@AlbN zrf)d+lL&s9P3Z95-W38+_Nh#wv0HrcD`8aIqia z!OvpEoh5IwZtdt)N$XF2^s+X)koEHg-PO!Lv%67a&g`Mp5M#l~Hq8$E*^@AqRi8av zxs15=){*39=+=hsr}e{J-U=ENoO5a0I@+^KuVJ{z?E_P)>*FP>#JeXF-|C(}4(9N} zC(X`(m5_p&S&tCjNV=73TZdh(pga>?CXRwzIdG*OZ61D4>rq}UuPU%}<5!Vu6#f3S zf)bXcA^DM*Z4@-OCubP)V%RAJj<#bcx}f0bEcwh@nwylVmuMLqEHQ{n*f>g1pp$NU zuhJ04>@HKV0c&xiQ&+g7I2o$6RZe$xc{W6Cbrg6vP5(9E+fiMLZ8sJYYVXrotJKQy z8hOBc2idmw3HTck1{U3v*;%cG6z}#P;`GMeYyA^2vsZ(50-tk#l)C(O_}=fnSsJSH zXVQBM5aqfq&Ok5wl<7sSsM_P_(v3%ZUEb})O&DyXb4jVLcqj9YVv5~0-}RHut%(m} zG>F7o>9J?;XA6N>gIW}6^mt9Zay&tC2S2D(D zM~!^PHrw-{SE@6=d=@%t0|gk{C^R_}%Yvvo>wXlhwghh}3P&d|Pg3N-Z1Wm5ibu3biEKtF_O MUe~);fwqhMAJ(vc3jhEB literal 0 HcmV?d00001 diff --git a/index.html b/index.html index c3c0d41..ae0550e 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,8 @@ Coffee Thoughts - - + +