diff --git a/README.md b/README.md new file mode 100644 index 0000000..a8e2c4b --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +[![Netlify Status](https://api.netlify.com/api/v1/badges/f22041b3-4a08-41db-9816-42d55cde6e18/deploy-status)](https://app.netlify.com/sites/nst-creators-corner/deploys) diff --git a/assets/vivek.css b/assets/vivek.css new file mode 100644 index 0000000..030bde3 --- /dev/null +++ b/assets/vivek.css @@ -0,0 +1 @@ +*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}html{scroll-behavior:smooth}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.z-10{z-index:10}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-2{margin-left:.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-16{height:4rem}.h-32{height:8rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-32{width:8rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-full{width:100%}.max-w-4xl{max-width:56rem}.max-w-7xl{max-width:80rem}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-12{gap:3rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/10{background-color:#ffffff1a}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-indigo-50{--tw-gradient-from: #eef2ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(238 242 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-600{--tw-gradient-from: #4f46e5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-purple-600{--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #9333ea var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-white{--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #fff var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-pink-500{--tw-gradient-to: #ec4899 var(--tw-gradient-to-position)}.to-purple-50{--tw-gradient-to: #faf5ff var(--tw-gradient-to-position)}.to-purple-600{--tw-gradient-to: #9333ea var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.object-cover{-o-object-fit:cover;object-fit:cover}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-32{padding-top:8rem;padding-bottom:8rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-3{padding-bottom:.75rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-20{padding-top:5rem}.text-center{text-align:center}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.tracking-wide{letter-spacing:.025em}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(219 39 119 / var(--tw-text-opacity))}.text-sky-500{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-white\/90{color:#ffffffe6}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.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}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:from-indigo-700:hover{--tw-gradient-from: #4338ca var(--tw-gradient-from-position);--tw-gradient-to: rgb(67 56 202 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-purple-700:hover{--tw-gradient-to: #7e22ce var(--tw-gradient-to-position)}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.hover\:text-indigo-600:hover{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.hover\:text-pink-700:hover{--tw-text-opacity: 1;color:rgb(190 24 93 / var(--tw-text-opacity))}.hover\:text-sky-600:hover{--tw-text-opacity: 1;color:rgb(2 132 199 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-indigo-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(199 210 254 / var(--tw-ring-opacity))}.focus\:ring-indigo-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(165 180 252 / var(--tw-ring-opacity))}.focus\:ring-opacity-50:focus{--tw-ring-opacity: .5}@media (min-width: 640px){.sm\:px-3{padding-left:.75rem;padding-right:.75rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}}@media (min-width: 768px){.md\:flex{display:flex}.md\:hidden{display:none}.md\:w-48{width:12rem}.md\:flex-shrink-0{flex-shrink:0}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:p-8{padding:2rem}.md\:text-6xl{font-size:3.75rem;line-height:1}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:px-8{padding-left:2rem;padding-right:2rem}} diff --git a/assets/vivek.js b/assets/vivek.js new file mode 100644 index 0000000..2c674ab --- /dev/null +++ b/assets/vivek.js @@ -0,0 +1,107 @@ +function Jm(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 bm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var id={exports:{}},Co={},od={exports:{}},j={};/** + * @license React + * react.production.min.js + * + * Vivek w + * + * Vivek w + * Vivek w + */var Xr=Symbol.for("react.element"),eg=Symbol.for("react.portal"),tg=Symbol.for("react.fragment"),ng=Symbol.for("react.strict_mode"),rg=Symbol.for("react.profiler"),ig=Symbol.for("react.provider"),og=Symbol.for("react.context"),sg=Symbol.for("react.forward_ref"),lg=Symbol.for("react.suspense"),ag=Symbol.for("react.memo"),ug=Symbol.for("react.lazy"),Pu=Symbol.iterator;function cg(e){return e===null||typeof e!="object"?null:(e=Pu&&e[Pu]||e["@@iterator"],typeof e=="function"?e:null)}var sd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ld=Object.assign,ad={};function Xn(e,t,n){this.props=e,this.context=t,this.refs=ad,this.updater=n||sd}Xn.prototype.isReactComponent={};Xn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Xn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ud(){}ud.prototype=Xn.prototype;function Yl(e,t,n){this.props=e,this.context=t,this.refs=ad,this.updater=n||sd}var Xl=Yl.prototype=new ud;Xl.constructor=Yl;ld(Xl,Xn.prototype);Xl.isPureReactComponent=!0;var Cu=Array.isArray,cd=Object.prototype.hasOwnProperty,Zl={current:null},fd={key:!0,ref:!0,__self:!0,__source:!0};function dd(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)cd.call(t,r)&&!fd.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1>>1,re=R[X];if(0>>1;Xi(Yo,D))Gti(oi,Yo)?(R[X]=oi,R[Gt]=D,X=Gt):(R[X]=Yo,R[Kt]=D,X=Kt);else if(Gti(oi,D))R[X]=oi,R[Gt]=D,X=Gt;else break e}}return V}function i(R,V){var D=R.sortIndex-V.sortIndex;return D!==0?D:R.id-V.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,g=!1,v=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,p=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 m(R){for(var V=n(u);V!==null;){if(V.callback===null)r(u);else if(V.startTime<=R)r(u),V.sortIndex=V.expirationTime,t(a,V);else break;V=n(u)}}function x(R){if(y=!1,m(R),!v)if(n(a)!==null)v=!0,ri(P);else{var V=n(u);V!==null&&b(x,V.startTime-R)}}function P(R,V){v=!1,y&&(y=!1,p(T),T=-1),g=!0;var D=d;try{for(m(V),f=n(a);f!==null&&(!(f.expirationTime>V)||R&&!ne());){var X=f.callback;if(typeof X=="function"){f.callback=null,d=f.priorityLevel;var re=X(f.expirationTime<=V);V=e.unstable_now(),typeof re=="function"?f.callback=re:f===n(a)&&r(a),m(V)}else r(a);f=n(a)}if(f!==null)var ii=!0;else{var Kt=n(u);Kt!==null&&b(x,Kt.startTime-V),ii=!1}return ii}finally{f=null,d=D,g=!1}}var E=!1,M=null,T=-1,_=5,N=-1;function ne(){return!(e.unstable_now()-N<_)}function vt(){if(M!==null){var R=e.unstable_now();N=R;var V=!0;try{V=M(!0,R)}finally{V?Ht():(E=!1,M=null)}}else E=!1}var Ht;if(typeof h=="function")Ht=function(){h(vt)};else if(typeof MessageChannel<"u"){var er=new MessageChannel,Su=er.port2;er.port1.onmessage=vt,Ht=function(){Su.postMessage(null)}}else Ht=function(){w(vt,0)};function ri(R){M=R,E||(E=!0,Ht())}function b(R,V){T=w(function(){R(e.unstable_now())},V)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(R){R.callback=null},e.unstable_continueExecution=function(){v||g||(v=!0,ri(P))},e.unstable_forceFrameRate=function(R){0>R||125X?(R.sortIndex=D,t(u,R),n(a)===null&&R===n(u)&&(y?(p(T),T=-1):y=!0,b(x,D-X))):(R.sortIndex=re,t(a,R),v||g||(v=!0,ri(P))),R},e.unstable_shouldYield=ne,e.unstable_wrapCallback=function(R){var V=d;return function(){var D=d;d=V;try{return R.apply(this,arguments)}finally{d=D}}}})(vd);gd.exports=vd;var Cg=gd.exports;/** + * @license React + * react-dom.production.min.js + * + * Vivek w + * + * Vivek w + * Vivek w + */var kg=C,Le=Cg;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Os=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]*$/,Tu={},Eu={};function Eg(e){return Os.call(Eu,e)?!0:Os.call(Tu,e)?!1:Tg.test(e)?Eu[e]=!0:(Tu[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 Mg(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 ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ue[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];ue[t]=new we(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ue[e]=new we(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ue[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){ue[e]=new we(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ue[e]=new we(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ue[e]=new we(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ue[e]=new we(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ue[e]=new we(e,5,!1,e.toLowerCase(),null,!1,!1)});var Jl=/[\-:]([a-z])/g;function bl(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(Jl,bl);ue[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(Jl,bl);ue[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(Jl,bl);ue[t]=new we(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ue[e]=new we(e,1,!1,e.toLowerCase(),null,!1,!1)});ue.xlinkHref=new we("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ue[e]=new we(e,1,!1,e.toLowerCase(),null,!0,!0)});function ea(e,t,n,r){var i=ue.hasOwnProperty(t)?ue[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{qo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?cr(e):""}function Ag(e){switch(e.tag){case 5:return cr(e.type);case 16:return cr("Lazy");case 13:return cr("Suspense");case 19:return cr("SuspenseList");case 0:case 2:case 15:return e=Jo(e.type,!1),e;case 11:return e=Jo(e.type.render,!1),e;case 1:return e=Jo(e.type,!0),e;default:return""}}function Bs(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 gn:return"Fragment";case mn:return"Portal";case Fs:return"Profiler";case ta:return"StrictMode";case Is:return"Suspense";case zs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case wd:return(e.displayName||"Context")+".Consumer";case xd:return(e._context.displayName||"Context")+".Provider";case na:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ra:return t=e.displayName||null,t!==null?t:Bs(e.type)||"Memo";case wt:t=e._payload,e=e._init;try{return Bs(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 Bs(t);case 8:return t===ta?"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 _t(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Pd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ng(e){var t=Pd(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 ai(e){e._valueTracker||(e._valueTracker=Ng(e))}function Cd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Pd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wi(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 Us(e,t){var n=t.checked;return Q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Mu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=_t(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 kd(e,t){t=t.checked,t!=null&&ea(e,"checked",t,!1)}function $s(e,t){kd(e,t);var n=_t(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")?Ws(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ws(e,t.type,_t(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Au(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 Ws(e,t,n){(t!=="number"||Wi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var fr=Array.isArray;function Vn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ui.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ar(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var gr={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},Vg=["Webkit","ms","Moz","O"];Object.keys(gr).forEach(function(e){Vg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),gr[t]=gr[e]})});function Md(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||gr.hasOwnProperty(e)&&gr[e]?(""+t).trim():t+"px"}function Ad(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Md(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Dg=Q({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 Gs(e,t){if(t){if(Dg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function Qs(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 Ys=null;function ia(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Xs=null,Dn=null,jn=null;function Vu(e){if(e=Jr(e)){if(typeof Xs!="function")throw Error(k(280));var t=e.stateNode;t&&(t=Mo(t),Xs(e.stateNode,e.type,t))}}function Ld(e){Dn?jn?jn.push(e):jn=[e]:Dn=e}function Nd(){if(Dn){var e=Dn,t=jn;if(jn=Dn=null,Vu(e),t)for(e=0;e>>=0,e===0?32:31-(Hg(e)/Kg|0)|0}var ci=64,fi=4194304;function dr(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=dr(l):(o&=s,o!==0&&(r=dr(o)))}else s=n&~i,s!==0?r=dr(s):o!==0&&(r=dr(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 Zr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ge(t),e[t]=n}function Xg(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=yr),Uu=" ",$u=!1;function qd(e,t){switch(e){case"keyup":return C0.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 vn=!1;function T0(e,t){switch(e){case"compositionend":return Jd(t);case"keypress":return t.which!==32?null:($u=!0,Uu);case"textInput":return e=t.data,e===Uu&&$u?null:e;default:return null}}function E0(e,t){if(vn)return e==="compositionend"||!da&&qd(e,t)?(e=Xd(),Li=ua=kt=null,vn=!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=Gu(n)}}function nh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?nh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function rh(){for(var e=window,t=Wi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wi(e.document)}return t}function ha(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 _0(e){var t=rh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&nh(n.ownerDocument.documentElement,n)){if(r!==null&&ha(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=Qu(n,o);var s=Qu(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,yn=null,tl=null,wr=null,nl=!1;function Yu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;nl||yn==null||yn!==Wi(r)||(r=yn,"selectionStart"in r&&ha(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}),wr&&_r(wr,r)||(wr=r,r=Zi(tl,"onSelect"),0Sn||(e.current=al[Sn],al[Sn]=null,Sn--)}function z(e,t){Sn++,al[Sn]=e.current,e.current=t}var Ot={},ge=Ut(Ot),Ce=Ut(!1),sn=Ot;function Bn(e,t){var n=e.type.contextTypes;if(!n)return Ot;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 ke(e){return e=e.childContextTypes,e!=null}function Ji(){U(Ce),U(ge)}function tc(e,t,n){if(ge.current!==Ot)throw Error(k(168));z(ge,t),z(Ce,n)}function dh(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(k(108,Lg(e)||"Unknown",i));return Q({},n,r)}function bi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ot,sn=ge.current,z(ge,e),z(Ce,Ce.current),!0}function nc(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=dh(e,t,sn),r.__reactInternalMemoizedMergedChildContext=e,U(Ce),U(ge),z(ge,e)):U(Ce),z(Ce,n)}var rt=null,Ao=!1,ds=!1;function hh(e){rt===null?rt=[e]:rt.push(e)}function Q0(e){Ao=!0,hh(e)}function $t(){if(!ds&&rt!==null){ds=!0;var e=0,t=F;try{var n=rt;for(F=1;e>=s,i-=s,it=1<<32-Ge(t)+i|n<T?(_=M,M=null):_=M.sibling;var N=d(p,M,m[T],x);if(N===null){M===null&&(M=_);break}e&&M&&N.alternate===null&&t(p,M),h=o(N,h,T),E===null?P=N:E.sibling=N,E=N,M=_}if(T===m.length)return n(p,M),$&&Yt(p,T),P;if(M===null){for(;TT?(_=M,M=null):_=M.sibling;var ne=d(p,M,N.value,x);if(ne===null){M===null&&(M=_);break}e&&M&&ne.alternate===null&&t(p,M),h=o(ne,h,T),E===null?P=ne:E.sibling=ne,E=ne,M=_}if(N.done)return n(p,M),$&&Yt(p,T),P;if(M===null){for(;!N.done;T++,N=m.next())N=f(p,N.value,x),N!==null&&(h=o(N,h,T),E===null?P=N:E.sibling=N,E=N);return $&&Yt(p,T),P}for(M=r(p,M);!N.done;T++,N=m.next())N=g(M,p,T,N.value,x),N!==null&&(e&&N.alternate!==null&&M.delete(N.key===null?T:N.key),h=o(N,h,T),E===null?P=N:E.sibling=N,E=N);return e&&M.forEach(function(vt){return t(p,vt)}),$&&Yt(p,T),P}function w(p,h,m,x){if(typeof m=="object"&&m!==null&&m.type===gn&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case li:e:{for(var P=m.key,E=h;E!==null;){if(E.key===P){if(P=m.type,P===gn){if(E.tag===7){n(p,E.sibling),h=i(E,m.props.children),h.return=p,p=h;break e}}else if(E.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===wt&&oc(P)===E.type){n(p,E.sibling),h=i(E,m.props),h.ref=sr(p,E,m),h.return=p,p=h;break e}n(p,E);break}else t(p,E);E=E.sibling}m.type===gn?(h=rn(m.props.children,p.mode,x,m.key),h.return=p,p=h):(x=Ii(m.type,m.key,m.props,null,p.mode,x),x.ref=sr(p,h,m),x.return=p,p=x)}return s(p);case mn:e:{for(E=m.key;h!==null;){if(h.key===E)if(h.tag===4&&h.stateNode.containerInfo===m.containerInfo&&h.stateNode.implementation===m.implementation){n(p,h.sibling),h=i(h,m.children||[]),h.return=p,p=h;break e}else{n(p,h);break}else t(p,h);h=h.sibling}h=ws(m,p.mode,x),h.return=p,p=h}return s(p);case wt:return E=m._init,w(p,h,E(m._payload),x)}if(fr(m))return v(p,h,m,x);if(tr(m))return y(p,h,m,x);yi(p,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,h!==null&&h.tag===6?(n(p,h.sibling),h=i(h,m),h.return=p,p=h):(n(p,h),h=xs(m,p.mode,x),h.return=p,p=h),s(p)):n(p,h)}return w}var $n=vh(!0),yh=vh(!1),no=Ut(null),ro=null,kn=null,va=null;function ya(){va=kn=ro=null}function xa(e){var t=no.current;U(no),e._currentValue=t}function fl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function On(e,t){ro=e,va=kn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Pe=!0),e.firstContext=null)}function Be(e){var t=e._currentValue;if(va!==e)if(e={context:e,memoizedValue:t,next:null},kn===null){if(ro===null)throw Error(k(308));kn=e,ro.dependencies={lanes:0,firstContext:e}}else kn=kn.next=e;return t}var bt=null;function wa(e){bt===null?bt=[e]:bt.push(e)}function xh(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,wa(t)):(n.next=i.next,i.next=n),t.interleaved=n,pt(e,r)}function pt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var St=!1;function Sa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function wh(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function lt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Nt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,O&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,pt(e,n)}return i=r.interleaved,i===null?(t.next=t,wa(r)):(t.next=i.next,i.next=t),r.interleaved=t,pt(e,n)}function Vi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,sa(e,n)}}function sc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function io(e,t,n,r){var i=e.updateQueue;St=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?o=u:s.next=u,s=a;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==s&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=a))}if(o!==null){var f=i.baseState;s=0,c=u=a=null,l=o;do{var d=l.lane,g=l.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:g,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var v=e,y=l;switch(d=t,g=n,y.tag){case 1:if(v=y.payload,typeof v=="function"){f=v.call(g,f,d);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=y.payload,d=typeof v=="function"?v.call(g,f,d):v,d==null)break e;f=Q({},f,d);break e;case 2:St=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[l]:d.push(l))}else g={eventTime:g,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=g,a=f):c=c.next=g,s|=d;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;d=l,l=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(!0);if(c===null&&(a=f),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);un|=s,e.lanes=s,e.memoizedState=f}}function lc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=ps.transition;ps.transition={};try{e(!1),t()}finally{F=n,ps.transition=r}}function Fh(){return Ue().memoizedState}function q0(e,t,n){var r=Dt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ih(e))zh(t,n);else if(n=xh(e,t,n,r),n!==null){var i=ye();Qe(n,e,r,i),Bh(n,t,r)}}function J0(e,t,n){var r=Dt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ih(e))zh(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,Ye(l,s)){var a=t.interleaved;a===null?(i.next=i,wa(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=xh(e,t,i,r),n!==null&&(i=ye(),Qe(n,e,r,i),Bh(n,t,r))}}function Ih(e){var t=e.alternate;return e===G||t!==null&&t===G}function zh(e,t){Sr=so=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Bh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,sa(e,n)}}var lo={readContext:Be,useCallback:ce,useContext:ce,useEffect:ce,useImperativeHandle:ce,useInsertionEffect:ce,useLayoutEffect:ce,useMemo:ce,useReducer:ce,useRef:ce,useState:ce,useDebugValue:ce,useDeferredValue:ce,useTransition:ce,useMutableSource:ce,useSyncExternalStore:ce,useId:ce,unstable_isNewReconciler:!1},b0={readContext:Be,useCallback:function(e,t){return Ze().memoizedState=[e,t===void 0?null:t],e},useContext:Be,useEffect:uc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ji(4194308,4,Vh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ji(4194308,4,e,t)},useInsertionEffect:function(e,t){return ji(4,2,e,t)},useMemo:function(e,t){var n=Ze();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ze();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=q0.bind(null,G,e),[r.memoizedState,e]},useRef:function(e){var t=Ze();return e={current:e},t.memoizedState=e},useState:ac,useDebugValue:Aa,useDeferredValue:function(e){return Ze().memoizedState=e},useTransition:function(){var e=ac(!1),t=e[0];return e=Z0.bind(null,e[1]),Ze().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=G,i=Ze();if($){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),oe===null)throw Error(k(349));an&30||kh(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,uc(Eh.bind(null,r,o,e),[e]),r.flags|=2048,Wr(9,Th.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ze(),t=oe.identifierPrefix;if($){var n=ot,r=it;n=(r&~(1<<32-Ge(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ur++,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[qe]=t,e[Ir]=r,Zh(e,t,!1,!1),t.stateNode=e;e:{switch(s=Qs(n,r),n){case"dialog":B("cancel",e),B("close",e),i=r;break;case"iframe":case"object":case"embed":B("load",e),i=r;break;case"video":case"audio":for(i=0;iKn&&(t.flags|=128,r=!0,lr(o,!1),t.lanes=4194304)}else{if(!r)if(e=oo(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),lr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!$)return fe(t),null}else 2*q()-o.renderingStartTime>Kn&&n!==1073741824&&(t.flags|=128,r=!0,lr(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=q(),t.sibling=null,n=H.current,z(H,r?n&1|2:n&1),t):(fe(t),null);case 22:case 23:return _a(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Re&1073741824&&(fe(t),t.subtreeFlags&6&&(t.flags|=8192)):fe(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function lv(e,t){switch(ma(t),t.tag){case 1:return ke(t.type)&&Ji(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Wn(),U(Ce),U(ge),ka(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ca(t),null;case 13:if(U(H),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));Un()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(H),null;case 4:return Wn(),null;case 10:return xa(t.type._context),null;case 22:case 23:return _a(),null;case 24:return null;default:return null}}var wi=!1,he=!1,av=typeof WeakSet=="function"?WeakSet:Set,A=null;function Tn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Y(e,t,r)}else n.current=null}function wl(e,t,n){try{n()}catch(r){Y(e,t,r)}}var wc=!1;function uv(e,t){if(rl=Yi,e=rh(),ha(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 g;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),(g=f.firstChild)!==null;)d=f,f=g;for(;;){if(f===e)break t;if(d===n&&++u===i&&(l=s),d===o&&++c===r&&(a=s),(g=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=g}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(il={focusedElem:e,selectionRange:n},Yi=!1,A=t;A!==null;)if(t=A,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,A=e;else for(;A!==null;){t=A;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var y=v.memoizedProps,w=v.memoizedState,p=t.stateNode,h=p.getSnapshotBeforeUpdate(t.elementType===t.type?y:We(t.type,y),w);p.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(x){Y(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,A=e;break}A=t.return}return v=wc,wc=!1,v}function Pr(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&&wl(t,n,o)}i=i.next}while(i!==r)}}function Vo(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 Sl(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 bh(e){var t=e.alternate;t!==null&&(e.alternate=null,bh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[qe],delete t[Ir],delete t[ll],delete t[K0],delete t[G0])),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 ep(e){return e.tag===5||e.tag===3||e.tag===4}function Sc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ep(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 Pl(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=qi));else if(r!==4&&(e=e.child,e!==null))for(Pl(e,t,n),e=e.sibling;e!==null;)Pl(e,t,n),e=e.sibling}function Cl(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(Cl(e,t,n),e=e.sibling;e!==null;)Cl(e,t,n),e=e.sibling}var se=null,He=!1;function yt(e,t,n){for(n=n.child;n!==null;)tp(e,t,n),n=n.sibling}function tp(e,t,n){if(Je&&typeof Je.onCommitFiberUnmount=="function")try{Je.onCommitFiberUnmount(ko,n)}catch{}switch(n.tag){case 5:he||Tn(n,t);case 6:var r=se,i=He;se=null,yt(e,t,n),se=r,He=i,se!==null&&(He?(e=se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):se.removeChild(n.stateNode));break;case 18:se!==null&&(He?(e=se,n=n.stateNode,e.nodeType===8?fs(e.parentNode,n):e.nodeType===1&&fs(e,n),Dr(e)):fs(se,n.stateNode));break;case 4:r=se,i=He,se=n.stateNode.containerInfo,He=!0,yt(e,t,n),se=r,He=i;break;case 0:case 11:case 14:case 15:if(!he&&(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)&&wl(n,t,s),i=i.next}while(i!==r)}yt(e,t,n);break;case 1:if(!he&&(Tn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Y(n,t,l)}yt(e,t,n);break;case 21:yt(e,t,n);break;case 22:n.mode&1?(he=(r=he)||n.memoizedState!==null,yt(e,t,n),he=r):yt(e,t,n);break;default:yt(e,t,n)}}function Pc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new av),t.forEach(function(r){var i=yv.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function $e(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*fv(r/1960))-r,10e?16:e,Tt===null)var r=!1;else{if(e=Tt,Tt=null,co=0,O&6)throw Error(k(331));var i=O;for(O|=4,A=e.current;A!==null;){var o=A,s=o.child;if(A.flags&16){var l=o.deletions;if(l!==null){for(var a=0;aq()-Da?nn(e,0):Va|=n),Te(e,t)}function up(e,t){t===0&&(e.mode&1?(t=fi,fi<<=1,!(fi&130023424)&&(fi=4194304)):t=1);var n=ye();e=pt(e,t),e!==null&&(Zr(e,t,n),Te(e,n))}function vv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),up(e,n)}function yv(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(k(314))}r!==null&&r.delete(t),up(e,n)}var cp;cp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ce.current)Pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Pe=!1,ov(e,t,n);Pe=!!(e.flags&131072)}else Pe=!1,$&&t.flags&1048576&&ph(t,to,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;_i(e,t),e=t.pendingProps;var i=Bn(t,ge.current);On(t,n),i=Ea(null,t,r,e,i,n);var o=Ra();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,ke(r)?(o=!0,bi(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Sa(t),i.updater=No,t.stateNode=i,i._reactInternals=t,hl(t,r,e,n),t=gl(null,t,r,!0,o,n)):(t.tag=0,$&&o&&pa(t),ve(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=wv(r),e=We(r,e),i){case 0:t=ml(null,t,r,e,n);break e;case 1:t=vc(null,t,r,e,n);break e;case 11:t=mc(null,t,r,e,n);break e;case 14:t=gc(null,t,r,We(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),ml(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),vc(e,t,r,i,n);case 3:e:{if(Qh(t),e===null)throw Error(k(387));r=t.pendingProps,o=t.memoizedState,i=o.element,wh(e,t),io(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=Hn(Error(k(423)),t),t=yc(e,t,r,n,i);break e}else if(r!==i){i=Hn(Error(k(424)),t),t=yc(e,t,r,n,i);break e}else for(Me=Lt(t.stateNode.containerInfo.firstChild),Ae=t,$=!0,Ke=null,n=yh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Un(),r===i){t=mt(e,t,n);break e}ve(e,t,r,n)}t=t.child}return t;case 5:return Sh(t),e===null&&cl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,ol(r,i)?s=null:o!==null&&ol(r,o)&&(t.flags|=32),Gh(e,t),ve(e,t,s,n),t.child;case 6:return e===null&&cl(t),null;case 13:return Yh(e,t,n);case 4:return Pa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=$n(t,null,r,n):ve(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),mc(e,t,r,i,n);case 7:return ve(e,t,t.pendingProps,n),t.child;case 8:return ve(e,t,t.pendingProps.children,n),t.child;case 12:return ve(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,z(no,r._currentValue),r._currentValue=s,o!==null)if(Ye(o.value,s)){if(o.children===i.children&&!Ce.current){t=mt(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=lt(-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),fl(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(k(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),fl(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}ve(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,On(t,n),i=Be(i),r=r(i),t.flags|=1,ve(e,t,r,n),t.child;case 14:return r=t.type,i=We(r,t.pendingProps),i=We(r.type,i),gc(e,t,r,i,n);case 15:return Hh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),_i(e,t),t.tag=1,ke(r)?(e=!0,bi(t)):e=!1,On(t,n),Uh(t,r,i),hl(t,r,i,n),gl(null,t,r,!0,e,n);case 19:return Xh(e,t,n);case 22:return Kh(e,t,n)}throw Error(k(156,t.tag))};function fp(e,t){return Id(e,t)}function xv(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 Ie(e,t,n,r){return new xv(e,t,n,r)}function Fa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function wv(e){if(typeof e=="function")return Fa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===na)return 11;if(e===ra)return 14}return 2}function jt(e,t){var n=e.alternate;return n===null?(n=Ie(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 Ii(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Fa(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case gn:return rn(n.children,i,o,t);case ta:s=8,i|=8;break;case Fs:return e=Ie(12,n,t,i|2),e.elementType=Fs,e.lanes=o,e;case Is:return e=Ie(13,n,t,i),e.elementType=Is,e.lanes=o,e;case zs:return e=Ie(19,n,t,i),e.elementType=zs,e.lanes=o,e;case Sd:return jo(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xd:s=10;break e;case wd:s=9;break e;case na:s=11;break e;case ra:s=14;break e;case wt:s=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=Ie(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function rn(e,t,n,r){return e=Ie(7,e,r,t),e.lanes=n,e}function jo(e,t,n,r){return e=Ie(22,e,r,t),e.elementType=Sd,e.lanes=n,e.stateNode={isHidden:!1},e}function xs(e,t,n){return e=Ie(6,e,null,t),e.lanes=n,e}function ws(e,t,n){return t=Ie(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Sv(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=es(0),this.expirationTimes=es(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=es(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ia(e,t,n,r,i,o,s,l,a){return e=new Sv(e,t,n,l,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ie(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sa(o),e}function Pv(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(mp)}catch(e){console.error(e)}}mp(),md.exports=Ve;var Rv=md.exports,gp,Lc=Rv;gp=Lc.createRoot,Lc.hydrateRoot;/** + * @remix-run/router v1.21.0 + * + * Copyright (c) Remix Software Inc. + * + * Vivek w + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function po(){return po=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function vp(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Av(){return Math.random().toString(36).substr(2,8)}function Vc(e,t){return{usr:e.state,key:e.key,idx:t}}function Ml(e,t,n,r){return n===void 0&&(n=null),po({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?zo(t):t,{state:n,key:t&&t.key||r||Av()})}function yp(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 zo(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 Lv(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,l=Et.Pop,a=null,u=c();u==null&&(u=0,s.replaceState(po({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function f(){l=Et.Pop;let w=c(),p=w==null?null:w-u;u=w,a&&a({action:l,location:y.location,delta:p})}function d(w,p){l=Et.Push;let h=Ml(y.location,w,p);u=c()+1;let m=Vc(h,u),x=y.createHref(h);try{s.pushState(m,"",x)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;i.location.assign(x)}o&&a&&a({action:l,location:y.location,delta:1})}function g(w,p){l=Et.Replace;let h=Ml(y.location,w,p);u=c();let m=Vc(h,u),x=y.createHref(h);s.replaceState(m,"",x),o&&a&&a({action:l,location:y.location,delta:0})}function v(w){let p=i.location.origin!=="null"?i.location.origin:i.location.href,h=typeof w=="string"?w:yp(w);return h=h.replace(/ $/,"%20"),Ee(p,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,p)}let y={get action(){return l},get location(){return e(i,s)},listen(w){if(a)throw new Error("A history only accepts one active listener");return i.addEventListener(Nc,f),a=w,()=>{i.removeEventListener(Nc,f),a=null}},createHref(w){return t(i,w)},createURL:v,encodeLocation(w){let p=v(w);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:d,replace:g,go(w){return s.go(w)}};return y}var Dc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Dc||(Dc={}));function Nv(e,t,n){return n===void 0&&(n="/"),Vv(e,t,n,!1)}function Vv(e,t,n,r){let i=typeof t=="string"?zo(t):t,o=Sp(i.pathname||"/",n);if(o==null)return null;let s=xp(e);Dv(s);let l=null;for(let a=0;l==null&&a{let a={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};a.relativePath.startsWith("/")&&(Ee(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=In([r,a.relativePath]),c=n.concat(a);o.children&&o.children.length>0&&(Ee(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),xp(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:Bv(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 wp(o.path))i(o,s,a)}),t}function wp(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=wp(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 Dv(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Uv(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const jv=/^:[\w-]+$/,_v=3,Ov=2,Fv=1,Iv=10,zv=-2,jc=e=>e==="*";function Bv(e,t){let n=e.split("/"),r=n.length;return n.some(jc)&&(r+=zv),t&&(r+=Ov),n.filter(i=>!jc(i)).reduce((i,o)=>i+(jv.test(o)?_v:o===""?Fv:Iv),r)}function Uv(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 $v(e,t,n){let{routesMeta:r}=e,i={},o="/",s=[];for(let l=0;l{let{paramName:d,isOptional:g}=c;if(d==="*"){let y=l[f]||"";s=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const v=l[f];return g&&!v?u[d]=void 0:u[d]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:s,pattern:e}}function Wv(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),vp(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 Hv(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return vp(!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 Sp(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)||"/"}const In=e=>e.join("/").replace(/\/\/+/g,"/"),Kv=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function Gv(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Pp=["post","put","patch","delete"];new Set(Pp);const Qv=["get",...Pp];new Set(Qv);/** + * React Router v6.28.0 + * + * Copyright (c) Remix Software Inc. + * + * Vivek w + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function mo(){return mo=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},w,{params:Object.assign({},l,w.params),pathname:In([a,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?a:In([a,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,n,r);return t&&y?C.createElement(Bo.Provider,{value:{location:mo({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Et.Pop}},y):y}function bv(){let e=ly(),t=Gv(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)"};return C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:i},n):null,null)}const ey=C.createElement(bv,null);class ty extends C.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!==void 0?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!==void 0?C.createElement(Uo.Provider,{value:this.props.routeContext},C.createElement(kp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ny(e){let{routeContext:t,match:n,children:r}=e,i=C.useContext(Yv);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),C.createElement(Uo.Provider,{value:t},r)}function ry(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let c=s.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);c>=0||Ee(!1),s=s.slice(0,Math.min(s.length,c+1))}let a=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,f,d)=>{let g,v=!1,y=null,w=null;n&&(g=l&&f.route.id?l[f.route.id]:void 0,y=f.route.errorElement||ey,a&&(u<0&&d===0?(v=!0,w=null):u===d&&(v=!0,w=f.route.hydrateFallbackElement||null)));let p=t.concat(s.slice(0,d+1)),h=()=>{let m;return g?m=y:v?m=w:f.route.Component?m=C.createElement(f.route.Component,null):f.route.element?m=f.route.element:m=c,C.createElement(ny,{match:f,routeContext:{outlet:c,matches:p,isDataRoute:n!=null},children:m})};return n&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?C.createElement(ty,{location:n.location,revalidation:n.revalidation,component:y,error:g,children:h(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):h()},null)}var Al=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}(Al||{});function iy(e){let t=C.useContext(Xv);return t||Ee(!1),t}function oy(e){let t=C.useContext(Uo);return t||Ee(!1),t}function sy(e){let t=oy(),n=t.matches[t.matches.length-1];return n.route.id||Ee(!1),n.route.id}function ly(){var e;let t=C.useContext(kp),n=iy(Al.UseRouteError),r=sy(Al.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}const Oc={};function ay(e,t){Oc[t]||(Oc[t]=!0,console.warn(t))}const Fc=(e,t,n)=>ay(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+n+"."));function uy(e,t){e!=null&&e.v7_startTransition||Fc("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),!(e!=null&&e.v7_relativeSplatPath)&&!t&&Fc("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function zi(e){Ee(!1)}function cy(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Et.Pop,navigator:o,static:s=!1,future:l}=e;$a()&&Ee(!1);let a=t.replace(/^\/*/,"/"),u=C.useMemo(()=>({basename:a,navigator:o,static:s,future:mo({v7_relativeSplatPath:!1},l)}),[a,l,o,s]);typeof r=="string"&&(r=zo(r));let{pathname:c="/",search:f="",hash:d="",state:g=null,key:v="default"}=r,y=C.useMemo(()=>{let w=Sp(c,a);return w==null?null:{location:{pathname:w,search:f,hash:d,state:g,key:v},navigationType:i}},[a,c,f,d,g,v,i]);return y==null?null:C.createElement(Cp.Provider,{value:u},C.createElement(Bo.Provider,{children:n,value:y}))}function fy(e){let{children:t,location:n}=e;return qv(Ll(t),n)}new Promise(()=>{});function Ll(e,t){t===void 0&&(t=[]);let n=[];return C.Children.forEach(e,(r,i)=>{if(!C.isValidElement(r))return;let o=[...t,i];if(r.type===C.Fragment){n.push.apply(n,Ll(r.props.children,o));return}r.type!==zi&&Ee(!1),!r.props.index||!r.props.children||Ee(!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=Ll(r.props.children,o)),n.push(s)}),n}/** + * React Router DOM v6.28.0 + * + * Copyright (c) Remix Software Inc. + * + * Vivek w + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */const dy="6";try{window.__reactRouterVersion=dy}catch{}const hy="startTransition",Ic=gg[hy];function py(e){let{basename:t,children:n,future:r,window:i}=e,o=C.useRef();o.current==null&&(o.current=Mv({window:i,v5Compat:!0}));let s=o.current,[l,a]=C.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=C.useCallback(f=>{u&&Ic?Ic(()=>a(f)):a(f)},[a,u]);return C.useLayoutEffect(()=>s.listen(c),[s,c]),C.useEffect(()=>uy(r),[r]),C.createElement(cy,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s,future:r})}var zc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(zc||(zc={}));var Bc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Bc||(Bc={}));function my(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}function $o(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Nl=e=>Array.isArray(e);function Tp(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Wa(e,t,n,r){if(typeof t=="function"){const[i,o]=Uc(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=Uc(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function Wo(e,t,n){const r=e.getProps();return Wa(r,t,n!==void 0?n:r.custom,e)}const Ha=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ka=["initial",...Ha],ei=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],hn=new Set(ei),at=e=>e*1e3,ut=e=>e/1e3,gy={type:"spring",stiffness:500,damping:25,restSpeed:10},vy=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),yy={type:"keyframes",duration:.8},xy={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},wy=(e,{keyframes:t})=>t.length>2?yy:hn.has(e)?e.startsWith("scale")?vy(t[1]):gy:xy;function Ga(e,t){return e?e[t]||e.default||e:void 0}const Sy={skipAnimations:!1,useManualTiming:!1},Py=e=>e!==null;function Ho(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(Py),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}const me=e=>e;function Cy(e){let t=new Set,n=new Set,r=!1,i=!1;const o=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function l(u){o.has(u)&&(a.schedule(u),e()),u(s)}const a={schedule:(u,c=!1,f=!1)=>{const g=f&&r?t:n;return c&&o.add(u),g.has(u)||g.add(u),u},cancel:u=>{n.delete(u),o.delete(u)},process:u=>{if(s=u,r){i=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(l),r=!1,i&&(i=!1,a.process(u))}};return a}const Ci=["read","resolveKeyframes","update","preRender","render","postRender"],ky=40;function Ep(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=Ci.reduce((p,h)=>(p[h]=Cy(o),p),{}),{read:l,resolveKeyframes:a,update:u,preRender:c,render:f,postRender:d}=s,g=()=>{const p=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(p-i.timestamp,ky),1),i.timestamp=p,i.isProcessing=!0,l.process(i),a.process(i),u.process(i),c.process(i),f.process(i),d.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(g))},v=()=>{n=!0,r=!0,i.isProcessing||e(g)};return{schedule:Ci.reduce((p,h)=>{const m=s[h];return p[h]=(x,P=!1,E=!1)=>(n||v(),m.schedule(x,P,E)),p},{}),cancel:p=>{for(let h=0;h(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Ty=1e-7,Ey=12;function Ry(e,t,n,r,i){let o,s,l=0;do s=t+(n-t)/2,o=Rp(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>Ty&&++lRy(o,0,1,e,n);return o=>o===0||o===1?o:Rp(i(o),t,r)}const Mp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ap=e=>t=>1-e(1-t),Lp=ti(.33,1.53,.69,.99),Qa=Ap(Lp),Np=Mp(Qa),Vp=e=>(e*=2)<1?.5*Qa(e):.5*(2-Math.pow(2,-10*(e-1))),Ya=e=>1-Math.sin(Math.acos(e)),Dp=Ap(Ya),jp=Mp(Ya),_p=e=>/^0[^.\s]+$/u.test(e);function My(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||_p(e):!0}let Vl=me;const Op=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Fp=e=>t=>typeof t=="string"&&t.startsWith(e),Ip=Fp("--"),Ay=Fp("var(--"),Xa=e=>Ay(e)?Ly.test(e.split("/*")[0].trim()):!1,Ly=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ny=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Vy(e){const t=Ny.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function zp(e,t,n=1){const[r,i]=Vy(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return Op(s)?parseFloat(s):s}return Xa(i)?zp(i,t,n+1):i}const It=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},Gr={...Jn,transform:e=>It(0,1,e)},ki={...Jn,default:1},ni=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),xt=ni("deg"),et=ni("%"),L=ni("px"),Dy=ni("vh"),jy=ni("vw"),$c={...et,parse:e=>et.parse(e)/100,transform:e=>et.transform(e*100)},_y=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Wc=e=>e===Jn||e===L,Hc=(e,t)=>parseFloat(e.split(", ")[t]),Kc=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Hc(i[1],t);{const o=r.match(/^matrix\((.+)\)$/u);return o?Hc(o[1],e):0}},Oy=new Set(["x","y","z"]),Fy=ei.filter(e=>!Oy.has(e));function Iy(e){const t=[];return Fy.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Gn={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:Kc(4,13),y:Kc(5,14)};Gn.translateX=Gn.x;Gn.translateY=Gn.y;const Bp=e=>t=>t.test(e),zy={test:e=>e==="auto",parse:e=>e},Up=[Jn,L,et,xt,jy,Dy,zy],Gc=e=>Up.find(Bp(e)),on=new Set;let Dl=!1,jl=!1;function $p(){if(jl){const e=Array.from(on).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=Iy(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,s])=>{var l;(l=r.getValue(o))===null||l===void 0||l.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}jl=!1,Dl=!1,on.forEach(e=>e.complete()),on.clear()}function Wp(){on.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(jl=!0)})}function By(){Wp(),$p()}class Za{constructor(t,n,r,i,o,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(on.add(this),Dl||(Dl=!0,I.read(Wp),I.resolveKeyframes($p))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let o=0;oMath.round(e*1e5)/1e5,qa=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Uy(e){return e==null}const $y=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ja=(e,t)=>n=>!!(typeof n=="string"&&$y.test(n)&&n.startsWith(e)||t&&!Uy(n)&&Object.prototype.hasOwnProperty.call(n,t)),Hp=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,s,l]=r.match(qa);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:l!==void 0?parseFloat(l):1}},Wy=e=>It(0,255,e),Ps={...Jn,transform:e=>Math.round(Wy(e))},tn={test:Ja("rgb","red"),parse:Hp("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ps.transform(e)+", "+Ps.transform(t)+", "+Ps.transform(n)+", "+Tr(Gr.transform(r))+")"};function Hy(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 _l={test:Ja("#"),parse:Hy,transform:tn.transform},Rn={test:Ja("hsl","hue"),parse:Hp("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+et.transform(Tr(t))+", "+et.transform(Tr(n))+", "+Tr(Gr.transform(r))+")"},de={test:e=>tn.test(e)||_l.test(e)||Rn.test(e),parse:e=>tn.test(e)?tn.parse(e):Rn.test(e)?Rn.parse(e):_l.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?tn.transform(e):Rn.transform(e)},Ky=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Gy(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(qa))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Ky))===null||n===void 0?void 0:n.length)||0)>0}const Kp="number",Gp="color",Qy="var",Yy="var(",Qc="${}",Xy=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Qr(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const l=t.replace(Xy,a=>(de.test(a)?(r.color.push(o),i.push(Gp),n.push(de.parse(a))):a.startsWith(Yy)?(r.var.push(o),i.push(Qy),n.push(a)):(r.number.push(o),i.push(Kp),n.push(parseFloat(a))),++o,Qc)).split(Qc);return{values:n,split:l,indexes:r,types:i}}function Qp(e){return Qr(e).values}function Yp(e){const{split:t,types:n}=Qr(e),r=t.length;return i=>{let o="";for(let s=0;stypeof e=="number"?0:e;function qy(e){const t=Qp(e);return Yp(e)(t.map(Zy))}const zt={test:Gy,parse:Qp,createTransformer:Yp,getAnimatableNone:qy},Jy=new Set(["brightness","contrast","saturate","opacity"]);function by(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(qa)||[];if(!r)return e;const i=n.replace(r,"");let o=Jy.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const e1=/\b([a-z-]*)\(.*?\)/gu,Ol={...zt,getAnimatableNone:e=>{const t=e.match(e1);return t?t.map(by).join(" "):e}},t1={borderWidth:L,borderTopWidth:L,borderRightWidth:L,borderBottomWidth:L,borderLeftWidth:L,borderRadius:L,radius:L,borderTopLeftRadius:L,borderTopRightRadius:L,borderBottomRightRadius:L,borderBottomLeftRadius:L,width:L,maxWidth:L,height:L,maxHeight:L,top:L,right:L,bottom:L,left:L,padding:L,paddingTop:L,paddingRight:L,paddingBottom:L,paddingLeft:L,margin:L,marginTop:L,marginRight:L,marginBottom:L,marginLeft:L,backgroundPositionX:L,backgroundPositionY:L},n1={rotate:xt,rotateX:xt,rotateY:xt,rotateZ:xt,scale:ki,scaleX:ki,scaleY:ki,scaleZ:ki,skew:xt,skewX:xt,skewY:xt,distance:L,translateX:L,translateY:L,translateZ:L,x:L,y:L,z:L,perspective:L,transformPerspective:L,opacity:Gr,originX:$c,originY:$c,originZ:L},Yc={...Jn,transform:Math.round},ba={...t1,...n1,zIndex:Yc,size:L,fillOpacity:Gr,strokeOpacity:Gr,numOctaves:Yc},r1={...ba,color:de,backgroundColor:de,outlineColor:de,fill:de,stroke:de,borderColor:de,borderTopColor:de,borderRightColor:de,borderBottomColor:de,borderLeftColor:de,filter:Ol,WebkitFilter:Ol},eu=e=>r1[e];function Xp(e,t){let n=eu(e);return n!==Ol&&(n=zt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const i1=new Set(["auto","none","0"]);function o1(e,t,n){let r=0,i;for(;r{n.getValue(a).set(u)}),this.resolveNoneKeyframes()}}function tu(e){return typeof e=="function"}let Bi;function s1(){Bi=void 0}const tt={now:()=>(Bi===void 0&&tt.set(le.isProcessing||Sy.useManualTiming?le.timestamp:performance.now()),Bi),set:e=>{Bi=e,queueMicrotask(s1)}},Xc=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(zt.test(e)||e==="0")&&!e.startsWith("url("));function l1(e){const t=e[0];if(e.length===1)return!0;for(let n=0;nu1?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&By(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=tt.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:o,delay:s,onComplete:l,onUpdate:a,isGenerator:u}=this.options;if(!u&&!a1(t,r,i,o))if(s)this.options.duration=0;else{a==null||a(Ho(t,this.options,n)),l==null||l(),this.resolveFinishedPromise();return}const c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}function Jp(e,t){return t?e*(1e3/t):0}const c1=5;function bp(e,t,n){const r=Math.max(t-c1,0);return Jp(n-e(r),t-r)}const Cs=.001,f1=.01,d1=10,h1=.05,p1=1;function m1({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o,s=1-t;s=It(h1,p1,s),e=It(f1,d1,ut(e)),s<1?(i=u=>{const c=u*s,f=c*e,d=c-n,g=Fl(u,s),v=Math.exp(-f);return Cs-d/g*v},o=u=>{const f=u*s*e,d=f*n+n,g=Math.pow(s,2)*Math.pow(u,2)*e,v=Math.exp(-f),y=Fl(Math.pow(u,2),s);return(-i(u)+Cs>0?-1:1)*((d-g)*v)/y}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-Cs+c*f},o=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const l=5/e,a=v1(i,o,l);if(e=at(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 g1=12;function v1(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function w1(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Zc(e,x1)&&Zc(e,y1)){const n=m1(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function em({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,duration:c,velocity:f,isResolvedFromDuration:d}=w1({...r,velocity:-ut(r.velocity||0)}),g=f||0,v=a/(2*Math.sqrt(l*u)),y=o-i,w=ut(Math.sqrt(l/u)),p=Math.abs(y)<5;n||(n=p?.01:2),t||(t=p?.005:.5);let h;if(v<1){const m=Fl(w,v);h=x=>{const P=Math.exp(-v*w*x);return o-P*((g+v*w*y)/m*Math.sin(m*x)+y*Math.cos(m*x))}}else if(v===1)h=m=>o-Math.exp(-w*m)*(y+(g+w*y)*m);else{const m=w*Math.sqrt(v*v-1);h=x=>{const P=Math.exp(-v*w*x),E=Math.min(m*x,300);return o-P*((g+v*w*y)*Math.sinh(E)+m*y*Math.cosh(E))/m}}return{calculatedDuration:d&&c||null,next:m=>{const x=h(m);if(d)s.done=m>=c;else{let P=0;v<1&&(P=m===0?at(g):bp(h,m,x));const E=Math.abs(P)<=n,M=Math.abs(o-x)<=t;s.done=E&&M}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},g=T=>l!==void 0&&Ta,v=T=>l===void 0?a:a===void 0||Math.abs(l-T)-y*Math.exp(-T/r),m=T=>p+h(T),x=T=>{const _=h(T),N=m(T);d.done=Math.abs(_)<=u,d.value=d.done?p:N};let P,E;const M=T=>{g(d.value)&&(P=T,E=em({keyframes:[d.value,v(d.value)],velocity:bp(m,T,d.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return M(0),{calculatedDuration:null,next:T=>{let _=!1;return!E&&P===void 0&&(_=!0,x(T),M(T)),P!==void 0&&T>=P?E.next(T-P):(!_&&x(T),d)}}}const S1=ti(.42,0,1,1),P1=ti(0,0,.58,1),tm=ti(.42,0,.58,1),C1=e=>Array.isArray(e)&&typeof e[0]!="number",nu=e=>Array.isArray(e)&&typeof e[0]=="number",Jc={linear:me,easeIn:S1,easeInOut:tm,easeOut:P1,circIn:Ya,circInOut:jp,circOut:Dp,backIn:Qa,backInOut:Np,backOut:Lp,anticipate:Vp},bc=e=>{if(nu(e)){Vl(e.length===4);const[t,n,r,i]=e;return ti(t,n,r,i)}else if(typeof e=="string")return Vl(Jc[e]!==void 0),Jc[e];return e},k1=(e,t)=>n=>t(e(n)),ct=(...e)=>e.reduce(k1),Qn=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},K=(e,t,n)=>e+(t-e)*n;function ks(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=ks(a,l,e+1/3),o=ks(a,l,e),s=ks(a,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function go(e,t){return n=>n>0?t:e}const Ts=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},E1=[_l,tn,Rn],R1=e=>E1.find(t=>t.test(e));function ef(e){const t=R1(e);if(!t)return!1;let n=t.parse(e);return t===Rn&&(n=T1(n)),n}const tf=(e,t)=>{const n=ef(e),r=ef(t);if(!n||!r)return go(e,t);const i={...n};return o=>(i.red=Ts(n.red,r.red,o),i.green=Ts(n.green,r.green,o),i.blue=Ts(n.blue,r.blue,o),i.alpha=K(n.alpha,r.alpha,o),tn.transform(i))},Il=new Set(["none","hidden"]);function M1(e,t){return Il.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function A1(e,t){return n=>K(e,t,n)}function ru(e){return typeof e=="number"?A1:typeof e=="string"?Xa(e)?go:de.test(e)?tf:V1:Array.isArray(e)?nm:typeof e=="object"?de.test(e)?tf:L1:go}function nm(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>ru(o)(o,t[s]));return o=>{for(let s=0;s{for(const o in r)n[o]=r[o](i);return n}}function N1(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o{const n=zt.createTransformer(t),r=Qr(e),i=Qr(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Il.has(e)&&!i.values.length||Il.has(t)&&!r.values.length?M1(e,t):ct(nm(N1(r,i),i.values),n):go(e,t)};function rm(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?K(e,t,n):ru(e)(e,t)}function D1(e,t,n){const r=[],i=n||rm,o=e.length-1;for(let s=0;st[0];if(o===2&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=D1(t,r,i),l=s.length,a=u=>{let c=0;if(l>1)for(;ca(It(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=Qn(0,t,r);e.push(K(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||tm).splice(0,e.length-1)}function vo({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=C1(r)?r.map(bc):bc(r),o={done:!1,value:t[0]},s=F1(n&&n.length===t.length?n:O1(t),e),l=j1(s,t,{ease:Array.isArray(i)?i:I1(t,i)});return{calculatedDuration:e,next:a=>(o.value=l(a),o.done=a>=e,o)}}const nf=2e4;function z1(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=nf?1/0:t}const B1=e=>{const t=({timestamp:n})=>e(n);return{start:()=>I.update(t,!0),stop:()=>Ft(t),now:()=>le.isProcessing?le.timestamp:tt.now()}},U1={decay:qc,inertia:qc,tween:vo,keyframes:vo,spring:em},$1=e=>e/100;class iu extends qp{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:a}=this.options;a&&a()};const{name:n,motionValue:r,element:i,keyframes:o}=this.options,s=(i==null?void 0:i.KeyframeResolver)||Za,l=(a,u)=>this.onKeyframesResolved(a,u);this.resolver=new s(o,l,n,r,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=this.options,l=tu(n)?n:U1[n]||vo;let a,u;l!==vo&&typeof t[0]!="number"&&(a=ct($1,rm(t[0],t[1])),t=[0,100]);const c=l({...this.options,keyframes:t});o==="mirror"&&(u=l({...this.options,keyframes:[...t].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=z1(c));const{calculatedDuration:f}=c,d=f+i,g=d*(r+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:a,calculatedDuration:f,resolvedDuration:d,totalDuration:g}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:s,mapPercentToKeyframes:l,keyframes:a,calculatedDuration:u,totalDuration:c,resolvedDuration:f}=r;if(this.startTime===null)return o.next(0);const{delay:d,repeat:g,repeatType:v,repeatDelay:y,onUpdate:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const p=this.currentTime-d*(this.speed>=0?1:-1),h=this.speed>=0?p<0:p>c;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let m=this.currentTime,x=o;if(g){const T=Math.min(this.currentTime,c)/f;let _=Math.floor(T),N=T%1;!N&&T>=1&&(N=1),N===1&&_--,_=Math.min(_,g+1),!!(_%2)&&(v==="reverse"?(N=1-N,y&&(N-=y/f)):v==="mirror"&&(x=s)),m=It(0,1,N)*f}const P=h?{done:!1,value:a[0]}:x.next(m);l&&(P.value=l(P.value));let{done:E}=P;!h&&u!==null&&(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const M=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return M&&i!==void 0&&(P.value=Ho(a,this.options,i)),w&&w(P.value),M&&this.finish(),P}get duration(){const{resolved:t}=this;return t?ut(t.calculatedDuration):0}get time(){return ut(this.currentTime)}set time(t){t=at(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=ut(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=B1,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const W1=new Set(["opacity","clipPath","filter","transform"]),H1=10,K1=(e,t)=>{let n="";const r=Math.max(Math.round(t/H1),2);for(let i=0;i(t===void 0&&(t=e()),t)}const G1={linearEasing:void 0};function Q1(e,t){const n=ou(e);return()=>{var r;return(r=G1[t])!==null&&r!==void 0?r:n()}}const yo=Q1(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function im(e){return!!(typeof e=="function"&&yo()||!e||typeof e=="string"&&(e in zl||yo())||nu(e)||Array.isArray(e)&&e.every(im))}const pr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,zl={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:pr([0,.65,.55,1]),circOut:pr([.55,0,1,.45]),backIn:pr([.31,.01,.66,-.59]),backOut:pr([.33,1.53,.69,.99])};function om(e,t){if(e)return typeof e=="function"&&yo()?K1(e,t):nu(e)?pr(e):Array.isArray(e)?e.map(n=>om(n,t)||zl.easeOut):zl[e]}function Y1(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:l="easeInOut",times:a}={}){const u={[t]:n};a&&(u.offset=a);const c=om(l,i);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 rf(e,t){e.timeline=t,e.onfinish=null}const X1=ou(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),xo=10,Z1=2e4;function q1(e){return tu(e.type)||e.type==="spring"||!im(e.ease)}function J1(e,t){const n=new iu({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let o=0;for(;!r.done&&othis.onKeyframesResolved(s,l),n,r,i),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:o,ease:s,type:l,motionValue:a,name:u,startTime:c}=this.options;if(!(!((r=a.owner)===null||r===void 0)&&r.current))return!1;if(typeof s=="string"&&yo()&&b1(s)&&(s=sm[s]),q1(this.options)){const{onComplete:d,onUpdate:g,motionValue:v,element:y,...w}=this.options,p=J1(t,w);t=p.keyframes,t.length===1&&(t[1]=t[0]),i=p.duration,o=p.times,s=p.ease,l="keyframes"}const f=Y1(a.owner.current,u,t,{...this.options,duration:i,times:o,ease:s});return f.startTime=c??this.calcStartTime(),this.pendingTimeline?(rf(f,this.pendingTimeline),this.pendingTimeline=void 0):f.onfinish=()=>{const{onComplete:d}=this.options;a.set(Ho(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:f,duration:i,times:o,type:l,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return ut(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return ut(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=at(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return me;const{animation:r}=n;rf(r,t)}return me}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:i,type:o,ease:s,times:l}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:f,element:d,...g}=this.options,v=new iu({...g,keyframes:r,duration:i,type:o,ease:s,times:l,isGenerator:!0}),y=at(this.time);u.setWithVelocity(v.sample(y-xo).value,v.sample(y).value,xo)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:o,damping:s,type:l}=t;return X1()&&r&&W1.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&o!=="mirror"&&s!==0&&l!=="inertia"}}const ex=ou(()=>window.ScrollTimeline!==void 0);class tx{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,n){return Promise.all(this.animations).then(t).catch(n)}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;rex()&&i.attachTimeline?i.attachTimeline(t):n(i));return()=>{r.forEach((i,o)=>{i&&i(),this.animations[o].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;nn[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function nx({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:l,from:a,elapsed:u,...c}){return!!Object.keys(c).length}const su=(e,t,n,r={},i,o)=>s=>{const l=Ga(r,e)||{},a=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-at(a);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:d=>{t.set(d),l.onUpdate&&l.onUpdate(d)},onComplete:()=>{s(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:o?void 0:i};nx(l)||(c={...c,...wy(e,c)}),c.duration&&(c.duration=at(c.duration)),c.repeatDelay&&(c.repeatDelay=at(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(f=!0)),f&&!o&&t.get()!==void 0){const d=Ho(c.keyframes,l);if(d!==void 0)return I.update(()=>{c.onUpdate(d),c.onComplete()}),new tx([])}return!o&&of.supports(c)?new of(c):new iu(c)},rx=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),ix=e=>Nl(e)?e[e.length-1]||0:e;function lu(e,t){e.indexOf(t)===-1&&e.push(t)}function au(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class uu{constructor(){this.subscriptions=[]}add(t){return lu(this.subscriptions,t),()=>au(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 sx{constructor(t,n={}){this.version="11.11.17",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=tt.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=tt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=ox(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new uu);const r=this.events[t].add(n);return t==="change"?()=>{r(),I.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=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=tt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>sf)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,sf);return Jp(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Yr(e,t){return new sx(e,t)}function lx(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Yr(n))}function ax(e,t){const n=Wo(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const l=ix(o[s]);lx(e,s,l)}}const cu=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),ux="framerAppearId",lm="data-"+cu(ux);function am(e){return e.props[lm]}const pe=e=>!!(e&&e.getVelocity);function cx(e){return!!(pe(e)&&e.add)}function Bl(e,t){const n=e.getValue("willChange");if(cx(n))return n.add(t)}function fx({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function um(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:l,...a}=t;r&&(s=r);const u=[],c=i&&e.animationState&&e.animationState.getState()[i];for(const f in a){const d=e.getValue(f,(o=e.latestValues[f])!==null&&o!==void 0?o:null),g=a[f];if(g===void 0||c&&fx(c,f))continue;const v={delay:n,...Ga(s||{},f)};let y=!1;if(window.MotionHandoffAnimation){const p=am(e);if(p){const h=window.MotionHandoffAnimation(p,f,I);h!==null&&(v.startTime=h,y=!0)}}Bl(e,f),d.start(su(f,d,g,e.shouldReduceMotion&&hn.has(f)?{type:!1}:v,e,y));const w=d.animation;w&&u.push(w)}return l&&Promise.all(u).then(()=>{I.update(()=>{l&&ax(e,l)})}),u}function Ul(e,t,n={}){var r;const i=Wo(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const s=i?()=>Promise.all(um(e,i,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:f,staggerDirection:d}=o;return dx(e,t,c+u,f,d,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[u,c]=a==="beforeChildren"?[s,l]:[l,s];return u().then(()=>c())}else return Promise.all([s(),l(n.delay)])}function dx(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(hx).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(Ul(u,t,{...o,delay:n+a(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function hx(e,t){return e.sortNodePosition(t)}function px(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>Ul(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Ul(e,t,n);else{const i=typeof t=="function"?Wo(e,t,n.custom):t;r=Promise.all(um(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const mx=Ka.length;function cm(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?cm(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;nPromise.all(t.map(({animation:n,options:r})=>px(e,n,r)))}function xx(e){let t=yx(e),n=lf(),r=!0;const i=a=>(u,c)=>{var f;const d=Wo(e,c,a==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){const{transition:g,transitionEnd:v,...y}=d;u={...u,...y,...v}}return u};function o(a){t=a(e)}function s(a){const{props:u}=e,c=cm(e.parent)||{},f=[],d=new Set;let g={},v=1/0;for(let w=0;wv&&x,_=!1;const N=Array.isArray(m)?m:[m];let ne=N.reduce(i(p),{});P===!1&&(ne={});const{prevResolvedValues:vt={}}=h,Ht={...vt,...ne},er=b=>{T=!0,d.has(b)&&(_=!0,d.delete(b)),h.needsAnimating[b]=!0;const R=e.getValue(b);R&&(R.liveStyle=!1)};for(const b in Ht){const R=ne[b],V=vt[b];if(g.hasOwnProperty(b))continue;let D=!1;Nl(R)&&Nl(V)?D=!Tp(R,V):D=R!==V,D?R!=null?er(b):d.add(b):R!==void 0&&d.has(b)?er(b):h.protectedKeys[b]=!0}h.prevProp=m,h.prevResolvedValues=ne,h.isActive&&(g={...g,...ne}),r&&e.blockInitialAnimation&&(T=!1),T&&(!(E&&M)||_)&&f.push(...N.map(b=>({animation:b,options:{type:p}})))}if(d.size){const w={};d.forEach(p=>{const h=e.getBaseTarget(p),m=e.getValue(p);m&&(m.liveStyle=!0),w[p]=h??null}),f.push({animation:w})}let y=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(f):Promise.resolve()}function l(a,u){var c;if(n[a].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(d=>{var g;return(g=d.animationState)===null||g===void 0?void 0:g.setActive(a,u)}),n[a].isActive=u;const f=s(a);for(const d in n)n[d].protectedKeys={};return f}return{animateChanges:s,setActive:l,setAnimateFunction:o,getState:()=>n,reset:()=>{n=lf(),r=!0}}}function wx(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Tp(t,e):!1}function Qt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function lf(){return{animate:Qt(!0),whileInView:Qt(),whileHover:Qt(),whileTap:Qt(),whileDrag:Qt(),whileFocus:Qt(),exit:Qt()}}class Wt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Sx extends Wt{constructor(t){super(t),t.animationState||(t.animationState=xx(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();$o(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let Px=0;class Cx extends Wt{constructor(){super(...arguments),this.id=Px++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const kx={animation:{Feature:Sx},exit:{Feature:Cx}},fm=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Ko(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const Tx=e=>t=>fm(t)&&e(t,Ko(t));function st(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function ft(e,t,n,r){return st(e,t,Tx(n),r)}const af=(e,t)=>Math.abs(e-t);function Ex(e,t){const n=af(e.x,t.x),r=af(e.y,t.y);return Math.sqrt(n**2+r**2)}class dm{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Rs(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,g=Ex(f.offset,{x:0,y:0})>=3;if(!d&&!g)return;const{point:v}=f,{timestamp:y}=le;this.history.push({...v,timestamp:y});const{onStart:w,onMove:p}=this.handlers;d||(w&&w(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),p&&p(this.lastMoveEvent,f)},this.handlePointerMove=(f,d)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Es(d,this.transformPagePoint),I.update(this.updatePoint,!0)},this.handlePointerUp=(f,d)=>{this.end();const{onEnd:g,onSessionEnd:v,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=Rs(f.type==="pointercancel"?this.lastMoveEventInfo:Es(d,this.transformPagePoint),this.history);this.startEvent&&g&&g(f,w),v&&v(f,w)},!fm(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const s=Ko(t),l=Es(s,this.transformPagePoint),{point:a}=l,{timestamp:u}=le;this.history=[{...a,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Rs(l,this.history)),this.removeListeners=ct(ft(this.contextWindow,"pointermove",this.handlePointerMove),ft(this.contextWindow,"pointerup",this.handlePointerUp),ft(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ft(this.updatePoint)}}function Es(e,t){return t?{point:t(e.point)}:e}function uf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Rs({point:e},t){return{point:e,delta:uf(e,hm(t)),offset:uf(e,Rx(t)),velocity:Mx(t,.1)}}function Rx(e){return e[0]}function hm(e){return e[e.length-1]}function Mx(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>at(t)));)n--;if(!r)return{x:0,y:0};const o=ut(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 pm(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const cf=pm("dragHorizontal"),ff=pm("dragVertical");function mm(e){let t=!1;if(e==="y")t=ff();else if(e==="x")t=cf();else{const n=cf(),r=ff();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function gm(){const e=mm(!0);return e?(e(),!1):!0}function Mn(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const vm=1e-4,Ax=1-vm,Lx=1+vm,ym=.01,Nx=0-ym,Vx=0+ym;function Ne(e){return e.max-e.min}function Dx(e,t,n){return Math.abs(e-t)<=n}function df(e,t,n,r=.5){e.origin=r,e.originPoint=K(t.min,t.max,e.origin),e.scale=Ne(n)/Ne(t),e.translate=K(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Ax&&e.scale<=Lx||isNaN(e.scale))&&(e.scale=1),(e.translate>=Nx&&e.translate<=Vx||isNaN(e.translate))&&(e.translate=0)}function Er(e,t,n,r){df(e.x,t.x,n.x,r?r.originX:void 0),df(e.y,t.y,n.y,r?r.originY:void 0)}function hf(e,t,n){e.min=n.min+t.min,e.max=e.min+Ne(t)}function jx(e,t,n){hf(e.x,t.x,n.x),hf(e.y,t.y,n.y)}function pf(e,t,n){e.min=t.min-n.min,e.max=e.min+Ne(t)}function Rr(e,t,n){pf(e.x,t.x,n.x),pf(e.y,t.y,n.y)}function _x(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?K(n,e,r.max):Math.min(e,n)),e}function mf(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 Ox(e,{top:t,left:n,bottom:r,right:i}){return{x:mf(e.x,n,i),y:mf(e.y,t,r)}}function gf(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=Qn(t.min,t.max-r,e.min):r>i&&(n=Qn(e.min,e.max-i,t.min)),It(0,1,n)}function zx(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 $l=.35;function Bx(e=$l){return e===!1?e=0:e===!0&&(e=$l),{x:vf(e,"left","right"),y:vf(e,"top","bottom")}}function vf(e,t,n){return{min:yf(e,t),max:yf(e,n)}}function yf(e,t){return typeof e=="number"?e:e[t]||0}const xf=()=>({translate:0,scale:1,origin:0,originPoint:0}),An=()=>({x:xf(),y:xf()}),wf=()=>({min:0,max:0}),Z=()=>({x:wf(),y:wf()});function _e(e){return[e("x"),e("y")]}function xm({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Ux({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function $x(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 Ms(e){return e===void 0||e===1}function Wl({scale:e,scaleX:t,scaleY:n}){return!Ms(e)||!Ms(t)||!Ms(n)}function Zt(e){return Wl(e)||wm(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function wm(e){return Sf(e.x)||Sf(e.y)}function Sf(e){return e&&e!=="0%"}function wo(e,t,n){const r=e-n,i=t*r;return n+i}function Pf(e,t,n,r,i){return i!==void 0&&(e=wo(e,i,r)),wo(e,n,r)+t}function Hl(e,t=0,n=1,r,i){e.min=Pf(e.min,t,n,r,i),e.max=Pf(e.max,t,n,r,i)}function Sm(e,{x:t,y:n}){Hl(e.x,t.translate,t.scale,t.originPoint),Hl(e.y,n.translate,n.scale,n.originPoint)}const Cf=.999999999999,kf=1.0000000000001;function Wx(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let l=0;lCf&&(t.x=1),t.yCf&&(t.y=1)}function Ln(e,t){e.min=e.min+t,e.max=e.max+t}function Tf(e,t,n,r,i=.5){const o=K(e.min,e.max,i);Hl(e,t,n,o,r)}function Nn(e,t){Tf(e.x,t.x,t.scaleX,t.scale,t.originX),Tf(e.y,t.y,t.scaleY,t.scale,t.originY)}function Pm(e,t){return xm($x(e.getBoundingClientRect(),t))}function Hx(e,t,n){const r=Pm(e,n),{scroll:i}=t;return i&&(Ln(r.x,i.offset.x),Ln(r.y,i.offset.y)),r}const Cm=({current:e})=>e?e.ownerDocument.defaultView:null,Kx=new WeakMap;class Gx{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=Z(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Ko(c,"page").point)},o=(c,f)=>{const{drag:d,dragPropagation:g,onDragStart:v}=this.getProps();if(d&&!g&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=mm(d),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),_e(w=>{let p=this.getAxisMotionValue(w).get()||0;if(et.test(p)){const{projection:h}=this.visualElement;if(h&&h.layout){const m=h.layout.layoutBox[w];m&&(p=Ne(m)*(parseFloat(p)/100))}}this.originPoint[w]=p}),v&&I.postRender(()=>v(c,f)),Bl(this.visualElement,"transform");const{animationState:y}=this.visualElement;y&&y.setActive("whileDrag",!0)},s=(c,f)=>{const{dragPropagation:d,dragDirectionLock:g,onDirectionLock:v,onDrag:y}=this.getProps();if(!d&&!this.openGlobalLock)return;const{offset:w}=f;if(g&&this.currentDirection===null){this.currentDirection=Qx(w),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",f.point,w),this.updateAxis("y",f.point,w),this.visualElement.render(),y&&y(c,f)},l=(c,f)=>this.stop(c,f),a=()=>_e(c=>{var f;return this.getAnimationState(c)==="paused"&&((f=this.getAxisMotionValue(c).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new dm(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:l,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:Cm(this.visualElement)})}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&&I.postRender(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation: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||!Ti(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=_x(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;n&&Mn(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=Ox(i.layoutBox,n):this.constraints=!1,this.elastic=Bx(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&_e(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=zx(i.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Mn(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=Hx(r,i.root,this.visualElement.getTransformPagePoint());let s=Fx(i.layout.layoutBox,o);if(n){const l=n(Ux(s));this.hasMutatedConstraints=!!l,l&&(s=xm(l))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:l}=this.getProps(),a=this.constraints||{},u=_e(c=>{if(!Ti(c,n,this.currentDirection))return;let f=a&&a[c]||{};s&&(f={min:0,max:0});const d=i?200:1e6,g=i?40:1e7,v={type:"inertia",velocity:r?t[c]:0,bounceStiffness:d,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(c,v)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Bl(this.visualElement,t),r.start(su(t,r,0,n,this.visualElement,!1))}stopAnimation(){_e(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){_e(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){_e(n=>{const{drag:r}=this.getProps();if(!Ti(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]-K(s,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Mn(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};_e(s=>{const l=this.getAxisMotionValue(s);if(l&&this.constraints!==!1){const a=l.get();i[s]=Ix({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(),_e(s=>{if(!Ti(s,t,null))return;const l=this.getAxisMotionValue(s),{min:a,max:u}=this.constraints[s];l.set(K(a,u,i[s]))})}addListeners(){if(!this.visualElement.current)return;Kx.set(this.visualElement,this);const t=this.visualElement.current,n=ft(t,"pointerdown",a=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(a)}),r=()=>{const{dragConstraints:a}=this.getProps();Mn(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),I.read(r);const s=st(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:a,hasLayoutChanged:u})=>{this.isDragging&&u&&(_e(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=$l,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:l}}}function Ti(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Qx(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Yx extends Wt{constructor(t){super(t),this.removeGroupControls=me,this.removeListeners=me,this.controls=new Gx(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||me}unmount(){this.removeGroupControls(),this.removeListeners()}}const Ef=e=>(t,n)=>{e&&I.postRender(()=>e(t,n))};class Xx extends Wt{constructor(){super(...arguments),this.removePointerDownListener=me}onPointerDown(t){this.session=new dm(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Cm(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Ef(t),onStart:Ef(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&I.postRender(()=>i(o,s))}}}mount(){this.removePointerDownListener=ft(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const fu=C.createContext(null);function Zx(){const e=C.useContext(fu);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=C.useId();C.useEffect(()=>r(i),[]);const o=C.useCallback(()=>n&&n(i),[i,n]);return!t&&n?[!1,o]:[!0]}const km=C.createContext({}),Tm=C.createContext({}),Ui={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Rf(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ur={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(L.test(e))e=parseFloat(e);else return e;const n=Rf(e,t.target.x),r=Rf(e,t.target.y);return`${n}% ${r}%`}},qx={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=zt.parse(e);if(i.length>5)return r;const o=zt.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=K(l,a,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}},So={};function Jx(e){Object.assign(So,e)}const{schedule:du,cancel:rP}=Ep(queueMicrotask,!1);class bx extends C.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;Jx(ew),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()})),Ui.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()||I.postRender(()=>{const l=s.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),du.postRender(()=>{!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 Em(e){const[t,n]=Zx(),r=C.useContext(km);return S.jsx(bx,{...e,layoutGroup:r,switchLayoutGroup:C.useContext(Tm),isPresent:t,safeToRemove:n})}const ew={borderRadius:{...ur,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ur,borderTopRightRadius:ur,borderBottomLeftRadius:ur,borderBottomRightRadius:ur,boxShadow:qx},Rm=["TopLeft","TopRight","BottomLeft","BottomRight"],tw=Rm.length,Mf=e=>typeof e=="string"?parseFloat(e):e,Af=e=>typeof e=="number"||L.test(e);function nw(e,t,n,r,i,o){i?(e.opacity=K(0,n.opacity!==void 0?n.opacity:1,rw(r)),e.opacityExit=K(t.opacity!==void 0?t.opacity:1,0,iw(r))):o&&(e.opacity=K(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(Qn(e,t,r))}function Nf(e,t){e.min=t.min,e.max=t.max}function je(e,t){Nf(e.x,t.x),Nf(e.y,t.y)}function Vf(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Df(e,t,n,r,i){return e-=t,e=wo(e,1/n,r),i!==void 0&&(e=wo(e,1/i,r)),e}function ow(e,t=0,n=1,r=.5,i,o=e,s=e){if(et.test(t)&&(t=parseFloat(t),t=K(s.min,s.max,t/100)-s.min),typeof t!="number")return;let l=K(o.min,o.max,r);e===o&&(l-=t),e.min=Df(e.min,t,n,l,i),e.max=Df(e.max,t,n,l,i)}function jf(e,t,[n,r,i],o,s){ow(e,t[n],t[r],t[i],t.scale,o,s)}const sw=["x","scaleX","originX"],lw=["y","scaleY","originY"];function _f(e,t,n,r){jf(e.x,t,sw,n?n.x:void 0,r?r.x:void 0),jf(e.y,t,lw,n?n.y:void 0,r?r.y:void 0)}function Of(e){return e.translate===0&&e.scale===1}function Am(e){return Of(e.x)&&Of(e.y)}function Ff(e,t){return e.min===t.min&&e.max===t.max}function aw(e,t){return Ff(e.x,t.x)&&Ff(e.y,t.y)}function If(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Lm(e,t){return If(e.x,t.x)&&If(e.y,t.y)}function zf(e){return Ne(e.x)/Ne(e.y)}function Bf(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class uw{constructor(){this.members=[]}add(t){lu(this.members,t),t.scheduleRender()}remove(t){if(au(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 cw(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:f,rotateY:d,skewX:g,skewY:v}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),f&&(r+=`rotateX(${f}deg) `),d&&(r+=`rotateY(${d}deg) `),g&&(r+=`skewX(${g}deg) `),v&&(r+=`skewY(${v}deg) `)}const l=e.x.scale*t.x,a=e.y.scale*t.y;return(l!==1||a!==1)&&(r+=`scale(${l}, ${a})`),r||"none"}const fw=(e,t)=>e.depth-t.depth;class dw{constructor(){this.children=[],this.isDirty=!1}add(t){lu(this.children,t),this.isDirty=!0}remove(t){au(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(fw),this.isDirty=!1,this.children.forEach(t)}}function $i(e){const t=pe(e)?e.get():e;return rx(t)?t.toValue():t}function hw(e,t){const n=tt.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Ft(r),e(o-t))};return I.read(r,!0),()=>Ft(r)}function pw(e){return e instanceof SVGElement&&e.tagName!=="svg"}function mw(e,t,n){const r=pe(e)?e:Yr(e);return r.start(su("",r,t,n)),r.animation}const qt={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},mr=typeof window<"u"&&window.MotionDebug!==void 0,As=["","X","Y","Z"],gw={visibility:"hidden"},Uf=1e3;let vw=0;function Ls(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Nm(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=am(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",I,!(i||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Nm(r)}function Vm({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},l=t==null?void 0:t()){this.id=vw++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,mr&&(qt.totalNodes=qt.resolvedTargetDeltas=qt.recalculatedProjection=0),this.nodes.forEach(ww),this.nodes.forEach(Tw),this.nodes.forEach(Ew),this.nodes.forEach(Sw),mr&&window.MotionDebug.record(qt)},this.resolvedRelativeTargetAt=0,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=hw(d,250),Ui.hasAnimatedSinceResize&&(Ui.hasAnimatedSinceResize=!1,this.nodes.forEach(Wf))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:g,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||c.getDefaultTransition()||Nw,{onLayoutAnimationStart:w,onLayoutAnimationComplete:p}=c.getProps(),h=!this.targetLayout||!Lm(this.targetLayout,v)||g,m=!d&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||m||d&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,m);const x={...Ga(y,"layout"),onPlay:w,onComplete:p};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else d||Wf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}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,Ft(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(Rw),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Nm(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c{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 P=x/1e3;Hf(f.x,s.x,P),Hf(f.y,s.y,P),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Rr(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Aw(this.relativeTarget,this.relativeTargetOrigin,d,P),m&&aw(this.relativeTarget,m)&&(this.isProjectionDirty=!1),m||(m=Z()),je(m,this.relativeTarget)),y&&(this.animationValues=c,nw(c,u,this.latestValues,P,h,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},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&&(Ft(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=I.update(()=>{Ui.hasAnimatedSinceResize=!0,this.currentAnimation=mw(0,Uf,{...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(Uf),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&&Dm(this.options.animationType,this.layout.layoutBox,u.layoutBox)){a=this.target||Z();const f=Ne(this.layout.layoutBox.x);a.x.min=s.target.x.min,a.x.max=a.x.min+f;const d=Ne(this.layout.layoutBox.y);a.y.min=s.target.y.min,a.y.max=a.y.min+d}je(l,a),Nn(l,c),Er(this.projectionDeltaWithTransform,this.layoutCorrected,l,c)}}registerSharedNode(s,l){this.sharedNodes.has(s)||this.sharedNodes.set(s,new uw),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}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let l=!1;const{latestValues:a}=s;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(l=!0),!l)return;const u={};a.z&&Ls("z",s,u,this.animationValues);for(let c=0;c{var l;return(l=s.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach($f),this.root.sharedNodes.clear()}}}function yw(e){e.updateLayout()}function xw(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"?_e(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],g=Ne(d);d.min=r[f].min,d.max=d.min+g}):Dm(o,n.layoutBox,r)&&_e(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],g=Ne(r[f]);d.max=d.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+g)});const l=An();Er(l,r,n.layoutBox);const a=An();s?Er(a,e.applyTransform(i,!0),n.measuredBox):Er(a,r,n.layoutBox);const u=!Am(l);let c=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:g}=f;if(d&&g){const v=Z();Rr(v,n.layoutBox,d.layoutBox);const y=Z();Rr(y,r,g.layoutBox),Lm(v,y)||(c=!0),f.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=v,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 ww(e){mr&&qt.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 Sw(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Pw(e){e.clearSnapshot()}function $f(e){e.clearMeasurements()}function Cw(e){e.isLayoutDirty=!1}function kw(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Wf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Tw(e){e.resolveTargetDelta()}function Ew(e){e.calcProjection()}function Rw(e){e.resetSkewAndRotation()}function Mw(e){e.removeLeadSnapshot()}function Hf(e,t,n){e.translate=K(t.translate,0,n),e.scale=K(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Kf(e,t,n,r){e.min=K(t.min,n.min,r),e.max=K(t.max,n.max,r)}function Aw(e,t,n,r){Kf(e.x,t.x,n.x,r),Kf(e.y,t.y,n.y,r)}function Lw(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Nw={duration:.45,ease:[.4,0,.1,1]},Gf=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Qf=Gf("applewebkit/")&&!Gf("chrome/")?Math.round:me;function Yf(e){e.min=Qf(e.min),e.max=Qf(e.max)}function Vw(e){Yf(e.x),Yf(e.y)}function Dm(e,t,n){return e==="position"||e==="preserve-aspect"&&!Dx(zf(t),zf(n),.2)}function Dw(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const jw=Vm({attachResizeListener:(e,t)=>st(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ns={current:void 0},jm=Vm({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ns.current){const e=new jw({});e.mount(window),e.setOptions({layoutScroll:!0}),Ns.current=e}return Ns.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),_w={pan:{Feature:Xx},drag:{Feature:Yx,ProjectionNode:jm,MeasureLayout:Em}};function Xf(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,s)=>{if(o.pointerType==="touch"||gm())return;const l=e.getProps();e.animationState&&l.whileHover&&e.animationState.setActive("whileHover",t);const a=l[r];a&&I.postRender(()=>a(o,s))};return ft(e.current,n,i,{passive:!e.getProps()[r]})}class Ow extends Wt{mount(){this.unmount=ct(Xf(this.node,!0),Xf(this.node,!1))}unmount(){}}class Fw extends Wt{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=ct(st(this.node.current,"focus",()=>this.onFocus()),st(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const _m=(e,t)=>t?e===t?!0:_m(e,t.parentElement):!1;function Vs(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Ko(n))}class Iw extends Wt{constructor(){super(...arguments),this.removeStartListeners=me,this.removeEndListeners=me,this.removeAccessibleListeners=me,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),o=ft(window,"pointerup",(l,a)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:f}=this.node.getProps(),d=!f&&!_m(this.node.current,l.target)?c:u;d&&I.update(()=>d(l,a))},{passive:!(r.onTap||r.onPointerUp)}),s=ft(window,"pointercancel",(l,a)=>this.cancelPress(l,a),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=ct(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()||Vs("up",(a,u)=>{const{onTap:c}=this.node.getProps();c&&I.postRender(()=>c(a,u))})};this.removeEndListeners(),this.removeEndListeners=st(this.node.current,"keyup",s),Vs("down",(l,a)=>{this.startPress(l,a)})},n=st(this.node.current,"keydown",t),r=()=>{this.isPressing&&Vs("cancel",(o,s)=>this.cancelPress(o,s))},i=st(this.node.current,"blur",r);this.removeAccessibleListeners=ct(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&&I.postRender(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!gm()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&I.postRender(()=>r(t,n))}mount(){const t=this.node.getProps(),n=ft(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=st(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ct(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Kl=new WeakMap,Ds=new WeakMap,zw=e=>{const t=Kl.get(e.target);t&&t(e)},Bw=e=>{e.forEach(zw)};function Uw({root:e,...t}){const n=e||document;Ds.has(n)||Ds.set(n,{});const r=Ds.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Bw,{root:e,...t})),r[i]}function $w(e,t,n){const r=Uw(t);return Kl.set(e,n),r.observe(e),()=>{Kl.delete(e),r.unobserve(e)}}const Ww={some:0,all:1};class Hw extends Wt{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:Ww[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 $w(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(Kw(t,n))&&this.startObserver()}unmount(){}}function Kw({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Gw={inView:{Feature:Hw},tap:{Feature:Iw},focus:{Feature:Fw},hover:{Feature:Ow}},Qw={layout:{ProjectionNode:jm,MeasureLayout:Em}},Om=C.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Go=C.createContext({}),hu=typeof window<"u",Yw=hu?C.useLayoutEffect:C.useEffect,Fm=C.createContext({strict:!1});function Xw(e,t,n,r,i){var o,s;const{visualElement:l}=C.useContext(Go),a=C.useContext(Fm),u=C.useContext(fu),c=C.useContext(Om).reducedMotion,f=C.useRef();r=r||a.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:l,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c}));const d=f.current,g=C.useContext(Tm);d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&Zw(f.current,n,i,g);const v=C.useRef(!1);C.useInsertionEffect(()=>{d&&v.current&&d.update(n,u)});const y=n[lm],w=C.useRef(!!y&&!(!((o=window.MotionHandoffIsComplete)===null||o===void 0)&&o.call(window,y))&&((s=window.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(window,y)));return Yw(()=>{d&&(v.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),du.render(d.render),w.current&&d.animationState&&d.animationState.animateChanges())}),C.useEffect(()=>{d&&(!w.current&&d.animationState&&d.animationState.animateChanges(),w.current&&(queueMicrotask(()=>{var p;(p=window.MotionHandoffMarkAsComplete)===null||p===void 0||p.call(window,y)}),w.current=!1))}),d}function Zw(e,t,n,r){const{layoutId:i,layout:o,drag:s,dragConstraints:l,layoutScroll:a,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Im(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||l&&Mn(l),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:u})}function Im(e){if(e)return e.options.allowProjection!==!1?e.projection:Im(e.parent)}function qw(e,t,n){return C.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Mn(n)&&(n.current=r))},[t])}function Qo(e){return $o(e.animate)||Ka.some(t=>Kr(e[t]))}function zm(e){return!!(Qo(e)||e.variants)}function Jw(e,t){if(Qo(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Kr(n)?n:void 0,animate:Kr(r)?r:void 0}}return e.inherit!==!1?t:{}}function bw(e){const{initial:t,animate:n}=Jw(e,C.useContext(Go));return C.useMemo(()=>({initial:t,animate:n}),[Zf(t),Zf(n)])}function Zf(e){return Array.isArray(e)?e.join(" "):e}const qf={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"]},Yn={};for(const e in qf)Yn[e]={isEnabled:t=>qf[e].some(n=>!!t[n])};function eS(e){for(const t in e)Yn[t]={...Yn[t],...e[t]}}const tS=Symbol.for("motionComponentSymbol");function nS({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&eS(e);function o(l,a){let u;const c={...C.useContext(Om),...l,layoutId:rS(l)},{isStatic:f}=c,d=bw(l),g=r(l,f);if(!f&&hu){iS();const v=oS(c);u=v.MeasureLayout,d.visualElement=Xw(i,g,c,t,v.ProjectionNode)}return S.jsxs(Go.Provider,{value:d,children:[u&&d.visualElement?S.jsx(u,{visualElement:d.visualElement,...c}):null,n(i,l,qw(g,d.visualElement,a),g,f,d.visualElement)]})}const s=C.forwardRef(o);return s[tS]=i,s}function rS({layoutId:e}){const t=C.useContext(km).id;return t&&e!==void 0?t+"-"+e:e}function iS(e,t){C.useContext(Fm).strict}function oS(e){const{drag:t,layout:n}=Yn;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const sS=["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 pu(e){return typeof e!="string"||e.includes("-")?!1:!!(sS.indexOf(e)>-1||/[A-Z]/u.test(e))}function Bm(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 Um=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 $m(e,t,n,r){Bm(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Um.has(i)?i:cu(i),t.attrs[i])}function Wm(e,{layout:t,layoutId:n}){return hn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!So[e]||e==="opacity")}function mu(e,t,n){var r;const{style:i}=e,o={};for(const s in i)(pe(i[s])||t.style&&pe(t.style[s])||Wm(s,e)||((r=n==null?void 0:n.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[s]=i[s]);return o}function Hm(e,t,n){const r=mu(e,t,n);for(const i in e)if(pe(e[i])||pe(t[i])){const o=ei.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}function lS(e){const t=C.useRef(null);return t.current===null&&(t.current=e()),t.current}function aS({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:uS(r,i,o,e),renderState:t()};return n&&(s.mount=l=>n(r,l,s)),s}const Km=e=>(t,n)=>{const r=C.useContext(Go),i=C.useContext(fu),o=()=>aS(e,t,r,i);return n?o():lS(o)};function uS(e,t,n,r){const i={},o=r(e,{});for(const d in o)i[d]=$i(o[d]);let{initial:s,animate:l}=e;const a=Qo(e),u=zm(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;if(f&&typeof f!="boolean"&&!$o(f)){const d=Array.isArray(f)?f:[f];for(let g=0;g({style:{},transform:{},transformOrigin:{},vars:{}}),Gm=()=>({...gu(),attrs:{}}),Qm=(e,t)=>t&&typeof e=="number"?t.transform(e):e,cS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},fS=ei.length;function dS(e,t,n){let r="",i=!0;for(let o=0;otypeof e=="string"&&e.toLowerCase()==="svg",vS={useVisualState:Km({scrapeMotionValuesFromProps:Hm,createRenderState:Gm,onMount:(e,t,{renderState:n,latestValues:r})=>{I.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),I.render(()=>{yu(n,r,xu(t.tagName),e.transformTemplate),$m(t,n)})}})},yS={useVisualState:Km({scrapeMotionValuesFromProps:mu,createRenderState:gu})};function Ym(e,t,n){for(const r in t)!pe(t[r])&&!Wm(r,n)&&(e[r]=t[r])}function xS({transformTemplate:e},t){return C.useMemo(()=>{const n=gu();return vu(n,t,e),Object.assign({},n.vars,n.style)},[t])}function wS(e,t){const n=e.style||{},r={};return Ym(r,n,e),Object.assign(r,xS(e,t)),r}function SS(e,t){const n={},r=wS(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const PS=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Po(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||PS.has(e)}let Xm=e=>!Po(e);function CS(e){e&&(Xm=t=>t.startsWith("on")?!Po(t):e(t))}try{CS(require("@emotion/is-prop-valid").default)}catch{}function kS(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Xm(i)||n===!0&&Po(i)||!t&&!Po(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function TS(e,t,n,r){const i=C.useMemo(()=>{const o=Gm();return yu(o,t,xu(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Ym(o,e.style,e),i.style={...o,...i.style}}return i}function ES(e=!1){return(n,r,i,{latestValues:o},s)=>{const a=(pu(n)?TS:SS)(r,o,s,n),u=kS(r,typeof n=="string",e),c=n!==C.Fragment?{...u,...a,ref:i}:{},{children:f}=r,d=C.useMemo(()=>pe(f)?f.get():f,[f]);return C.createElement(n,{...c,children:d})}}function RS(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const s={...pu(r)?vS:yS,preloadedFeatures:e,useRender:ES(i),createVisualElement:t,Component:r};return nS(s)}}const Gl={current:null},Zm={current:!1};function MS(){if(Zm.current=!0,!!hu)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Gl.current=e.matches;e.addListener(t),t()}else Gl.current=!1}function AS(e,t,n){for(const r in t){const i=t[r],o=n[r];if(pe(i))e.addValue(r,i);else if(pe(o))e.addValue(r,Yr(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(r);e.addValue(r,Yr(s!==void 0?s:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const bf=new WeakMap,LS=[...Up,de,zt],NS=e=>LS.find(Bp(e)),ed=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class VS{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:s},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Za,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const d=tt.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),Zm.current||MS(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Gl.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){bf.delete(this.current),this.projection&&this.projection.unmount(),Ft(this.notifyUpdate),Ft(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=hn.has(t),i=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&I.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),o(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Yn){const n=Yn[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Z()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&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=Yr(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(Op(i)||_p(i))?i=parseFloat(i):!NS(i)&&zt.test(n)&&(i=Xp(t,n)),this.setBaseTarget(t,pe(i)?i.get():i)),pe(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const s=Wa(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);s&&(i=s[t])}if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!pe(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 uu),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class qm extends VS{constructor(){super(...arguments),this.KeyframeResolver=Zp}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]}}function DS(e){return window.getComputedStyle(e)}class jS extends qm{constructor(){super(...arguments),this.type="html",this.renderInstance=Bm}readValueFromInstance(t,n){if(hn.has(n)){const r=eu(n);return r&&r.default||0}else{const r=DS(t),i=(Ip(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Pm(t,n)}build(t,n,r){vu(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return mu(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;pe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class _S extends qm{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Z}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(hn.has(n)){const r=eu(n);return r&&r.default||0}return n=Um.has(n)?n:cu(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Hm(t,n,r)}build(t,n,r){yu(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){$m(t,n,r,i)}mount(t){this.isSVGTag=xu(t.tagName),super.mount(t)}}const OS=(e,t)=>pu(e)?new _S(t):new jS(t,{allowProjection:e!==C.Fragment}),FS=RS({...kx,...Gw,..._w,...Qw},OS),W=my(FS);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the Vivek w + */var IS={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the Vivek w + */const zS=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),bn=(e,t)=>{const n=C.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:s,className:l="",children:a,...u},c)=>C.createElement("svg",{ref:c,...IS,width:i,height:i,stroke:r,strokeWidth:s?Number(o)*24/Number(i):o,className:["lucide",`lucide-${zS(e)}`,l].join(" "),...u},[...t.map(([f,d])=>C.createElement(f,d)),...Array.isArray(a)?a:[a]]));return n.displayName=`${e}`,n};/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the Vivek w + */const BS=bn("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the Vivek w + */const US=bn("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the Vivek w + */const $S=bn("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the Vivek w + */const WS=bn("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the Vivek w + */const HS=bn("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the Vivek w + */const KS=bn("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function wu(){const[e,t]=C.useState(!1);return S.jsxs("nav",{className:"bg-white shadow-lg fixed w-full z-50",children:[S.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:S.jsxs("div",{className:"flex justify-between h-16",children:[S.jsxs("div",{className:"flex items-center",children:[S.jsx("img",{src:"/logo.svg",alt:"Creators Corner Logo",className:"h-10 w-10"}),S.jsx("span",{className:"ml-2 text-xl font-bold bg-gradient-to-r from-indigo-600 to-purple-600 bg-clip-text text-transparent",children:"Creators Corner"})]}),S.jsxs("div",{className:"hidden md:flex items-center space-x-8",children:[S.jsx(W.a,{href:"/",className:"text-gray-600 hover:text-indigo-600 transition-colors",whileHover:{scale:1.05},whileTap:{scale:.95},children:"Home"}),S.jsx(W.a,{href:"/coordinators",className:"text-gray-600 hover:text-indigo-600 transition-colors",whileHover:{scale:1.05},whileTap:{scale:.95},children:"Team"}),S.jsx(W.a,{href:"/contact",className:"text-gray-600 hover:text-indigo-600 transition-colors",whileHover:{scale:1.05},whileTap:{scale:.95},children:"Register"})]}),S.jsx("div",{className:"md:hidden flex items-center",children:S.jsx("button",{onClick:()=>t(!e),children:e?S.jsx(KS,{className:"h-6 w-6"}):S.jsx(WS,{className:"h-6 w-6"})})})]})}),e&&S.jsx(W.div,{className:"md:hidden",initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},children:S.jsxs("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3",children:[S.jsx("a",{href:"/",className:"block px-3 py-2 text-gray-600 hover:text-indigo-600",children:"Home"}),S.jsx("a",{href:"/coordinators",className:"block px-3 py-2 text-gray-600 hover:text-indigo-600",children:"Team"}),S.jsx("a",{href:"/contact",className:"block px-3 py-2 text-gray-600 hover:text-indigo-600",children:"Register"})]})})]})}function js({name:e,role:t,image:n}){return S.jsxs(W.div,{whileHover:{y:-10},className:"flex flex-col items-center p-6 space-y-4 bg-white rounded-xl shadow-md transition-all duration-300 hover:shadow-xl",children:[S.jsx(W.img,{whileHover:{scale:1.1},src:n,alt:e,className:"w-32 h-32 rounded-full object-cover"}),S.jsx(W.h3,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.2},className:"text-xl font-semibold text-gray-800",children:e}),S.jsx(W.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.3},className:"text-indigo-600 font-medium",children:t})]})}function td({title:e,date:t,description:n,image:r}){return S.jsxs(W.div,{className:"bg-white rounded-xl shadow-md overflow-hidden h-full",whileHover:{y:-5},children:[S.jsx(W.img,{whileHover:{scale:1.05},transition:{duration:.3},src:r,alt:e,className:"h-48 w-full object-cover"}),S.jsxs("div",{className:"p-6",children:[S.jsx("h3",{className:"text-xl font-semibold text-gray-800 mb-2",children:e}),S.jsx("p",{className:"text-indigo-600 font-medium mb-2",children:t}),S.jsx("p",{className:"text-gray-600",children:n})]})]})}var Ql=new Map,Ei=new WeakMap,nd=0,GS=void 0;function QS(e){return e?(Ei.has(e)||(nd+=1,Ei.set(e,nd.toString())),Ei.get(e)):"0"}function YS(e){return Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>`${t}_${t==="root"?QS(e.root):e[t]}`).toString()}function XS(e){const t=YS(e);let n=Ql.get(t);if(!n){const r=new Map;let i;const o=new IntersectionObserver(s=>{s.forEach(l=>{var a;const u=l.isIntersecting&&i.some(c=>l.intersectionRatio>=c);e.trackVisibility&&typeof l.isVisible>"u"&&(l.isVisible=u),(a=r.get(l.target))==null||a.forEach(c=>{c(u,l)})})},e);i=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:r},Ql.set(t,n)}return n}function ZS(e,t,n={},r=GS){if(typeof window.IntersectionObserver>"u"&&r!==void 0){const a=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:a,intersectionRect:a,rootBounds:a}),()=>{}}const{id:i,observer:o,elements:s}=XS(n),l=s.get(e)||[];return s.has(e)||s.set(e,l),l.push(t),o.observe(e),function(){l.splice(l.indexOf(t),1),l.length===0&&(s.delete(e),o.unobserve(e)),s.size===0&&(o.disconnect(),Ql.delete(i))}}function qS({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:i,triggerOnce:o,skip:s,initialInView:l,fallbackInView:a,onChange:u}={}){var c;const[f,d]=C.useState(null),g=C.useRef(),[v,y]=C.useState({inView:!!l,entry:void 0});g.current=u,C.useEffect(()=>{if(s||!f)return;let m;return m=ZS(f,(x,P)=>{y({inView:x,entry:P}),g.current&&g.current(x,P),P.isIntersecting&&o&&m&&(m(),m=void 0)},{root:i,rootMargin:r,threshold:e,trackVisibility:n,delay:t},a),()=>{m&&m()}},[Array.isArray(e)?e.toString():e,f,i,r,o,s,n,a,t]);const w=(c=v.entry)==null?void 0:c.target,p=C.useRef();!f&&w&&!o&&!s&&p.current!==w&&(p.current=w,y({inView:!!l,entry:void 0}));const h=[d,v.inView,v.entry];return h.ref=h[0],h.inView=h[1],h.entry=h[2],h}function _s({children:e,className:t=""}){const[n,r]=qS({triggerOnce:!0,threshold:.1});return S.jsx(W.div,{ref:n,initial:{opacity:0,y:50},animate:r?{opacity:1,y:0}:{opacity:0,y:50},transition:{duration:.6,ease:"easeOut"},className:t,children:e})}function rd({children:e,href:t,onClick:n,variant:r="primary",className:i=""}){const o="px-8 py-3 rounded-full font-semibold transition-all duration-300 transform hover:scale-105 focus:outline-none focus:ring-4 focus:ring-opacity-50",s={primary:"bg-gradient-to-r from-indigo-600 to-purple-600 text-white hover:from-indigo-700 hover:to-purple-700 focus:ring-indigo-300",secondary:"bg-white text-indigo-600 hover:bg-gray-50 focus:ring-indigo-200"},l=S.jsx(W.span,{className:"inline-block",whileHover:{scale:1.05},whileTap:{scale:.95},children:e});return t?S.jsx("a",{href:t,className:`${o} ${s[r]} ${i}`,onClick:n,children:l}):S.jsx("button",{onClick:n,className:`${o} ${s[r]} ${i}`,children:l})}function JS(){return S.jsxs(S.Fragment,{children:[S.jsx(wu,{}),S.jsxs("section",{className:"pt-20 bg-gradient-to-br from-indigo-600 via-purple-600 to-pink-500 relative overflow-hidden",children:[S.jsx(W.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-32 relative z-10",children:S.jsxs("div",{className:"text-center",children:[S.jsx(W.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2,duration:.8},className:"text-4xl md:text-6xl font-bold text-white mb-6",children:"Welcome to Creators Corner"}),S.jsx(W.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4,duration:.8},className:"text-xl text-white/90 mb-8",children:"Unleash Your Creative Potential"}),S.jsx(W.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.6,duration:.8},children:S.jsx(rd,{href:"/contact",variant:"secondary",children:"Register for Podcast Event"})})]})}),S.jsx("div",{className:"absolute inset-0 overflow-hidden",children:[...Array(5)].map((e,t)=>S.jsx(W.div,{className:"absolute bg-white/10 rounded-full",style:{width:Math.random()*300+100,height:Math.random()*300+100,left:`${Math.random()*100}%`,top:`${Math.random()*100}%`},animate:{x:[0,Math.random()*100-50],y:[0,Math.random()*100-50],scale:[1,1.2,1]},transition:{duration:Math.random()*10+10,repeat:1/0,repeatType:"reverse"}},t))})]}),S.jsx(_s,{className:"py-20",children:S.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[S.jsx("h2",{className:"text-3xl font-bold text-center text-gray-800 mb-12",children:"Our Leadership"}),S.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[S.jsx(js,{name:"Sahil Kumar",role:"Main Coordinator",image:"images/sahil.jpeg"}),S.jsx(js,{name:"Yash Mali",role:"Main Coordinator",image:"images/yash.jpeg"}),S.jsx(js,{name:"Rudransh Gupta",role:"Main Coordinator",image:"images/rudrash.jpeg"})]}),S.jsx("div",{className:"text-center mt-8",children:S.jsx(rd,{href:"/coordinators",variant:"primary",children:"Meet Our Full Team"})})]})}),S.jsx(_s,{className:"py-20 bg-gray-100",children:S.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[S.jsx("h2",{className:"text-3xl font-bold text-center text-gray-800 mb-12",children:"Featured Content"}),S.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-12",children:[1,2,3].map(e=>S.jsx(W.div,{whileHover:{scale:1.05},whileTap:{scale:.95},className:"aspect-w-9 aspect-h-16 rounded-xl overflow-hidden shadow-lg",children:S.jsx("iframe",{src:`https://youtu.be/6pa5VZdKyqY`,title:`YouTube Short ${e}`,className:"w-full h-full",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})},e))})]})}),S.jsx(_s,{className:"py-20",children:S.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[S.jsx("h2",{className:"text-3xl font-bold text-center text-gray-800 mb-12",children:"Upcoming Events"}),S.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[S.jsx(W.div,{whileHover:{scale:1.02},transition:{duration:.2},children:S.jsx(td,{title:"Podcast 2024",date:"March 25, 2024",description:"Join us for an immersive podcasting workshop where you'll learn from industry experts and network with fellow creators!",image:"https://images.unsplash.com/photo-1478737270239-2f02b77fc618?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80"})}),S.jsx(W.div,{whileHover:{scale:1.02},transition:{duration:.2},children:S.jsx(td,{title:"Content Creation Masterclass",date:"April 15, 2024",description:"Master the art of content creation with hands-on workshops covering video, audio, and social media optimization.",image:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80"})})]})]})}),S.jsx("footer",{className:"bg-gray-800 text-white py-8",children:S.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:S.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center",children:[S.jsx("p",{className:"text-gray-400",children:"© 2024 Creators Corner. All rights reserved by Vivek W."}),S.jsxs(W.a,{href:"https://github.com/AryanVBW",target:"_blank",rel:"noopener noreferrer",className:"flex items-center space-x-2 text-gray-400 hover:text-white transition duration-300",whileHover:{scale:1.05},whileTap:{scale:.95},children:[S.jsx("span",{children:"Created with Love by Vivek W"}),S.jsx(BS,{className:"h-5 w-5"})]})]})})})]})}function bS({name:e,role:t,image:n,bio:r,socials:i}){return S.jsx("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden",children:S.jsxs("div",{className:"md:flex",children:[S.jsx("div",{className:"md:flex-shrink-0",children:S.jsx("img",{className:"h-48 w-full md:w-48 object-cover",src:n,alt:e})}),S.jsxs("div",{className:"p-8",children:[S.jsx("div",{className:"uppercase tracking-wide text-sm text-indigo-600 font-semibold",children:t}),S.jsx("h2",{className:"mt-2 text-xl font-semibold text-gray-800",children:e}),S.jsx("p",{className:"mt-3 text-gray-600",children:r}),S.jsxs("div",{className:"mt-4 flex space-x-4",children:[S.jsx("a",{href:`https://instagram.com/${i.instagram}`,target:"_blank",rel:"noopener noreferrer",className:"text-pink-600 hover:text-pink-700",children:S.jsx(US,{className:"h-5 w-5"})}),S.jsx("a",{href:`https://linkedin.com/in/${i.linkedin}`,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-700",children:S.jsx($S,{className:"h-5 w-5"})}),S.jsx("a",{href:`https://twitter.com/${i.twitter}`,target:"_blank",rel:"noopener noreferrer",className:"text-sky-500 hover:text-sky-600",children:S.jsx(HS,{className:"h-5 w-5"})})]})]})]})})}function eP(){const e=[{name:"Sahil Kumar",role:"Main Coordinator",image:"images/sahil.jpeg",bio:"Leading the creative vision of Creators Corner with expertise in content strategy and community building.",socials:{instagram:"sahil.kumar",linkedin:"sahilkumar",twitter:"sahilk"}},{name:"Yash Mali",role:"Main Coordinator",image:"images/sahil.jpeg",bio:"Specializing in event management and creator partnerships to bring unique opportunities to our community.",socials:{instagram:"yash.mali",linkedin:"yashmali",twitter:"yashm"}},{name:"Rudransh Gupta",role:"Main Coordinator",image:"images/rudrash.jpeg",bio:"Driving technical innovation and digital presence for Creators Corner's growing platform.",socials:{instagram:"rudraksha.gupta",linkedin:"rudrakshagupta",twitter:"rudrakshag"}}];return S.jsxs(S.Fragment,{children:[S.jsx(wu,{}),S.jsx("div",{className:"pt-16 bg-gray-50",children:S.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[S.jsx("h1",{className:"text-4xl font-bold text-center text-gray-800 mb-12",children:"Meet Our Coordinators"}),S.jsx("div",{className:"grid grid-cols-1 gap-12",children:e.map((t,n)=>S.jsx(bS,{...t},n))})]})})]})}function tP(){return S.jsxs(S.Fragment,{children:[S.jsx(wu,{}),S.jsx("div",{className:"pt-20 min-h-screen bg-gradient-to-br from-indigo-50 via-white to-purple-50",children:S.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[S.jsxs(W.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center mb-12",children:[S.jsx("h1",{className:"text-4xl font-bold text-gray-800 mb-4",children:"Register for Podcast Event"}),S.jsx("p",{className:"text-xl text-gray-600",children:"Join us for an amazing podcasting experience!"})]}),S.jsx(W.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2,duration:.8},className:"bg-white rounded-xl shadow-lg p-6 md:p-8",children:S.jsx("iframe",{src:"https://docs.google.com/forms/d/e/your-form-id/viewform?embedded=true",width:"100%",height:"800",frameBorder:"0",marginHeight:0,marginWidth:0,className:"w-full",children:"Loading form..."})})]})})]})}function nP(){return S.jsx("div",{className:"min-h-screen bg-gray-50",children:S.jsxs(fy,{children:[S.jsx(zi,{path:"/",element:S.jsx(JS,{})}),S.jsx(zi,{path:"/coordinators",element:S.jsx(eP,{})}),S.jsx(zi,{path:"/contact",element:S.jsx(tP,{})})]})})}gp(document.getElementById("root")).render(S.jsx(C.StrictMode,{children:S.jsx(py,{children:S.jsx(nP,{})})}));