This repository has been archived on 2026-11-14. You can view files and clone it, but cannot push or open issues or pull requests.
birthday-luxury/index.html

108 lines
288 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>С Днём Рождения — Luxury Birthday Experience</title>
<meta name="description" content="Премиальное digital-поздравление с днём рождения." />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Playfair+Display:wght@300;400;500;600&display=swap"
rel="stylesheet"
/>
<script type="module" crossorigin>(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 s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function ng(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ud={exports:{}},As={},cd={exports:{}},j={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ei=Symbol.for("react.element"),rg=Symbol.for("react.portal"),ig=Symbol.for("react.fragment"),sg=Symbol.for("react.strict_mode"),og=Symbol.for("react.profiler"),lg=Symbol.for("react.provider"),ag=Symbol.for("react.context"),ug=Symbol.for("react.forward_ref"),cg=Symbol.for("react.suspense"),fg=Symbol.for("react.memo"),dg=Symbol.for("react.lazy"),Lu=Symbol.iterator;function hg(e){return e===null||typeof e!="object"?null:(e=Lu&&e[Lu]||e["@@iterator"],typeof e=="function"?e:null)}var fd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},dd=Object.assign,hd={};function Qn(e,t,n){this.props=e,this.context=t,this.refs=hd,this.updater=n||fd}Qn.prototype.isReactComponent={};Qn.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")};Qn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function pd(){}pd.prototype=Qn.prototype;function bl(e,t,n){this.props=e,this.context=t,this.refs=hd,this.updater=n||fd}var ea=bl.prototype=new pd;ea.constructor=bl;dd(ea,Qn.prototype);ea.isPureReactComponent=!0;var Du=Array.isArray,md=Object.prototype.hasOwnProperty,ta={current:null},gd={key:!0,ref:!0,__self:!0,__source:!0};function yd(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)md.call(t,r)&&!gd.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];i.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:ei,type:e,key:s,ref:o,props:i,_owner:ta.current}}function pg(e,t){return{$$typeof:ei,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function na(e){return typeof e=="object"&&e!==null&&e.$$typeof===ei}function mg(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Ru=/\/+/g;function bs(e,t){return typeof e=="object"&&e!==null&&e.key!=null?mg(""+e.key):t.toString(36)}function _i(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case ei:case rg:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+bs(o,0):r,Du(i)?(n="",e!=null&&(n=e.replace(Ru,"$&/")+"/"),_i(i,t,n,"",function(u){return u})):i!=null&&(na(i)&&(i=pg(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(Ru,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",Du(e))for(var l=0;l<e.length;l++){s=e[l];var a=r+bs(s,l);o+=_i(s,t,n,a,i)}else if(a=hg(e),typeof a=="function")for(e=a.call(e),l=0;!(s=e.next()).done;)s=s.value,a=r+bs(s,l++),o+=_i(s,t,n,a,i);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function di(e,t,n){if(e==null)return e;var r=[],i=0;return _i(e,r,"","",function(s){return t.call(n,s,i++)}),r}function gg(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var xe={current:null},Ni={transition:null},yg={ReactCurrentDispatcher:xe,ReactCurrentBatchConfig:Ni,ReactCurrentOwner:ta};function vd(){throw Error("act(...) is not supported in production builds of React.")}j.Children={map:di,forEach:function(e,t,n){di(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return di(e,function(){t++}),t},toArray:function(e){return di(e,function(t){return t})||[]},only:function(e){if(!na(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};j.Component=Qn;j.Fragment=ig;j.Profiler=og;j.PureComponent=bl;j.StrictMode=sg;j.Suspense=cg;j.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=yg;j.act=vd;j.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=dd({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=ta.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)md.call(t,a)&&!gd.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){l=Array(a);for(var u=0;u<a;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:ei,type:e.type,key:i,ref:s,props:r,_owner:o}};j.createContext=function(e){return e={$$typeof:ag,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:lg,_context:e},e.Consumer=e};j.createElement=yd;j.createFactory=function(e){var t=yd.bind(null,e);return t.type=e,t};j.createRef=function(){return{current:null}};j.forwardRef=function(e){return{$$typeof:ug,render:e}};j.isValidElement=na;j.lazy=function(e){return{$$typeof:dg,_payload:{_status:-1,_result:e},_init:gg}};j.memo=function(e,t){return{$$typeof:fg,type:e,compare:t===void 0?null:t}};j.startTransition=function(e){var t=Ni.transition;Ni.transition={};try{e()}finally{Ni.transition=t}};j.unstable_act=vd;j.useCallback=function(e,t){return xe.current.useCallback(e,t)};j.useContext=function(e){return xe.current.useContext(e)};j.useDebugValue=function(){};j.useDeferredValue=function(e){return xe.current.useDeferredValue(e)};j.useEffect=function(e,t){return xe.current.useEffect(e,t)};j.useId=function(){return xe.current.useId()};j.useImperativeHandle=function(e,t,n){return xe.current.useImperativeHandle(e,t,n)};j.useInsertionEffect=function(e,t){return xe.current.useInsertionEffect(e,t)};j.useLayoutEffect=function(e,t){return xe.current.useLayoutEffect(e,t)};j.useMemo=function(e,t){return xe.current.useMemo(e,t)};j.useReducer=function(e,t,n){return xe.current.useReducer(e,t,n)};j.useRef=function(e){return xe.current.useRef(e)};j.useState=function(e){return xe.current.useState(e)};j.useSyncExternalStore=function(e,t,n){return xe.current.useSyncExternalStore(e,t,n)};j.useTransition=function(){return xe.current.useTransition()};j.version="18.3.1";cd.exports=j;var E=cd.exports;const vg=ng(E);/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var wg=E,xg=Symbol.for("react.element"),Sg=Symbol.for("react.fragment"),Tg=Object.prototype.hasOwnProperty,kg=wg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Pg={key:!0,ref:!0,__self:!0,__source:!0};function wd(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)Tg.call(t,r)&&!Pg.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:xg,type:e,key:s,ref:o,props:i,_owner:kg.current}}As.Fragment=Sg;As.jsx=wd;As.jsxs=wd;ud.exports=As;var L=ud.exports,Wo={},xd={exports:{}},Ve={},Sd={exports:{}},Td={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t(A,V){var _=A.length;A.push(V);e:for(;0<_;){var X=_-1>>>1,ie=A[X];if(0<i(ie,V))A[X]=V,A[_]=ie,_=X;else break e}}function n(A){return A.length===0?null:A[0]}function r(A){if(A.length===0)return null;var V=A[0],_=A.pop();if(_!==V){A[0]=_;e:for(var X=0,ie=A.length,ci=ie>>>1;X<ci;){var Ht=2*(X+1)-1,Js=A[Ht],Kt=Ht+1,fi=A[Kt];if(0>i(Js,_))Kt<ie&&0>i(fi,Js)?(A[X]=fi,A[Kt]=_,X=Kt):(A[X]=Js,A[Ht]=_,X=Ht);else if(Kt<ie&&0>i(fi,_))A[X]=fi,A[Kt]=_,X=Kt;else break e}}return V}function i(A,V){var _=A.sortIndex-V.sortIndex;return _!==0?_:A.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var a=[],u=[],c=1,f=null,d=3,g=!1,y=!1,v=!1,S=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(A){for(var V=n(u);V!==null;){if(V.callback===null)r(u);else if(V.startTime<=A)r(u),V.sortIndex=V.expirationTime,t(a,V);else break;V=n(u)}}function w(A){if(v=!1,m(A),!y)if(n(a)!==null)y=!0,ui(x);else{var V=n(u);V!==null&&b(w,V.startTime-A)}}function x(A,V){y=!1,v&&(v=!1,p(T),T=-1),g=!0;var _=d;try{for(m(V),f=n(a);f!==null&&(!(f.expirationTime>V)||A&&!re());){var X=f.callback;if(typeof X=="function"){f.callback=null,d=f.priorityLevel;var ie=X(f.expirationTime<=V);V=e.unstable_now(),typeof ie=="function"?f.callback=ie:f===n(a)&&r(a),m(V)}else r(a);f=n(a)}if(f!==null)var ci=!0;else{var Ht=n(u);Ht!==null&&b(w,Ht.startTime-V),ci=!1}return ci}finally{f=null,d=_,g=!1}}var P=!1,C=null,T=-1,N=5,R=-1;function re(){return!(e.unstable_now()-R<N)}function vt(){if(C!==null){var A=e.unstable_now();R=A;var V=!0;try{V=C(!0,A)}finally{V?Wt():(P=!1,C=null)}}else P=!1}var Wt;if(typeof h=="function")Wt=function(){h(vt)};else if(typeof MessageChannel<"u"){var bn=new MessageChannel,Mu=bn.port2;bn.port1.onmessage=vt,Wt=function(){Mu.postMessage(null)}}else Wt=function(){S(vt,0)};function ui(A){C=A,P||(P=!0,Wt())}function b(A,V){T=S(function(){A(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(A){A.callback=null},e.unstable_continueExecution=function(){y||g||(y=!0,ui(x))},e.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<A?Math.floor(1e3/A):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(A){switch(d){case 1:case 2:case 3:var V=3;break;default:V=d}var _=d;d=V;try{return A()}finally{d=_}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(A,V){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var _=d;d=A;try{return V()}finally{d=_}},e.unstable_scheduleCallback=function(A,V,_){var X=e.unstable_now();switch(typeof _=="object"&&_!==null?(_=_.delay,_=typeof _=="number"&&0<_?X+_:X):_=X,A){case 1:var ie=-1;break;case 2:ie=250;break;case 5:ie=1073741823;break;case 4:ie=1e4;break;default:ie=5e3}return ie=_+ie,A={id:c++,callback:V,priorityLevel:A,startTime:_,expirationTime:ie,sortIndex:-1},_>X?(A.sortIndex=_,t(u,A),n(a)===null&&A===n(u)&&(v?(p(T),T=-1):v=!0,b(w,_-X))):(A.sortIndex=ie,t(a,A),y||g||(y=!0,ui(x))),A},e.unstable_shouldYield=re,e.unstable_wrapCallback=function(A){var V=d;return function(){var _=d;d=V;try{return A.apply(this,arguments)}finally{d=_}}}})(Td);Sd.exports=Td;var Cg=Sd.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Eg=E,De=Cg;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var kd=new Set,_r={};function fn(e,t){In(e,t),In(e+"Capture",t)}function In(e,t){for(_r[e]=t,e=0;e<t.length;e++)kd.add(t[e])}var ht=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ho=Object.prototype.hasOwnProperty,Ag=/^[: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]*$/,Vu={},_u={};function Mg(e){return Ho.call(_u,e)?!0:Ho.call(Vu,e)?!1:Ag.test(e)?_u[e]=!0:(Vu[e]=!0,!1)}function Lg(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 Dg(e,t,n,r){if(t===null||typeof t>"u"||Lg(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 Se(e,t,n,r,i,s,o){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=s,this.removeEmptyString=o}var ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ce[e]=new Se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ce[t]=new Se(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ce[e]=new Se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ce[e]=new Se(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){ce[e]=new Se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ce[e]=new Se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ce[e]=new Se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ce[e]=new Se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ce[e]=new Se(e,5,!1,e.toLowerCase(),null,!1,!1)});var ra=/[\-:]([a-z])/g;function ia(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(ra,ia);ce[t]=new Se(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(ra,ia);ce[t]=new Se(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(ra,ia);ce[t]=new Se(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ce[e]=new Se(e,1,!1,e.toLowerCase(),null,!1,!1)});ce.xlinkHref=new Se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ce[e]=new Se(e,1,!1,e.toLowerCase(),null,!0,!0)});function sa(e,t,n,r){var i=ce.hasOwnProperty(t)?ce[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Dg(t,n,i,r)&&(n=null),r||i===null?Mg(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var yt=Eg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,hi=Symbol.for("react.element"),mn=Symbol.for("react.portal"),gn=Symbol.for("react.fragment"),oa=Symbol.for("react.strict_mode"),Ko=Symbol.for("react.profiler"),Pd=Symbol.for("react.provider"),Cd=Symbol.for("react.context"),la=Symbol.for("react.forward_ref"),Go=Symbol.for("react.suspense"),Qo=Symbol.for("react.suspense_list"),aa=Symbol.for("react.memo"),Tt=Symbol.for("react.lazy"),Ed=Symbol.for("react.offscreen"),Nu=Symbol.iterator;function er(e){return e===null||typeof e!="object"?null:(e=Nu&&e[Nu]||e["@@iterator"],typeof e=="function"?e:null)}var G=Object.assign,eo;function fr(e){if(eo===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);eo=t&&t[1]||""}return`
`+eo+e}var to=!1;function no(e,t){if(!e||to)return"";to=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
`),s=r.stack.split(`
`),o=i.length-1,l=s.length-1;1<=o&&0<=l&&i[o]!==s[l];)l--;for(;1<=o&&0<=l;o--,l--)if(i[o]!==s[l]){if(o!==1||l!==1)do if(o--,l--,0>l||i[o]!==s[l]){var a=`
`+i[o].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=o&&0<=l);break}}}finally{to=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?fr(e):""}function Rg(e){switch(e.tag){case 5:return fr(e.type);case 16:return fr("Lazy");case 13:return fr("Suspense");case 19:return fr("SuspenseList");case 0:case 2:case 15:return e=no(e.type,!1),e;case 11:return e=no(e.type.render,!1),e;case 1:return e=no(e.type,!0),e;default:return""}}function Yo(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 Ko:return"Profiler";case oa:return"StrictMode";case Go:return"Suspense";case Qo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Cd:return(e.displayName||"Context")+".Consumer";case Pd:return(e._context.displayName||"Context")+".Provider";case la:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case aa:return t=e.displayName||null,t!==null?t:Yo(e.type)||"Memo";case Tt:t=e._payload,e=e._init;try{return Yo(e(t))}catch{}}return null}function Vg(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 Yo(t);case 8:return t===oa?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ot(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ad(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function _g(e){var t=Ad(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,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function pi(e){e._valueTracker||(e._valueTracker=_g(e))}function Md(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ad(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Zi(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 Xo(e,t){var n=t.checked;return G({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ju(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ot(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 Ld(e,t){t=t.checked,t!=null&&sa(e,"checked",t,!1)}function Zo(e,t){Ld(e,t);var n=Ot(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")?qo(e,t.type,n):t.hasOwnProperty("defaultValue")&&qo(e,t.type,Ot(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ou(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 qo(e,t,n){(t!=="number"||Zi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var dr=Array.isArray;function Vn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Ot(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Jo(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(k(91));return G({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Fu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(k(92));if(dr(n)){if(1<n.length)throw Error(k(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Ot(n)}}function Dd(e,t){var n=Ot(t.value),r=Ot(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Iu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Rd(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function bo(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Rd(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var mi,Vd=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(mi=mi||document.createElement("div"),mi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=mi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Nr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var vr={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},Ng=["Webkit","ms","Moz","O"];Object.keys(vr).forEach(function(e){Ng.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vr[t]=vr[e]})});function _d(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||vr.hasOwnProperty(e)&&vr[e]?(""+t).trim():t+"px"}function Nd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=_d(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var jg=G({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function el(e,t){if(t){if(jg[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 tl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var nl=null;function ua(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var rl=null,_n=null,Nn=null;function zu(e){if(e=ri(e)){if(typeof rl!="function")throw Error(k(280));var t=e.stateNode;t&&(t=Vs(t),rl(e.stateNode,e.type,t))}}function jd(e){_n?Nn?Nn.push(e):Nn=[e]:_n=e}function Od(){if(_n){var e=_n,t=Nn;if(Nn=_n=null,zu(e),t)for(e=0;e<t.length;e++)zu(t[e])}}function Fd(e,t){return e(t)}function Id(){}var ro=!1;function zd(e,t,n){if(ro)return e(t,n);ro=!0;try{return Fd(e,t,n)}finally{ro=!1,(_n!==null||Nn!==null)&&(Id(),Od())}}function jr(e,t){var n=e.stateNode;if(n===null)return null;var r=Vs(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(k(231,t,typeof n));return n}var il=!1;if(ht)try{var tr={};Object.defineProperty(tr,"passive",{get:function(){il=!0}}),window.addEventListener("test",tr,tr),window.removeEventListener("test",tr,tr)}catch{il=!1}function Og(e,t,n,r,i,s,o,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var wr=!1,qi=null,Ji=!1,sl=null,Fg={onError:function(e){wr=!0,qi=e}};function Ig(e,t,n,r,i,s,o,l,a){wr=!1,qi=null,Og.apply(Fg,arguments)}function zg(e,t,n,r,i,s,o,l,a){if(Ig.apply(this,arguments),wr){if(wr){var u=qi;wr=!1,qi=null}else throw Error(k(198));Ji||(Ji=!0,sl=u)}}function dn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Bd(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Bu(e){if(dn(e)!==e)throw Error(k(188))}function Bg(e){var t=e.alternate;if(!t){if(t=dn(e),t===null)throw Error(k(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return Bu(i),e;if(s===r)return Bu(i),t;s=s.sibling}throw Error(k(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,l=i.child;l;){if(l===n){o=!0,n=i,r=s;break}if(l===r){o=!0,r=i,n=s;break}l=l.sibling}if(!o){for(l=s.child;l;){if(l===n){o=!0,n=s,r=i;break}if(l===r){o=!0,r=s,n=i;break}l=l.sibling}if(!o)throw Error(k(189))}}if(n.alternate!==r)throw Error(k(190))}if(n.tag!==3)throw Error(k(188));return n.stateNode.current===n?e:t}function Ud(e){return e=Bg(e),e!==null?$d(e):null}function $d(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=$d(e);if(t!==null)return t;e=e.sibling}return null}var Wd=De.unstable_scheduleCallback,Uu=De.unstable_cancelCallback,Ug=De.unstable_shouldYield,$g=De.unstable_requestPaint,q=De.unstable_now,Wg=De.unstable_getCurrentPriorityLevel,ca=De.unstable_ImmediatePriority,Hd=De.unstable_UserBlockingPriority,bi=De.unstable_NormalPriority,Hg=De.unstable_LowPriority,Kd=De.unstable_IdlePriority,Ms=null,tt=null;function Kg(e){if(tt&&typeof tt.onCommitFiberRoot=="function")try{tt.onCommitFiberRoot(Ms,e,void 0,(e.current.flags&128)===128)}catch{}}var Qe=Math.clz32?Math.clz32:Yg,Gg=Math.log,Qg=Math.LN2;function Yg(e){return e>>>=0,e===0?32:31-(Gg(e)/Qg|0)|0}var gi=64,yi=4194304;function hr(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 es(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var l=o&~i;l!==0?r=hr(l):(s&=o,s!==0&&(r=hr(s)))}else o=n&~i,o!==0?r=hr(o):s!==0&&(r=hr(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Qe(t),i=1<<n,r|=e[n],t&=~i;return r}function Xg(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Zg(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-Qe(s),l=1<<o,a=i[o];a===-1?(!(l&n)||l&r)&&(i[o]=Xg(l,t)):a<=t&&(e.expiredLanes|=l),s&=~l}}function ol(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Gd(){var e=gi;return gi<<=1,!(gi&4194240)&&(gi=64),e}function io(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ti(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Qe(t),e[t]=n}function qg(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<n;){var i=31-Qe(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function fa(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Qe(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var I=0;function Qd(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Yd,da,Xd,Zd,qd,ll=!1,vi=[],Mt=null,Lt=null,Dt=null,Or=new Map,Fr=new Map,Pt=[],Jg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function $u(e,t){switch(e){case"focusin":case"focusout":Mt=null;break;case"dragenter":case"dragleave":Lt=null;break;case"mouseover":case"mouseout":Dt=null;break;case"pointerover":case"pointerout":Or.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fr.delete(t.pointerId)}}function nr(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=ri(t),t!==null&&da(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function bg(e,t,n,r,i){switch(t){case"focusin":return Mt=nr(Mt,e,t,n,r,i),!0;case"dragenter":return Lt=nr(Lt,e,t,n,r,i),!0;case"mouseover":return Dt=nr(Dt,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return Or.set(s,nr(Or.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,Fr.set(s,nr(Fr.get(s)||null,e,t,n,r,i)),!0}return!1}function Jd(e){var t=qt(e.target);if(t!==null){var n=dn(t);if(n!==null){if(t=n.tag,t===13){if(t=Bd(n),t!==null){e.blockedOn=t,qd(e.priority,function(){Xd(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ji(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=al(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);nl=r,n.target.dispatchEvent(r),nl=null}else return t=ri(n),t!==null&&da(t),e.blockedOn=n,!1;t.shift()}return!0}function Wu(e,t,n){ji(e)&&n.delete(t)}function ey(){ll=!1,Mt!==null&&ji(Mt)&&(Mt=null),Lt!==null&&ji(Lt)&&(Lt=null),Dt!==null&&ji(Dt)&&(Dt=null),Or.forEach(Wu),Fr.forEach(Wu)}function rr(e,t){e.blockedOn===t&&(e.blockedOn=null,ll||(ll=!0,De.unstable_scheduleCallback(De.unstable_NormalPriority,ey)))}function Ir(e){function t(i){return rr(i,e)}if(0<vi.length){rr(vi[0],e);for(var n=1;n<vi.length;n++){var r=vi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Mt!==null&&rr(Mt,e),Lt!==null&&rr(Lt,e),Dt!==null&&rr(Dt,e),Or.forEach(t),Fr.forEach(t),n=0;n<Pt.length;n++)r=Pt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Pt.length&&(n=Pt[0],n.blockedOn===null);)Jd(n),n.blockedOn===null&&Pt.shift()}var jn=yt.ReactCurrentBatchConfig,ts=!0;function ty(e,t,n,r){var i=I,s=jn.transition;jn.transition=null;try{I=1,ha(e,t,n,r)}finally{I=i,jn.transition=s}}function ny(e,t,n,r){var i=I,s=jn.transition;jn.transition=null;try{I=4,ha(e,t,n,r)}finally{I=i,jn.transition=s}}function ha(e,t,n,r){if(ts){var i=al(e,t,n,r);if(i===null)mo(e,t,r,ns,n),$u(e,r);else if(bg(i,e,t,n,r))r.stopPropagation();else if($u(e,r),t&4&&-1<Jg.indexOf(e)){for(;i!==null;){var s=ri(i);if(s!==null&&Yd(s),s=al(e,t,n,r),s===null&&mo(e,t,r,ns,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else mo(e,t,r,null,n)}}var ns=null;function al(e,t,n,r){if(ns=null,e=ua(r),e=qt(e),e!==null)if(t=dn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Bd(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ns=e,null}function bd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Wg()){case ca:return 1;case Hd:return 4;case bi:case Hg:return 16;case Kd:return 536870912;default:return 16}default:return 16}}var Et=null,pa=null,Oi=null;function eh(){if(Oi)return Oi;var e,t=pa,n=t.length,r,i="value"in Et?Et.value:Et.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return Oi=i.slice(e,1<r?1-r:void 0)}function Fi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function wi(){return!0}function Hu(){return!1}function _e(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(s):s[l]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?wi:Hu,this.isPropagationStopped=Hu,this}return G(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=wi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=wi)},persist:function(){},isPersistent:wi}),t}var Yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ma=_e(Yn),ni=G({},Yn,{view:0,detail:0}),ry=_e(ni),so,oo,ir,Ls=G({},ni,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ga,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ir&&(ir&&e.type==="mousemove"?(so=e.screenX-ir.screenX,oo=e.screenY-ir.screenY):oo=so=0,ir=e),so)},movementY:function(e){return"movementY"in e?e.movementY:oo}}),Ku=_e(Ls),iy=G({},Ls,{dataTransfer:0}),sy=_e(iy),oy=G({},ni,{relatedTarget:0}),lo=_e(oy),ly=G({},Yn,{animationName:0,elapsedTime:0,pseudoElement:0}),ay=_e(ly),uy=G({},Yn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),cy=_e(uy),fy=G({},Yn,{data:0}),Gu=_e(fy),dy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hy={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},py={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function my(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=py[e])?!!t[e]:!1}function ga(){return my}var gy=G({},ni,{key:function(e){if(e.key){var t=dy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Fi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?hy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ga,charCode:function(e){return e.type==="keypress"?Fi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Fi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),yy=_e(gy),vy=G({},Ls,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qu=_e(vy),wy=G({},ni,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ga}),xy=_e(wy),Sy=G({},Yn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ty=_e(Sy),ky=G({},Ls,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Py=_e(ky),Cy=[9,13,27,32],ya=ht&&"CompositionEvent"in window,xr=null;ht&&"documentMode"in document&&(xr=document.documentMode);var Ey=ht&&"TextEvent"in window&&!xr,th=ht&&(!ya||xr&&8<xr&&11>=xr),Yu=" ",Xu=!1;function nh(e,t){switch(e){case"keyup":return Cy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var yn=!1;function Ay(e,t){switch(e){case"compositionend":return rh(t);case"keypress":return t.which!==32?null:(Xu=!0,Yu);case"textInput":return e=t.data,e===Yu&&Xu?null:e;default:return null}}function My(e,t){if(yn)return e==="compositionend"||!ya&&nh(e,t)?(e=eh(),Oi=pa=Et=null,yn=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return th&&t.locale!=="ko"?null:t.data;default:return null}}var Ly={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Zu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ly[e.type]:t==="textarea"}function ih(e,t,n,r){jd(r),t=rs(t,"onChange"),0<t.length&&(n=new ma("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Sr=null,zr=null;function Dy(e){mh(e,0)}function Ds(e){var t=xn(e);if(Md(t))return e}function Ry(e,t){if(e==="change")return t}var sh=!1;if(ht){var ao;if(ht){var uo="oninput"in document;if(!uo){var qu=document.createElement("div");qu.setAttribute("oninput","return;"),uo=typeof qu.oninput=="function"}ao=uo}else ao=!1;sh=ao&&(!document.documentMode||9<document.documentMode)}function Ju(){Sr&&(Sr.detachEvent("onpropertychange",oh),zr=Sr=null)}function oh(e){if(e.propertyName==="value"&&Ds(zr)){var t=[];ih(t,zr,e,ua(e)),zd(Dy,t)}}function Vy(e,t,n){e==="focusin"?(Ju(),Sr=t,zr=n,Sr.attachEvent("onpropertychange",oh)):e==="focusout"&&Ju()}function _y(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ds(zr)}function Ny(e,t){if(e==="click")return Ds(t)}function jy(e,t){if(e==="input"||e==="change")return Ds(t)}function Oy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Xe=typeof Object.is=="function"?Object.is:Oy;function Br(e,t){if(Xe(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Ho.call(t,i)||!Xe(e[i],t[i]))return!1}return!0}function bu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ec(e,t){var n=bu(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=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=bu(n)}}function lh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?lh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ah(){for(var e=window,t=Zi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Zi(e.document)}return t}function va(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Fy(e){var t=ah(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&lh(n.ownerDocument.documentElement,n)){if(r!==null&&va(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,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=ec(n,s);var o=ec(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Iy=ht&&"documentMode"in document&&11>=document.documentMode,vn=null,ul=null,Tr=null,cl=!1;function tc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;cl||vn==null||vn!==Zi(r)||(r=vn,"selectionStart"in r&&va(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}),Tr&&Br(Tr,r)||(Tr=r,r=rs(ul,"onSelect"),0<r.length&&(t=new ma("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vn)))}function xi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wn={animationend:xi("Animation","AnimationEnd"),animationiteration:xi("Animation","AnimationIteration"),animationstart:xi("Animation","AnimationStart"),transitionend:xi("Transition","TransitionEnd")},co={},uh={};ht&&(uh=document.createElement("div").style,"AnimationEvent"in window||(delete wn.animationend.animation,delete wn.animationiteration.animation,delete wn.animationstart.animation),"TransitionEvent"in window||delete wn.transitionend.transition);function Rs(e){if(co[e])return co[e];if(!wn[e])return e;var t=wn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in uh)return co[e]=t[n];return e}var ch=Rs("animationend"),fh=Rs("animationiteration"),dh=Rs("animationstart"),hh=Rs("transitionend"),ph=new Map,nc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function zt(e,t){ph.set(e,t),fn(t,[e])}for(var fo=0;fo<nc.length;fo++){var ho=nc[fo],zy=ho.toLowerCase(),By=ho[0].toUpperCase()+ho.slice(1);zt(zy,"on"+By)}zt(ch,"onAnimationEnd");zt(fh,"onAnimationIteration");zt(dh,"onAnimationStart");zt("dblclick","onDoubleClick");zt("focusin","onFocus");zt("focusout","onBlur");zt(hh,"onTransitionEnd");In("onMouseEnter",["mouseout","mouseover"]);In("onMouseLeave",["mouseout","mouseover"]);In("onPointerEnter",["pointerout","pointerover"]);In("onPointerLeave",["pointerout","pointerover"]);fn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));fn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));fn("onBeforeInput",["compositionend","keypress","textInput","paste"]);fn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));fn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));fn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Uy=new Set("cancel close invalid load scroll toggle".split(" ").concat(pr));function rc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,zg(r,t,void 0,e),e.currentTarget=null}function mh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var l=r[o],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==s&&i.isPropagationStopped())break e;rc(i,l,u),s=a}else for(o=0;o<r.length;o++){if(l=r[o],a=l.instance,u=l.currentTarget,l=l.listener,a!==s&&i.isPropagationStopped())break e;rc(i,l,u),s=a}}}if(Ji)throw e=sl,Ji=!1,sl=null,e}function B(e,t){var n=t[ml];n===void 0&&(n=t[ml]=new Set);var r=e+"__bubble";n.has(r)||(gh(t,e,2,!1),n.add(r))}function po(e,t,n){var r=0;t&&(r|=4),gh(n,e,r,t)}var Si="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Si]){e[Si]=!0,kd.forEach(function(n){n!=="selectionchange"&&(Uy.has(n)||po(n,!1,e),po(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Si]||(t[Si]=!0,po("selectionchange",!1,t))}}function gh(e,t,n,r){switch(bd(t)){case 1:var i=ty;break;case 4:i=ny;break;default:i=ha}n=i.bind(null,t,n,e),i=void 0,!il||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function mo(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var l=r.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var a=o.tag;if((a===3||a===4)&&(a=o.stateNode.containerInfo,a===i||a.nodeType===8&&a.parentNode===i))return;o=o.return}for(;l!==null;){if(o=qt(l),o===null)return;if(a=o.tag,a===5||a===6){r=s=o;continue e}l=l.parentNode}}r=r.return}zd(function(){var u=s,c=ua(n),f=[];e:{var d=ph.get(e);if(d!==void 0){var g=ma,y=e;switch(e){case"keypress":if(Fi(n)===0)break e;case"keydown":case"keyup":g=yy;break;case"focusin":y="focus",g=lo;break;case"focusout":y="blur",g=lo;break;case"beforeblur":case"afterblur":g=lo;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=Ku;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=sy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=xy;break;case ch:case fh:case dh:g=ay;break;case hh:g=Ty;break;case"scroll":g=ry;break;case"wheel":g=Py;break;case"copy":case"cut":case"paste":g=cy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Qu}var v=(t&4)!==0,S=!v&&e==="scroll",p=v?d!==null?d+"Capture":null:d;v=[];for(var h=u,m;h!==null;){m=h;var w=m.stateNode;if(m.tag===5&&w!==null&&(m=w,p!==null&&(w=jr(h,p),w!=null&&v.push($r(h,w,m)))),S)break;h=h.return}0<v.length&&(d=new g(d,y,null,n,c),f.push({event:d,listeners:v}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",d&&n!==nl&&(y=n.relatedTarget||n.fromElement)&&(qt(y)||y[pt]))break e;if((g||d)&&(d=c.window===c?c:(d=c.ownerDocument)?d.defaultView||d.parentWindow:window,g?(y=n.relatedTarget||n.toElement,g=u,y=y?qt(y):null,y!==null&&(S=dn(y),y!==S||y.tag!==5&&y.tag!==6)&&(y=null)):(g=null,y=u),g!==y)){if(v=Ku,w="onMouseLeave",p="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(v=Qu,w="onPointerLeave",p="onPointerEnter",h="pointer"),S=g==null?d:xn(g),m=y==null?d:xn(y),d=new v(w,h+"leave",g,n,c),d.target=S,d.relatedTarget=m,w=null,qt(c)===u&&(v=new v(p,h+"enter",y,n,c),v.target=m,v.relatedTarget=S,w=v),S=w,g&&y)t:{for(v=g,p=y,h=0,m=v;m;m=pn(m))h++;for(m=0,w=p;w;w=pn(w))m++;for(;0<h-m;)v=pn(v),h--;for(;0<m-h;)p=pn(p),m--;for(;h--;){if(v===p||p!==null&&v===p.alternate)break t;v=pn(v),p=pn(p)}v=null}else v=null;g!==null&&ic(f,d,g,v,!1),y!==null&&S!==null&&ic(f,S,y,v,!0)}}e:{if(d=u?xn(u):window,g=d.nodeName&&d.nodeName.toLowerCase(),g==="select"||g==="input"&&d.type==="file")var x=Ry;else if(Zu(d))if(sh)x=jy;else{x=_y;var P=Vy}else(g=d.nodeName)&&g.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(x=Ny);if(x&&(x=x(e,u))){ih(f,x,n,c);break e}P&&P(e,d,u),e==="focusout"&&(P=d._wrapperState)&&P.controlled&&d.type==="number"&&qo(d,"number",d.value)}switch(P=u?xn(u):window,e){case"focusin":(Zu(P)||P.contentEditable==="true")&&(vn=P,ul=u,Tr=null);break;case"focusout":Tr=ul=vn=null;break;case"mousedown":cl=!0;break;case"contextmenu":case"mouseup":case"dragend":cl=!1,tc(f,n,c);break;case"selectionchange":if(Iy)break;case"keydown":case"keyup":tc(f,n,c)}var C;if(ya)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else yn?nh(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(th&&n.locale!=="ko"&&(yn||T!=="onCompositionStart"?T==="onCompositionEnd"&&yn&&(C=eh()):(Et=c,pa="value"in Et?Et.value:Et.textContent,yn=!0)),P=rs(u,T),0<P.length&&(T=new Gu(T,e,null,n,c),f.push({event:T,listeners:P}),C?T.data=C:(C=rh(n),C!==null&&(T.data=C)))),(C=Ey?Ay(e,n):My(e,n))&&(u=rs(u,"onBeforeInput"),0<u.length&&(c=new Gu("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=C))}mh(f,t)})}function $r(e,t,n){return{instance:e,listener:t,currentTarget:n}}function rs(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=jr(e,n),s!=null&&r.unshift($r(e,s,i)),s=jr(e,t),s!=null&&r.push($r(e,s,i))),e=e.return}return r}function pn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ic(e,t,n,r,i){for(var s=t._reactName,o=[];n!==null&&n!==r;){var l=n,a=l.alternate,u=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&u!==null&&(l=u,i?(a=jr(n,s),a!=null&&o.unshift($r(n,a,l))):i||(a=jr(n,s),a!=null&&o.push($r(n,a,l)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var $y=/\r\n?/g,Wy=/\u0000|\uFFFD/g;function sc(e){return(typeof e=="string"?e:""+e).replace($y,`
`).replace(Wy,"")}function Ti(e,t,n){if(t=sc(t),sc(e)!==t&&n)throw Error(k(425))}function is(){}var fl=null,dl=null;function hl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var pl=typeof setTimeout=="function"?setTimeout:void 0,Hy=typeof clearTimeout=="function"?clearTimeout:void 0,oc=typeof Promise=="function"?Promise:void 0,Ky=typeof queueMicrotask=="function"?queueMicrotask:typeof oc<"u"?function(e){return oc.resolve(null).then(e).catch(Gy)}:pl;function Gy(e){setTimeout(function(){throw e})}function go(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Ir(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Ir(t)}function Rt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function lc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Xn=Math.random().toString(36).slice(2),be="__reactFiber$"+Xn,Wr="__reactProps$"+Xn,pt="__reactContainer$"+Xn,ml="__reactEvents$"+Xn,Qy="__reactListeners$"+Xn,Yy="__reactHandles$"+Xn;function qt(e){var t=e[be];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pt]||n[be]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=lc(e);e!==null;){if(n=e[be])return n;e=lc(e)}return t}e=n,n=e.parentNode}return null}function ri(e){return e=e[be]||e[pt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function xn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(k(33))}function Vs(e){return e[Wr]||null}var gl=[],Sn=-1;function Bt(e){return{current:e}}function U(e){0>Sn||(e.current=gl[Sn],gl[Sn]=null,Sn--)}function z(e,t){Sn++,gl[Sn]=e.current,e.current=t}var Ft={},ge=Bt(Ft),Pe=Bt(!1),sn=Ft;function zn(e,t){var n=e.type.contextTypes;if(!n)return Ft;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ce(e){return e=e.childContextTypes,e!=null}function ss(){U(Pe),U(ge)}function ac(e,t,n){if(ge.current!==Ft)throw Error(k(168));z(ge,t),z(Pe,n)}function yh(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,Vg(e)||"Unknown",i));return G({},n,r)}function os(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ft,sn=ge.current,z(ge,e),z(Pe,Pe.current),!0}function uc(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=yh(e,t,sn),r.__reactInternalMemoizedMergedChildContext=e,U(Pe),U(ge),z(ge,e)):U(Pe),z(Pe,n)}var lt=null,_s=!1,yo=!1;function vh(e){lt===null?lt=[e]:lt.push(e)}function Xy(e){_s=!0,vh(e)}function Ut(){if(!yo&&lt!==null){yo=!0;var e=0,t=I;try{var n=lt;for(I=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}lt=null,_s=!1}catch(i){throw lt!==null&&(lt=lt.slice(e+1)),Wd(ca,Ut),i}finally{I=t,yo=!1}}return null}var Tn=[],kn=0,ls=null,as=0,Oe=[],Fe=0,on=null,at=1,ut="";function Qt(e,t){Tn[kn++]=as,Tn[kn++]=ls,ls=e,as=t}function wh(e,t,n){Oe[Fe++]=at,Oe[Fe++]=ut,Oe[Fe++]=on,on=e;var r=at;e=ut;var i=32-Qe(r)-1;r&=~(1<<i),n+=1;var s=32-Qe(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,at=1<<32-Qe(t)+i|n<<i|r,ut=s+e}else at=1<<s|n<<i|r,ut=e}function wa(e){e.return!==null&&(Qt(e,1),wh(e,1,0))}function xa(e){for(;e===ls;)ls=Tn[--kn],Tn[kn]=null,as=Tn[--kn],Tn[kn]=null;for(;e===on;)on=Oe[--Fe],Oe[Fe]=null,ut=Oe[--Fe],Oe[Fe]=null,at=Oe[--Fe],Oe[Fe]=null}var Le=null,Me=null,$=!1,Ge=null;function xh(e,t){var n=Ie(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function cc(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Le=e,Me=Rt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Le=e,Me=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=on!==null?{id:at,overflow:ut}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ie(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Le=e,Me=null,!0):!1;default:return!1}}function yl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function vl(e){if($){var t=Me;if(t){var n=t;if(!cc(e,t)){if(yl(e))throw Error(k(418));t=Rt(n.nextSibling);var r=Le;t&&cc(e,t)?xh(r,n):(e.flags=e.flags&-4097|2,$=!1,Le=e)}}else{if(yl(e))throw Error(k(418));e.flags=e.flags&-4097|2,$=!1,Le=e}}}function fc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Le=e}function ki(e){if(e!==Le)return!1;if(!$)return fc(e),$=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!hl(e.type,e.memoizedProps)),t&&(t=Me)){if(yl(e))throw Sh(),Error(k(418));for(;t;)xh(e,t),t=Rt(t.nextSibling)}if(fc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(k(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Me=Rt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Me=null}}else Me=Le?Rt(e.stateNode.nextSibling):null;return!0}function Sh(){for(var e=Me;e;)e=Rt(e.nextSibling)}function Bn(){Me=Le=null,$=!1}function Sa(e){Ge===null?Ge=[e]:Ge.push(e)}var Zy=yt.ReactCurrentBatchConfig;function sr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(k(309));var r=n.stateNode}if(!r)throw Error(k(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var l=i.refs;o===null?delete l[s]:l[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(k(284));if(!n._owner)throw Error(k(290,e))}return e}function Pi(e,t){throw e=Object.prototype.toString.call(t),Error(k(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function dc(e){var t=e._init;return t(e._payload)}function Th(e){function t(p,h){if(e){var m=p.deletions;m===null?(p.deletions=[h],p.flags|=16):m.push(h)}}function n(p,h){if(!e)return null;for(;h!==null;)t(p,h),h=h.sibling;return null}function r(p,h){for(p=new Map;h!==null;)h.key!==null?p.set(h.key,h):p.set(h.index,h),h=h.sibling;return p}function i(p,h){return p=jt(p,h),p.index=0,p.sibling=null,p}function s(p,h,m){return p.index=m,e?(m=p.alternate,m!==null?(m=m.index,m<h?(p.flags|=2,h):m):(p.flags|=2,h)):(p.flags|=1048576,h)}function o(p){return e&&p.alternate===null&&(p.flags|=2),p}function l(p,h,m,w){return h===null||h.tag!==6?(h=Po(m,p.mode,w),h.return=p,h):(h=i(h,m),h.return=p,h)}function a(p,h,m,w){var x=m.type;return x===gn?c(p,h,m.props.children,w,m.key):h!==null&&(h.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Tt&&dc(x)===h.type)?(w=i(h,m.props),w.ref=sr(p,h,m),w.return=p,w):(w=Hi(m.type,m.key,m.props,null,p.mode,w),w.ref=sr(p,h,m),w.return=p,w)}function u(p,h,m,w){return h===null||h.tag!==4||h.stateNode.containerInfo!==m.containerInfo||h.stateNode.implementation!==m.implementation?(h=Co(m,p.mode,w),h.return=p,h):(h=i(h,m.children||[]),h.return=p,h)}function c(p,h,m,w,x){return h===null||h.tag!==7?(h=nn(m,p.mode,w,x),h.return=p,h):(h=i(h,m),h.return=p,h)}function f(p,h,m){if(typeof h=="string"&&h!==""||typeof h=="number")return h=Po(""+h,p.mode,m),h.return=p,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case hi:return m=Hi(h.type,h.key,h.props,null,p.mode,m),m.ref=sr(p,null,h),m.return=p,m;case mn:return h=Co(h,p.mode,m),h.return=p,h;case Tt:var w=h._init;return f(p,w(h._payload),m)}if(dr(h)||er(h))return h=nn(h,p.mode,m,null),h.return=p,h;Pi(p,h)}return null}function d(p,h,m,w){var x=h!==null?h.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return x!==null?null:l(p,h,""+m,w);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case hi:return m.key===x?a(p,h,m,w):null;case mn:return m.key===x?u(p,h,m,w):null;case Tt:return x=m._init,d(p,h,x(m._payload),w)}if(dr(m)||er(m))return x!==null?null:c(p,h,m,w,null);Pi(p,m)}return null}function g(p,h,m,w,x){if(typeof w=="string"&&w!==""||typeof w=="number")return p=p.get(m)||null,l(h,p,""+w,x);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case hi:return p=p.get(w.key===null?m:w.key)||null,a(h,p,w,x);case mn:return p=p.get(w.key===null?m:w.key)||null,u(h,p,w,x);case Tt:var P=w._init;return g(p,h,m,P(w._payload),x)}if(dr(w)||er(w))return p=p.get(m)||null,c(h,p,w,x,null);Pi(h,w)}return null}function y(p,h,m,w){for(var x=null,P=null,C=h,T=h=0,N=null;C!==null&&T<m.length;T++){C.index>T?(N=C,C=null):N=C.sibling;var R=d(p,C,m[T],w);if(R===null){C===null&&(C=N);break}e&&C&&R.alternate===null&&t(p,C),h=s(R,h,T),P===null?x=R:P.sibling=R,P=R,C=N}if(T===m.length)return n(p,C),$&&Qt(p,T),x;if(C===null){for(;T<m.length;T++)C=f(p,m[T],w),C!==null&&(h=s(C,h,T),P===null?x=C:P.sibling=C,P=C);return $&&Qt(p,T),x}for(C=r(p,C);T<m.length;T++)N=g(C,p,T,m[T],w),N!==null&&(e&&N.alternate!==null&&C.delete(N.key===null?T:N.key),h=s(N,h,T),P===null?x=N:P.sibling=N,P=N);return e&&C.forEach(function(re){return t(p,re)}),$&&Qt(p,T),x}function v(p,h,m,w){var x=er(m);if(typeof x!="function")throw Error(k(150));if(m=x.call(m),m==null)throw Error(k(151));for(var P=x=null,C=h,T=h=0,N=null,R=m.next();C!==null&&!R.done;T++,R=m.next()){C.index>T?(N=C,C=null):N=C.sibling;var re=d(p,C,R.value,w);if(re===null){C===null&&(C=N);break}e&&C&&re.alternate===null&&t(p,C),h=s(re,h,T),P===null?x=re:P.sibling=re,P=re,C=N}if(R.done)return n(p,C),$&&Qt(p,T),x;if(C===null){for(;!R.done;T++,R=m.next())R=f(p,R.value,w),R!==null&&(h=s(R,h,T),P===null?x=R:P.sibling=R,P=R);return $&&Qt(p,T),x}for(C=r(p,C);!R.done;T++,R=m.next())R=g(C,p,T,R.value,w),R!==null&&(e&&R.alternate!==null&&C.delete(R.key===null?T:R.key),h=s(R,h,T),P===null?x=R:P.sibling=R,P=R);return e&&C.forEach(function(vt){return t(p,vt)}),$&&Qt(p,T),x}function S(p,h,m,w){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 hi:e:{for(var x=m.key,P=h;P!==null;){if(P.key===x){if(x=m.type,x===gn){if(P.tag===7){n(p,P.sibling),h=i(P,m.props.children),h.return=p,p=h;break e}}else if(P.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Tt&&dc(x)===P.type){n(p,P.sibling),h=i(P,m.props),h.ref=sr(p,P,m),h.return=p,p=h;break e}n(p,P);break}else t(p,P);P=P.sibling}m.type===gn?(h=nn(m.props.children,p.mode,w,m.key),h.return=p,p=h):(w=Hi(m.type,m.key,m.props,null,p.mode,w),w.ref=sr(p,h,m),w.return=p,p=w)}return o(p);case mn:e:{for(P=m.key;h!==null;){if(h.key===P)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=Co(m,p.mode,w),h.return=p,p=h}return o(p);case Tt:return P=m._init,S(p,h,P(m._payload),w)}if(dr(m))return y(p,h,m,w);if(er(m))return v(p,h,m,w);Pi(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=Po(m,p.mode,w),h.return=p,p=h),o(p)):n(p,h)}return S}var Un=Th(!0),kh=Th(!1),us=Bt(null),cs=null,Pn=null,Ta=null;function ka(){Ta=Pn=cs=null}function Pa(e){var t=us.current;U(us),e._currentValue=t}function wl(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){cs=e,Ta=Pn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ke=!0),e.firstContext=null)}function Be(e){var t=e._currentValue;if(Ta!==e)if(e={context:e,memoizedValue:t,next:null},Pn===null){if(cs===null)throw Error(k(308));Pn=e,cs.dependencies={lanes:0,firstContext:e}}else Pn=Pn.next=e;return t}var Jt=null;function Ca(e){Jt===null?Jt=[e]:Jt.push(e)}function Ph(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ca(t)):(n.next=i.next,i.next=n),t.interleaved=n,mt(e,r)}function mt(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 kt=!1;function Ea(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ch(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 ct(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vt(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,mt(e,n)}return i=r.interleaved,i===null?(t.next=t,Ca(r)):(t.next=i.next,i.next=t),r.interleaved=t,mt(e,n)}function Ii(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,fa(e,n)}}function hc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,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 fs(e,t,n,r){var i=e.updateQueue;kt=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var a=l,u=a.next;a.next=null,o===null?s=u:o.next=u,o=a;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==o&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=a))}if(s!==null){var f=i.baseState;o=0,c=u=a=null,l=s;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 y=e,v=l;switch(d=t,g=n,v.tag){case 1:if(y=v.payload,typeof y=="function"){f=y.call(g,f,d);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=v.payload,d=typeof y=="function"?y.call(g,f,d):y,d==null)break e;f=G({},f,d);break e;case 2:kt=!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,o|=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 o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);an|=o,e.lanes=o,e.memoizedState=f}}function pc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(k(191,i));i.call(r)}}}var ii={},nt=Bt(ii),Hr=Bt(ii),Kr=Bt(ii);function bt(e){if(e===ii)throw Error(k(174));return e}function Aa(e,t){switch(z(Kr,t),z(Hr,e),z(nt,ii),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:bo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=bo(t,e)}U(nt),z(nt,t)}function $n(){U(nt),U(Hr),U(Kr)}function Eh(e){bt(Kr.current);var t=bt(nt.current),n=bo(t,e.type);t!==n&&(z(Hr,e),z(nt,n))}function Ma(e){Hr.current===e&&(U(nt),U(Hr))}var W=Bt(0);function ds(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var vo=[];function La(){for(var e=0;e<vo.length;e++)vo[e]._workInProgressVersionPrimary=null;vo.length=0}var zi=yt.ReactCurrentDispatcher,wo=yt.ReactCurrentBatchConfig,ln=0,K=null,te=null,oe=null,hs=!1,kr=!1,Gr=0,qy=0;function fe(){throw Error(k(321))}function Da(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Xe(e[n],t[n]))return!1;return!0}function Ra(e,t,n,r,i,s){if(ln=s,K=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,zi.current=e===null||e.memoizedState===null?tv:nv,e=n(r,i),kr){s=0;do{if(kr=!1,Gr=0,25<=s)throw Error(k(301));s+=1,oe=te=null,t.updateQueue=null,zi.current=rv,e=n(r,i)}while(kr)}if(zi.current=ps,t=te!==null&&te.next!==null,ln=0,oe=te=K=null,hs=!1,t)throw Error(k(300));return e}function Va(){var e=Gr!==0;return Gr=0,e}function Je(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return oe===null?K.memoizedState=oe=e:oe=oe.next=e,oe}function Ue(){if(te===null){var e=K.alternate;e=e!==null?e.memoizedState:null}else e=te.next;var t=oe===null?K.memoizedState:oe.next;if(t!==null)oe=t,te=e;else{if(e===null)throw Error(k(310));te=e,e={memoizedState:te.memoizedState,baseState:te.baseState,baseQueue:te.baseQueue,queue:te.queue,next:null},oe===null?K.memoizedState=oe=e:oe=oe.next=e}return oe}function Qr(e,t){return typeof t=="function"?t(e):t}function xo(e){var t=Ue(),n=t.queue;if(n===null)throw Error(k(311));n.lastRenderedReducer=e;var r=te,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var l=o=null,a=null,u=s;do{var c=u.lane;if((ln&c)===c)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=f,o=r):a=a.next=f,K.lanes|=c,an|=c}u=u.next}while(u!==null&&u!==s);a===null?o=r:a.next=l,Xe(r,t.memoizedState)||(ke=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,K.lanes|=s,an|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function So(e){var t=Ue(),n=t.queue;if(n===null)throw Error(k(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);Xe(s,t.memoizedState)||(ke=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Ah(){}function Mh(e,t){var n=K,r=Ue(),i=t(),s=!Xe(r.memoizedState,i);if(s&&(r.memoizedState=i,ke=!0),r=r.queue,_a(Rh.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||oe!==null&&oe.memoizedState.tag&1){if(n.flags|=2048,Yr(9,Dh.bind(null,n,r,i,t),void 0,null),le===null)throw Error(k(349));ln&30||Lh(n,t,i)}return i}function Lh(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Dh(e,t,n,r){t.value=n,t.getSnapshot=r,Vh(t)&&_h(e)}function Rh(e,t,n){return n(function(){Vh(t)&&_h(e)})}function Vh(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Xe(e,n)}catch{return!0}}function _h(e){var t=mt(e,1);t!==null&&Ye(t,e,1,-1)}function mc(e){var t=Je();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qr,lastRenderedState:e},t.queue=e,e=e.dispatch=ev.bind(null,K,e),[t.memoizedState,e]}function Yr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Nh(){return Ue().memoizedState}function Bi(e,t,n,r){var i=Je();K.flags|=e,i.memoizedState=Yr(1|t,n,void 0,r===void 0?null:r)}function Ns(e,t,n,r){var i=Ue();r=r===void 0?null:r;var s=void 0;if(te!==null){var o=te.memoizedState;if(s=o.destroy,r!==null&&Da(r,o.deps)){i.memoizedState=Yr(t,n,s,r);return}}K.flags|=e,i.memoizedState=Yr(1|t,n,s,r)}function gc(e,t){return Bi(8390656,8,e,t)}function _a(e,t){return Ns(2048,8,e,t)}function jh(e,t){return Ns(4,2,e,t)}function Oh(e,t){return Ns(4,4,e,t)}function Fh(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ih(e,t,n){return n=n!=null?n.concat([e]):null,Ns(4,4,Fh.bind(null,t,e),n)}function Na(){}function zh(e,t){var n=Ue();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Da(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Bh(e,t){var n=Ue();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Da(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Uh(e,t,n){return ln&21?(Xe(n,t)||(n=Gd(),K.lanes|=n,an|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ke=!0),e.memoizedState=n)}function Jy(e,t){var n=I;I=n!==0&&4>n?n:4,e(!0);var r=wo.transition;wo.transition={};try{e(!1),t()}finally{I=n,wo.transition=r}}function $h(){return Ue().memoizedState}function by(e,t,n){var r=Nt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Wh(e))Hh(t,n);else if(n=Ph(e,t,n,r),n!==null){var i=ve();Ye(n,e,r,i),Kh(n,t,r)}}function ev(e,t,n){var r=Nt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Wh(e))Hh(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,l=s(o,n);if(i.hasEagerState=!0,i.eagerState=l,Xe(l,o)){var a=t.interleaved;a===null?(i.next=i,Ca(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Ph(e,t,i,r),n!==null&&(i=ve(),Ye(n,e,r,i),Kh(n,t,r))}}function Wh(e){var t=e.alternate;return e===K||t!==null&&t===K}function Hh(e,t){kr=hs=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Kh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,fa(e,n)}}var ps={readContext:Be,useCallback:fe,useContext:fe,useEffect:fe,useImperativeHandle:fe,useInsertionEffect:fe,useLayoutEffect:fe,useMemo:fe,useReducer:fe,useRef:fe,useState:fe,useDebugValue:fe,useDeferredValue:fe,useTransition:fe,useMutableSource:fe,useSyncExternalStore:fe,useId:fe,unstable_isNewReconciler:!1},tv={readContext:Be,useCallback:function(e,t){return Je().memoizedState=[e,t===void 0?null:t],e},useContext:Be,useEffect:gc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bi(4194308,4,Fh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bi(4,2,e,t)},useMemo:function(e,t){var n=Je();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Je();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=by.bind(null,K,e),[r.memoizedState,e]},useRef:function(e){var t=Je();return e={current:e},t.memoizedState=e},useState:mc,useDebugValue:Na,useDeferredValue:function(e){return Je().memoizedState=e},useTransition:function(){var e=mc(!1),t=e[0];return e=Jy.bind(null,e[1]),Je().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=K,i=Je();if($){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),le===null)throw Error(k(349));ln&30||Lh(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,gc(Rh.bind(null,r,s,e),[e]),r.flags|=2048,Yr(9,Dh.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Je(),t=le.identifierPrefix;if($){var n=ut,r=at;n=(r&~(1<<32-Qe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Gr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=qy++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},nv={readContext:Be,useCallback:zh,useContext:Be,useEffect:_a,useImperativeHandle:Ih,useInsertionEffect:jh,useLayoutEffect:Oh,useMemo:Bh,useReducer:xo,useRef:Nh,useState:function(){return xo(Qr)},useDebugValue:Na,useDeferredValue:function(e){var t=Ue();return Uh(t,te.memoizedState,e)},useTransition:function(){var e=xo(Qr)[0],t=Ue().memoizedState;return[e,t]},useMutableSource:Ah,useSyncExternalStore:Mh,useId:$h,unstable_isNewReconciler:!1},rv={readContext:Be,useCallback:zh,useContext:Be,useEffect:_a,useImperativeHandle:Ih,useInsertionEffect:jh,useLayoutEffect:Oh,useMemo:Bh,useReducer:So,useRef:Nh,useState:function(){return So(Qr)},useDebugValue:Na,useDeferredValue:function(e){var t=Ue();return te===null?t.memoizedState=e:Uh(t,te.memoizedState,e)},useTransition:function(){var e=So(Qr)[0],t=Ue().memoizedState;return[e,t]},useMutableSource:Ah,useSyncExternalStore:Mh,useId:$h,unstable_isNewReconciler:!1};function He(e,t){if(e&&e.defaultProps){t=G({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function xl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:G({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var js={isMounted:function(e){return(e=e._reactInternals)?dn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ve(),i=Nt(e),s=ct(r,i);s.payload=t,n!=null&&(s.callback=n),t=Vt(e,s,i),t!==null&&(Ye(t,e,i,r),Ii(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ve(),i=Nt(e),s=ct(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Vt(e,s,i),t!==null&&(Ye(t,e,i,r),Ii(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ve(),r=Nt(e),i=ct(n,r);i.tag=2,t!=null&&(i.callback=t),t=Vt(e,i,r),t!==null&&(Ye(t,e,r,n),Ii(t,e,r))}};function yc(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!Br(n,r)||!Br(i,s):!0}function Gh(e,t,n){var r=!1,i=Ft,s=t.contextType;return typeof s=="object"&&s!==null?s=Be(s):(i=Ce(t)?sn:ge.current,r=t.contextTypes,s=(r=r!=null)?zn(e,i):Ft),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=js,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function vc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&js.enqueueReplaceState(t,t.state,null)}function Sl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Ea(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=Be(s):(s=Ce(t)?sn:ge.current,i.context=zn(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(xl(e,t,s,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&js.enqueueReplaceState(i,i.state,null),fs(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Wn(e,t){try{var n="",r=t;do n+=Rg(r),r=r.return;while(r);var i=n}catch(s){i=`
Error generating stack: `+s.message+`
`+s.stack}return{value:e,source:t,stack:i,digest:null}}function To(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Tl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var iv=typeof WeakMap=="function"?WeakMap:Map;function Qh(e,t,n){n=ct(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){gs||(gs=!0,Vl=r),Tl(e,t)},n}function Yh(e,t,n){n=ct(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Tl(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Tl(e,t),typeof r!="function"&&(_t===null?_t=new Set([this]):_t.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function wc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new iv;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=vv.bind(null,e,t,n),t.then(e,e))}function xc(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Sc(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=ct(-1,1),t.tag=2,Vt(n,t,1))),n.lanes|=1),e)}var sv=yt.ReactCurrentOwner,ke=!1;function ye(e,t,n,r){t.child=e===null?kh(t,null,n,r):Un(t,e.child,n,r)}function Tc(e,t,n,r,i){n=n.render;var s=t.ref;return On(t,i),r=Ra(e,t,n,r,s,i),n=Va(),e!==null&&!ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,gt(e,t,i)):($&&n&&wa(t),t.flags|=1,ye(e,t,r,i),t.child)}function kc(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!$a(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Xh(e,t,s,r,i)):(e=Hi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:Br,n(o,r)&&e.ref===t.ref)return gt(e,t,i)}return t.flags|=1,e=jt(s,r),e.ref=t.ref,e.return=t,t.child=e}function Xh(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(Br(s,r)&&e.ref===t.ref)if(ke=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(ke=!0);else return t.lanes=e.lanes,gt(e,t,i)}return kl(e,t,n,r,i)}function Zh(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},z(En,Ae),Ae|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,z(En,Ae),Ae|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,z(En,Ae),Ae|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,z(En,Ae),Ae|=r;return ye(e,t,i,n),t.child}function qh(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function kl(e,t,n,r,i){var s=Ce(n)?sn:ge.current;return s=zn(t,s),On(t,i),n=Ra(e,t,n,r,s,i),r=Va(),e!==null&&!ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,gt(e,t,i)):($&&r&&wa(t),t.flags|=1,ye(e,t,n,i),t.child)}function Pc(e,t,n,r,i){if(Ce(n)){var s=!0;os(t)}else s=!1;if(On(t,i),t.stateNode===null)Ui(e,t),Gh(t,n,r),Sl(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var a=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Be(u):(u=Ce(n)?sn:ge.current,u=zn(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==r||a!==u)&&vc(t,o,r,u),kt=!1;var d=t.memoizedState;o.state=d,fs(t,r,o,i),a=t.memoizedState,l!==r||d!==a||Pe.current||kt?(typeof c=="function"&&(xl(t,n,c,r),a=t.memoizedState),(l=kt||yc(t,n,l,r,d,a,u))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),o.props=r,o.state=a,o.context=u,r=l):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Ch(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:He(t.type,l),o.props=u,f=t.pendingProps,d=o.context,a=n.contextType,typeof a=="object"&&a!==null?a=Be(a):(a=Ce(n)?sn:ge.current,a=zn(t,a));var g=n.getDerivedStateFromProps;(c=typeof g=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==f||d!==a)&&vc(t,o,r,a),kt=!1,d=t.memoizedState,o.state=d,fs(t,r,o,i);var y=t.memoizedState;l!==f||d!==y||Pe.current||kt?(typeof g=="function"&&(xl(t,n,g,r),y=t.memoizedState),(u=kt||yc(t,n,u,r,d,y,a)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,y,a),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,y,a)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),o.props=r,o.state=y,o.context=a,r=u):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Pl(e,t,n,r,s,i)}function Pl(e,t,n,r,i,s){qh(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&uc(t,n,!1),gt(e,t,s);r=t.stateNode,sv.current=t;var l=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Un(t,e.child,null,s),t.child=Un(t,null,l,s)):ye(e,t,l,s),t.memoizedState=r.state,i&&uc(t,n,!0),t.child}function Jh(e){var t=e.stateNode;t.pendingContext?ac(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ac(e,t.context,!1),Aa(e,t.containerInfo)}function Cc(e,t,n,r,i){return Bn(),Sa(i),t.flags|=256,ye(e,t,n,r),t.child}var Cl={dehydrated:null,treeContext:null,retryLane:0};function El(e){return{baseLanes:e,cachePool:null,transitions:null}}function bh(e,t,n){var r=t.pendingProps,i=W.current,s=!1,o=(t.flags&128)!==0,l;if((l=o)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),z(W,i&1),e===null)return vl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=Is(o,r,0,null),e=nn(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=El(n),t.memoizedState=Cl,e):ja(t,o));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return ov(e,t,o,r,l,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,l=i.sibling;var a={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=jt(i,a),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?s=jt(l,s):(s=nn(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?El(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=Cl,r}return s=e.child,e=s.sibling,r=jt(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ja(e,t){return t=Is({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ci(e,t,n,r){return r!==null&&Sa(r),Un(t,e.child,null,n),e=ja(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ov(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=To(Error(k(422))),Ci(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=Is({mode:"visible",children:r.children},i,0,null),s=nn(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&Un(t,e.child,null,o),t.child.memoizedState=El(o),t.memoizedState=Cl,s);if(!(t.mode&1))return Ci(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,s=Error(k(419)),r=To(s,r,void 0),Ci(e,t,o,r)}if(l=(o&e.childLanes)!==0,ke||l){if(r=le,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,mt(e,i),Ye(r,e,i,-1))}return Ua(),r=To(Error(k(421))),Ci(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=wv.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,Me=Rt(i.nextSibling),Le=t,$=!0,Ge=null,e!==null&&(Oe[Fe++]=at,Oe[Fe++]=ut,Oe[Fe++]=on,at=e.id,ut=e.overflow,on=t),t=ja(t,r.children),t.flags|=4096,t)}function Ec(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),wl(e.return,t,n)}function ko(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function ep(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(ye(e,t,r.children,n),r=W.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ec(e,n,t);else if(e.tag===19)Ec(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(z(W,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ds(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ko(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ds(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ko(t,!0,n,null,s);break;case"together":ko(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ui(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function gt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),an|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(k(153));if(t.child!==null){for(e=t.child,n=jt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=jt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function lv(e,t,n){switch(t.tag){case 3:Jh(t),Bn();break;case 5:Eh(t);break;case 1:Ce(t.type)&&os(t);break;case 4:Aa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;z(us,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(z(W,W.current&1),t.flags|=128,null):n&t.child.childLanes?bh(e,t,n):(z(W,W.current&1),e=gt(e,t,n),e!==null?e.sibling:null);z(W,W.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ep(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),z(W,W.current),r)break;return null;case 22:case 23:return t.lanes=0,Zh(e,t,n)}return gt(e,t,n)}var tp,Al,np,rp;tp=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Al=function(){};np=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,bt(nt.current);var s=null;switch(n){case"input":i=Xo(e,i),r=Xo(e,r),s=[];break;case"select":i=G({},i,{value:void 0}),r=G({},r,{value:void 0}),s=[];break;case"textarea":i=Jo(e,i),r=Jo(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=is)}el(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(_r.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var a=r[u];if(l=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(o in l)!l.hasOwnProperty(o)||a&&a.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in a)a.hasOwnProperty(o)&&l[o]!==a[o]&&(n||(n={}),n[o]=a[o])}else n||(s||(s=[]),s.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(s=s||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(s=s||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(_r.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&B("scroll",e),s||l===a||(s=[])):(s=s||[]).push(u,a))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};rp=function(e,t,n,r){n!==r&&(t.flags|=4)};function or(e,t){if(!$)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function de(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function av(e,t,n){var r=t.pendingProps;switch(xa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return de(t),null;case 1:return Ce(t.type)&&ss(),de(t),null;case 3:return r=t.stateNode,$n(),U(Pe),U(ge),La(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ki(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ge!==null&&(jl(Ge),Ge=null))),Al(e,t),de(t),null;case 5:Ma(t);var i=bt(Kr.current);if(n=t.type,e!==null&&t.stateNode!=null)np(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(k(166));return de(t),null}if(e=bt(nt.current),ki(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[be]=t,r[Wr]=s,e=(t.mode&1)!==0,n){case"dialog":B("cancel",r),B("close",r);break;case"iframe":case"object":case"embed":B("load",r);break;case"video":case"audio":for(i=0;i<pr.length;i++)B(pr[i],r);break;case"source":B("error",r);break;case"img":case"image":case"link":B("error",r),B("load",r);break;case"details":B("toggle",r);break;case"input":ju(r,s),B("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},B("invalid",r);break;case"textarea":Fu(r,s),B("invalid",r)}el(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var l=s[o];o==="children"?typeof l=="string"?r.textContent!==l&&(s.suppressHydrationWarning!==!0&&Ti(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(s.suppressHydrationWarning!==!0&&Ti(r.textContent,l,e),i=["children",""+l]):_r.hasOwnProperty(o)&&l!=null&&o==="onScroll"&&B("scroll",r)}switch(n){case"input":pi(r),Ou(r,s,!0);break;case"textarea":pi(r),Iu(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=is)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Rd(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[be]=t,e[Wr]=r,tp(e,t,!1,!1),t.stateNode=e;e:{switch(o=tl(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;i<pr.length;i++)B(pr[i],e);i=r;break;case"source":B("error",e),i=r;break;case"img":case"image":case"link":B("error",e),B("load",e),i=r;break;case"details":B("toggle",e),i=r;break;case"input":ju(e,r),i=Xo(e,r),B("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=G({},r,{value:void 0}),B("invalid",e);break;case"textarea":Fu(e,r),i=Jo(e,r),B("invalid",e);break;default:i=r}el(n,i),l=i;for(s in l)if(l.hasOwnProperty(s)){var a=l[s];s==="style"?Nd(e,a):s==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Vd(e,a)):s==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Nr(e,a):typeof a=="number"&&Nr(e,""+a):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(_r.hasOwnProperty(s)?a!=null&&s==="onScroll"&&B("scroll",e):a!=null&&sa(e,s,a,o))}switch(n){case"input":pi(e),Ou(e,r,!1);break;case"textarea":pi(e),Iu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Ot(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Vn(e,!!r.multiple,s,!1):r.defaultValue!=null&&Vn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=is)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return de(t),null;case 6:if(e&&t.stateNode!=null)rp(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(k(166));if(n=bt(Kr.current),bt(nt.current),ki(t)){if(r=t.stateNode,n=t.memoizedProps,r[be]=t,(s=r.nodeValue!==n)&&(e=Le,e!==null))switch(e.tag){case 3:Ti(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ti(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[be]=t,t.stateNode=r}return de(t),null;case 13:if(U(W),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if($&&Me!==null&&t.mode&1&&!(t.flags&128))Sh(),Bn(),t.flags|=98560,s=!1;else if(s=ki(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(k(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(k(317));s[be]=t}else Bn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;de(t),s=!1}else Ge!==null&&(jl(Ge),Ge=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||W.current&1?ne===0&&(ne=3):Ua())),t.updateQueue!==null&&(t.flags|=4),de(t),null);case 4:return $n(),Al(e,t),e===null&&Ur(t.stateNode.containerInfo),de(t),null;case 10:return Pa(t.type._context),de(t),null;case 17:return Ce(t.type)&&ss(),de(t),null;case 19:if(U(W),s=t.memoizedState,s===null)return de(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)or(s,!1);else{if(ne!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=ds(e),o!==null){for(t.flags|=128,or(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return z(W,W.current&1|2),t.child}e=e.sibling}s.tail!==null&&q()>Hn&&(t.flags|=128,r=!0,or(s,!1),t.lanes=4194304)}else{if(!r)if(e=ds(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),or(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!$)return de(t),null}else 2*q()-s.renderingStartTime>Hn&&n!==1073741824&&(t.flags|=128,r=!0,or(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=q(),t.sibling=null,n=W.current,z(W,r?n&1|2:n&1),t):(de(t),null);case 22:case 23:return Ba(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ae&1073741824&&(de(t),t.subtreeFlags&6&&(t.flags|=8192)):de(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function uv(e,t){switch(xa(t),t.tag){case 1:return Ce(t.type)&&ss(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $n(),U(Pe),U(ge),La(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ma(t),null;case 13:if(U(W),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));Bn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(W),null;case 4:return $n(),null;case 10:return Pa(t.type._context),null;case 22:case 23:return Ba(),null;case 24:return null;default:return null}}var Ei=!1,pe=!1,cv=typeof WeakSet=="function"?WeakSet:Set,M=null;function Cn(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 Ml(e,t,n){try{n()}catch(r){Y(e,t,r)}}var Ac=!1;function fv(e,t){if(fl=ts,e=ah(),va(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,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=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=o+i),f!==s||r!==0&&f.nodeType!==3||(a=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(g=f.firstChild)!==null;)d=f,f=g;for(;;){if(f===e)break t;if(d===n&&++u===i&&(l=o),d===s&&++c===r&&(a=o),(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(dl={focusedElem:e,selectionRange:n},ts=!1,M=t;M!==null;)if(t=M,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,M=e;else for(;M!==null;){t=M;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,S=y.memoizedState,p=t.stateNode,h=p.getSnapshotBeforeUpdate(t.elementType===t.type?v:He(t.type,v),S);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(w){Y(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,M=e;break}M=t.return}return y=Ac,Ac=!1,y}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 s=i.destroy;i.destroy=void 0,s!==void 0&&Ml(t,n,s)}i=i.next}while(i!==r)}}function Os(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 Ll(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 ip(e){var t=e.alternate;t!==null&&(e.alternate=null,ip(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[be],delete t[Wr],delete t[ml],delete t[Qy],delete t[Yy])),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 sp(e){return e.tag===5||e.tag===3||e.tag===4}function Mc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sp(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 Dl(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=is));else if(r!==4&&(e=e.child,e!==null))for(Dl(e,t,n),e=e.sibling;e!==null;)Dl(e,t,n),e=e.sibling}function Rl(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(Rl(e,t,n),e=e.sibling;e!==null;)Rl(e,t,n),e=e.sibling}var ae=null,Ke=!1;function wt(e,t,n){for(n=n.child;n!==null;)op(e,t,n),n=n.sibling}function op(e,t,n){if(tt&&typeof tt.onCommitFiberUnmount=="function")try{tt.onCommitFiberUnmount(Ms,n)}catch{}switch(n.tag){case 5:pe||Cn(n,t);case 6:var r=ae,i=Ke;ae=null,wt(e,t,n),ae=r,Ke=i,ae!==null&&(Ke?(e=ae,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ae.removeChild(n.stateNode));break;case 18:ae!==null&&(Ke?(e=ae,n=n.stateNode,e.nodeType===8?go(e.parentNode,n):e.nodeType===1&&go(e,n),Ir(e)):go(ae,n.stateNode));break;case 4:r=ae,i=Ke,ae=n.stateNode.containerInfo,Ke=!0,wt(e,t,n),ae=r,Ke=i;break;case 0:case 11:case 14:case 15:if(!pe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&Ml(n,t,o),i=i.next}while(i!==r)}wt(e,t,n);break;case 1:if(!pe&&(Cn(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)}wt(e,t,n);break;case 21:wt(e,t,n);break;case 22:n.mode&1?(pe=(r=pe)||n.memoizedState!==null,wt(e,t,n),pe=r):wt(e,t,n);break;default:wt(e,t,n)}}function Lc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new cv),t.forEach(function(r){var i=xv.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;r<n.length;r++){var i=n[r];try{var s=e,o=t,l=o;e:for(;l!==null;){switch(l.tag){case 5:ae=l.stateNode,Ke=!1;break e;case 3:ae=l.stateNode.containerInfo,Ke=!0;break e;case 4:ae=l.stateNode.containerInfo,Ke=!0;break e}l=l.return}if(ae===null)throw Error(k(160));op(s,o,i),ae=null,Ke=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(u){Y(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)lp(t,e),t=t.sibling}function lp(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if($e(t,e),qe(e),r&4){try{Pr(3,e,e.return),Os(3,e)}catch(v){Y(e,e.return,v)}try{Pr(5,e,e.return)}catch(v){Y(e,e.return,v)}}break;case 1:$e(t,e),qe(e),r&512&&n!==null&&Cn(n,n.return);break;case 5:if($e(t,e),qe(e),r&512&&n!==null&&Cn(n,n.return),e.flags&32){var i=e.stateNode;try{Nr(i,"")}catch(v){Y(e,e.return,v)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&s.type==="radio"&&s.name!=null&&Ld(i,s),tl(l,o);var u=tl(l,s);for(o=0;o<a.length;o+=2){var c=a[o],f=a[o+1];c==="style"?Nd(i,f):c==="dangerouslySetInnerHTML"?Vd(i,f):c==="children"?Nr(i,f):sa(i,c,f,u)}switch(l){case"input":Zo(i,s);break;case"textarea":Dd(i,s);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var g=s.value;g!=null?Vn(i,!!s.multiple,g,!1):d!==!!s.multiple&&(s.defaultValue!=null?Vn(i,!!s.multiple,s.defaultValue,!0):Vn(i,!!s.multiple,s.multiple?[]:"",!1))}i[Wr]=s}catch(v){Y(e,e.return,v)}}break;case 6:if($e(t,e),qe(e),r&4){if(e.stateNode===null)throw Error(k(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(v){Y(e,e.return,v)}}break;case 3:if($e(t,e),qe(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ir(t.containerInfo)}catch(v){Y(e,e.return,v)}break;case 4:$e(t,e),qe(e);break;case 13:$e(t,e),qe(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(Ia=q())),r&4&&Lc(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(pe=(u=pe)||c,$e(t,e),pe=u):$e(t,e),qe(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(M=e,c=e.child;c!==null;){for(f=M=c;M!==null;){switch(d=M,g=d.child,d.tag){case 0:case 11:case 14:case 15:Pr(4,d,d.return);break;case 1:Cn(d,d.return);var y=d.stateNode;if(typeof y.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(v){Y(r,n,v)}}break;case 5:Cn(d,d.return);break;case 22:if(d.memoizedState!==null){Rc(f);continue}}g!==null?(g.return=d,M=g):Rc(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{i=f.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(l=f.stateNode,a=f.memoizedProps.style,o=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=_d("display",o))}catch(v){Y(e,e.return,v)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){Y(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:$e(t,e),qe(e),r&4&&Lc(e);break;case 21:break;default:$e(t,e),qe(e)}}function qe(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(sp(n)){var r=n;break e}n=n.return}throw Error(k(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Nr(i,""),r.flags&=-33);var s=Mc(e);Rl(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,l=Mc(e);Dl(e,l,o);break;default:throw Error(k(161))}}catch(a){Y(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function dv(e,t,n){M=e,ap(e)}function ap(e,t,n){for(var r=(e.mode&1)!==0;M!==null;){var i=M,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||Ei;if(!o){var l=i.alternate,a=l!==null&&l.memoizedState!==null||pe;l=Ei;var u=pe;if(Ei=o,(pe=a)&&!u)for(M=i;M!==null;)o=M,a=o.child,o.tag===22&&o.memoizedState!==null?Vc(i):a!==null?(a.return=o,M=a):Vc(i);for(;s!==null;)M=s,ap(s),s=s.sibling;M=i,Ei=l,pe=u}Dc(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,M=s):Dc(e)}}function Dc(e){for(;M!==null;){var t=M;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:pe||Os(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!pe)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:He(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&pc(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}pc(t,o,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Ir(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(k(163))}pe||t.flags&512&&Ll(t)}catch(d){Y(t,t.return,d)}}if(t===e){M=null;break}if(n=t.sibling,n!==null){n.return=t.return,M=n;break}M=t.return}}function Rc(e){for(;M!==null;){var t=M;if(t===e){M=null;break}var n=t.sibling;if(n!==null){n.return=t.return,M=n;break}M=t.return}}function Vc(e){for(;M!==null;){var t=M;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Os(4,t)}catch(a){Y(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){Y(t,i,a)}}var s=t.return;try{Ll(t)}catch(a){Y(t,s,a)}break;case 5:var o=t.return;try{Ll(t)}catch(a){Y(t,o,a)}}}catch(a){Y(t,t.return,a)}if(t===e){M=null;break}var l=t.sibling;if(l!==null){l.return=t.return,M=l;break}M=t.return}}var hv=Math.ceil,ms=yt.ReactCurrentDispatcher,Oa=yt.ReactCurrentOwner,ze=yt.ReactCurrentBatchConfig,O=0,le=null,J=null,ue=0,Ae=0,En=Bt(0),ne=0,Xr=null,an=0,Fs=0,Fa=0,Cr=null,Te=null,Ia=0,Hn=1/0,ot=null,gs=!1,Vl=null,_t=null,Ai=!1,At=null,ys=0,Er=0,_l=null,$i=-1,Wi=0;function ve(){return O&6?q():$i!==-1?$i:$i=q()}function Nt(e){return e.mode&1?O&2&&ue!==0?ue&-ue:Zy.transition!==null?(Wi===0&&(Wi=Gd()),Wi):(e=I,e!==0||(e=window.event,e=e===void 0?16:bd(e.type)),e):1}function Ye(e,t,n,r){if(50<Er)throw Er=0,_l=null,Error(k(185));ti(e,n,r),(!(O&2)||e!==le)&&(e===le&&(!(O&2)&&(Fs|=n),ne===4&&Ct(e,ue)),Ee(e,r),n===1&&O===0&&!(t.mode&1)&&(Hn=q()+500,_s&&Ut()))}function Ee(e,t){var n=e.callbackNode;Zg(e,t);var r=es(e,e===le?ue:0);if(r===0)n!==null&&Uu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Uu(n),t===1)e.tag===0?Xy(_c.bind(null,e)):vh(_c.bind(null,e)),Ky(function(){!(O&6)&&Ut()}),n=null;else{switch(Qd(r)){case 1:n=ca;break;case 4:n=Hd;break;case 16:n=bi;break;case 536870912:n=Kd;break;default:n=bi}n=gp(n,up.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function up(e,t){if($i=-1,Wi=0,O&6)throw Error(k(327));var n=e.callbackNode;if(Fn()&&e.callbackNode!==n)return null;var r=es(e,e===le?ue:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=vs(e,r);else{t=r;var i=O;O|=2;var s=fp();(le!==e||ue!==t)&&(ot=null,Hn=q()+500,tn(e,t));do try{gv();break}catch(l){cp(e,l)}while(!0);ka(),ms.current=s,O=i,J!==null?t=0:(le=null,ue=0,t=ne)}if(t!==0){if(t===2&&(i=ol(e),i!==0&&(r=i,t=Nl(e,i))),t===1)throw n=Xr,tn(e,0),Ct(e,r),Ee(e,q()),n;if(t===6)Ct(e,r);else{if(i=e.current.alternate,!(r&30)&&!pv(i)&&(t=vs(e,r),t===2&&(s=ol(e),s!==0&&(r=s,t=Nl(e,s))),t===1))throw n=Xr,tn(e,0),Ct(e,r),Ee(e,q()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(k(345));case 2:Yt(e,Te,ot);break;case 3:if(Ct(e,r),(r&130023424)===r&&(t=Ia+500-q(),10<t)){if(es(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){ve(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=pl(Yt.bind(null,e,Te,ot),t);break}Yt(e,Te,ot);break;case 4:if(Ct(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-Qe(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}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*hv(r/1960))-r,10<r){e.timeoutHandle=pl(Yt.bind(null,e,Te,ot),r);break}Yt(e,Te,ot);break;case 5:Yt(e,Te,ot);break;default:throw Error(k(329))}}}return Ee(e,q()),e.callbackNode===n?up.bind(null,e):null}function Nl(e,t){var n=Cr;return e.current.memoizedState.isDehydrated&&(tn(e,t).flags|=256),e=vs(e,t),e!==2&&(t=Te,Te=n,t!==null&&jl(t)),e}function jl(e){Te===null?Te=e:Te.push.apply(Te,e)}function pv(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],s=i.getSnapshot;i=i.value;try{if(!Xe(s(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ct(e,t){for(t&=~Fa,t&=~Fs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Qe(t),r=1<<n;e[n]=-1,t&=~r}}function _c(e){if(O&6)throw Error(k(327));Fn();var t=es(e,0);if(!(t&1))return Ee(e,q()),null;var n=vs(e,t);if(e.tag!==0&&n===2){var r=ol(e);r!==0&&(t=r,n=Nl(e,r))}if(n===1)throw n=Xr,tn(e,0),Ct(e,t),Ee(e,q()),n;if(n===6)throw Error(k(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Yt(e,Te,ot),Ee(e,q()),null}function za(e,t){var n=O;O|=1;try{return e(t)}finally{O=n,O===0&&(Hn=q()+500,_s&&Ut())}}function un(e){At!==null&&At.tag===0&&!(O&6)&&Fn();var t=O;O|=1;var n=ze.transition,r=I;try{if(ze.transition=null,I=1,e)return e()}finally{I=r,ze.transition=n,O=t,!(O&6)&&Ut()}}function Ba(){Ae=En.current,U(En)}function tn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Hy(n)),J!==null)for(n=J.return;n!==null;){var r=n;switch(xa(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ss();break;case 3:$n(),U(Pe),U(ge),La();break;case 5:Ma(r);break;case 4:$n();break;case 13:U(W);break;case 19:U(W);break;case 10:Pa(r.type._context);break;case 22:case 23:Ba()}n=n.return}if(le=e,J=e=jt(e.current,null),ue=Ae=t,ne=0,Xr=null,Fa=Fs=an=0,Te=Cr=null,Jt!==null){for(t=0;t<Jt.length;t++)if(n=Jt[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}Jt=null}return e}function cp(e,t){do{var n=J;try{if(ka(),zi.current=ps,hs){for(var r=K.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}hs=!1}if(ln=0,oe=te=K=null,kr=!1,Gr=0,Oa.current=null,n===null||n.return===null){ne=1,Xr=t,J=null;break}e:{var s=e,o=n.return,l=n,a=t;if(t=ue,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=l,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var g=xc(o);if(g!==null){g.flags&=-257,Sc(g,o,l,s,t),g.mode&1&&wc(s,u,t),t=g,a=u;var y=t.updateQueue;if(y===null){var v=new Set;v.add(a),t.updateQueue=v}else y.add(a);break e}else{if(!(t&1)){wc(s,u,t),Ua();break e}a=Error(k(426))}}else if($&&l.mode&1){var S=xc(o);if(S!==null){!(S.flags&65536)&&(S.flags|=256),Sc(S,o,l,s,t),Sa(Wn(a,l));break e}}s=a=Wn(a,l),ne!==4&&(ne=2),Cr===null?Cr=[s]:Cr.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var p=Qh(s,a,t);hc(s,p);break e;case 1:l=a;var h=s.type,m=s.stateNode;if(!(s.flags&128)&&(typeof h.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(_t===null||!_t.has(m)))){s.flags|=65536,t&=-t,s.lanes|=t;var w=Yh(s,l,t);hc(s,w);break e}}s=s.return}while(s!==null)}hp(n)}catch(x){t=x,J===n&&n!==null&&(J=n=n.return);continue}break}while(!0)}function fp(){var e=ms.current;return ms.current=ps,e===null?ps:e}function Ua(){(ne===0||ne===3||ne===2)&&(ne=4),le===null||!(an&268435455)&&!(Fs&268435455)||Ct(le,ue)}function vs(e,t){var n=O;O|=2;var r=fp();(le!==e||ue!==t)&&(ot=null,tn(e,t));do try{mv();break}catch(i){cp(e,i)}while(!0);if(ka(),O=n,ms.current=r,J!==null)throw Error(k(261));return le=null,ue=0,ne}function mv(){for(;J!==null;)dp(J)}function gv(){for(;J!==null&&!Ug();)dp(J)}function dp(e){var t=mp(e.alternate,e,Ae);e.memoizedProps=e.pendingProps,t===null?hp(e):J=t,Oa.current=null}function hp(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=uv(n,t),n!==null){n.flags&=32767,J=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ne=6,J=null;return}}else if(n=av(n,t,Ae),n!==null){J=n;return}if(t=t.sibling,t!==null){J=t;return}J=t=e}while(t!==null);ne===0&&(ne=5)}function Yt(e,t,n){var r=I,i=ze.transition;try{ze.transition=null,I=1,yv(e,t,n,r)}finally{ze.transition=i,I=r}return null}function yv(e,t,n,r){do Fn();while(At!==null);if(O&6)throw Error(k(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(k(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(qg(e,s),e===le&&(J=le=null,ue=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ai||(Ai=!0,gp(bi,function(){return Fn(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=ze.transition,ze.transition=null;var o=I;I=1;var l=O;O|=4,Oa.current=null,fv(e,n),lp(n,e),Fy(dl),ts=!!fl,dl=fl=null,e.current=n,dv(n),$g(),O=l,I=o,ze.transition=s}else e.current=n;if(Ai&&(Ai=!1,At=e,ys=i),s=e.pendingLanes,s===0&&(_t=null),Kg(n.stateNode),Ee(e,q()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(gs)throw gs=!1,e=Vl,Vl=null,e;return ys&1&&e.tag!==0&&Fn(),s=e.pendingLanes,s&1?e===_l?Er++:(Er=0,_l=e):Er=0,Ut(),null}function Fn(){if(At!==null){var e=Qd(ys),t=ze.transition,n=I;try{if(ze.transition=null,I=16>e?16:e,At===null)var r=!1;else{if(e=At,At=null,ys=0,O&6)throw Error(k(331));var i=O;for(O|=4,M=e.current;M!==null;){var s=M,o=s.child;if(M.flags&16){var l=s.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(M=u;M!==null;){var c=M;switch(c.tag){case 0:case 11:case 15:Pr(8,c,s)}var f=c.child;if(f!==null)f.return=c,M=f;else for(;M!==null;){c=M;var d=c.sibling,g=c.return;if(ip(c),c===u){M=null;break}if(d!==null){d.return=g,M=d;break}M=g}}}var y=s.alternate;if(y!==null){var v=y.child;if(v!==null){y.child=null;do{var S=v.sibling;v.sibling=null,v=S}while(v!==null)}}M=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,M=o;else e:for(;M!==null;){if(s=M,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Pr(9,s,s.return)}var p=s.sibling;if(p!==null){p.return=s.return,M=p;break e}M=s.return}}var h=e.current;for(M=h;M!==null;){o=M;var m=o.child;if(o.subtreeFlags&2064&&m!==null)m.return=o,M=m;else e:for(o=h;M!==null;){if(l=M,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Os(9,l)}}catch(x){Y(l,l.return,x)}if(l===o){M=null;break e}var w=l.sibling;if(w!==null){w.return=l.return,M=w;break e}M=l.return}}if(O=i,Ut(),tt&&typeof tt.onPostCommitFiberRoot=="function")try{tt.onPostCommitFiberRoot(Ms,e)}catch{}r=!0}return r}finally{I=n,ze.transition=t}}return!1}function Nc(e,t,n){t=Wn(n,t),t=Qh(e,t,1),e=Vt(e,t,1),t=ve(),e!==null&&(ti(e,1,t),Ee(e,t))}function Y(e,t,n){if(e.tag===3)Nc(e,e,n);else for(;t!==null;){if(t.tag===3){Nc(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(_t===null||!_t.has(r))){e=Wn(n,e),e=Yh(t,e,1),t=Vt(t,e,1),e=ve(),t!==null&&(ti(t,1,e),Ee(t,e));break}}t=t.return}}function vv(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ve(),e.pingedLanes|=e.suspendedLanes&n,le===e&&(ue&n)===n&&(ne===4||ne===3&&(ue&130023424)===ue&&500>q()-Ia?tn(e,0):Fa|=n),Ee(e,t)}function pp(e,t){t===0&&(e.mode&1?(t=yi,yi<<=1,!(yi&130023424)&&(yi=4194304)):t=1);var n=ve();e=mt(e,t),e!==null&&(ti(e,t,n),Ee(e,n))}function wv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),pp(e,n)}function xv(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),pp(e,n)}var mp;mp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Pe.current)ke=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ke=!1,lv(e,t,n);ke=!!(e.flags&131072)}else ke=!1,$&&t.flags&1048576&&wh(t,as,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ui(e,t),e=t.pendingProps;var i=zn(t,ge.current);On(t,n),i=Ra(null,t,r,e,i,n);var s=Va();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,Ce(r)?(s=!0,os(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ea(t),i.updater=js,t.stateNode=i,i._reactInternals=t,Sl(t,r,e,n),t=Pl(null,t,r,!0,s,n)):(t.tag=0,$&&s&&wa(t),ye(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ui(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Tv(r),e=He(r,e),i){case 0:t=kl(null,t,r,e,n);break e;case 1:t=Pc(null,t,r,e,n);break e;case 11:t=Tc(null,t,r,e,n);break e;case 14:t=kc(null,t,r,He(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:He(r,i),kl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),Pc(e,t,r,i,n);case 3:e:{if(Jh(t),e===null)throw Error(k(387));r=t.pendingProps,s=t.memoizedState,i=s.element,Ch(e,t),fs(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Wn(Error(k(423)),t),t=Cc(e,t,r,n,i);break e}else if(r!==i){i=Wn(Error(k(424)),t),t=Cc(e,t,r,n,i);break e}else for(Me=Rt(t.stateNode.containerInfo.firstChild),Le=t,$=!0,Ge=null,n=kh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Bn(),r===i){t=gt(e,t,n);break e}ye(e,t,r,n)}t=t.child}return t;case 5:return Eh(t),e===null&&vl(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,hl(r,i)?o=null:s!==null&&hl(r,s)&&(t.flags|=32),qh(e,t),ye(e,t,o,n),t.child;case 6:return e===null&&vl(t),null;case 13:return bh(e,t,n);case 4:return Aa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Un(t,null,r,n):ye(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),Tc(e,t,r,i,n);case 7:return ye(e,t,t.pendingProps,n),t.child;case 8:return ye(e,t,t.pendingProps.children,n),t.child;case 12:return ye(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,z(us,r._currentValue),r._currentValue=o,s!==null)if(Xe(s.value,o)){if(s.children===i.children&&!Pe.current){t=gt(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){o=s.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(s.tag===1){a=ct(-1,n&-n),a.tag=2;var u=s.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}}s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),wl(s.return,n,t),l.lanes|=n;break}a=a.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(k(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),wl(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}ye(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,ye(e,t,r,n),t.child;case 14:return r=t.type,i=He(r,t.pendingProps),i=He(r.type,i),kc(e,t,r,i,n);case 15:return Xh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),Ui(e,t),t.tag=1,Ce(r)?(e=!0,os(t)):e=!1,On(t,n),Gh(t,r,i),Sl(t,r,i,n),Pl(null,t,r,!0,e,n);case 19:return ep(e,t,n);case 22:return Zh(e,t,n)}throw Error(k(156,t.tag))};function gp(e,t){return Wd(e,t)}function Sv(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 Sv(e,t,n,r)}function $a(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Tv(e){if(typeof e=="function")return $a(e)?1:0;if(e!=null){if(e=e.$$typeof,e===la)return 11;if(e===aa)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 Hi(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")$a(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case gn:return nn(n.children,i,s,t);case oa:o=8,i|=8;break;case Ko:return e=Ie(12,n,t,i|2),e.elementType=Ko,e.lanes=s,e;case Go:return e=Ie(13,n,t,i),e.elementType=Go,e.lanes=s,e;case Qo:return e=Ie(19,n,t,i),e.elementType=Qo,e.lanes=s,e;case Ed:return Is(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Pd:o=10;break e;case Cd:o=9;break e;case la:o=11;break e;case aa:o=14;break e;case Tt:o=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=Ie(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function nn(e,t,n,r){return e=Ie(7,e,r,t),e.lanes=n,e}function Is(e,t,n,r){return e=Ie(22,e,r,t),e.elementType=Ed,e.lanes=n,e.stateNode={isHidden:!1},e}function Po(e,t,n){return e=Ie(6,e,null,t),e.lanes=n,e}function Co(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 kv(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=io(0),this.expirationTimes=io(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=io(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Wa(e,t,n,r,i,s,o,l,a){return e=new kv(e,t,n,l,a),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Ie(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ea(s),e}function Pv(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:mn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function yp(e){if(!e)return Ft;e=e._reactInternals;e:{if(dn(e)!==e||e.tag!==1)throw Error(k(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ce(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(k(171))}if(e.tag===1){var n=e.type;if(Ce(n))return yh(e,n,t)}return t}function vp(e,t,n,r,i,s,o,l,a){return e=Wa(n,r,!0,e,i,s,o,l,a),e.context=yp(null),n=e.current,r=ve(),i=Nt(n),s=ct(r,i),s.callback=t??null,Vt(n,s,i),e.current.lanes=i,ti(e,i,r),Ee(e,r),e}function zs(e,t,n,r){var i=t.current,s=ve(),o=Nt(i);return n=yp(n),t.context===null?t.context=n:t.pendingContext=n,t=ct(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Vt(i,t,o),e!==null&&(Ye(e,i,o,s),Ii(e,i,o)),o}function ws(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function jc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ha(e,t){jc(e,t),(e=e.alternate)&&jc(e,t)}function Cv(){return null}var wp=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ka(e){this._internalRoot=e}Bs.prototype.render=Ka.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(k(409));zs(e,t,null,null)};Bs.prototype.unmount=Ka.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;un(function(){zs(null,e,null,null)}),t[pt]=null}};function Bs(e){this._internalRoot=e}Bs.prototype.unstable_scheduleHydration=function(e){if(e){var t=Zd();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&t!==0&&t<Pt[n].priority;n++);Pt.splice(n,0,e),n===0&&Jd(e)}};function Ga(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Us(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Oc(){}function Ev(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=ws(o);s.call(u)}}var o=vp(t,r,e,0,null,!1,!1,"",Oc);return e._reactRootContainer=o,e[pt]=o.current,Ur(e.nodeType===8?e.parentNode:e),un(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var u=ws(a);l.call(u)}}var a=Wa(e,0,!1,null,null,!1,!1,"",Oc);return e._reactRootContainer=a,e[pt]=a.current,Ur(e.nodeType===8?e.parentNode:e),un(function(){zs(t,a,n,r)}),a}function $s(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var l=i;i=function(){var a=ws(o);l.call(a)}}zs(t,o,e,i)}else o=Ev(n,t,e,i,r);return ws(o)}Yd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=hr(t.pendingLanes);n!==0&&(fa(t,n|1),Ee(t,q()),!(O&6)&&(Hn=q()+500,Ut()))}break;case 13:un(function(){var r=mt(e,1);if(r!==null){var i=ve();Ye(r,e,1,i)}}),Ha(e,1)}};da=function(e){if(e.tag===13){var t=mt(e,134217728);if(t!==null){var n=ve();Ye(t,e,134217728,n)}Ha(e,134217728)}};Xd=function(e){if(e.tag===13){var t=Nt(e),n=mt(e,t);if(n!==null){var r=ve();Ye(n,e,t,r)}Ha(e,t)}};Zd=function(){return I};qd=function(e,t){var n=I;try{return I=e,t()}finally{I=n}};rl=function(e,t,n){switch(t){case"input":if(Zo(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Vs(r);if(!i)throw Error(k(90));Md(r),Zo(r,i)}}}break;case"textarea":Dd(e,n);break;case"select":t=n.value,t!=null&&Vn(e,!!n.multiple,t,!1)}};Fd=za;Id=un;var Av={usingClientEntryPoint:!1,Events:[ri,xn,Vs,jd,Od,za]},lr={findFiberByHostInstance:qt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Mv={bundleType:lr.bundleType,version:lr.version,rendererPackageName:lr.rendererPackageName,rendererConfig:lr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:yt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ud(e),e===null?null:e.stateNode},findFiberByHostInstance:lr.findFiberByHostInstance||Cv,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Mi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Mi.isDisabled&&Mi.supportsFiber)try{Ms=Mi.inject(Mv),tt=Mi}catch{}}Ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Av;Ve.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ga(t))throw Error(k(200));return Pv(e,t,null,n)};Ve.createRoot=function(e,t){if(!Ga(e))throw Error(k(299));var n=!1,r="",i=wp;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Wa(e,1,!1,null,null,n,!1,r,i),e[pt]=t.current,Ur(e.nodeType===8?e.parentNode:e),new Ka(t)};Ve.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(k(188)):(e=Object.keys(e).join(","),Error(k(268,e)));return e=Ud(t),e=e===null?null:e.stateNode,e};Ve.flushSync=function(e){return un(e)};Ve.hydrate=function(e,t,n){if(!Us(t))throw Error(k(200));return $s(null,e,t,!0,n)};Ve.hydrateRoot=function(e,t,n){if(!Ga(e))throw Error(k(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=wp;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=vp(t,null,e,1,n??null,i,!1,s,o),e[pt]=t.current,Ur(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Bs(t)};Ve.render=function(e,t,n){if(!Us(t))throw Error(k(200));return $s(null,e,t,!1,n)};Ve.unmountComponentAtNode=function(e){if(!Us(e))throw Error(k(40));return e._reactRootContainer?(un(function(){$s(null,null,e,!1,function(){e._reactRootContainer=null,e[pt]=null})}),!0):!1};Ve.unstable_batchedUpdates=za;Ve.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Us(n))throw Error(k(200));if(e==null||e._reactInternals===void 0)throw Error(k(38));return $s(e,t,n,!1,r)};Ve.version="18.3.1-next-f1338f8080-20240426";function xp(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xp)}catch(e){console.error(e)}}xp(),xd.exports=Ve;var Lv=xd.exports,Fc=Lv;Wo.createRoot=Fc.createRoot,Wo.hydrateRoot=Fc.hydrateRoot;const Qa=E.createContext({});function Zn(e){const t=E.useRef(null);return t.current===null&&(t.current=e()),t.current}const Ws=E.createContext(null),Hs=E.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class Dv extends E.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Rv({children:e,isPresent:t}){const n=E.useId(),r=E.useRef(null),i=E.useRef({width:0,height:0,top:0,left:0}),{nonce:s}=E.useContext(Hs);return E.useInsertionEffect(()=>{const{width:o,height:l,top:a,left:u}=i.current;if(t||!r.current||!o||!l)return;r.current.dataset.motionPopId=n;const c=document.createElement("style");return s&&(c.nonce=s),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
[data-motion-pop-id="${n}"] {
position: absolute !important;
width: ${o}px !important;
height: ${l}px !important;
top: ${a}px !important;
left: ${u}px !important;
}
`),()=>{document.head.removeChild(c)}},[t]),L.jsx(Dv,{isPresent:t,childRef:r,sizeRef:i,children:E.cloneElement(e,{ref:r})})}const Vv=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o})=>{const l=Zn(_v),a=E.useId(),u=E.useCallback(f=>{l.set(f,!0);for(const d of l.values())if(!d)return;r&&r()},[l,r]),c=E.useMemo(()=>({id:a,initial:t,isPresent:n,custom:i,onExitComplete:u,register:f=>(l.set(f,!1),()=>l.delete(f))}),s?[Math.random(),u]:[n,u]);return E.useMemo(()=>{l.forEach((f,d)=>l.set(d,!1))},[n]),E.useEffect(()=>{!n&&!l.size&&r&&r()},[n]),o==="popLayout"&&(e=L.jsx(Rv,{isPresent:n,children:e})),L.jsx(Ws.Provider,{value:c,children:e})};function _v(){return new Map}function Sp(e=!0){const t=E.useContext(Ws);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=E.useId();E.useEffect(()=>{e&&i(s)},[e]);const o=E.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const Li=e=>e.key||"";function Ic(e){const t=[];return E.Children.forEach(e,n=>{E.isValidElement(n)&&t.push(n)}),t}const Ya=typeof window<"u",Ks=Ya?E.useLayoutEffect:E.useEffect,Nv=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1})=>{const[l,a]=Sp(o),u=E.useMemo(()=>Ic(e),[e]),c=o&&!l?[]:u.map(Li),f=E.useRef(!0),d=E.useRef(u),g=Zn(()=>new Map),[y,v]=E.useState(u),[S,p]=E.useState(u);Ks(()=>{f.current=!1,d.current=u;for(let w=0;w<S.length;w++){const x=Li(S[w]);c.includes(x)?g.delete(x):g.get(x)!==!0&&g.set(x,!1)}},[S,c.length,c.join("-")]);const h=[];if(u!==y){let w=[...u];for(let x=0;x<S.length;x++){const P=S[x],C=Li(P);c.includes(C)||(w.splice(x,0,P),h.push(P))}s==="wait"&&h.length&&(w=h),p(Ic(w)),v(u);return}const{forceRender:m}=E.useContext(Qa);return L.jsx(L.Fragment,{children:S.map(w=>{const x=Li(w),P=o&&!l?!1:u===S||c.includes(x),C=()=>{if(g.has(x))g.set(x,!0);else return;let T=!0;g.forEach(N=>{N||(T=!1)}),T&&(m==null||m(),p(d.current),o&&(a==null||a()),r&&r())};return L.jsx(Vv,{isPresent:P,initial:!f.current||n?void 0:!1,custom:P?void 0:t,presenceAffectsLayout:i,mode:s,onExitComplete:P?void 0:C,children:w},x)})})},we=e=>e;let jv=we,Tp=we;function Xa(e){let t;return()=>(t===void 0&&(t=e()),t)}const cn=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},ft=e=>e*1e3,dt=e=>e/1e3,Ov={useManualTiming:!1};function Fv(e){let t=new Set,n=new Set,r=!1,i=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function l(u){s.has(u)&&(a.schedule(u),e()),u(o)}const a={schedule:(u,c=!1,f=!1)=>{const g=f&&r?t:n;return c&&s.add(u),g.has(u)||g.add(u),u},cancel:u=>{n.delete(u),s.delete(u)},process:u=>{if(o=u,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(l),t.clear(),r=!1,i&&(i=!1,a.process(u))}};return a}const Di=["read","resolveKeyframes","update","preRender","render","postRender"],Iv=40;function kp(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=Di.reduce((p,h)=>(p[h]=Fv(s),p),{}),{read:l,resolveKeyframes:a,update:u,preRender:c,render:f,postRender:d}=o,g=()=>{const p=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(p-i.timestamp,Iv),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))},y=()=>{n=!0,r=!0,i.isProcessing||e(g)};return{schedule:Di.reduce((p,h)=>{const m=o[h];return p[h]=(w,x=!1,P=!1)=>(n||y(),m.schedule(w,x,P)),p},{}),cancel:p=>{for(let h=0;h<Di.length;h++)o[Di[h]].cancel(p)},state:i,steps:o}}const{schedule:F,cancel:Ze,state:se,steps:Eo}=kp(typeof requestAnimationFrame<"u"?requestAnimationFrame:we,!0),Pp=E.createContext({strict:!1}),zc={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"]},Kn={};for(const e in zc)Kn[e]={isEnabled:t=>zc[e].some(n=>!!t[n])};function zv(e){for(const t in e)Kn[t]={...Kn[t],...e[t]}}const Bv=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 xs(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Bv.has(e)}let Cp=e=>!xs(e);function Uv(e){e&&(Cp=t=>t.startsWith("on")?!xs(t):e(t))}try{Uv(require("@emotion/is-prop-valid").default)}catch{}function $v(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Cp(i)||n===!0&&xs(i)||!t&&!xs(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Wv(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))})}const Gs=E.createContext({});function Zr(e){return typeof e=="string"||Array.isArray(e)}function Qs(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Za=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],qa=["initial",...Za];function Ys(e){return Qs(e.animate)||qa.some(t=>Zr(e[t]))}function Ep(e){return!!(Ys(e)||e.variants)}function Hv(e,t){if(Ys(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Zr(n)?n:void 0,animate:Zr(r)?r:void 0}}return e.inherit!==!1?t:{}}function Kv(e){const{initial:t,animate:n}=Hv(e,E.useContext(Gs));return E.useMemo(()=>({initial:t,animate:n}),[Bc(t),Bc(n)])}function Bc(e){return Array.isArray(e)?e.join(" "):e}const Gv=Symbol.for("motionComponentSymbol");function An(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Qv(e,t,n){return E.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):An(n)&&(n.current=r))},[t])}const Ja=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Yv="framerAppearId",Ap="data-"+Ja(Yv),{schedule:ba}=kp(queueMicrotask,!1),Mp=E.createContext({});function Xv(e,t,n,r,i){var s,o;const{visualElement:l}=E.useContext(Gs),a=E.useContext(Pp),u=E.useContext(Ws),c=E.useContext(Hs).reducedMotion,f=E.useRef(null);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=E.useContext(Mp);d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&Zv(f.current,n,i,g);const y=E.useRef(!1);E.useInsertionEffect(()=>{d&&y.current&&d.update(n,u)});const v=n[Ap],S=E.useRef(!!v&&!(!((s=window.MotionHandoffIsComplete)===null||s===void 0)&&s.call(window,v))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,v)));return Ks(()=>{d&&(y.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),ba.render(d.render),S.current&&d.animationState&&d.animationState.animateChanges())}),E.useEffect(()=>{d&&(!S.current&&d.animationState&&d.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{var p;(p=window.MotionHandoffMarkAsComplete)===null||p===void 0||p.call(window,v)}),S.current=!1))}),d}function Zv(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:l,layoutScroll:a,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Lp(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||l&&An(l),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:u})}function Lp(e){if(e)return e.options.allowProjection!==!1?e.projection:Lp(e.parent)}function qv({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){var s,o;e&&zv(e);function l(u,c){let f;const d={...E.useContext(Hs),...u,layoutId:Jv(u)},{isStatic:g}=d,y=Kv(u),v=r(u,g);if(!g&&Ya){bv();const S=e0(d);f=S.MeasureLayout,y.visualElement=Xv(i,v,d,t,S.ProjectionNode)}return L.jsxs(Gs.Provider,{value:y,children:[f&&y.visualElement?L.jsx(f,{visualElement:y.visualElement,...d}):null,n(i,u,Qv(v,y.visualElement,c),v,g,y.visualElement)]})}l.displayName=`motion.${typeof i=="string"?i:`create(${(o=(s=i.displayName)!==null&&s!==void 0?s:i.name)!==null&&o!==void 0?o:""})`}`;const a=E.forwardRef(l);return a[Gv]=i,a}function Jv({layoutId:e}){const t=E.useContext(Qa).id;return t&&e!==void 0?t+"-"+e:e}function bv(e,t){E.useContext(Pp).strict}function e0(e){const{drag:t,layout:n}=Kn;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 t0=["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 eu(e){return typeof e!="string"||e.includes("-")?!1:!!(t0.indexOf(e)>-1||/[A-Z]/u.test(e))}function Uc(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function tu(e,t,n,r){if(typeof t=="function"){const[i,s]=Uc(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=Uc(r);t=t(n!==void 0?n:e.custom,i,s)}return t}const Ol=e=>Array.isArray(e),n0=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),r0=e=>Ol(e)?e[e.length-1]||0:e,me=e=>!!(e&&e.getVelocity);function Ki(e){const t=me(e)?e.get():e;return n0(t)?t.toValue():t}function i0({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,i,s){const o={latestValues:s0(r,i,s,e),renderState:t()};return n&&(o.onMount=l=>n({props:r,current:l,...o}),o.onUpdate=l=>n(l)),o}const Dp=e=>(t,n)=>{const r=E.useContext(Gs),i=E.useContext(Ws),s=()=>i0(e,t,r,i);return n?s():Zn(s)};function s0(e,t,n,r){const i={},s=r(e,{});for(const d in s)i[d]=Ki(s[d]);let{initial:o,animate:l}=e;const a=Ys(e),u=Ep(e);t&&u&&!a&&e.inherit!==!1&&(o===void 0&&(o=t.initial),l===void 0&&(l=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const f=c?l:o;if(f&&typeof f!="boolean"&&!Qs(f)){const d=Array.isArray(f)?f:[f];for(let g=0;g<d.length;g++){const y=tu(e,d[g]);if(y){const{transitionEnd:v,transition:S,...p}=y;for(const h in p){let m=p[h];if(Array.isArray(m)){const w=c?m.length-1:0;m=m[w]}m!==null&&(i[h]=m)}for(const h in v)i[h]=v[h]}}}return i}const qn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],hn=new Set(qn),Rp=e=>t=>typeof t=="string"&&t.startsWith(e),Vp=Rp("--"),o0=Rp("var(--"),nu=e=>o0(e)?l0.test(e.split("/*")[0].trim()):!1,l0=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,_p=(e,t)=>t&&typeof e=="number"?t.transform(e):e,st=(e,t,n)=>n>t?t:n<e?e:n,Jn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},qr={...Jn,transform:e=>st(0,1,e)},Ri={...Jn,default:1},si=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),xt=si("deg"),rt=si("%"),D=si("px"),a0=si("vh"),u0=si("vw"),$c={...rt,parse:e=>rt.parse(e)/100,transform:e=>rt.transform(e*100)},c0={borderWidth:D,borderTopWidth:D,borderRightWidth:D,borderBottomWidth:D,borderLeftWidth:D,borderRadius:D,radius:D,borderTopLeftRadius:D,borderTopRightRadius:D,borderBottomRightRadius:D,borderBottomLeftRadius:D,width:D,maxWidth:D,height:D,maxHeight:D,top:D,right:D,bottom:D,left:D,padding:D,paddingTop:D,paddingRight:D,paddingBottom:D,paddingLeft:D,margin:D,marginTop:D,marginRight:D,marginBottom:D,marginLeft:D,backgroundPositionX:D,backgroundPositionY:D},f0={rotate:xt,rotateX:xt,rotateY:xt,rotateZ:xt,scale:Ri,scaleX:Ri,scaleY:Ri,scaleZ:Ri,skew:xt,skewX:xt,skewY:xt,distance:D,translateX:D,translateY:D,translateZ:D,x:D,y:D,z:D,perspective:D,transformPerspective:D,opacity:qr,originX:$c,originY:$c,originZ:D},Wc={...Jn,transform:Math.round},ru={...c0,...f0,zIndex:Wc,size:D,fillOpacity:qr,strokeOpacity:qr,numOctaves:Wc},d0={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},h0=qn.length;function p0(e,t,n){let r="",i=!0;for(let s=0;s<h0;s++){const o=qn[s],l=e[o];if(l===void 0)continue;let a=!0;if(typeof l=="number"?a=l===(o.startsWith("scale")?1:0):a=parseFloat(l)===0,!a||n){const u=_p(l,ru[o]);if(!a){i=!1;const c=d0[o]||o;r+=`${c}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function iu(e,t,n){const{style:r,vars:i,transformOrigin:s}=e;let o=!1,l=!1;for(const a in t){const u=t[a];if(hn.has(a)){o=!0;continue}else if(Vp(a)){i[a]=u;continue}else{const c=_p(u,ru[a]);a.startsWith("origin")?(l=!0,s[a]=c):r[a]=c}}if(t.transform||(o||n?r.transform=p0(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:a="50%",originY:u="50%",originZ:c=0}=s;r.transformOrigin=`${a} ${u} ${c}`}}const m0={offset:"stroke-dashoffset",array:"stroke-dasharray"},g0={offset:"strokeDashoffset",array:"strokeDasharray"};function y0(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?m0:g0;e[s.offset]=D.transform(-r);const o=D.transform(t),l=D.transform(n);e[s.array]=`${o} ${l}`}function Hc(e,t,n){return typeof e=="string"?e:D.transform(t+n*e)}function v0(e,t,n){const r=Hc(t,e.x,e.width),i=Hc(n,e.y,e.height);return`${r} ${i}`}function su(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:s,pathLength:o,pathSpacing:l=1,pathOffset:a=0,...u},c,f){if(iu(e,u,f),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:g,dimensions:y}=e;d.transform&&(y&&(g.transform=d.transform),delete d.transform),y&&(i!==void 0||s!==void 0||g.transform)&&(g.transformOrigin=v0(y,i!==void 0?i:.5,s!==void 0?s:.5)),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),o!==void 0&&y0(d,o,l,a,!1)}const ou=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Np=()=>({...ou(),attrs:{}}),lu=e=>typeof e=="string"&&e.toLowerCase()==="svg";function jp(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const s in n)e.style.setProperty(s,n[s])}const Op=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 Fp(e,t,n,r){jp(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Op.has(i)?i:Ja(i),t.attrs[i])}const Ss={};function w0(e){Object.assign(Ss,e)}function Ip(e,{layout:t,layoutId:n}){return hn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Ss[e]||e==="opacity")}function au(e,t,n){var r;const{style:i}=e,s={};for(const o in i)(me(i[o])||t.style&&me(t.style[o])||Ip(o,e)||((r=n==null?void 0:n.getValue(o))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(s[o]=i[o]);return s}function zp(e,t,n){const r=au(e,t,n);for(const i in e)if(me(e[i])||me(t[i])){const s=qn.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}function x0(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const Kc=["x","y","width","height","cx","cy","r"],S0={useVisualState:Dp({scrapeMotionValuesFromProps:zp,createRenderState:Np,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:i})=>{if(!n)return;let s=!!e.drag;if(!s){for(const l in i)if(hn.has(l)){s=!0;break}}if(!s)return;let o=!t;if(t)for(let l=0;l<Kc.length;l++){const a=Kc[l];e[a]!==t[a]&&(o=!0)}o&&F.read(()=>{x0(n,r),F.render(()=>{su(r,i,lu(n.tagName),e.transformTemplate),Fp(n,r)})})}})},T0={useVisualState:Dp({scrapeMotionValuesFromProps:au,createRenderState:ou})};function Bp(e,t,n){for(const r in t)!me(t[r])&&!Ip(r,n)&&(e[r]=t[r])}function k0({transformTemplate:e},t){return E.useMemo(()=>{const n=ou();return iu(n,t,e),Object.assign({},n.vars,n.style)},[t])}function P0(e,t){const n=e.style||{},r={};return Bp(r,n,e),Object.assign(r,k0(e,t)),r}function C0(e,t){const n={},r=P0(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}function E0(e,t,n,r){const i=E.useMemo(()=>{const s=Np();return su(s,t,lu(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Bp(s,e.style,e),i.style={...s,...i.style}}return i}function A0(e=!1){return(n,r,i,{latestValues:s},o)=>{const a=(eu(n)?E0:C0)(r,s,o,n),u=$v(r,typeof n=="string",e),c=n!==E.Fragment?{...u,...a,ref:i}:{},{children:f}=r,d=E.useMemo(()=>me(f)?f.get():f,[f]);return E.createElement(n,{...c,children:d})}}function M0(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const o={...eu(r)?S0:T0,preloadedFeatures:e,useRender:A0(i),createVisualElement:t,Component:r};return qv(o)}}function Up(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Xs(e,t,n){const r=e.getProps();return tu(r,t,n!==void 0?n:r.custom,e)}const $p=Xa(()=>window.ScrollTimeline!==void 0);class L0{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(i=>{if($p()&&i.attachTimeline)return i.attachTimeline(t);if(typeof n=="function")return n(i)});return()=>{r.forEach((i,s)=>{i&&i(),this.animations[s].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;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class D0 extends L0{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function uu(e,t){return e?e[t]||e.default||e:void 0}const Fl=2e4;function Wp(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Fl;)t+=n,r=e.next(t);return t>=Fl?1/0:t}function cu(e){return typeof e=="function"}function Gc(e,t){e.timeline=t,e.onfinish=null}const fu=e=>Array.isArray(e)&&typeof e[0]=="number",R0={linearEasing:void 0};function V0(e,t){const n=Xa(e);return()=>{var r;return(r=R0[t])!==null&&r!==void 0?r:n()}}const Ts=V0(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Hp=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s<i;s++)r+=e(cn(0,i-1,s))+", ";return`linear(${r.substring(0,r.length-2)})`};function Kp(e){return!!(typeof e=="function"&&Ts()||!e||typeof e=="string"&&(e in Il||Ts())||fu(e)||Array.isArray(e)&&e.every(Kp))}const mr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Il={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:mr([0,.65,.55,1]),circOut:mr([.55,0,1,.45]),backIn:mr([.31,.01,.66,-.59]),backOut:mr([.33,1.53,.69,.99])};function Gp(e,t){if(e)return typeof e=="function"&&Ts()?Hp(e,t):fu(e)?mr(e):Array.isArray(e)?e.map(n=>Gp(n,t)||Il.easeOut):Il[e]}const We={x:!1,y:!1};function Qp(){return We.x||We.y}function Yp(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let i=document;const s=(r=void 0)!==null&&r!==void 0?r:i.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}function Xp(e,t){const n=Yp(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function Qc(e){return t=>{t.pointerType==="touch"||Qp()||e(t)}}function _0(e,t,n={}){const[r,i,s]=Xp(e,n),o=Qc(l=>{const{target:a}=l,u=t(l);if(typeof u!="function"||!a)return;const c=Qc(f=>{u(f),a.removeEventListener("pointerleave",c)});a.addEventListener("pointerleave",c,i)});return r.forEach(l=>{l.addEventListener("pointerenter",o,i)}),s}const Zp=(e,t)=>t?e===t?!0:Zp(e,t.parentElement):!1,du=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,N0=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function j0(e){return N0.has(e.tagName)||e.tabIndex!==-1}const gr=new WeakSet;function Yc(e){return t=>{t.key==="Enter"&&e(t)}}function Ao(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const O0=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Yc(()=>{if(gr.has(n))return;Ao(n,"down");const i=Yc(()=>{Ao(n,"up")}),s=()=>Ao(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Xc(e){return du(e)&&!Qp()}function F0(e,t,n={}){const[r,i,s]=Xp(e,n),o=l=>{const a=l.currentTarget;if(!Xc(l)||gr.has(a))return;gr.add(a);const u=t(l),c=(g,y)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",d),!(!Xc(g)||!gr.has(a))&&(gr.delete(a),typeof u=="function"&&u(g,{success:y}))},f=g=>{c(g,n.useGlobalTarget||Zp(a,g.target))},d=g=>{c(g,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",d,i)};return r.forEach(l=>{!j0(l)&&l.getAttribute("tabindex")===null&&(l.tabIndex=0),(n.useGlobalTarget?window:l).addEventListener("pointerdown",o,i),l.addEventListener("focus",u=>O0(u,i),i)}),s}function I0(e){return e==="x"||e==="y"?We[e]?null:(We[e]=!0,()=>{We[e]=!1}):We.x||We.y?null:(We.x=We.y=!0,()=>{We.x=We.y=!1})}const qp=new Set(["width","height","top","left","right","bottom",...qn]);let Gi;function z0(){Gi=void 0}const it={now:()=>(Gi===void 0&&it.set(se.isProcessing||Ov.useManualTiming?se.timestamp:performance.now()),Gi),set:e=>{Gi=e,queueMicrotask(z0)}};function hu(e,t){e.indexOf(t)===-1&&e.push(t)}function pu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class mu{constructor(){this.subscriptions=[]}add(t){return hu(this.subscriptions,t),()=>pu(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 s=0;s<i;s++){const o=this.subscriptions[s];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function gu(e,t){return t?e*(1e3/t):0}const Zc=30,B0=e=>!isNaN(parseFloat(e)),Ar={current:void 0};class U0{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const s=it.now();this.updatedAt!==s&&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=it.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=B0(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 mu);const r=this.events[t].add(n);return t==="change"?()=>{r(),F.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 Ar.current&&Ar.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=it.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Zc)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Zc);return gu(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 et(e,t){return new U0(e,t)}function $0(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,et(n))}function W0(e,t){const n=Xs(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const l=r0(s[o]);$0(e,o,l)}}function H0(e){return!!(me(e)&&e.add)}function zl(e,t){const n=e.getValue("willChange");if(H0(n))return n.add(t)}function Jp(e){return e.props[Ap]}const bp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,K0=1e-7,G0=12;function Q0(e,t,n,r,i){let s,o,l=0;do o=t+(n-t)/2,s=bp(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>K0&&++l<G0);return o}function oi(e,t,n,r){if(e===t&&n===r)return we;const i=s=>Q0(s,0,1,e,n);return s=>s===0||s===1?s:bp(i(s),t,r)}const em=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,tm=e=>t=>1-e(1-t),nm=oi(.33,1.53,.69,.99),yu=tm(nm),rm=em(yu),im=e=>(e*=2)<1?.5*yu(e):.5*(2-Math.pow(2,-10*(e-1))),vu=e=>1-Math.sin(Math.acos(e)),sm=tm(vu),om=em(vu),lm=e=>/^0[^.\s]+$/u.test(e);function Y0(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||lm(e):!0}const Mr=e=>Math.round(e*1e5)/1e5,wu=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function X0(e){return e==null}const Z0=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,xu=(e,t)=>n=>!!(typeof n=="string"&&Z0.test(n)&&n.startsWith(e)||t&&!X0(n)&&Object.prototype.hasOwnProperty.call(n,t)),am=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,l]=r.match(wu);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},q0=e=>st(0,255,e),Mo={...Jn,transform:e=>Math.round(q0(e))},en={test:xu("rgb","red"),parse:am("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Mo.transform(e)+", "+Mo.transform(t)+", "+Mo.transform(n)+", "+Mr(qr.transform(r))+")"};function J0(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 Bl={test:xu("#"),parse:J0,transform:en.transform},Mn={test:xu("hsl","hue"),parse:am("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+rt.transform(Mr(t))+", "+rt.transform(Mr(n))+", "+Mr(qr.transform(r))+")"},he={test:e=>en.test(e)||Bl.test(e)||Mn.test(e),parse:e=>en.test(e)?en.parse(e):Mn.test(e)?Mn.parse(e):Bl.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?en.transform(e):Mn.transform(e)},b0=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function e1(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(wu))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(b0))===null||n===void 0?void 0:n.length)||0)>0}const um="number",cm="color",t1="var",n1="var(",qc="${}",r1=/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 Jr(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const l=t.replace(r1,a=>(he.test(a)?(r.color.push(s),i.push(cm),n.push(he.parse(a))):a.startsWith(n1)?(r.var.push(s),i.push(t1),n.push(a)):(r.number.push(s),i.push(um),n.push(parseFloat(a))),++s,qc)).split(qc);return{values:n,split:l,indexes:r,types:i}}function fm(e){return Jr(e).values}function dm(e){const{split:t,types:n}=Jr(e),r=t.length;return i=>{let s="";for(let o=0;o<r;o++)if(s+=t[o],i[o]!==void 0){const l=n[o];l===um?s+=Mr(i[o]):l===cm?s+=he.transform(i[o]):s+=i[o]}return s}}const i1=e=>typeof e=="number"?0:e;function s1(e){const t=fm(e);return dm(e)(t.map(i1))}const It={test:e1,parse:fm,createTransformer:dm,getAnimatableNone:s1},o1=new Set(["brightness","contrast","saturate","opacity"]);function l1(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(wu)||[];if(!r)return e;const i=n.replace(r,"");let s=o1.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const a1=/\b([a-z-]*)\(.*?\)/gu,Ul={...It,getAnimatableNone:e=>{const t=e.match(a1);return t?t.map(l1).join(" "):e}},u1={...ru,color:he,backgroundColor:he,outlineColor:he,fill:he,stroke:he,borderColor:he,borderTopColor:he,borderRightColor:he,borderBottomColor:he,borderLeftColor:he,filter:Ul,WebkitFilter:Ul},Su=e=>u1[e];function hm(e,t){let n=Su(e);return n!==Ul&&(n=It),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const c1=new Set(["auto","none","0"]);function f1(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!c1.has(s)&&Jr(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=hm(n,i)}const Jc=e=>e===Jn||e===D,bc=(e,t)=>parseFloat(e.split(", ")[t]),ef=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return bc(i[1],t);{const s=r.match(/^matrix\((.+)\)$/u);return s?bc(s[1],e):0}},d1=new Set(["x","y","z"]),h1=qn.filter(e=>!d1.has(e));function p1(e){const t=[];return h1.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:ef(4,13),y:ef(5,14)};Gn.translateX=Gn.x;Gn.translateY=Gn.y;const rn=new Set;let $l=!1,Wl=!1;function pm(){if(Wl){const e=Array.from(rn).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=p1(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(([s,o])=>{var l;(l=r.getValue(s))===null||l===void 0||l.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Wl=!1,$l=!1,rn.forEach(e=>e.complete()),rn.clear()}function mm(){rn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Wl=!0)})}function m1(){mm(),pm()}class Tu{constructor(t,n,r,i,s,o=!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=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(rn.add(this),$l||($l=!0,F.read(mm),F.resolveKeyframes(pm))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let s=0;s<t.length;s++)if(t[s]===null)if(s===0){const o=i==null?void 0:i.get(),l=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const a=r.readValue(n,l);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=l),i&&o===void 0&&i.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),rn.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,rn.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const gm=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),g1=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function y1(e){const t=g1.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function ym(e,t,n=1){const[r,i]=y1(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return gm(o)?parseFloat(o):o}return nu(i)?ym(i,t,n+1):i}const vm=e=>t=>t.test(e),v1={test:e=>e==="auto",parse:e=>e},wm=[Jn,D,rt,xt,u0,a0,v1],tf=e=>wm.find(vm(e));class xm extends Tu{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="string"&&(u=u.trim(),nu(u))){const c=ym(u,n.current);c!==void 0&&(t[a]=c),a===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!qp.has(r)||t.length!==2)return;const[i,s]=t,o=tf(i),l=tf(s);if(o!==l)if(Jc(o)&&Jc(l))for(let a=0;a<t.length;a++){const u=t[a];typeof u=="string"&&(t[a]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)Y0(t[i])&&r.push(i);r.length&&f1(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Gn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:i}=this;if(!n||!n.current)return;const s=n.getValue(r);s&&s.jump(this.measuredOrigin,!1);const o=i.length-1,l=i[o];i[o]=Gn[r](n.measureViewportBox(),window.getComputedStyle(n.current)),l!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=l),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([a,u])=>{n.getValue(a).set(u)}),this.resolveNoneKeyframes()}}const nf=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(It.test(e)||e==="0")&&!e.startsWith("url("));function w1(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function x1(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=nf(i,t),l=nf(s,t);return!o||!l?!1:w1(e)||(n==="spring"||cu(n))&&r}const S1=e=>e!==null;function Zs(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(S1),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}const T1=40;class Sm{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o="loop",...l}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=it.now(),this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,...l},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>T1?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&m1(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=it.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:s,delay:o,onComplete:l,onUpdate:a,isGenerator:u}=this.options;if(!u&&!x1(t,r,i,s))if(o)this.options.duration=0;else{a&&a(Zs(t,this.options,n)),l&&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})}}const H=(e,t,n)=>e+(t-e)*n;function Lo(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 k1({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;i=Lo(a,l,e+1/3),s=Lo(a,l,e),o=Lo(a,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function ks(e,t){return n=>n>0?t:e}const Do=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},P1=[Bl,en,Mn],C1=e=>P1.find(t=>t.test(e));function rf(e){const t=C1(e);if(!t)return!1;let n=t.parse(e);return t===Mn&&(n=k1(n)),n}const sf=(e,t)=>{const n=rf(e),r=rf(t);if(!n||!r)return ks(e,t);const i={...n};return s=>(i.red=Do(n.red,r.red,s),i.green=Do(n.green,r.green,s),i.blue=Do(n.blue,r.blue,s),i.alpha=H(n.alpha,r.alpha,s),en.transform(i))},E1=(e,t)=>n=>t(e(n)),li=(...e)=>e.reduce(E1),Hl=new Set(["none","hidden"]);function A1(e,t){return Hl.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function M1(e,t){return n=>H(e,t,n)}function ku(e){return typeof e=="number"?M1:typeof e=="string"?nu(e)?ks:he.test(e)?sf:R1:Array.isArray(e)?Tm:typeof e=="object"?he.test(e)?sf:L1:ks}function Tm(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>ku(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function L1(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=ku(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function D1(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],l=e.indexes[o][i[o]],a=(n=e.values[l])!==null&&n!==void 0?n:0;r[s]=a,i[o]++}return r}const R1=(e,t)=>{const n=It.createTransformer(t),r=Jr(e),i=Jr(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?Hl.has(e)&&!i.values.length||Hl.has(t)&&!r.values.length?A1(e,t):li(Tm(D1(r,i),i.values),n):ks(e,t)};function km(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?H(e,t,n):ku(e)(e,t)}const V1=5;function Pm(e,t,n){const r=Math.max(t-V1,0);return gu(n-e(r),t-r)}const Q={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Ro=.001;function _1({duration:e=Q.duration,bounce:t=Q.bounce,velocity:n=Q.velocity,mass:r=Q.mass}){let i,s,o=1-t;o=st(Q.minDamping,Q.maxDamping,o),e=st(Q.minDuration,Q.maxDuration,dt(e)),o<1?(i=u=>{const c=u*o,f=c*e,d=c-n,g=Kl(u,o),y=Math.exp(-f);return Ro-d/g*y},s=u=>{const f=u*o*e,d=f*n+n,g=Math.pow(o,2)*Math.pow(u,2)*e,y=Math.exp(-f),v=Kl(Math.pow(u,2),o);return(-i(u)+Ro>0?-1:1)*((d-g)*y)/v}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-Ro+c*f},s=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const l=5/e,a=j1(i,s,l);if(e=ft(e),isNaN(a))return{stiffness:Q.stiffness,damping:Q.damping,duration:e};{const u=Math.pow(a,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const N1=12;function j1(e,t,n){let r=n;for(let i=1;i<N1;i++)r=r-e(r)/t(r);return r}function Kl(e,t){return e*Math.sqrt(1-t*t)}const O1=["duration","bounce"],F1=["stiffness","damping","mass"];function of(e,t){return t.some(n=>e[n]!==void 0)}function I1(e){let t={velocity:Q.velocity,stiffness:Q.stiffness,damping:Q.damping,mass:Q.mass,isResolvedFromDuration:!1,...e};if(!of(e,F1)&&of(e,O1))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*st(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Q.mass,stiffness:i,damping:s}}else{const n=_1(e);t={...t,...n,mass:Q.mass},t.isResolvedFromDuration=!0}return t}function Cm(e=Q.visualDuration,t=Q.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],l={done:!1,value:s},{stiffness:a,damping:u,mass:c,duration:f,velocity:d,isResolvedFromDuration:g}=I1({...n,velocity:-dt(n.velocity||0)}),y=d||0,v=u/(2*Math.sqrt(a*c)),S=o-s,p=dt(Math.sqrt(a/c)),h=Math.abs(S)<5;r||(r=h?Q.restSpeed.granular:Q.restSpeed.default),i||(i=h?Q.restDelta.granular:Q.restDelta.default);let m;if(v<1){const x=Kl(p,v);m=P=>{const C=Math.exp(-v*p*P);return o-C*((y+v*p*S)/x*Math.sin(x*P)+S*Math.cos(x*P))}}else if(v===1)m=x=>o-Math.exp(-p*x)*(S+(y+p*S)*x);else{const x=p*Math.sqrt(v*v-1);m=P=>{const C=Math.exp(-v*p*P),T=Math.min(x*P,300);return o-C*((y+v*p*S)*Math.sinh(T)+x*S*Math.cosh(T))/x}}const w={calculatedDuration:g&&f||null,next:x=>{const P=m(x);if(g)l.done=x>=f;else{let C=0;v<1&&(C=x===0?ft(y):Pm(m,x,P));const T=Math.abs(C)<=r,N=Math.abs(o-P)<=i;l.done=T&&N}return l.value=l.done?o:P,l},toString:()=>{const x=Math.min(Wp(w),Fl),P=Hp(C=>w.next(x*C).value,x,30);return x+"ms "+P}};return w}function lf({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:l,max:a,restDelta:u=.5,restSpeed:c}){const f=e[0],d={done:!1,value:f},g=T=>l!==void 0&&T<l||a!==void 0&&T>a,y=T=>l===void 0?a:a===void 0||Math.abs(l-T)<Math.abs(a-T)?l:a;let v=n*t;const S=f+v,p=o===void 0?S:o(S);p!==S&&(v=p-f);const h=T=>-v*Math.exp(-T/r),m=T=>p+h(T),w=T=>{const N=h(T),R=m(T);d.done=Math.abs(N)<=u,d.value=d.done?p:R};let x,P;const C=T=>{g(d.value)&&(x=T,P=Cm({keyframes:[d.value,y(d.value)],velocity:Pm(m,T,d.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return C(0),{calculatedDuration:null,next:T=>{let N=!1;return!P&&x===void 0&&(N=!0,w(T),C(T)),x!==void 0&&T>=x?P.next(T-x):(!N&&w(T),d)}}}const z1=oi(.42,0,1,1),B1=oi(0,0,.58,1),Em=oi(.42,0,.58,1),U1=e=>Array.isArray(e)&&typeof e[0]!="number",$1={linear:we,easeIn:z1,easeInOut:Em,easeOut:B1,circIn:vu,circInOut:om,circOut:sm,backIn:yu,backInOut:rm,backOut:nm,anticipate:im},af=e=>{if(fu(e)){Tp(e.length===4);const[t,n,r,i]=e;return oi(t,n,r,i)}else if(typeof e=="string")return $1[e];return e};function W1(e,t,n){const r=[],i=n||km,s=e.length-1;for(let o=0;o<s;o++){let l=i(e[o],e[o+1]);if(t){const a=Array.isArray(t)?t[o]||we:t;l=li(a,l)}r.push(l)}return r}function Pu(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(Tp(s===t.length),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=W1(t,r,i),a=l.length,u=c=>{if(o&&c<e[0])return t[0];let f=0;if(a>1)for(;f<e.length-2&&!(c<e[f+1]);f++);const d=cn(e[f],e[f+1],c);return l[f](d)};return n?c=>u(st(e[0],e[s-1],c)):u}function H1(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=cn(0,t,r);e.push(H(n,1,i))}}function Am(e){const t=[0];return H1(t,e.length-1),t}function K1(e,t){return e.map(n=>n*t)}function G1(e,t){return e.map(()=>t||Em).splice(0,e.length-1)}function Ps({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=U1(r)?r.map(af):af(r),s={done:!1,value:t[0]},o=K1(n&&n.length===t.length?n:Am(t),e),l=Pu(o,t,{ease:Array.isArray(i)?i:G1(t,i)});return{calculatedDuration:e,next:a=>(s.value=l(a),s.done=a>=e,s)}}const Q1=e=>{const t=({timestamp:n})=>e(n);return{start:()=>F.update(t,!0),stop:()=>Ze(t),now:()=>se.isProcessing?se.timestamp:it.now()}},Y1={decay:lf,inertia:lf,tween:Ps,keyframes:Ps,spring:Cm},X1=e=>e/100;class Cu extends Sm{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:s}=this.options,o=(i==null?void 0:i.KeyframeResolver)||Tu,l=(a,u)=>this.onKeyframesResolved(a,u);this.resolver=new o(s,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:s,velocity:o=0}=this.options,l=cu(n)?n:Y1[n]||Ps;let a,u;l!==Ps&&typeof t[0]!="number"&&(a=li(X1,km(t[0],t[1])),t=[0,100]);const c=l({...this.options,keyframes:t});s==="mirror"&&(u=l({...this.options,keyframes:[...t].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=Wp(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:s,mirroredGenerator:o,mapPercentToKeyframes:l,keyframes:a,calculatedDuration:u,totalDuration:c,resolvedDuration:f}=r;if(this.startTime===null)return s.next(0);const{delay:d,repeat:g,repeatType:y,repeatDelay:v,onUpdate:S}=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,w=s;if(g){const T=Math.min(this.currentTime,c)/f;let N=Math.floor(T),R=T%1;!R&&T>=1&&(R=1),R===1&&N--,N=Math.min(N,g+1),!!(N%2)&&(y==="reverse"?(R=1-R,v&&(R-=v/f)):y==="mirror"&&(w=o)),m=st(0,1,R)*f}const x=h?{done:!1,value:a[0]}:w.next(m);l&&(x.value=l(x.value));let{done:P}=x;!h&&u!==null&&(P=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const C=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&P);return C&&i!==void 0&&(x.value=Zs(a,this.options,i)),S&&S(x.value),C&&this.finish(),x}get duration(){const{resolved:t}=this;return t?dt(t.calculatedDuration):0}get time(){return dt(this.currentTime)}set time(t){t=ft(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=dt(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=Q1,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),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 Z1=new Set(["opacity","clipPath","filter","transform"]);function q1(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:l="easeInOut",times:a}={}){const u={[t]:n};a&&(u.offset=a);const c=Gp(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:s+1,direction:o==="reverse"?"alternate":"normal"})}const J1=Xa(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Cs=10,b1=2e4;function ew(e){return cu(e.type)||e.type==="spring"||!Kp(e.ease)}function tw(e,t){const n=new Cu({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let s=0;for(;!r.done&&s<b1;)r=n.sample(s),i.push(r.value),s+=Cs;return{times:void 0,keyframes:i,duration:s-Cs,ease:"linear"}}const Mm={anticipate:im,backInOut:rm,circInOut:om};function nw(e){return e in Mm}class uf extends Sm{constructor(t){super(t);const{name:n,motionValue:r,element:i,keyframes:s}=this.options;this.resolver=new xm(s,(o,l)=>this.onKeyframesResolved(o,l),n,r,i),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:r=300,times:i,ease:s,type:o,motionValue:l,name:a,startTime:u}=this.options;if(!l.owner||!l.owner.current)return!1;if(typeof s=="string"&&Ts()&&nw(s)&&(s=Mm[s]),ew(this.options)){const{onComplete:f,onUpdate:d,motionValue:g,element:y,...v}=this.options,S=tw(t,v);t=S.keyframes,t.length===1&&(t[1]=t[0]),r=S.duration,i=S.times,s=S.ease,o="keyframes"}const c=q1(l.owner.current,a,t,{...this.options,duration:r,times:i,ease:s});return c.startTime=u??this.calcStartTime(),this.pendingTimeline?(Gc(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:f}=this.options;l.set(Zs(t,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:i,type:o,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return dt(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return dt(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=ft(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 we;const{animation:r}=n;Gc(r,t)}return we}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:s,ease:o,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,y=new Cu({...g,keyframes:r,duration:i,type:s,ease:o,times:l,isGenerator:!0}),v=ft(this.time);u.setWithVelocity(y.sample(v-Cs).value,y.sample(v).value,Cs)}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:s,damping:o,type:l}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:u}=n.owner.getProps();return J1()&&r&&Z1.has(r)&&!a&&!u&&!i&&s!=="mirror"&&o!==0&&l!=="inertia"}}const rw={type:"spring",stiffness:500,damping:25,restSpeed:10},iw=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),sw={type:"keyframes",duration:.8},ow={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},lw=(e,{keyframes:t})=>t.length>2?sw:hn.has(e)?e.startsWith("scale")?iw(t[1]):rw:ow;function aw({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:l,from:a,elapsed:u,...c}){return!!Object.keys(c).length}const Eu=(e,t,n,r={},i,s)=>o=>{const l=uu(r,e)||{},a=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-ft(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:()=>{o(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:s?void 0:i};aw(l)||(c={...c,...lw(e,c)}),c.duration&&(c.duration=ft(c.duration)),c.repeatDelay&&(c.repeatDelay=ft(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&&!s&&t.get()!==void 0){const d=Zs(c.keyframes,l);if(d!==void 0)return F.update(()=>{c.onUpdate(d),c.onComplete()}),new D0([])}return!s&&uf.supports(c)?new uf(c):new Cu(c)};function uw({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Lm(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:l,...a}=t;r&&(o=r);const u=[],c=i&&e.animationState&&e.animationState.getState()[i];for(const f in a){const d=e.getValue(f,(s=e.latestValues[f])!==null&&s!==void 0?s:null),g=a[f];if(g===void 0||c&&uw(c,f))continue;const y={delay:n,...uu(o||{},f)};let v=!1;if(window.MotionHandoffAnimation){const p=Jp(e);if(p){const h=window.MotionHandoffAnimation(p,f,F);h!==null&&(y.startTime=h,v=!0)}}zl(e,f),d.start(Eu(f,d,g,e.shouldReduceMotion&&qp.has(f)?{type:!1}:y,e,v));const S=d.animation;S&&u.push(S)}return l&&Promise.all(u).then(()=>{F.update(()=>{l&&W0(e,l)})}),u}function Gl(e,t,n={}){var r;const i=Xs(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(s=n.transitionOverride);const o=i?()=>Promise.all(Lm(e,i,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:f,staggerDirection:d}=s;return cw(e,t,c+u,f,d,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[u,c]=a==="beforeChildren"?[o,l]:[l,o];return u().then(()=>c())}else return Promise.all([o(),l(n.delay)])}function cw(e,t,n=0,r=0,i=1,s){const o=[],l=(e.variantChildren.size-1)*r,a=i===1?(u=0)=>u*r:(u=0)=>l-u*r;return Array.from(e.variantChildren).sort(fw).forEach((u,c)=>{u.notify("AnimationStart",t),o.push(Gl(u,t,{...s,delay:n+a(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(o)}function fw(e,t){return e.sortNodePosition(t)}function dw(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Gl(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Gl(e,t,n);else{const i=typeof t=="function"?Xs(e,t,n.custom):t;r=Promise.all(Lm(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const hw=qa.length;function Dm(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Dm(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<hw;n++){const r=qa[n],i=e.props[r];(Zr(i)||i===!1)&&(t[r]=i)}return t}const pw=[...Za].reverse(),mw=Za.length;function gw(e){return t=>Promise.all(t.map(({animation:n,options:r})=>dw(e,n,r)))}function yw(e){let t=gw(e),n=cf(),r=!0;const i=a=>(u,c)=>{var f;const d=Xs(e,c,a==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){const{transition:g,transitionEnd:y,...v}=d;u={...u,...v,...y}}return u};function s(a){t=a(e)}function o(a){const{props:u}=e,c=Dm(e.parent)||{},f=[],d=new Set;let g={},y=1/0;for(let S=0;S<mw;S++){const p=pw[S],h=n[p],m=u[p]!==void 0?u[p]:c[p],w=Zr(m),x=p===a?h.isActive:null;x===!1&&(y=S);let P=m===c[p]&&m!==u[p]&&w;if(P&&r&&e.manuallyAnimateOnMount&&(P=!1),h.protectedKeys={...g},!h.isActive&&x===null||!m&&!h.prevProp||Qs(m)||typeof m=="boolean")continue;const C=vw(h.prevProp,m);let T=C||p===a&&h.isActive&&!P&&w||S>y&&w,N=!1;const R=Array.isArray(m)?m:[m];let re=R.reduce(i(p),{});x===!1&&(re={});const{prevResolvedValues:vt={}}=h,Wt={...vt,...re},bn=b=>{T=!0,d.has(b)&&(N=!0,d.delete(b)),h.needsAnimating[b]=!0;const A=e.getValue(b);A&&(A.liveStyle=!1)};for(const b in Wt){const A=re[b],V=vt[b];if(g.hasOwnProperty(b))continue;let _=!1;Ol(A)&&Ol(V)?_=!Up(A,V):_=A!==V,_?A!=null?bn(b):d.add(b):A!==void 0&&d.has(b)?bn(b):h.protectedKeys[b]=!0}h.prevProp=m,h.prevResolvedValues=re,h.isActive&&(g={...g,...re}),r&&e.blockInitialAnimation&&(T=!1),T&&(!(P&&C)||N)&&f.push(...R.map(b=>({animation:b,options:{type:p}})))}if(d.size){const S={};d.forEach(p=>{const h=e.getBaseTarget(p),m=e.getValue(p);m&&(m.liveStyle=!0),S[p]=h??null}),f.push({animation:S})}let v=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(v=!1),r=!1,v?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=o(a);for(const d in n)n[d].protectedKeys={};return f}return{animateChanges:o,setActive:l,setAnimateFunction:s,getState:()=>n,reset:()=>{n=cf(),r=!0}}}function vw(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Up(t,e):!1}function Gt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function cf(){return{animate:Gt(!0),whileInView:Gt(),whileHover:Gt(),whileTap:Gt(),whileDrag:Gt(),whileFocus:Gt(),exit:Gt()}}class $t{constructor(t){this.isMounted=!1,this.node=t}update(){}}class ww extends $t{constructor(t){super(t),t.animationState||(t.animationState=yw(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Qs(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 xw=0;class Sw extends $t{constructor(){super(...arguments),this.id=xw++}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 Tw={animation:{Feature:ww},exit:{Feature:Sw}};function br(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function ai(e){return{point:{x:e.pageX,y:e.pageY}}}const kw=e=>t=>du(t)&&e(t,ai(t));function Lr(e,t,n,r){return br(e,t,kw(n),r)}const ff=(e,t)=>Math.abs(e-t);function Pw(e,t){const n=ff(e.x,t.x),r=ff(e.y,t.y);return Math.sqrt(n**2+r**2)}class Rm{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:s=!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=_o(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,g=Pw(f.offset,{x:0,y:0})>=3;if(!d&&!g)return;const{point:y}=f,{timestamp:v}=se;this.history.push({...y,timestamp:v});const{onStart:S,onMove:p}=this.handlers;d||(S&&S(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),p&&p(this.lastMoveEvent,f)},this.handlePointerMove=(f,d)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Vo(d,this.transformPagePoint),F.update(this.updatePoint,!0)},this.handlePointerUp=(f,d)=>{this.end();const{onEnd:g,onSessionEnd:y,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=_o(f.type==="pointercancel"?this.lastMoveEventInfo:Vo(d,this.transformPagePoint),this.history);this.startEvent&&g&&g(f,S),y&&y(f,S)},!du(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const o=ai(t),l=Vo(o,this.transformPagePoint),{point:a}=l,{timestamp:u}=se;this.history=[{...a,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,_o(l,this.history)),this.removeListeners=li(Lr(this.contextWindow,"pointermove",this.handlePointerMove),Lr(this.contextWindow,"pointerup",this.handlePointerUp),Lr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ze(this.updatePoint)}}function Vo(e,t){return t?{point:t(e.point)}:e}function df(e,t){return{x:e.x-t.x,y:e.y-t.y}}function _o({point:e},t){return{point:e,delta:df(e,Vm(t)),offset:df(e,Cw(t)),velocity:Ew(t,.1)}}function Cw(e){return e[0]}function Vm(e){return e[e.length-1]}function Ew(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Vm(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>ft(t)));)n--;if(!r)return{x:0,y:0};const s=dt(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const _m=1e-4,Aw=1-_m,Mw=1+_m,Nm=.01,Lw=0-Nm,Dw=0+Nm;function Re(e){return e.max-e.min}function Rw(e,t,n){return Math.abs(e-t)<=n}function hf(e,t,n,r=.5){e.origin=r,e.originPoint=H(t.min,t.max,e.origin),e.scale=Re(n)/Re(t),e.translate=H(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Aw&&e.scale<=Mw||isNaN(e.scale))&&(e.scale=1),(e.translate>=Lw&&e.translate<=Dw||isNaN(e.translate))&&(e.translate=0)}function Dr(e,t,n,r){hf(e.x,t.x,n.x,r?r.originX:void 0),hf(e.y,t.y,n.y,r?r.originY:void 0)}function pf(e,t,n){e.min=n.min+t.min,e.max=e.min+Re(t)}function Vw(e,t,n){pf(e.x,t.x,n.x),pf(e.y,t.y,n.y)}function mf(e,t,n){e.min=t.min-n.min,e.max=e.min+Re(t)}function Rr(e,t,n){mf(e.x,t.x,n.x),mf(e.y,t.y,n.y)}function _w(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?H(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?H(n,e,r.max):Math.min(e,n)),e}function gf(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 Nw(e,{top:t,left:n,bottom:r,right:i}){return{x:gf(e.x,n,i),y:gf(e.y,t,r)}}function yf(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function jw(e,t){return{x:yf(e.x,t.x),y:yf(e.y,t.y)}}function Ow(e,t){let n=.5;const r=Re(e),i=Re(t);return i>r?n=cn(t.min,t.max-r,e.min):r>i&&(n=cn(e.min,e.max-i,t.min)),st(0,1,n)}function Fw(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Ql=.35;function Iw(e=Ql){return e===!1?e=0:e===!0&&(e=Ql),{x:vf(e,"left","right"),y:vf(e,"top","bottom")}}function vf(e,t,n){return{min:wf(e,t),max:wf(e,n)}}function wf(e,t){return typeof e=="number"?e:e[t]||0}const xf=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ln=()=>({x:xf(),y:xf()}),Sf=()=>({min:0,max:0}),Z=()=>({x:Sf(),y:Sf()});function je(e){return[e("x"),e("y")]}function jm({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function zw({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Bw(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 No(e){return e===void 0||e===1}function Yl({scale:e,scaleX:t,scaleY:n}){return!No(e)||!No(t)||!No(n)}function Xt(e){return Yl(e)||Om(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Om(e){return Tf(e.x)||Tf(e.y)}function Tf(e){return e&&e!=="0%"}function Es(e,t,n){const r=e-n,i=t*r;return n+i}function kf(e,t,n,r,i){return i!==void 0&&(e=Es(e,i,r)),Es(e,n,r)+t}function Xl(e,t=0,n=1,r,i){e.min=kf(e.min,t,n,r,i),e.max=kf(e.max,t,n,r,i)}function Fm(e,{x:t,y:n}){Xl(e.x,t.translate,t.scale,t.originPoint),Xl(e.y,n.translate,n.scale,n.originPoint)}const Pf=.999999999999,Cf=1.0000000000001;function Uw(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let l=0;l<i;l++){s=n[l],o=s.projectionDelta;const{visualElement:a}=s.options;a&&a.props.style&&a.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Rn(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Fm(e,o)),r&&Xt(s.latestValues)&&Rn(e,s.latestValues))}t.x<Cf&&t.x>Pf&&(t.x=1),t.y<Cf&&t.y>Pf&&(t.y=1)}function Dn(e,t){e.min=e.min+t,e.max=e.max+t}function Ef(e,t,n,r,i=.5){const s=H(e.min,e.max,i);Xl(e,t,n,s,r)}function Rn(e,t){Ef(e.x,t.x,t.scaleX,t.scale,t.originX),Ef(e.y,t.y,t.scaleY,t.scale,t.originY)}function Im(e,t){return jm(Bw(e.getBoundingClientRect(),t))}function $w(e,t,n){const r=Im(e,n),{scroll:i}=t;return i&&(Dn(r.x,i.offset.x),Dn(r.y,i.offset.y)),r}const zm=({current:e})=>e?e.ownerDocument.defaultView:null,Ww=new WeakMap;class Hw{constructor(t){this.openDragLock=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(ai(c).point)},s=(c,f)=>{const{drag:d,dragPropagation:g,onDragStart:y}=this.getProps();if(d&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=I0(d),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),je(S=>{let p=this.getAxisMotionValue(S).get()||0;if(rt.test(p)){const{projection:h}=this.visualElement;if(h&&h.layout){const m=h.layout.layoutBox[S];m&&(p=Re(m)*(parseFloat(p)/100))}}this.originPoint[S]=p}),y&&F.postRender(()=>y(c,f)),zl(this.visualElement,"transform");const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},o=(c,f)=>{const{dragPropagation:d,dragDirectionLock:g,onDirectionLock:y,onDrag:v}=this.getProps();if(!d&&!this.openDragLock)return;const{offset:S}=f;if(g&&this.currentDirection===null){this.currentDirection=Kw(S),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",f.point,S),this.updateAxis("y",f.point,S),this.visualElement.render(),v&&v(c,f)},l=(c,f)=>this.stop(c,f),a=()=>je(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 Rm(t,{onSessionStart:i,onStart:s,onMove:o,onSessionEnd:l,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:zm(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:s}=this.getProps();s&&F.postRender(()=>s(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.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Vi(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=_w(o,this.constraints[t],this.elastic[t])),s.set(o)}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,s=this.constraints;n&&An(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=Nw(i.layoutBox,n):this.constraints=!1,this.elastic=Iw(r),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&je(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=Fw(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!An(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=$w(r,i.root,this.visualElement.getTransformPagePoint());let o=jw(i.layout.layoutBox,s);if(n){const l=n(zw(o));this.hasMutatedConstraints=!!l,l&&(o=jm(l))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),a=this.constraints||{},u=je(c=>{if(!Vi(c,n,this.currentDirection))return;let f=a&&a[c]||{};o&&(f={min:0,max:0});const d=i?200:1e6,g=i?40:1e7,y={type:"inertia",velocity:r?t[c]:0,bounceStiffness:d,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(c,y)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return zl(this.visualElement,t),r.start(Eu(t,r,0,n,this.visualElement,!1))}stopAnimation(){je(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){je(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){je(n=>{const{drag:r}=this.getProps();if(!Vi(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:l}=i.layout.layoutBox[n];s.set(t[n]-H(o,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!An(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};je(o=>{const l=this.getAxisMotionValue(o);if(l&&this.constraints!==!1){const a=l.get();i[o]=Ow({min:a,max:a},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),je(o=>{if(!Vi(o,t,null))return;const l=this.getAxisMotionValue(o),{min:a,max:u}=this.constraints[o];l.set(H(a,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;Ww.set(this.visualElement,this);const t=this.visualElement.current,n=Lr(t,"pointerdown",a=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(a)}),r=()=>{const{dragConstraints:a}=this.getProps();An(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),F.read(r);const o=br(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:a,hasLayoutChanged:u})=>{this.isDragging&&u&&(je(c=>{const f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=a[c].translate,f.set(f.get()+a[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=Ql,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:l}}}function Vi(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Kw(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Gw extends $t{constructor(t){super(t),this.removeGroupControls=we,this.removeListeners=we,this.controls=new Hw(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||we}unmount(){this.removeGroupControls(),this.removeListeners()}}const Af=e=>(t,n)=>{e&&F.postRender(()=>e(t,n))};class Qw extends $t{constructor(){super(...arguments),this.removePointerDownListener=we}onPointerDown(t){this.session=new Rm(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:zm(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Af(t),onStart:Af(n),onMove:r,onEnd:(s,o)=>{delete this.session,i&&F.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=Lr(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 Qi={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Mf(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ar={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(D.test(e))e=parseFloat(e);else return e;const n=Mf(e,t.target.x),r=Mf(e,t.target.y);return`${n}% ${r}%`}},Yw={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=It.parse(e);if(i.length>5)return r;const s=It.createTransformer(e),o=typeof i[0]!="number"?1:0,l=n.x.scale*t.x,a=n.y.scale*t.y;i[0+o]/=l,i[1+o]/=a;const u=H(l,a,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}};class Xw extends E.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;w0(Zw),s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Qi.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,o=r.projection;return o&&(o.isPresent=s,i||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||F.postRender(()=>{const l=o.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ba.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 Bm(e){const[t,n]=Sp(),r=E.useContext(Qa);return L.jsx(Xw,{...e,layoutGroup:r,switchLayoutGroup:E.useContext(Mp),isPresent:t,safeToRemove:n})}const Zw={borderRadius:{...ar,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ar,borderTopRightRadius:ar,borderBottomLeftRadius:ar,borderBottomRightRadius:ar,boxShadow:Yw};function qw(e,t,n){const r=me(e)?e:et(e);return r.start(Eu("",r,t,n)),r.animation}function Jw(e){return e instanceof SVGElement&&e.tagName!=="svg"}const bw=(e,t)=>e.depth-t.depth;class ex{constructor(){this.children=[],this.isDirty=!1}add(t){hu(this.children,t),this.isDirty=!0}remove(t){pu(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(bw),this.isDirty=!1,this.children.forEach(t)}}function tx(e,t){const n=it.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(Ze(r),e(s-t))};return F.read(r,!0),()=>Ze(r)}const Um=["TopLeft","TopRight","BottomLeft","BottomRight"],nx=Um.length,Lf=e=>typeof e=="string"?parseFloat(e):e,Df=e=>typeof e=="number"||D.test(e);function rx(e,t,n,r,i,s){i?(e.opacity=H(0,n.opacity!==void 0?n.opacity:1,ix(r)),e.opacityExit=H(t.opacity!==void 0?t.opacity:1,0,sx(r))):s&&(e.opacity=H(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;o<nx;o++){const l=`border${Um[o]}Radius`;let a=Rf(t,l),u=Rf(n,l);if(a===void 0&&u===void 0)continue;a||(a=0),u||(u=0),a===0||u===0||Df(a)===Df(u)?(e[l]=Math.max(H(Lf(a),Lf(u),r),0),(rt.test(u)||rt.test(a))&&(e[l]+="%")):e[l]=u}(t.rotate||n.rotate)&&(e.rotate=H(t.rotate||0,n.rotate||0,r))}function Rf(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const ix=$m(0,.5,sm),sx=$m(.5,.95,we);function $m(e,t,n){return r=>r<e?0:r>t?1:n(cn(e,t,r))}function Vf(e,t){e.min=t.min,e.max=t.max}function Ne(e,t){Vf(e.x,t.x),Vf(e.y,t.y)}function _f(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Nf(e,t,n,r,i){return e-=t,e=Es(e,1/n,r),i!==void 0&&(e=Es(e,1/i,r)),e}function ox(e,t=0,n=1,r=.5,i,s=e,o=e){if(rt.test(t)&&(t=parseFloat(t),t=H(o.min,o.max,t/100)-o.min),typeof t!="number")return;let l=H(s.min,s.max,r);e===s&&(l-=t),e.min=Nf(e.min,t,n,l,i),e.max=Nf(e.max,t,n,l,i)}function jf(e,t,[n,r,i],s,o){ox(e,t[n],t[r],t[i],t.scale,s,o)}const lx=["x","scaleX","originX"],ax=["y","scaleY","originY"];function Of(e,t,n,r){jf(e.x,t,lx,n?n.x:void 0,r?r.x:void 0),jf(e.y,t,ax,n?n.y:void 0,r?r.y:void 0)}function Ff(e){return e.translate===0&&e.scale===1}function Wm(e){return Ff(e.x)&&Ff(e.y)}function If(e,t){return e.min===t.min&&e.max===t.max}function ux(e,t){return If(e.x,t.x)&&If(e.y,t.y)}function zf(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Hm(e,t){return zf(e.x,t.x)&&zf(e.y,t.y)}function Bf(e){return Re(e.x)/Re(e.y)}function Uf(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class cx{constructor(){this.members=[]}add(t){hu(this.members,t),t.scheduleRender()}remove(t){if(pu(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 s=this.members[i];if(s.isPresent!==!1){r=s;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 fx(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}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:y}=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) `),y&&(r+=`skewY(${y}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 Zt={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},yr=typeof window<"u"&&window.MotionDebug!==void 0,jo=["","X","Y","Z"],dx={visibility:"hidden"},$f=1e3;let hx=0;function Oo(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Km(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Jp(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",F,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Km(r)}function Gm({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},l=t==null?void 0:t()){this.id=hx++,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,yr&&(Zt.totalNodes=Zt.resolvedTargetDeltas=Zt.recalculatedProjection=0),this.nodes.forEach(gx),this.nodes.forEach(Sx),this.nodes.forEach(Tx),this.nodes.forEach(yx),yr&&window.MotionDebug.record(Zt)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,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;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new ex)}addEventListener(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new mu),this.eventHandlers.get(o).add(l)}notifyListeners(o,...l){const a=this.eventHandlers.get(o);a&&a.notify(...l)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,l=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Jw(o),this.instance=o;const{layoutId:a,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),l&&(u||a)&&(this.isLayoutDirty=!0),e){let f;const d=()=>this.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=tx(d,250),Qi.hasAnimatedSinceResize&&(Qi.hasAnimatedSinceResize=!1,this.nodes.forEach(Hf))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:g,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||Ax,{onLayoutAnimationStart:S,onLayoutAnimationComplete:p}=c.getProps(),h=!this.targetLayout||!Hm(this.targetLayout,y)||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 w={...uu(v,"layout"),onPlay:S,onComplete:p};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else d||Hf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ze(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(kx),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Km(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const f=this.path[c];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:l,layout:a}=this.options;if(l===void 0&&!a)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Wf);return}this.isUpdating||this.nodes.forEach(wx),this.isUpdating=!1,this.nodes.forEach(xx),this.nodes.forEach(px),this.nodes.forEach(mx),this.clearAllSnapshots();const l=it.now();se.delta=st(0,1e3/60,l-se.timestamp),se.timestamp=l,se.isProcessing=!0,Eo.update.process(se),Eo.preRender.process(se),Eo.render.process(se),se.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ba.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(vx),this.sharedNodes.forEach(Px)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,F.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){F.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a<this.path.length;a++)this.path[a].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Z(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(l=!1),l){const a=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:a,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:a}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!Wm(this.projectionDelta),a=this.getTransformTemplate(),u=a?a(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;o&&(l||Xt(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const l=this.measurePageBox();let a=this.removeElementScroll(l);return o&&(a=this.removeTransform(a)),Mx(a),{animationId:this.root.animationId,measuredBox:l,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){var o;const{visualElement:l}=this.options;if(!l)return Z();const a=l.measureViewportBox();if(!(((o=this.scroll)===null||o===void 0?void 0:o.wasRoot)||this.path.some(Lx))){const{scroll:c}=this.root;c&&(Dn(a.x,c.offset.x),Dn(a.y,c.offset.y))}return a}removeElementScroll(o){var l;const a=Z();if(Ne(a,o),!((l=this.scroll)===null||l===void 0)&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:f,options:d}=c;c!==this.root&&f&&d.layoutScroll&&(f.wasRoot&&Ne(a,o),Dn(a.x,f.offset.x),Dn(a.y,f.offset.y))}return a}applyTransform(o,l=!1){const a=Z();Ne(a,o);for(let u=0;u<this.path.length;u++){const c=this.path[u];!l&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Rn(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Xt(c.latestValues)&&Rn(a,c.latestValues)}return Xt(this.latestValues)&&Rn(a,this.latestValues),a}removeTransform(o){const l=Z();Ne(l,o);for(let a=0;a<this.path.length;a++){const u=this.path[a];if(!u.instance||!Xt(u.latestValues))continue;Yl(u.latestValues)&&u.updateSnapshot();const c=Z(),f=u.measurePageBox();Ne(c,f),Of(l,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Xt(this.latestValues)&&Of(l,this.latestValues),l}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==se.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var l;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==a;if(!(o||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:f,layoutId:d}=this.options;if(!(!this.layout||!(f||d))){if(this.resolvedRelativeTargetAt=se.timestamp,!this.targetDelta&&!this.relativeTarget){const g=this.getClosestProjectingParent();g&&g.layout&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Z(),this.relativeTargetOrigin=Z(),Rr(this.relativeTargetOrigin,this.layout.layoutBox,g.layout.layoutBox),Ne(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Z(),this.targetWithTransforms=Z()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Vw(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ne(this.target,this.layout.layoutBox),Fm(this.target,this.targetDelta)):Ne(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const g=this.getClosestProjectingParent();g&&!!g.resumingFrom==!!this.resumingFrom&&!g.options.layoutScroll&&g.target&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Z(),this.relativeTargetOrigin=Z(),Rr(this.relativeTargetOrigin,this.target,g.target),Ne(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}yr&&Zt.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Yl(this.parent.latestValues)||Om(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const l=this.getLead(),a=!!this.resumingFrom||this!==l;let u=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(u=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===se.timestamp&&(u=!1),u)return;const{layout:c,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||f))return;Ne(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,g=this.treeScale.y;Uw(this.layoutCorrected,this.treeScale,this.path,a),l.layout&&!l.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(l.target=l.layout.layoutBox,l.targetWithTransforms=Z());const{target:y}=l;if(!y){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(_f(this.prevProjectionDelta.x,this.projectionDelta.x),_f(this.prevProjectionDelta.y,this.projectionDelta.y)),Dr(this.projectionDelta,this.layoutCorrected,y,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==g||!Uf(this.projectionDelta.x,this.prevProjectionDelta.x)||!Uf(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",y)),yr&&Zt.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var l;if((l=this.options.visualElement)===null||l===void 0||l.scheduleRender(),o){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ln(),this.projectionDelta=Ln(),this.projectionDeltaWithTransform=Ln()}setAnimationOrigin(o,l=!1){const a=this.snapshot,u=a?a.latestValues:{},c={...this.latestValues},f=Ln();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const d=Z(),g=a?a.source:void 0,y=this.layout?this.layout.source:void 0,v=g!==y,S=this.getStack(),p=!S||S.members.length<=1,h=!!(v&&!p&&this.options.crossfade===!0&&!this.path.some(Ex));this.animationProgress=0;let m;this.mixTargetDelta=w=>{const x=w/1e3;Kf(f.x,o.x,x),Kf(f.y,o.y,x),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Rr(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Cx(this.relativeTarget,this.relativeTargetOrigin,d,x),m&&ux(this.relativeTarget,m)&&(this.isProjectionDirty=!1),m||(m=Z()),Ne(m,this.relativeTarget)),v&&(this.animationValues=c,rx(c,u,this.latestValues,x,h,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=x},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ze(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=F.update(()=>{Qi.hasAnimatedSinceResize=!0,this.currentAnimation=qw(0,$f,{...o,onUpdate:l=>{this.mixTargetDelta(l),o.onUpdate&&o.onUpdate(l)},onComplete:()=>{o.onComplete&&o.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 o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta($f),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:l,target:a,layout:u,latestValues:c}=o;if(!(!l||!a||!u)){if(this!==o&&this.layout&&u&&Qm(this.options.animationType,this.layout.layoutBox,u.layoutBox)){a=this.target||Z();const f=Re(this.layout.layoutBox.x);a.x.min=o.target.x.min,a.x.max=a.x.min+f;const d=Re(this.layout.layoutBox.y);a.y.min=o.target.y.min,a.y.max=a.y.min+d}Ne(l,a),Rn(l,c),Dr(this.projectionDeltaWithTransform,this.layoutCorrected,l,c)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new cx),this.sharedNodes.get(o).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 o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:l}=this.options;return l?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:l}=this.options;return l?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:l,preserveFollowOpacity:a}={}){const u=this.getStack();u&&u.promote(this,a),o&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let l=!1;const{latestValues:a}=o;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(l=!0),!l)return;const u={};a.z&&Oo("z",o,u,this.animationValues);for(let c=0;c<jo.length;c++)Oo(`rotate${jo[c]}`,o,u,this.animationValues),Oo(`skew${jo[c]}`,o,u,this.animationValues);o.render();for(const c in u)o.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);o.scheduleRender()}getProjectionStyles(o){var l,a;if(!this.instance||this.isSVG)return;if(!this.isVisible)return dx;const u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=Ki(o==null?void 0:o.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const v={};return this.options.layoutId&&(v.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,v.pointerEvents=Ki(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!Xt(this.latestValues)&&(v.transform=c?c({},""):"none",this.hasProjected=!1),v}const d=f.animationValues||f.latestValues;this.applyTransformsToTarget(),u.transform=fx(this.projectionDeltaWithTransform,this.treeScale,d),c&&(u.transform=c(d,u.transform));const{x:g,y}=this.projectionDelta;u.transformOrigin=`${g.origin*100}% ${y.origin*100}% 0`,f.animationValues?u.opacity=f===this?(a=(l=d.opacity)!==null&&l!==void 0?l:this.latestValues.opacity)!==null&&a!==void 0?a:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:u.opacity=f===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const v in Ss){if(d[v]===void 0)continue;const{correct:S,applyTo:p}=Ss[v],h=u.transform==="none"?d[v]:S(d[v],f);if(p){const m=p.length;for(let w=0;w<m;w++)u[p[w]]=h}else u[v]=h}return this.options.layoutId&&(u.pointerEvents=f===this?Ki(o==null?void 0:o.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var l;return(l=o.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(Wf),this.root.sharedNodes.clear()}}}function px(e){e.updateLayout()}function mx(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:s}=e.options,o=n.source!==e.layout.source;s==="size"?je(f=>{const d=o?n.measuredBox[f]:n.layoutBox[f],g=Re(d);d.min=r[f].min,d.max=d.min+g}):Qm(s,n.layoutBox,r)&&je(f=>{const d=o?n.measuredBox[f]:n.layoutBox[f],g=Re(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=Ln();Dr(l,r,n.layoutBox);const a=Ln();o?Dr(a,e.applyTransform(i,!0),n.measuredBox):Dr(a,r,n.layoutBox);const u=!Wm(l);let c=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:g}=f;if(d&&g){const y=Z();Rr(y,n.layoutBox,d.layoutBox);const v=Z();Rr(v,r,g.layoutBox),Hm(y,v)||(c=!0),f.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=y,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:a,layoutDelta:l,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function gx(e){yr&&Zt.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 yx(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function vx(e){e.clearSnapshot()}function Wf(e){e.clearMeasurements()}function wx(e){e.isLayoutDirty=!1}function xx(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Hf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Sx(e){e.resolveTargetDelta()}function Tx(e){e.calcProjection()}function kx(e){e.resetSkewAndRotation()}function Px(e){e.removeLeadSnapshot()}function Kf(e,t,n){e.translate=H(t.translate,0,n),e.scale=H(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Gf(e,t,n,r){e.min=H(t.min,n.min,r),e.max=H(t.max,n.max,r)}function Cx(e,t,n,r){Gf(e.x,t.x,n.x,r),Gf(e.y,t.y,n.y,r)}function Ex(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Ax={duration:.45,ease:[.4,0,.1,1]},Qf=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Yf=Qf("applewebkit/")&&!Qf("chrome/")?Math.round:we;function Xf(e){e.min=Yf(e.min),e.max=Yf(e.max)}function Mx(e){Xf(e.x),Xf(e.y)}function Qm(e,t,n){return e==="position"||e==="preserve-aspect"&&!Rw(Bf(t),Bf(n),.2)}function Lx(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const Dx=Gm({attachResizeListener:(e,t)=>br(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Fo={current:void 0},Ym=Gm({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Fo.current){const e=new Dx({});e.mount(window),e.setOptions({layoutScroll:!0}),Fo.current=e}return Fo.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Rx={pan:{Feature:Qw},drag:{Feature:Gw,ProjectionNode:Ym,MeasureLayout:Bm}};function Zf(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&F.postRender(()=>s(t,ai(t)))}class Vx extends $t{mount(){const{current:t}=this.node;t&&(this.unmount=_0(t,n=>(Zf(this.node,n,"Start"),r=>Zf(this.node,r,"End"))))}unmount(){}}class _x extends $t{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=li(br(this.node.current,"focus",()=>this.onFocus()),br(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function qf(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),s=r[i];s&&F.postRender(()=>s(t,ai(t)))}class Nx extends $t{mount(){const{current:t}=this.node;t&&(this.unmount=F0(t,n=>(qf(this.node,n,"Start"),(r,{success:i})=>qf(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Zl=new WeakMap,Io=new WeakMap,jx=e=>{const t=Zl.get(e.target);t&&t(e)},Ox=e=>{e.forEach(jx)};function Fx({root:e,...t}){const n=e||document;Io.has(n)||Io.set(n,{});const r=Io.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Ox,{root:e,...t})),r[i]}function Ix(e,t,n){const r=Fx(t);return Zl.set(e,n),r.observe(e),()=>{Zl.delete(e),r.unobserve(e)}}const zx={some:0,all:1};class Bx extends $t{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:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:zx[i]},l=a=>{const{isIntersecting:u}=a;if(this.isInView===u||(this.isInView=u,s&&!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 Ix(this.node.current,o,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Ux(t,n))&&this.startObserver()}unmount(){}}function Ux({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const $x={inView:{Feature:Bx},tap:{Feature:Nx},focus:{Feature:_x},hover:{Feature:Vx}},Wx={layout:{ProjectionNode:Ym,MeasureLayout:Bm}},ql={current:null},Xm={current:!1};function Hx(){if(Xm.current=!0,!!Ya)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ql.current=e.matches;e.addListener(t),t()}else ql.current=!1}const Kx=[...wm,he,It],Gx=e=>Kx.find(vm(e)),Jf=new WeakMap;function Qx(e,t,n){for(const r in t){const i=t[r],s=n[r];if(me(i))e.addValue(r,i);else if(me(s))e.addValue(r,et(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,et(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const bf=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Yx{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Tu,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 g=it.now();this.renderScheduledAt<g&&(this.renderScheduledAt=g,F.render(this.render,!1,!0))};const{latestValues:a,renderState:u,onUpdate:c}=o;this.onUpdate=c,this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=Ys(n),this.isVariantNode=Ep(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const g in d){const y=d[g];a[g]!==void 0&&me(y)&&y.set(a[g],!1)}}mount(t){this.current=t,Jf.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Xm.current||Hx(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ql.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Jf.delete(this.current),this.projection&&this.projection.unmount(),Ze(this.notifyUpdate),Ze(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&&F.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),s(),o&&o(),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 Kn){const n=Kn[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 s=this.features[t];s.isMounted?s.update():(s.mount(),s.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;r<bf.length;r++){const i=bf[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,o=t[s];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=Qx(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.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=et(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"&&(gm(i)||lm(i))?i=parseFloat(i):!Gx(i)&&It.test(n)&&(i=hm(t,n)),this.setBaseTarget(t,me(i)?i.get():i)),me(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 o=tu(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(i=o[t])}if(r&&i!==void 0)return i;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!me(s)?s:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new mu),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Zm extends Yx{constructor(){super(...arguments),this.KeyframeResolver=xm}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]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;me(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Xx(e){return window.getComputedStyle(e)}class Zx extends Zm{constructor(){super(...arguments),this.type="html",this.renderInstance=jp}readValueFromInstance(t,n){if(hn.has(n)){const r=Su(n);return r&&r.default||0}else{const r=Xx(t),i=(Vp(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Im(t,n)}build(t,n,r){iu(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return au(t,n,r)}}class qx extends Zm{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=Su(n);return r&&r.default||0}return n=Op.has(n)?n:Ja(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return zp(t,n,r)}build(t,n,r){su(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){Fp(t,n,r,i)}mount(t){this.isSVGTag=lu(t.tagName),super.mount(t)}}const Jx=(e,t)=>eu(e)?new qx(t):new Zx(t,{allowProjection:e!==E.Fragment}),bx=M0({...Tw,...$x,...Rx,...Wx},Jx),ee=Wv(bx);function qm(e,t){let n;const r=()=>{const{currentTime:i}=t,o=(i===null?0:i.value)/100;n!==o&&e(o),n=o};return F.update(r,!0),()=>Ze(r)}const Yi=new WeakMap;let St;function eS(e,t){if(t){const{inlineSize:n,blockSize:r}=t[0];return{width:n,height:r}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function tS({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Yi.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return eS(e,n)}})})}function nS(e){e.forEach(tS)}function rS(){typeof ResizeObserver>"u"||(St=new ResizeObserver(nS))}function iS(e,t){St||rS();const n=Yp(e);return n.forEach(r=>{let i=Yi.get(r);i||(i=new Set,Yi.set(r,i)),i.add(t),St==null||St.observe(r)}),()=>{n.forEach(r=>{const i=Yi.get(r);i==null||i.delete(t),i!=null&&i.size||St==null||St.unobserve(r)})}}const Xi=new Set;let Vr;function sS(){Vr=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};Xi.forEach(n=>n(t))},window.addEventListener("resize",Vr)}function oS(e){return Xi.add(e),Vr||sS(),()=>{Xi.delete(e),!Xi.size&&Vr&&(Vr=void 0)}}function lS(e,t){return typeof e=="function"?oS(e):iS(e,t)}const aS=50,ed=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),uS=()=>({time:0,x:ed(),y:ed()}),cS={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function td(e,t,n,r){const i=n[t],{length:s,position:o}=cS[t],l=i.current,a=n.time;i.current=e[`scroll${o}`],i.scrollLength=e[`scroll${s}`]-e[`client${s}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=cn(0,i.scrollLength,i.current);const u=r-a;i.velocity=u>aS?0:gu(i.current-l,u)}function fS(e,t,n){td(e,"x",t,n),td(e,"y",t,n),t.time=n}function dS(e,t){const n={x:0,y:0};let r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const i=r.getBoundingClientRect();r=r.parentElement;const s=r.getBoundingClientRect();n.x+=i.left-s.left,n.y+=i.top-s.top}else if(r instanceof SVGGraphicsElement){const{x:i,y:s}=r.getBBox();n.x+=i,n.y+=s;let o=null,l=r.parentNode;for(;!o;)l.tagName==="svg"&&(o=l),l=r.parentNode;r=o}else break;return n}const Jl={start:0,center:.5,end:1};function nd(e,t,n=0){let r=0;if(e in Jl&&(e=Jl[e]),typeof e=="string"){const i=parseFloat(e);e.endsWith("px")?r=i:e.endsWith("%")?e=i/100:e.endsWith("vw")?r=i/100*document.documentElement.clientWidth:e.endsWith("vh")?r=i/100*document.documentElement.clientHeight:e=i}return typeof e=="number"&&(r=t*e),n+r}const hS=[0,0];function pS(e,t,n,r){let i=Array.isArray(e)?e:hS,s=0,o=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,Jl[e]?e:"0"]),s=nd(i[0],n,r),o=nd(i[1],t),s-o}const mS={All:[[0,0],[1,1]]},gS={x:0,y:0};function yS(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function vS(e,t,n){const{offset:r=mS.All}=n,{target:i=e,axis:s="y"}=n,o=s==="y"?"height":"width",l=i!==e?dS(i,e):gS,a=i===e?{width:e.scrollWidth,height:e.scrollHeight}:yS(i),u={width:e.clientWidth,height:e.clientHeight};t[s].offset.length=0;let c=!t[s].interpolate;const f=r.length;for(let d=0;d<f;d++){const g=pS(r[d],u[o],a[o],l[s]);!c&&g!==t[s].interpolatorOffsets[d]&&(c=!0),t[s].offset[d]=g}c&&(t[s].interpolate=Pu(t[s].offset,Am(r),{clamp:!1}),t[s].interpolatorOffsets=[...t[s].offset]),t[s].progress=st(0,1,t[s].interpolate(t[s].current))}function wS(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}function xS(e,t,n,r={}){return{measure:()=>wS(e,r.target,n),update:i=>{fS(e,n,i),(r.offset||r.target)&&vS(e,n,r)},notify:()=>t(n)}}const ur=new WeakMap,rd=new WeakMap,zo=new WeakMap,id=e=>e===document.documentElement?window:e;function Au(e,{container:t=document.documentElement,...n}={}){let r=zo.get(t);r||(r=new Set,zo.set(t,r));const i=uS(),s=xS(t,e,i,n);if(r.add(s),!ur.has(t)){const l=()=>{for(const d of r)d.measure()},a=()=>{for(const d of r)d.update(se.timestamp)},u=()=>{for(const d of r)d.notify()},c=()=>{F.read(l,!1,!0),F.read(a,!1,!0),F.update(u,!1,!0)};ur.set(t,c);const f=id(t);window.addEventListener("resize",c,{passive:!0}),t!==document.documentElement&&rd.set(t,lS(t,c)),f.addEventListener("scroll",c,{passive:!0})}const o=ur.get(t);return F.read(o,!1,!0),()=>{var l;Ze(o);const a=zo.get(t);if(!a||(a.delete(s),a.size))return;const u=ur.get(t);ur.delete(t),u&&(id(t).removeEventListener("scroll",u),(l=rd.get(t))===null||l===void 0||l(),window.removeEventListener("resize",u))}}function SS({source:e,container:t,axis:n="y"}){e&&(t=e);const r={value:0},i=Au(s=>{r.value=s[n].progress*100},{container:t,axis:n});return{currentTime:r,cancel:i}}const Bo=new Map;function Jm({source:e,container:t=document.documentElement,axis:n="y"}={}){e&&(t=e),Bo.has(t)||Bo.set(t,{});const r=Bo.get(t);return r[n]||(r[n]=$p()?new ScrollTimeline({source:t,axis:n}):SS({source:t,axis:n})),r[n]}function TS(e){return e.length===2}function bm(e){return e&&(e.target||e.offset)}function kS(e,t){return TS(e)||bm(t)?Au(n=>{e(n[t.axis].progress,n)},t):qm(e,Jm(t))}function PS(e,t){if(e.flatten(),bm(t))return e.pause(),Au(n=>{e.time=e.duration*n[t.axis].progress},t);{const n=Jm(t);return e.attachTimeline?e.attachTimeline(n,r=>(r.pause(),qm(i=>{r.time=r.duration*i},n))):we}}function CS(e,{axis:t="y",...n}={}){const r={axis:t,...n};return typeof e=="function"?kS(e,r):PS(e,r)}function sd(e,t){jv(!!(!t||t.current))}const ES=()=>({scrollX:et(0),scrollY:et(0),scrollXProgress:et(0),scrollYProgress:et(0)});function AS({container:e,target:t,layoutEffect:n=!0,...r}={}){const i=Zn(ES);return(n?Ks:E.useEffect)(()=>(sd("target",t),sd("container",e),CS((o,{x:l,y:a})=>{i.scrollX.set(l.current),i.scrollXProgress.set(l.progress),i.scrollY.set(a.current),i.scrollYProgress.set(a.progress)},{...r,container:(e==null?void 0:e.current)||void 0,target:(t==null?void 0:t.current)||void 0})),[e,t,JSON.stringify(r.offset)]),i}function MS(e){const t=Zn(()=>et(e)),{isStatic:n}=E.useContext(Hs);if(n){const[,r]=E.useState(e);E.useEffect(()=>t.on("change",r),[])}return t}function eg(e,t){const n=MS(t()),r=()=>n.set(t());return r(),Ks(()=>{const i=()=>F.preRender(r,!1,!0),s=e.map(o=>o.on("change",i));return()=>{s.forEach(o=>o()),Ze(r)}}),n}const LS=e=>e&&typeof e=="object"&&e.mix,DS=e=>LS(e)?e.mix:void 0;function RS(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],s=e[2+n],o=e[3+n],l=Pu(i,s,{mixer:DS(s[0]),...o});return t?l(r):l}function VS(e){Ar.current=[],e();const t=eg(Ar.current,e);return Ar.current=void 0,t}function od(e,t,n,r){if(typeof e=="function")return VS(e);const i=typeof t=="function"?t:RS(t,n,r);return Array.isArray(e)?ld(e,i):ld([e],([s])=>i(s))}function ld(e,t){const n=Zn(()=>[]);return eg(e,()=>{n.length=0;const r=e.length;for(let i=0;i<r;i++)n[i]=e[i].get();return t(n)})}/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _S=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),tg=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var NS={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.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jS=E.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...l},a)=>E.createElement("svg",{ref:a,...NS,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:tg("lucide",i),...l},[...o.map(([u,c])=>E.createElement(u,c)),...Array.isArray(s)?s:[s]]));/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qs=(e,t)=>{const n=E.forwardRef(({className:r,...i},s)=>E.createElement(jS,{ref:s,iconNode:t,className:tg(`lucide-${_S(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OS=qs("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FS=qs("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IS=qs("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ad=qs("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]),cr={intro:["Еще один год.","Еще один уровень.","Еще одна глава."],sectionTwoTitle:"Время — главный показатель ценности.",sectionTwoSubtitle:"И сегодня его стало больше.",hero:"С ДНЕМ РОЖДЕНИЯ",heroSubtitle:"Пусть следующий этап будет громче, сильнее и красивее предыдущего."};function zS(){return L.jsx("div",{className:"pointer-events-none fixed inset-0 z-50 opacity-[0.075] mix-blend-soft-light",style:{backgroundImage:"url('data:image/svg+xml,%3Csvg viewBox=%220 0 260 260%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.7%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22/%3E%3C/svg%3E')"}})}function Uo(){const e=E.useMemo(()=>Array.from({length:72},(t,n)=>({id:n,left:`${Math.random()*100}%`,top:`${Math.random()*100}%`,size:Math.random()*3.8+1.2,delay:Math.random()*8,duration:Math.random()*9+8,opacity:Math.random()*.38+.12})),[]);return L.jsx("div",{className:"pointer-events-none absolute inset-0 overflow-hidden",children:e.map(t=>L.jsx(ee.span,{className:"absolute rounded-full bg-[#d8b76d] shadow-[0_0_22px_rgba(216,183,109,0.55)]",style:{left:t.left,top:t.top,width:t.size,height:t.size,opacity:t.opacity},animate:{y:[-20,-120,-20],x:[0,18,-8,0],scale:[1,1.45,.9,1]},transition:{duration:t.duration,repeat:1/0,delay:t.delay,ease:"easeInOut"}},t.id))})}function BS({mouse:e}){return L.jsxs("div",{className:"pointer-events-none fixed inset-0 overflow-hidden bg-[#020202]",children:[L.jsx(ee.div,{className:"absolute -top-48 left-1/2 h-[38rem] w-[38rem] -translate-x-1/2 rounded-full bg-[#b99445]/20 blur-[115px]",animate:{scale:[1,1.14,1],opacity:[.45,.74,.45]},transition:{duration:9,repeat:1/0,ease:"easeInOut"}}),L.jsx(ee.div,{className:"absolute bottom-[-18rem] left-[-12rem] h-[40rem] w-[40rem] rounded-full bg-[#87621e]/20 blur-[130px]",animate:{x:e.x*18,y:e.y*12},transition:{type:"spring",stiffness:34,damping:20}}),L.jsx(ee.div,{className:"absolute right-[-15rem] top-[20%] h-[34rem] w-[34rem] rounded-full bg-white/10 blur-[140px]",animate:{x:e.x*-14,y:e.y*-10},transition:{type:"spring",stiffness:34,damping:20}}),L.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_50%_10%,rgba(255,231,171,0.12),transparent_28%),linear-gradient(180deg,rgba(0,0,0,0.05),rgba(0,0,0,0.94))]"})]})}function $o({children:e,onClick:t,icon:n}){return L.jsxs("button",{onClick:t,className:"group inline-flex h-12 items-center rounded-full border border-white/15 bg-white/[0.055] px-6 text-sm font-light tracking-[0.22em] text-white/85 shadow-[0_12px_50px_rgba(0,0,0,0.35)] backdrop-blur-xl transition-all duration-500 hover:border-[#d8b76d]/60 hover:bg-[#d8b76d]/10 hover:text-white",children:[n&&L.jsx(n,{className:"mr-2 h-4 w-4 transition-transform duration-500 group-hover:scale-110"}),e]})}function US(){const[e,t]=E.useState(!1),[n,r]=E.useState({x:0,y:0}),i=E.useRef(null),{scrollYProgress:s}=AS({target:i,offset:["start start","end end"]}),o=od(s,[.35,.68],[.86,1.08]),l=od(s,[.5,.7],[.2,1]);E.useEffect(()=>{const f=d=>{r({x:d.clientX/window.innerWidth-.5,y:d.clientY/window.innerHeight-.5})};return window.addEventListener("mousemove",f),()=>window.removeEventListener("mousemove",f)},[]);const a=()=>{t(!0),setTimeout(()=>{var f;return(f=document.getElementById("time"))==null?void 0:f.scrollIntoView({behavior:"smooth"})},450)},u=()=>{t(!1),window.scrollTo({top:0,behavior:"smooth"})},c=async()=>{const f={title:"С Днем Рождения",text:"Открой премиальное digital-поздравление.",url:window.location.href};navigator.share?await navigator.share(f):await navigator.clipboard.writeText(window.location.href)};return L.jsxs("main",{ref:i,className:"relative min-h-screen overflow-x-hidden bg-black text-white selection:bg-[#d8b76d]/30",children:[L.jsx(BS,{mouse:n}),L.jsx(zS,{}),L.jsxs("section",{className:"relative flex min-h-screen items-center justify-center px-5 py-12",children:[L.jsx(Uo,{}),L.jsx("div",{className:"absolute inset-x-5 top-6 z-10 mx-auto flex max-w-6xl items-center justify-between rounded-full border border-white/10 bg-white/[0.035] px-5 py-3 backdrop-blur-2xl",children:L.jsxs("div",{className:"flex items-center gap-2 text-[10px] uppercase tracking-[0.34em] text-white/55",children:[L.jsx(ad,{className:"h-3.5 w-3.5 text-[#d8b76d]"}),"Luxury Birthday Experience"]})}),L.jsx("div",{className:"relative z-10 mx-auto max-w-5xl text-center",children:L.jsx(Nv,{mode:"wait",children:e?L.jsx(ee.div,{initial:{opacity:0,scale:.96,filter:"blur(12px)"},animate:{opacity:1,scale:1,filter:"blur(0px)"},className:"text-center",children:L.jsx("p",{className:"text-sm uppercase tracking-[0.5em] text-[#d8b76d]/80",children:"Experience started"})},"started"):L.jsxs(ee.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,filter:"blur(18px)",scale:.98},transition:{duration:1.2},children:[L.jsx("div",{className:"mb-8 text-[11px] uppercase tracking-[0.42em] text-[#d8b76d]/80",children:"Private celebration signal"}),L.jsx("div",{className:"space-y-5 md:space-y-8",children:cr.intro.map((f,d)=>L.jsx(ee.h1,{className:"font-serif text-5xl font-light leading-[0.95] tracking-[-0.06em] text-white md:text-8xl lg:text-9xl",initial:{opacity:0,y:30,filter:"blur(18px)"},animate:{opacity:1,y:0,filter:"blur(0px)"},transition:{duration:1.35,delay:.35+d*.58,ease:[.16,1,.3,1]},children:f},f))}),L.jsx(ee.div,{initial:{opacity:0,y:18},animate:{opacity:1,y:0},transition:{delay:2.55,duration:.9},className:"mt-12",children:L.jsx($o,{onClick:a,icon:OS,children:"Продолжить"})})]},"intro")})})]}),L.jsxs("section",{id:"time",className:"relative flex min-h-screen items-center justify-center px-5 py-28",children:[L.jsx(Uo,{}),L.jsx(ee.div,{className:"absolute inset-x-8 top-1/2 h-px bg-gradient-to-r from-transparent via-[#d8b76d]/45 to-transparent",style:{opacity:l}}),L.jsxs("div",{className:"relative z-10 mx-auto max-w-5xl text-center",children:[L.jsx(ee.p,{className:"mb-8 text-[11px] uppercase tracking-[0.42em] text-white/45",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!1,amount:.5},transition:{duration:1},children:"Limited edition moment"}),L.jsx(ee.h2,{className:"font-serif text-5xl font-light leading-[1.02] tracking-[-0.055em] md:text-8xl",initial:{opacity:0,y:38,filter:"blur(16px)"},whileInView:{opacity:1,y:0,filter:"blur(0px)"},viewport:{once:!1,amount:.45},transition:{duration:1.35,ease:[.16,1,.3,1]},children:cr.sectionTwoTitle}),L.jsx(ee.p,{className:"mx-auto mt-8 max-w-2xl text-xl font-light leading-relaxed text-white/60 md:text-2xl",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!1,amount:.45},transition:{duration:1.1,delay:.24},children:cr.sectionTwoSubtitle})]})]}),L.jsxs("section",{className:"relative flex min-h-screen items-center justify-center overflow-hidden px-5 py-28",children:[L.jsx(Uo,{}),L.jsx(ee.div,{style:{scale:o},className:"absolute h-[34rem] w-[34rem] rounded-full border border-[#d8b76d]/20 bg-[#d8b76d]/[0.045] shadow-[0_0_160px_rgba(216,183,109,0.32)] blur-[1px]"}),L.jsx(ee.div,{className:"absolute h-[1px] w-[90vw] bg-gradient-to-r from-transparent via-white/70 to-transparent",initial:{scaleX:0,opacity:0},whileInView:{scaleX:1,opacity:[0,1,.25]},viewport:{once:!1,amount:.5},transition:{duration:1.7,ease:"easeOut"}}),L.jsxs("div",{className:"relative z-10 mx-auto max-w-6xl text-center",children:[L.jsx(ee.div,{className:"mx-auto mb-8 h-20 w-20 rounded-full border border-[#d8b76d]/35 bg-white/[0.04] p-5 shadow-[0_0_90px_rgba(216,183,109,0.35)] backdrop-blur-xl",initial:{opacity:0,scale:.4,rotate:-20},whileInView:{opacity:1,scale:1,rotate:0},viewport:{once:!1,amount:.55},transition:{duration:1.05,ease:[.16,1,.3,1]},children:L.jsx(ad,{className:"h-full w-full text-[#d8b76d]"})}),L.jsx(ee.h2,{className:"bg-gradient-to-b from-white via-white to-[#c8a65e] bg-clip-text font-serif text-6xl font-light leading-[0.9] tracking-[-0.075em] text-transparent md:text-9xl lg:text-[10rem]",initial:{opacity:0,scale:.86,filter:"blur(22px)"},whileInView:{opacity:1,scale:1,filter:"blur(0px)"},viewport:{once:!1,amount:.42},transition:{duration:1.55,ease:[.16,1,.3,1]},children:cr.hero}),L.jsx(ee.p,{className:"mx-auto mt-9 max-w-3xl text-lg font-light leading-relaxed text-white/70 md:text-2xl",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!1,amount:.5},transition:{duration:1.2,delay:.26},children:cr.heroSubtitle})]})]}),L.jsxs("section",{className:"relative flex min-h-screen items-center justify-center px-5 py-28",children:[L.jsx("div",{className:"absolute inset-x-5 mx-auto max-w-4xl rounded-[3rem] border border-white/10 bg-white/[0.035] p-8 shadow-[0_30px_120px_rgba(0,0,0,0.48)] backdrop-blur-2xl md:p-14"}),L.jsxs("div",{className:"relative z-10 mx-auto max-w-3xl text-center",children:[L.jsx(ee.p,{className:"text-[11px] uppercase tracking-[0.48em] text-[#d8b76d]/80",initial:{opacity:0,y:18},whileInView:{opacity:1,y:0},viewport:{once:!1,amount:.6},transition:{duration:.9},children:"The next chapter begins now"}),L.jsx(ee.h2,{className:"mt-8 font-serif text-4xl font-light leading-tight tracking-[-0.04em] text-white md:text-7xl",initial:{opacity:0,y:26,filter:"blur(14px)"},whileInView:{opacity:1,y:0,filter:"blur(0px)"},viewport:{once:!1,amount:.5},transition:{duration:1.25,ease:[.16,1,.3,1]},children:"Пусть этот день звучит как начало чего-то большого."}),L.jsxs("div",{className:"mt-12 flex flex-col items-center justify-center gap-4 sm:flex-row",children:[L.jsx($o,{onClick:u,icon:FS,children:"Повторить"}),L.jsx($o,{onClick:c,icon:IS,children:"Поделиться"})]})]})]})]})}Wo.createRoot(document.getElementById("root")).render(L.jsx(vg.StrictMode,{children:L.jsx(US,{})}));</script>
<style rel="stylesheet" crossorigin>*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-5{left:1.25rem;right:1.25rem}.inset-x-8{left:2rem;right:2rem}.-top-48{top:-12rem}.bottom-\[-18rem\]{bottom:-18rem}.left-1\/2{left:50%}.left-\[-12rem\]{left:-12rem}.right-\[-15rem\]{right:-15rem}.top-1\/2{top:50%}.top-6{top:1.5rem}.top-\[20\%\]{top:20%}.z-10{z-index:10}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-8{margin-bottom:2rem}.mr-2{margin-right:.5rem}.mt-12{margin-top:3rem}.mt-8{margin-top:2rem}.mt-9{margin-top:2.25rem}.flex{display:flex}.inline-flex{display:inline-flex}.h-12{height:3rem}.h-20{height:5rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-\[1px\]{height:1px}.h-\[34rem\]{height:34rem}.h-\[38rem\]{height:38rem}.h-\[40rem\]{height:40rem}.h-full{height:100%}.h-px{height:1px}.min-h-screen{min-height:100vh}.w-20{width:5rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-\[34rem\]{width:34rem}.w-\[38rem\]{width:38rem}.w-\[40rem\]{width:40rem}.w-\[90vw\]{width:90vw}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.-translate-x-1\/2{--tw-translate-x: -50%;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))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.rounded-\[3rem\]{border-radius:3rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-\[\#d8b76d\]\/20{border-color:#d8b76d33}.border-\[\#d8b76d\]\/35{border-color:#d8b76d59}.border-white\/10{border-color:#ffffff1a}.border-white\/15{border-color:#ffffff26}.bg-\[\#020202\]{--tw-bg-opacity: 1;background-color:rgb(2 2 2 / var(--tw-bg-opacity, 1))}.bg-\[\#87621e\]\/20{background-color:#87621e33}.bg-\[\#b99445\]\/20{background-color:#b9944533}.bg-\[\#d8b76d\]{--tw-bg-opacity: 1;background-color:rgb(216 183 109 / var(--tw-bg-opacity, 1))}.bg-\[\#d8b76d\]\/\[0\.045\]{background-color:#d8b76d0b}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-white\/10{background-color:#ffffff1a}.bg-white\/\[0\.035\]{background-color:#ffffff09}.bg-white\/\[0\.04\]{background-color:#ffffff0a}.bg-white\/\[0\.055\]{background-color:#ffffff0e}.bg-\[radial-gradient\(circle_at_50\%_10\%\,rgba\(255\,231\,171\,0\.12\)\,transparent_28\%\)\,linear-gradient\(180deg\,rgba\(0\,0\,0\,0\.05\)\,rgba\(0\,0\,0\,0\.94\)\)\]{background-image:radial-gradient(circle at 50% 10%,rgba(255,231,171,.12),transparent 28%),linear-gradient(180deg,#0000000d,#000000f0)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-transparent{--tw-gradient-from: transparent var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-white{--tw-gradient-from: #fff var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-\[\#d8b76d\]\/45{--tw-gradient-to: rgb(216 183 109 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), rgb(216 183 109 / .45) 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)}.via-white\/70{--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), rgb(255 255 255 / .7) var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-\[\#c8a65e\]{--tw-gradient-to: #c8a65e var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.p-5{padding:1.25rem}.p-8{padding:2rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-28{padding-top:7rem;padding-bottom:7rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.text-center{text-align:center}.font-serif{font-family:Cormorant Garamond,Playfair Display,Georgia,serif}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-light{font-weight:300}.uppercase{text-transform:uppercase}.leading-\[0\.95\]{line-height:.95}.leading-\[0\.9\]{line-height:.9}.leading-\[1\.02\]{line-height:1.02}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.tracking-\[-0\.04em\]{letter-spacing:-.04em}.tracking-\[-0\.055em\]{letter-spacing:-.055em}.tracking-\[-0\.06em\]{letter-spacing:-.06em}.tracking-\[-0\.075em\]{letter-spacing:-.075em}.tracking-\[0\.22em\]{letter-spacing:.22em}.tracking-\[0\.34em\]{letter-spacing:.34em}.tracking-\[0\.42em\]{letter-spacing:.42em}.tracking-\[0\.48em\]{letter-spacing:.48em}.tracking-\[0\.5em\]{letter-spacing:.5em}.text-\[\#d8b76d\]{--tw-text-opacity: 1;color:rgb(216 183 109 / var(--tw-text-opacity, 1))}.text-\[\#d8b76d\]\/80{color:#d8b76dcc}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-white\/45{color:#ffffff73}.text-white\/55{color:#ffffff8c}.text-white\/60{color:#fff9}.text-white\/70{color:#ffffffb3}.text-white\/85{color:#ffffffd9}.opacity-\[0\.075\]{opacity:.075}.mix-blend-soft-light{mix-blend-mode:soft-light}.shadow-\[0_0_160px_rgba\(216\,183\,109\,0\.32\)\]{--tw-shadow: 0 0 160px rgba(216,183,109,.32);--tw-shadow-colored: 0 0 160px 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-\[0_0_22px_rgba\(216\,183\,109\,0\.55\)\]{--tw-shadow: 0 0 22px rgba(216,183,109,.55);--tw-shadow-colored: 0 0 22px 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-\[0_0_90px_rgba\(216\,183\,109\,0\.35\)\]{--tw-shadow: 0 0 90px rgba(216,183,109,.35);--tw-shadow-colored: 0 0 90px 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-\[0_12px_50px_rgba\(0\,0\,0\,0\.35\)\]{--tw-shadow: 0 12px 50px rgba(0,0,0,.35);--tw-shadow-colored: 0 12px 50px 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-\[0_30px_120px_rgba\(0\,0\,0\,0\.48\)\]{--tw-shadow: 0 30px 120px rgba(0,0,0,.48);--tw-shadow-colored: 0 30px 120px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-\[115px\]{--tw-blur: blur(115px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-\[130px\]{--tw-blur: blur(130px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-\[140px\]{--tw-blur: blur(140px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-\[1px\]{--tw-blur: blur(1px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-2xl{--tw-backdrop-blur: blur(40px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur: blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,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-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-500{transition-duration:.5s}html,body,#root{height:100%;background:#000}body{margin:0;font-family:Cormorant Garamond,Playfair Display,Georgia,serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.selection\:bg-\[\#d8b76d\]\/30 *::-moz-selection{background-color:#d8b76d4d}.selection\:bg-\[\#d8b76d\]\/30 *::selection{background-color:#d8b76d4d}.selection\:bg-\[\#d8b76d\]\/30::-moz-selection{background-color:#d8b76d4d}.selection\:bg-\[\#d8b76d\]\/30::selection{background-color:#d8b76d4d}.hover\:border-\[\#d8b76d\]\/60:hover{border-color:#d8b76d99}.hover\:bg-\[\#d8b76d\]\/10:hover{background-color:#d8b76d1a}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.group:hover .group-hover\:scale-110{--tw-scale-x: 1.1;--tw-scale-y: 1.1;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))}@media (min-width: 640px){.sm\:flex-row{flex-direction:row}}@media (min-width: 768px){.md\:space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.md\:p-14{padding:3.5rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-7xl{font-size:4.5rem;line-height:1}.md\:text-8xl{font-size:6rem;line-height:1}.md\:text-9xl{font-size:8rem;line-height:1}}@media (min-width: 1024px){.lg\:text-9xl{font-size:8rem;line-height:1}.lg\:text-\[10rem\]{font-size:10rem}}</style>
</head>
<body>
<div id="root"></div>
</body>
</html>