diff --git a/assets/index-4b2e61b4.js b/assets/index-4b2e61b4.js new file mode 100644 index 0000000..17f7714 --- /dev/null +++ b/assets/index-4b2e61b4.js @@ -0,0 +1,52 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function xm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _f={exports:{}},Lo={},Ff={exports:{}},F={};/** + * @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 ni=Symbol.for("react.element"),wm=Symbol.for("react.portal"),Sm=Symbol.for("react.fragment"),km=Symbol.for("react.strict_mode"),Pm=Symbol.for("react.profiler"),Cm=Symbol.for("react.provider"),Tm=Symbol.for("react.context"),Em=Symbol.for("react.forward_ref"),Lm=Symbol.for("react.suspense"),Vm=Symbol.for("react.memo"),Dm=Symbol.for("react.lazy"),pu=Symbol.iterator;function Mm(e){return e===null||typeof e!="object"?null:(e=pu&&e[pu]||e["@@iterator"],typeof e=="function"?e:null)}var Of={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},zf=Object.assign,If={};function tr(e,t,n){this.props=e,this.context=t,this.refs=If,this.updater=n||Of}tr.prototype.isReactComponent={};tr.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")};tr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Bf(){}Bf.prototype=tr.prototype;function Xl(e,t,n){this.props=e,this.context=t,this.refs=If,this.updater=n||Of}var ql=Xl.prototype=new Bf;ql.constructor=Xl;zf(ql,tr.prototype);ql.isPureReactComponent=!0;var hu=Array.isArray,Uf=Object.prototype.hasOwnProperty,Zl={current:null},$f={key:!0,ref:!0,__self:!0,__source:!0};function Wf(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Uf.call(t,r)&&!$f.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1>>1,H=L[R];if(0>>1;Ri(Sn,_))Dei(Zt,Sn)?(L[R]=Zt,L[De]=_,R=De):(L[R]=Sn,L[tt]=_,R=tt);else if(Dei(Zt,_))L[R]=Zt,L[De]=_,R=De;else break e}}return N}function i(L,N){var _=L.sortIndex-N.sortIndex;return _!==0?_:L.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],c=1,f=null,d=3,m=!1,y=!1,v=!1,E=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(L){for(var N=n(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=L)r(u),N.sortIndex=N.expirationTime,t(a,N);else break;N=n(u)}}function x(L){if(v=!1,h(L),!y)if(n(a)!==null)y=!0,Oe(w);else{var N=n(u);N!==null&&et(x,N.startTime-L)}}function w(L,N){y=!1,v&&(v=!1,g(P),P=-1),m=!0;var _=d;try{for(h(N),f=n(a);f!==null&&(!(f.expirationTime>N)||L&&!J());){var R=f.callback;if(typeof R=="function"){f.callback=null,d=f.priorityLevel;var H=R(f.expirationTime<=N);N=e.unstable_now(),typeof H=="function"?f.callback=H:f===n(a)&&r(a),h(N)}else r(a);f=n(a)}if(f!==null)var qt=!0;else{var tt=n(u);tt!==null&&et(x,tt.startTime-N),qt=!1}return qt}finally{f=null,d=_,m=!1}}var T=!1,C=null,P=-1,j=5,A=-1;function J(){return!(e.unstable_now()-AL||125R?(L.sortIndex=_,t(u,L),n(a)===null&&L===n(u)&&(v?(g(P),P=-1):v=!0,et(x,_-R))):(L.sortIndex=H,t(a,L),y||m||(y=!0,Oe(w))),L},e.unstable_shouldYield=J,e.unstable_wrapCallback=function(L){var N=d;return function(){var _=d;d=N;try{return L.apply(this,arguments)}finally{d=_}}}})(Qf);Gf.exports=Qf;var Um=Gf.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 Yf=D,je=Um;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$s=Object.prototype.hasOwnProperty,$m=/^[: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]*$/,gu={},yu={};function Wm(e){return $s.call(yu,e)?!0:$s.call(gu,e)?!1:$m.test(e)?yu[e]=!0:(gu[e]=!0,!1)}function Hm(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 Km(e,t,n,r){if(t===null||typeof t>"u"||Hm(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,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fe[e]=new 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];fe[t]=new Se(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fe[e]=new Se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fe[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){fe[e]=new Se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fe[e]=new Se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fe[e]=new Se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fe[e]=new Se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fe[e]=new Se(e,5,!1,e.toLowerCase(),null,!1,!1)});var ea=/[\-:]([a-z])/g;function ta(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(ea,ta);fe[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(ea,ta);fe[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(ea,ta);fe[t]=new Se(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fe[e]=new Se(e,1,!1,e.toLowerCase(),null,!1,!1)});fe.xlinkHref=new Se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fe[e]=new Se(e,1,!1,e.toLowerCase(),null,!0,!0)});function na(e,t,n,r){var i=fe.hasOwnProperty(t)?fe[t]:null;(i!==null?i.type!==0:r||!(2l||i[s]!==o[l]){var a=` +`+i[s].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{is=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?mr(e):""}function Gm(e){switch(e.tag){case 5:return mr(e.type);case 16:return mr("Lazy");case 13:return mr("Suspense");case 19:return mr("SuspenseList");case 0:case 2:case 15:return e=os(e.type,!1),e;case 11:return e=os(e.type.render,!1),e;case 1:return e=os(e.type,!0),e;default:return""}}function Gs(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 Tn:return"Fragment";case Cn:return"Portal";case Ws:return"Profiler";case ra:return"StrictMode";case Hs:return"Suspense";case Ks:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Zf:return(e.displayName||"Context")+".Consumer";case qf:return(e._context.displayName||"Context")+".Provider";case ia:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case oa:return t=e.displayName||null,t!==null?t:Gs(e.type)||"Memo";case Tt:t=e._payload,e=e._init;try{return Gs(e(t))}catch{}}return null}function Qm(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 Gs(t);case 8:return t===ra?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function $t(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function bf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ym(e){var t=bf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function hi(e){e._valueTracker||(e._valueTracker=Ym(e))}function ed(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=bf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Xi(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 Qs(e,t){var n=t.checked;return X({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=$t(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function td(e,t){t=t.checked,t!=null&&na(e,"checked",t,!1)}function Ys(e,t){td(e,t);var n=$t(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Xs(e,t.type,n):t.hasOwnProperty("defaultValue")&&Xs(e,t.type,$t(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function wu(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 Xs(e,t,n){(t!=="number"||Xi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var gr=Array.isArray;function Bn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=mi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var wr={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},Xm=["Webkit","ms","Moz","O"];Object.keys(wr).forEach(function(e){Xm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),wr[t]=wr[e]})});function od(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||wr.hasOwnProperty(e)&&wr[e]?(""+t).trim():t+"px"}function sd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=od(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var qm=X({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 Js(e,t){if(t){if(qm[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 bs(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 el=null;function sa(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var tl=null,Un=null,$n=null;function Pu(e){if(e=oi(e)){if(typeof tl!="function")throw Error(k(280));var t=e.stateNode;t&&(t=Ro(t),tl(e.stateNode,e.type,t))}}function ld(e){Un?$n?$n.push(e):$n=[e]:Un=e}function ad(){if(Un){var e=Un,t=$n;if($n=Un=null,Pu(e),t)for(e=0;e>>=0,e===0?32:31-(lg(e)/ag|0)|0}var gi=64,yi=4194304;function yr(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 bi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=yr(l):(o&=s,o!==0&&(r=yr(o)))}else s=n&~i,s!==0?r=yr(s):o!==0&&(r=yr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ri(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qe(t),e[t]=n}function dg(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=kr),Ru=String.fromCharCode(32),ju=!1;function Vd(e,t){switch(e){case"keyup":return Bg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var En=!1;function $g(e,t){switch(e){case"compositionend":return Dd(t);case"keypress":return t.which!==32?null:(ju=!0,Ru);case"textInput":return e=t.data,e===Ru&&ju?null:e;default:return null}}function Wg(e,t){if(En)return e==="compositionend"||!ha&&Vd(e,t)?(e=Ed(),Fi=fa=Mt=null,En=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ou(n)}}function jd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?jd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Nd(){for(var e=window,t=Xi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Xi(e.document)}return t}function ma(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 Jg(e){var t=Nd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&jd(n.ownerDocument.documentElement,n)){if(r!==null&&ma(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=zu(n,o);var s=zu(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ln=null,ll=null,Cr=null,al=!1;function Iu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;al||Ln==null||Ln!==Xi(r)||(r=Ln,"selectionStart"in r&&ma(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}),Cr&&$r(Cr,r)||(Cr=r,r=no(ll,"onSelect"),0Mn||(e.current=hl[Mn],hl[Mn]=null,Mn--)}function U(e,t){Mn++,hl[Mn]=e.current,e.current=t}var Wt={},me=Qt(Wt),Ee=Qt(!1),dn=Wt;function Qn(e,t){var n=e.type.contextTypes;if(!n)return Wt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Le(e){return e=e.childContextTypes,e!=null}function io(){W(Ee),W(me)}function Gu(e,t,n){if(me.current!==Wt)throw Error(k(168));U(me,t),U(Ee,n)}function Wd(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,Qm(e)||"Unknown",i));return X({},n,r)}function oo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wt,dn=me.current,U(me,e),U(Ee,Ee.current),!0}function Qu(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=Wd(e,t,dn),r.__reactInternalMemoizedMergedChildContext=e,W(Ee),W(me),U(me,e)):W(Ee),U(Ee,n)}var ft=null,jo=!1,xs=!1;function Hd(e){ft===null?ft=[e]:ft.push(e)}function c0(e){jo=!0,Hd(e)}function Yt(){if(!xs&&ft!==null){xs=!0;var e=0,t=B;try{var n=ft;for(B=1;e>=s,i-=s,dt=1<<32-qe(t)+i|n<P?(j=C,C=null):j=C.sibling;var A=d(g,C,h[P],x);if(A===null){C===null&&(C=j);break}e&&C&&A.alternate===null&&t(g,C),p=o(A,p,P),T===null?w=A:T.sibling=A,T=A,C=j}if(P===h.length)return n(g,C),K&&tn(g,P),w;if(C===null){for(;PP?(j=C,C=null):j=C.sibling;var J=d(g,C,A.value,x);if(J===null){C===null&&(C=j);break}e&&C&&J.alternate===null&&t(g,C),p=o(J,p,P),T===null?w=J:T.sibling=J,T=J,C=j}if(A.done)return n(g,C),K&&tn(g,P),w;if(C===null){for(;!A.done;P++,A=h.next())A=f(g,A.value,x),A!==null&&(p=o(A,p,P),T===null?w=A:T.sibling=A,T=A);return K&&tn(g,P),w}for(C=r(g,C);!A.done;P++,A=h.next())A=m(C,g,P,A.value,x),A!==null&&(e&&A.alternate!==null&&C.delete(A.key===null?P:A.key),p=o(A,p,P),T===null?w=A:T.sibling=A,T=A);return e&&C.forEach(function(ke){return t(g,ke)}),K&&tn(g,P),w}function E(g,p,h,x){if(typeof h=="object"&&h!==null&&h.type===Tn&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case pi:e:{for(var w=h.key,T=p;T!==null;){if(T.key===w){if(w=h.type,w===Tn){if(T.tag===7){n(g,T.sibling),p=i(T,h.props.children),p.return=g,g=p;break e}}else if(T.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Tt&&ec(w)===T.type){n(g,T.sibling),p=i(T,h.props),p.ref=ur(g,T,h),p.return=g,g=p;break e}n(g,T);break}else t(g,T);T=T.sibling}h.type===Tn?(p=fn(h.props.children,g.mode,x,h.key),p.return=g,g=p):(x=Hi(h.type,h.key,h.props,null,g.mode,x),x.ref=ur(g,p,h),x.return=g,g=x)}return s(g);case Cn:e:{for(T=h.key;p!==null;){if(p.key===T)if(p.tag===4&&p.stateNode.containerInfo===h.containerInfo&&p.stateNode.implementation===h.implementation){n(g,p.sibling),p=i(p,h.children||[]),p.return=g,g=p;break e}else{n(g,p);break}else t(g,p);p=p.sibling}p=Ls(h,g.mode,x),p.return=g,g=p}return s(g);case Tt:return T=h._init,E(g,p,T(h._payload),x)}if(gr(h))return y(g,p,h,x);if(ir(h))return v(g,p,h,x);Ci(g,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,p!==null&&p.tag===6?(n(g,p.sibling),p=i(p,h),p.return=g,g=p):(n(g,p),p=Es(h,g.mode,x),p.return=g,g=p),s(g)):n(g,p)}return E}var Xn=Jd(!0),bd=Jd(!1),si={},lt=Qt(si),Gr=Qt(si),Qr=Qt(si);function an(e){if(e===si)throw Error(k(174));return e}function Ca(e,t){switch(U(Qr,t),U(Gr,e),U(lt,si),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Zs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Zs(t,e)}W(lt),U(lt,t)}function qn(){W(lt),W(Gr),W(Qr)}function ep(e){an(Qr.current);var t=an(lt.current),n=Zs(t,e.type);t!==n&&(U(Gr,e),U(lt,n))}function Ta(e){Gr.current===e&&(W(lt),W(Gr))}var G=Qt(0);function fo(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 ws=[];function Ea(){for(var e=0;en?n:4,e(!0);var r=Ss.transition;Ss.transition={};try{e(!1),t()}finally{B=n,Ss.transition=r}}function gp(){return He().memoizedState}function h0(e,t,n){var r=zt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},yp(e))vp(t,n);else if(n=Yd(e,t,n,r),n!==null){var i=xe();Ze(n,e,r,i),xp(n,t,r)}}function m0(e,t,n){var r=zt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(yp(e))vp(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,Je(l,s)){var a=t.interleaved;a===null?(i.next=i,ka(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Yd(e,t,i,r),n!==null&&(i=xe(),Ze(n,e,r,i),xp(n,t,r))}}function yp(e){var t=e.alternate;return e===Y||t!==null&&t===Y}function vp(e,t){Tr=po=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,aa(e,n)}}var ho={readContext:We,useCallback:de,useContext:de,useEffect:de,useImperativeHandle:de,useInsertionEffect:de,useLayoutEffect:de,useMemo:de,useReducer:de,useRef:de,useState:de,useDebugValue:de,useDeferredValue:de,useTransition:de,useMutableSource:de,useSyncExternalStore:de,useId:de,unstable_isNewReconciler:!1},g0={readContext:We,useCallback:function(e,t){return rt().memoizedState=[e,t===void 0?null:t],e},useContext:We,useEffect:nc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bi(4194308,4,fp.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=rt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=rt();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=h0.bind(null,Y,e),[r.memoizedState,e]},useRef:function(e){var t=rt();return e={current:e},t.memoizedState=e},useState:tc,useDebugValue:Aa,useDeferredValue:function(e){return rt().memoizedState=e},useTransition:function(){var e=tc(!1),t=e[0];return e=p0.bind(null,e[1]),rt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Y,i=rt();if(K){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),ae===null)throw Error(k(349));hn&30||rp(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,nc(op.bind(null,r,o,e),[e]),r.flags|=2048,qr(9,ip.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=rt(),t=ae.identifierPrefix;if(K){var n=pt,r=dt;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Yr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[ot]=t,e[Kr]=r,Vp(e,t,!1,!1),t.stateNode=e;e:{switch(s=bs(n,r),n){case"dialog":$("cancel",e),$("close",e),i=r;break;case"iframe":case"object":case"embed":$("load",e),i=r;break;case"video":case"audio":for(i=0;iJn&&(t.flags|=128,r=!0,cr(o,!1),t.lanes=4194304)}else{if(!r)if(e=fo(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),cr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!K)return pe(t),null}else 2*ne()-o.renderingStartTime>Jn&&n!==1073741824&&(t.flags|=128,r=!0,cr(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ne(),t.sibling=null,n=G.current,U(G,r?n&1|2:n&1),t):(pe(t),null);case 22:case 23:return Oa(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Me&1073741824&&(pe(t),t.subtreeFlags&6&&(t.flags|=8192)):pe(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function C0(e,t){switch(ya(t),t.tag){case 1:return Le(t.type)&&io(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qn(),W(Ee),W(me),Ea(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ta(t),null;case 13:if(W(G),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));Yn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W(G),null;case 4:return qn(),null;case 10:return Sa(t.type._context),null;case 22:case 23:return Oa(),null;case 24:return null;default:return null}}var Ei=!1,he=!1,T0=typeof WeakSet=="function"?WeakSet:Set,V=null;function Nn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){q(e,t,r)}else n.current=null}function El(e,t,n){try{n()}catch(r){q(e,t,r)}}var fc=!1;function E0(e,t){if(ul=eo,e=Nd(),ma(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var m;f!==n||i!==0&&f.nodeType!==3||(l=s+i),f!==o||r!==0&&f.nodeType!==3||(a=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)d=f,f=m;for(;;){if(f===e)break t;if(d===n&&++u===i&&(l=s),d===o&&++c===r&&(a=s),(m=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=m}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(cl={focusedElem:e,selectionRange:n},eo=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,E=y.memoizedState,g=t.stateNode,p=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:Ge(t.type,v),E);g.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(x){q(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return y=fc,fc=!1,y}function Er(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&El(t,n,o)}i=i.next}while(i!==r)}}function Fo(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 Ap(e){var t=e.alternate;t!==null&&(e.alternate=null,Ap(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ot],delete t[Kr],delete t[pl],delete t[a0],delete t[u0])),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 Rp(e){return e.tag===5||e.tag===3||e.tag===4}function dc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Rp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Vl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ro));else if(r!==4&&(e=e.child,e!==null))for(Vl(e,t,n),e=e.sibling;e!==null;)Vl(e,t,n),e=e.sibling}function Dl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Dl(e,t,n),e=e.sibling;e!==null;)Dl(e,t,n),e=e.sibling}var ue=null,Qe=!1;function kt(e,t,n){for(n=n.child;n!==null;)jp(e,t,n),n=n.sibling}function jp(e,t,n){if(st&&typeof st.onCommitFiberUnmount=="function")try{st.onCommitFiberUnmount(Vo,n)}catch{}switch(n.tag){case 5:he||Nn(n,t);case 6:var r=ue,i=Qe;ue=null,kt(e,t,n),ue=r,Qe=i,ue!==null&&(Qe?(e=ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ue.removeChild(n.stateNode));break;case 18:ue!==null&&(Qe?(e=ue,n=n.stateNode,e.nodeType===8?vs(e.parentNode,n):e.nodeType===1&&vs(e,n),Br(e)):vs(ue,n.stateNode));break;case 4:r=ue,i=Qe,ue=n.stateNode.containerInfo,Qe=!0,kt(e,t,n),ue=r,Qe=i;break;case 0:case 11:case 14:case 15:if(!he&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&El(n,t,s),i=i.next}while(i!==r)}kt(e,t,n);break;case 1:if(!he&&(Nn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){q(n,t,l)}kt(e,t,n);break;case 21:kt(e,t,n);break;case 22:n.mode&1?(he=(r=he)||n.memoizedState!==null,kt(e,t,n),he=r):kt(e,t,n);break;default:kt(e,t,n)}}function pc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new T0),t.forEach(function(r){var i=_0.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ke(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*V0(r/1960))-r,10e?16:e,At===null)var r=!1;else{if(e=At,At=null,yo=0,O&6)throw Error(k(331));var i=O;for(O|=4,V=e.current;V!==null;){var o=V,s=o.child;if(V.flags&16){var l=o.deletions;if(l!==null){for(var a=0;ane()-_a?cn(e,0):Na|=n),Ve(e,t)}function Up(e,t){t===0&&(e.mode&1?(t=yi,yi<<=1,!(yi&130023424)&&(yi=4194304)):t=1);var n=xe();e=xt(e,t),e!==null&&(ri(e,t,n),Ve(e,n))}function N0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Up(e,n)}function _0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),Up(e,n)}var $p;$p=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ee.current)Te=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Te=!1,k0(e,t,n);Te=!!(e.flags&131072)}else Te=!1,K&&t.flags&1048576&&Kd(t,lo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ui(e,t),e=t.pendingProps;var i=Qn(t,me.current);Hn(t,n),i=Va(null,t,r,e,i,n);var o=Da();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Le(r)?(o=!0,oo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Pa(t),i.updater=No,t.stateNode=i,i._reactInternals=t,xl(t,r,e,n),t=kl(null,t,r,!0,o,n)):(t.tag=0,K&&o&&ga(t),ve(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=O0(r),e=Ge(r,e),i){case 0:t=Sl(null,t,r,e,n);break e;case 1:t=ac(null,t,r,e,n);break e;case 11:t=sc(null,t,r,e,n);break e;case 14:t=lc(null,t,r,Ge(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:Ge(r,i),Sl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),ac(e,t,r,i,n);case 3:e:{if(Tp(t),e===null)throw Error(k(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Xd(e,t),co(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Zn(Error(k(423)),t),t=uc(e,t,r,n,i);break e}else if(r!==i){i=Zn(Error(k(424)),t),t=uc(e,t,r,n,i);break e}else for(Ae=_t(t.stateNode.containerInfo.firstChild),Re=t,K=!0,Ye=null,n=bd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Yn(),r===i){t=wt(e,t,n);break e}ve(e,t,r,n)}t=t.child}return t;case 5:return ep(t),e===null&&gl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,fl(r,i)?s=null:o!==null&&fl(r,o)&&(t.flags|=32),Cp(e,t),ve(e,t,s,n),t.child;case 6:return e===null&&gl(t),null;case 13:return Ep(e,t,n);case 4:return Ca(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Xn(t,null,r,n):ve(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),sc(e,t,r,i,n);case 7:return ve(e,t,t.pendingProps,n),t.child;case 8:return ve(e,t,t.pendingProps.children,n),t.child;case 12:return ve(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,U(ao,r._currentValue),r._currentValue=s,o!==null)if(Je(o.value,s)){if(o.children===i.children&&!Ee.current){t=wt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=mt(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),yl(o.return,n,t),l.lanes|=n;break}a=a.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(k(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),yl(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}ve(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Hn(t,n),i=We(i),r=r(i),t.flags|=1,ve(e,t,r,n),t.child;case 14:return r=t.type,i=Ge(r,t.pendingProps),i=Ge(r.type,i),lc(e,t,r,i,n);case 15:return kp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ge(r,i),Ui(e,t),t.tag=1,Le(r)?(e=!0,oo(t)):e=!1,Hn(t,n),Zd(t,r,i),xl(t,r,i,n),kl(null,t,r,!0,e,n);case 19:return Lp(e,t,n);case 22:return Pp(e,t,n)}throw Error(k(156,t.tag))};function Wp(e,t){return md(e,t)}function F0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ue(e,t,n,r){return new F0(e,t,n,r)}function Ia(e){return e=e.prototype,!(!e||!e.isReactComponent)}function O0(e){if(typeof e=="function")return Ia(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ia)return 11;if(e===oa)return 14}return 2}function It(e,t){var n=e.alternate;return n===null?(n=Ue(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hi(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Ia(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Tn:return fn(n.children,i,o,t);case ra:s=8,i|=8;break;case Ws:return e=Ue(12,n,t,i|2),e.elementType=Ws,e.lanes=o,e;case Hs:return e=Ue(13,n,t,i),e.elementType=Hs,e.lanes=o,e;case Ks:return e=Ue(19,n,t,i),e.elementType=Ks,e.lanes=o,e;case Jf:return zo(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case qf:s=10;break e;case Zf:s=9;break e;case ia:s=11;break e;case oa:s=14;break e;case Tt:s=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=Ue(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function fn(e,t,n,r){return e=Ue(7,e,r,t),e.lanes=n,e}function zo(e,t,n,r){return e=Ue(22,e,r,t),e.elementType=Jf,e.lanes=n,e.stateNode={isHidden:!1},e}function Es(e,t,n){return e=Ue(6,e,null,t),e.lanes=n,e}function Ls(e,t,n){return t=Ue(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function z0(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=ls(0),this.expirationTimes=ls(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ls(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ba(e,t,n,r,i,o,s,l,a){return e=new z0(e,t,n,l,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ue(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Pa(o),e}function I0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Qp)}catch(e){console.error(e)}}Qp(),Kf.exports=_e;var H0=Kf.exports,Sc=H0;Us.createRoot=Sc.createRoot,Us.hydrateRoot=Sc.hydrateRoot;const Wo=D.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ho=D.createContext({}),Ha=D.createContext(null),Ko=typeof document<"u",Go=Ko?D.useLayoutEffect:D.useEffect,Yp=D.createContext({strict:!1});function K0(e,t,n,r){const{visualElement:i}=D.useContext(Ho),o=D.useContext(Yp),s=D.useContext(Ha),l=D.useContext(Wo).reducedMotion,a=D.useRef();r=r||o.renderer,!a.current&&r&&(a.current=r(e,{visualState:t,parent:i,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:l}));const u=a.current;D.useInsertionEffect(()=>{u&&u.update(n,s)});const c=D.useRef(!!window.HandoffAppearAnimations);return Go(()=>{u&&(u.render(),c.current&&u.animationState&&u.animationState.animateChanges())}),D.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,c.current=!1)}),u}function Fn(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function G0(e,t,n){return D.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Fn(n)&&(n.current=r))},[t])}function Jr(e){return typeof e=="string"||Array.isArray(e)}function Qo(e){return typeof e=="object"&&typeof e.start=="function"}const Ka=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ga=["initial",...Ka];function Yo(e){return Qo(e.animate)||Ga.some(t=>Jr(e[t]))}function Xp(e){return!!(Yo(e)||e.variants)}function Q0(e,t){if(Yo(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Jr(n)?n:void 0,animate:Jr(r)?r:void 0}}return e.inherit!==!1?t:{}}function Y0(e){const{initial:t,animate:n}=Q0(e,D.useContext(Ho));return D.useMemo(()=>({initial:t,animate:n}),[kc(t),kc(n)])}function kc(e){return Array.isArray(e)?e.join(" "):e}const Pc={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"]},br={};for(const e in Pc)br[e]={isEnabled:t=>Pc[e].some(n=>!!t[n])};function X0(e){for(const t in e)br[t]={...br[t],...e[t]}}const qp=D.createContext({}),Zp=D.createContext({}),q0=Symbol.for("motionComponentSymbol");function Z0({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&X0(e);function o(l,a){let u;const c={...D.useContext(Wo),...l,layoutId:J0(l)},{isStatic:f}=c,d=Y0(l),m=r(l,f);if(!f&&Ko){d.visualElement=K0(i,m,c,t);const y=D.useContext(Zp),v=D.useContext(Yp).strict;d.visualElement&&(u=d.visualElement.loadFeatures(c,v,e,y))}return D.createElement(Ho.Provider,{value:d},u&&d.visualElement?D.createElement(u,{visualElement:d.visualElement,...c}):null,n(i,l,G0(m,d.visualElement,a),m,f,d.visualElement))}const s=D.forwardRef(o);return s[q0]=i,s}function J0({layoutId:e}){const t=D.useContext(qp).id;return t&&e!==void 0?t+"-"+e:e}function b0(e){function t(r,i={}){return Z0(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const ey=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Qa(e){return typeof e!="string"||e.includes("-")?!1:!!(ey.indexOf(e)>-1||/[A-Z]/.test(e))}const wo={};function ty(e){Object.assign(wo,e)}const li=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],xn=new Set(li);function Jp(e,{layout:t,layoutId:n}){return xn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!wo[e]||e==="opacity")}const ge=e=>!!(e&&e.getVelocity),ny={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ry=li.length;function iy(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let s=0;st=>typeof t=="string"&&t.startsWith(e),eh=bp("--"),Nl=bp("var(--"),oy=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,sy=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Ht=(e,t,n)=>Math.min(Math.max(n,e),t),wn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Dr={...wn,transform:e=>Ht(0,1,e)},Di={...wn,default:1},Mr=e=>Math.round(e*1e5)/1e5,Xo=/(-)?([\d]*\.?[\d])+/g,th=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,ly=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ai(e){return typeof e=="string"}const ui=e=>({test:t=>ai(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Pt=ui("deg"),at=ui("%"),M=ui("px"),ay=ui("vh"),uy=ui("vw"),Cc={...at,parse:e=>at.parse(e)/100,transform:e=>at.transform(e*100)},Tc={...wn,transform:Math.round},nh={borderWidth:M,borderTopWidth:M,borderRightWidth:M,borderBottomWidth:M,borderLeftWidth:M,borderRadius:M,radius:M,borderTopLeftRadius:M,borderTopRightRadius:M,borderBottomRightRadius:M,borderBottomLeftRadius:M,width:M,maxWidth:M,height:M,maxHeight:M,size:M,top:M,right:M,bottom:M,left:M,padding:M,paddingTop:M,paddingRight:M,paddingBottom:M,paddingLeft:M,margin:M,marginTop:M,marginRight:M,marginBottom:M,marginLeft:M,rotate:Pt,rotateX:Pt,rotateY:Pt,rotateZ:Pt,scale:Di,scaleX:Di,scaleY:Di,scaleZ:Di,skew:Pt,skewX:Pt,skewY:Pt,distance:M,translateX:M,translateY:M,translateZ:M,x:M,y:M,z:M,perspective:M,transformPerspective:M,opacity:Dr,originX:Cc,originY:Cc,originZ:M,zIndex:Tc,fillOpacity:Dr,strokeOpacity:Dr,numOctaves:Tc};function Ya(e,t,n,r){const{style:i,vars:o,transform:s,transformOrigin:l}=e;let a=!1,u=!1,c=!0;for(const f in t){const d=t[f];if(eh(f)){o[f]=d;continue}const m=nh[f],y=sy(d,m);if(xn.has(f)){if(a=!0,s[f]=y,!c)continue;d!==(m.default||0)&&(c=!1)}else f.startsWith("origin")?(u=!0,l[f]=y):i[f]=y}if(t.transform||(a||r?i.transform=iy(e.transform,n,c,r):i.transform&&(i.transform="none")),u){const{originX:f="50%",originY:d="50%",originZ:m=0}=l;i.transformOrigin=`${f} ${d} ${m}`}}const Xa=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function rh(e,t,n){for(const r in t)!ge(t[r])&&!Jp(r,n)&&(e[r]=t[r])}function cy({transformTemplate:e},t,n){return D.useMemo(()=>{const r=Xa();return Ya(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function fy(e,t,n){const r=e.style||{},i={};return rh(i,r,e),Object.assign(i,cy(e,t,n)),e.transformValues?e.transformValues(i):i}function dy(e,t,n){const r={},i=fy(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const py=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function So(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||py.has(e)}let ih=e=>!So(e);function hy(e){e&&(ih=t=>t.startsWith("on")?!So(t):e(t))}try{hy(require("@emotion/is-prop-valid").default)}catch{}function my(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(ih(i)||n===!0&&So(i)||!t&&!So(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Ec(e,t,n){return typeof e=="string"?e:M.transform(t+n*e)}function gy(e,t,n){const r=Ec(t,e.x,e.width),i=Ec(n,e.y,e.height);return`${r} ${i}`}const yy={offset:"stroke-dashoffset",array:"stroke-dasharray"},vy={offset:"strokeDashoffset",array:"strokeDasharray"};function xy(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?yy:vy;e[o.offset]=M.transform(-r);const s=M.transform(t),l=M.transform(n);e[o.array]=`${s} ${l}`}function qa(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:l=1,pathOffset:a=0,...u},c,f,d){if(Ya(e,u,c,d),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:y,dimensions:v}=e;m.transform&&(v&&(y.transform=m.transform),delete m.transform),v&&(i!==void 0||o!==void 0||y.transform)&&(y.transformOrigin=gy(v,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(m.x=t),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),s!==void 0&&xy(m,s,l,a,!1)}const oh=()=>({...Xa(),attrs:{}}),Za=e=>typeof e=="string"&&e.toLowerCase()==="svg";function wy(e,t,n,r){const i=D.useMemo(()=>{const o=oh();return qa(o,t,{enableHardwareAcceleration:!1},Za(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};rh(o,e.style,e),i.style={...o,...i.style}}return i}function Sy(e=!1){return(n,r,i,{latestValues:o},s)=>{const a=(Qa(n)?wy:dy)(r,o,s,n),c={...my(r,typeof n=="string",e),...a,ref:i},{children:f}=r,d=D.useMemo(()=>ge(f)?f.get():f,[f]);return D.createElement(n,{...c,children:d})}}const Ja=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function sh(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const lh=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 ah(e,t,n,r){sh(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(lh.has(i)?i:Ja(i),t.attrs[i])}function ba(e,t){const{style:n}=e,r={};for(const i in n)(ge(n[i])||t.style&&ge(t.style[i])||Jp(i,e))&&(r[i]=n[i]);return r}function uh(e,t){const n=ba(e,t);for(const r in e)if(ge(e[r])||ge(t[r])){const i=li.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}function eu(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function qo(e){const t=D.useRef(null);return t.current===null&&(t.current=e()),t.current}const ko=e=>Array.isArray(e),ky=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Py=e=>ko(e)?e[e.length-1]||0:e;function Ki(e){const t=ge(e)?e.get():e;return ky(t)?t.toValue():t}function Cy({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:Ty(r,i,o,e),renderState:t()};return n&&(s.mount=l=>n(r,l,s)),s}const ch=e=>(t,n)=>{const r=D.useContext(Ho),i=D.useContext(Ha),o=()=>Cy(e,t,r,i);return n?o():qo(o)};function Ty(e,t,n,r){const i={},o=r(e,{});for(const d in o)i[d]=Ki(o[d]);let{initial:s,animate:l}=e;const a=Yo(e),u=Xp(e);t&&u&&!a&&e.inherit!==!1&&(s===void 0&&(s=t.initial),l===void 0&&(l=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const f=c?l:s;return f&&typeof f!="boolean"&&!Qo(f)&&(Array.isArray(f)?f:[f]).forEach(m=>{const y=eu(e,m);if(!y)return;const{transitionEnd:v,transition:E,...g}=y;for(const p in g){let h=g[p];if(Array.isArray(h)){const x=c?h.length-1:0;h=h[x]}h!==null&&(i[p]=h)}for(const p in v)i[p]=v[p]}),i}const Z=e=>e;class Lc{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function Ey(e){let t=new Lc,n=new Lc,r=0,i=!1,o=!1;const s=new WeakSet,l={schedule:(a,u=!1,c=!1)=>{const f=c&&i,d=f?t:n;return u&&s.add(a),d.add(a)&&f&&i&&(r=t.order.length),a},cancel:a=>{n.remove(a),s.delete(a)},process:a=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u(f[d]=Ey(()=>n=!0),f),{}),s=f=>o[f].process(i),l=()=>{const f=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(f-i.timestamp,Ly),1),i.timestamp=f,i.isProcessing=!0,Mi.forEach(s),i.isProcessing=!1,n&&t&&(r=!1,e(l))},a=()=>{n=!0,r=!0,i.isProcessing||e(l)};return{schedule:Mi.reduce((f,d)=>{const m=o[d];return f[d]=(y,v=!1,E=!1)=>(n||a(),m.schedule(y,v,E)),f},{}),cancel:f=>Mi.forEach(d=>o[d].cancel(f)),state:i,steps:o}}const{schedule:I,cancel:be,state:te,steps:Vs}=Vy(typeof requestAnimationFrame<"u"?requestAnimationFrame:Z,!0),Dy={useVisualState:ch({scrapeMotionValuesFromProps:uh,createRenderState:oh,onMount:(e,t,{renderState:n,latestValues:r})=>{I.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),I.render(()=>{qa(n,r,{enableHardwareAcceleration:!1},Za(t.tagName),e.transformTemplate),ah(t,n)})}})},My={useVisualState:ch({scrapeMotionValuesFromProps:ba,createRenderState:Xa})};function Ay(e,{forwardMotionProps:t=!1},n,r){return{...Qa(e)?Dy:My,preloadedFeatures:n,useRender:Sy(t),createVisualElement:r,Component:e}}function ht(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const fh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Zo(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const Ry=e=>t=>fh(t)&&e(t,Zo(t));function gt(e,t,n,r){return ht(e,t,Ry(n),r)}const jy=(e,t)=>n=>t(e(n)),Bt=(...e)=>e.reduce(jy);function dh(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Vc=dh("dragHorizontal"),Dc=dh("dragVertical");function ph(e){let t=!1;if(e==="y")t=Dc();else if(e==="x")t=Vc();else{const n=Vc(),r=Dc();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function hh(){const e=ph(!0);return e?(e(),!1):!0}class Xt{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Mc(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(o,s)=>{if(o.type==="touch"||hh())return;const l=e.getProps();e.animationState&&l.whileHover&&e.animationState.setActive("whileHover",t),l[r]&&I.update(()=>l[r](o,s))};return gt(e.current,n,i,{passive:!e.getProps()[r]})}class Ny extends Xt{mount(){this.unmount=Bt(Mc(this.node,!0),Mc(this.node,!1))}unmount(){}}class _y extends Xt{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=Bt(ht(this.node.current,"focus",()=>this.onFocus()),ht(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const mh=(e,t)=>t?e===t?!0:mh(e,t.parentElement):!1;function Ds(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Zo(n))}class Fy extends Xt{constructor(){super(...arguments),this.removeStartListeners=Z,this.removeEndListeners=Z,this.removeAccessibleListeners=Z,this.startPointerPress=(t,n)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),o=gt(window,"pointerup",(l,a)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c}=this.node.getProps();I.update(()=>{mh(this.node.current,l.target)?u&&u(l,a):c&&c(l,a)})},{passive:!(r.onTap||r.onPointerUp)}),s=gt(window,"pointercancel",(l,a)=>this.cancelPress(l,a),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Bt(o,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const s=l=>{l.key!=="Enter"||!this.checkPressEnd()||Ds("up",(a,u)=>{const{onTap:c}=this.node.getProps();c&&I.update(()=>c(a,u))})};this.removeEndListeners(),this.removeEndListeners=ht(this.node.current,"keyup",s),Ds("down",(l,a)=>{this.startPress(l,a)})},n=ht(this.node.current,"keydown",t),r=()=>{this.isPressing&&Ds("cancel",(o,s)=>this.cancelPress(o,s))},i=ht(this.node.current,"blur",r);this.removeAccessibleListeners=Bt(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&I.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!hh()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&I.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=gt(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=ht(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Bt(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const _l=new WeakMap,Ms=new WeakMap,Oy=e=>{const t=_l.get(e.target);t&&t(e)},zy=e=>{e.forEach(Oy)};function Iy({root:e,...t}){const n=e||document;Ms.has(n)||Ms.set(n,{});const r=Ms.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(zy,{root:e,...t})),r[i]}function By(e,t,n){const r=Iy(t);return _l.set(e,n),r.observe(e),()=>{_l.delete(e),r.unobserve(e)}}const Uy={some:0,all:1};class $y extends Xt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:Uy[i]},l=a=>{const{isIntersecting:u}=a;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),d=u?c:f;d&&d(a)};return By(this.node.current,s,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Wy(t,n))&&this.startObserver()}unmount(){}}function Wy({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Hy={inView:{Feature:$y},tap:{Feature:Fy},focus:{Feature:_y},hover:{Feature:Ny}};function gh(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rt[r]=n.get()),t}function Gy(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Jo(e,t,n){const r=e.getProps();return eu(r,t,n!==void 0?n:r.custom,Ky(e),Gy(e))}const Qy="framerAppearId",Yy="data-"+Ja(Qy);let yh=Z,bo=Z;const Ut=e=>e*1e3,ut=e=>e/1e3,Xy={current:!1},vh=e=>Array.isArray(e)&&typeof e[0]=="number";function xh(e){return!!(!e||typeof e=="string"&&wh[e]||vh(e)||Array.isArray(e)&&e.every(xh))}const xr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,wh={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:xr([0,.65,.55,1]),circOut:xr([.55,0,1,.45]),backIn:xr([.31,.01,.66,-.59]),backOut:xr([.33,1.53,.69,.99])};function Sh(e){if(e)return vh(e)?xr(e):Array.isArray(e)?e.map(Sh):wh[e]}function qy(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:s="loop",ease:l,times:a}={}){const u={[t]:n};a&&(u.offset=a);const c=Sh(l);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}function Zy(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const kh=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Jy=1e-7,by=12;function ev(e,t,n,r,i){let o,s,l=0;do s=t+(n-t)/2,o=kh(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>Jy&&++lev(o,0,1,e,n);return o=>o===0||o===1?o:kh(i(o),t,r)}const tv=ci(.42,0,1,1),nv=ci(0,0,.58,1),Ph=ci(.42,0,.58,1),rv=e=>Array.isArray(e)&&typeof e[0]!="number",Ch=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Th=e=>t=>1-e(1-t),Eh=e=>1-Math.sin(Math.acos(e)),tu=Th(Eh),iv=Ch(tu),Lh=ci(.33,1.53,.69,.99),nu=Th(Lh),ov=Ch(nu),sv=e=>(e*=2)<1?.5*nu(e):.5*(2-Math.pow(2,-10*(e-1))),lv={linear:Z,easeIn:tv,easeInOut:Ph,easeOut:nv,circIn:Eh,circInOut:iv,circOut:tu,backIn:nu,backInOut:ov,backOut:Lh,anticipate:sv},Ac=e=>{if(Array.isArray(e)){bo(e.length===4);const[t,n,r,i]=e;return ci(t,n,r,i)}else if(typeof e=="string")return lv[e];return e},ru=(e,t)=>n=>!!(ai(n)&&ly.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Vh=(e,t,n)=>r=>{if(!ai(r))return r;const[i,o,s,l]=r.match(Xo);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:l!==void 0?parseFloat(l):1}},av=e=>Ht(0,255,e),As={...wn,transform:e=>Math.round(av(e))},un={test:ru("rgb","red"),parse:Vh("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+As.transform(e)+", "+As.transform(t)+", "+As.transform(n)+", "+Mr(Dr.transform(r))+")"};function uv(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 Fl={test:ru("#"),parse:uv,transform:un.transform},On={test:ru("hsl","hue"),parse:Vh("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+at.transform(Mr(t))+", "+at.transform(Mr(n))+", "+Mr(Dr.transform(r))+")"},ye={test:e=>un.test(e)||Fl.test(e)||On.test(e),parse:e=>un.test(e)?un.parse(e):On.test(e)?On.parse(e):Fl.parse(e),transform:e=>ai(e)?e:e.hasOwnProperty("red")?un.transform(e):On.transform(e)},Q=(e,t,n)=>-n*e+n*t+e;function Rs(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 cv({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;i=Rs(a,l,e+1/3),o=Rs(a,l,e),s=Rs(a,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}const js=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},fv=[Fl,un,On],dv=e=>fv.find(t=>t.test(e));function Rc(e){const t=dv(e);let n=t.parse(e);return t===On&&(n=cv(n)),n}const Dh=(e,t)=>{const n=Rc(e),r=Rc(t),i={...n};return o=>(i.red=js(n.red,r.red,o),i.green=js(n.green,r.green,o),i.blue=js(n.blue,r.blue,o),i.alpha=Q(n.alpha,r.alpha,o),un.transform(i))};function pv(e){var t,n;return isNaN(e)&&ai(e)&&(((t=e.match(Xo))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(th))===null||n===void 0?void 0:n.length)||0)>0}const Mh={regex:oy,countKey:"Vars",token:"${v}",parse:Z},Ah={regex:th,countKey:"Colors",token:"${c}",parse:ye.parse},Rh={regex:Xo,countKey:"Numbers",token:"${n}",parse:wn.parse};function Ns(e,{regex:t,countKey:n,token:r,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function Po(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Ns(n,Mh),Ns(n,Ah),Ns(n,Rh),n}function jh(e){return Po(e).values}function Nh(e){const{values:t,numColors:n,numVars:r,tokenised:i}=Po(e),o=t.length;return s=>{let l=i;for(let a=0;atypeof e=="number"?0:e;function mv(e){const t=jh(e);return Nh(e)(t.map(hv))}const Kt={test:pv,parse:jh,createTransformer:Nh,getAnimatableNone:mv},_h=(e,t)=>n=>`${n>0?t:e}`;function Fh(e,t){return typeof e=="number"?n=>Q(e,t,n):ye.test(e)?Dh(e,t):e.startsWith("var(")?_h(e,t):zh(e,t)}const Oh=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,s)=>Fh(o,t[s]));return o=>{for(let s=0;s{const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Fh(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}},zh=(e,t)=>{const n=Kt.createTransformer(t),r=Po(e),i=Po(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Bt(Oh(r.values,i.values),n):_h(e,t)},bn=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},jc=(e,t)=>n=>Q(e,t,n);function yv(e){return typeof e=="number"?jc:typeof e=="string"?ye.test(e)?Dh:zh:Array.isArray(e)?Oh:typeof e=="object"?gv:jc}function vv(e,t,n){const r=[],i=n||yv(e[0]),o=e.length-1;for(let s=0;st[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=vv(t,r,i),l=s.length,a=u=>{let c=0;if(l>1)for(;ca(Ht(e[0],e[o-1],u)):a}function xv(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=bn(0,t,r);e.push(Q(n,1,i))}}function Ih(e){const t=[0];return xv(t,e.length-1),t}function wv(e,t){return e.map(n=>n*t)}function Sv(e,t){return e.map(()=>t||Ph).splice(0,e.length-1)}function Co({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=rv(r)?r.map(Ac):Ac(r),o={done:!1,value:t[0]},s=wv(n&&n.length===t.length?n:Ih(t),e),l=es(s,t,{ease:Array.isArray(i)?i:Sv(t,i)});return{calculatedDuration:e,next:a=>(o.value=l(a),o.done=a>=e,o)}}function iu(e,t){return t?e*(1e3/t):0}const kv=5;function Bh(e,t,n){const r=Math.max(t-kv,0);return iu(n-e(r),t-r)}const _s=.001,Pv=.01,Nc=10,Cv=.05,Tv=1;function Ev({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;yh(e<=Ut(Nc));let s=1-t;s=Ht(Cv,Tv,s),e=Ht(Pv,Nc,ut(e)),s<1?(i=u=>{const c=u*s,f=c*e,d=c-n,m=Ol(u,s),y=Math.exp(-f);return _s-d/m*y},o=u=>{const f=u*s*e,d=f*n+n,m=Math.pow(s,2)*Math.pow(u,2)*e,y=Math.exp(-f),v=Ol(Math.pow(u,2),s);return(-i(u)+_s>0?-1:1)*((d-m)*y)/v}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-_s+c*f},o=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const l=5/e,a=Vv(i,o,l);if(e=Ut(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(a,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const Lv=12;function Vv(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function Av(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!_c(e,Mv)&&_c(e,Dv)){const n=Ev(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function Uh({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:l,damping:a,mass:u,velocity:c,duration:f,isResolvedFromDuration:d}=Av(r),m=c?-ut(c):0,y=a/(2*Math.sqrt(l*u)),v=o-i,E=ut(Math.sqrt(l/u)),g=Math.abs(v)<5;n||(n=g?.01:2),t||(t=g?.005:.5);let p;if(y<1){const h=Ol(E,y);p=x=>{const w=Math.exp(-y*E*x);return o-w*((m+y*E*v)/h*Math.sin(h*x)+v*Math.cos(h*x))}}else if(y===1)p=h=>o-Math.exp(-E*h)*(v+(m+E*v)*h);else{const h=E*Math.sqrt(y*y-1);p=x=>{const w=Math.exp(-y*E*x),T=Math.min(h*x,300);return o-w*((m+y*E*v)*Math.sinh(T)+h*v*Math.cosh(T))/h}}return{calculatedDuration:d&&f||null,next:h=>{const x=p(h);if(d)s.done=h>=f;else{let w=m;h!==0&&(y<1?w=Bh(p,h,x):w=0);const T=Math.abs(w)<=n,C=Math.abs(o-x)<=t;s.done=T&&C}return s.value=s.done?o:x,s}}}function Fc({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:l,max:a,restDelta:u=.5,restSpeed:c}){const f=e[0],d={done:!1,value:f},m=P=>l!==void 0&&Pa,y=P=>l===void 0?a:a===void 0||Math.abs(l-P)-v*Math.exp(-P/r),h=P=>g+p(P),x=P=>{const j=p(P),A=h(P);d.done=Math.abs(j)<=u,d.value=d.done?g:A};let w,T;const C=P=>{m(d.value)&&(w=P,T=Uh({keyframes:[d.value,y(d.value)],velocity:Bh(h,P,d.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return C(0),{calculatedDuration:null,next:P=>{let j=!1;return!T&&w===void 0&&(j=!0,x(P),C(P)),w!==void 0&&P>w?T.next(P-w):(!j&&x(P),d)}}}const Rv=e=>{const t=({timestamp:n})=>e(n);return{start:()=>I.update(t,!0),stop:()=>be(t),now:()=>te.isProcessing?te.timestamp:performance.now()}},Oc=2e4;function zc(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Oc?1/0:t}const jv={decay:Fc,inertia:Fc,tween:Co,keyframes:Co,spring:Uh};function ei({autoplay:e=!0,delay:t=0,driver:n=Rv,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:l="loop",onPlay:a,onStop:u,onComplete:c,onUpdate:f,...d}){let m=1,y=!1,v,E;const g=()=>{E=new Promise(R=>{v=R})};g();let p;const h=jv[i]||Co;let x;h!==Co&&typeof r[0]!="number"&&(x=es([0,100],r,{clamp:!1}),r=[0,100]);const w=h({...d,keyframes:r});let T;l==="mirror"&&(T=h({...d,keyframes:[...r].reverse(),velocity:-(d.velocity||0)}));let C="idle",P=null,j=null,A=null;w.calculatedDuration===null&&o&&(w.calculatedDuration=zc(w));const{calculatedDuration:J}=w;let ke=1/0,Pe=1/0;J!==null&&(ke=J+s,Pe=ke*(o+1)-s);let b=0;const ee=R=>{if(j===null)return;m>0&&(j=Math.min(j,R)),m<0&&(j=Math.min(R-Pe/m,j)),P!==null?b=P:b=Math.round(R-j)*m;const H=b-t*(m>=0?1:-1),qt=m>=0?H<0:H>Pe;b=Math.max(H,0),C==="finished"&&P===null&&(b=Pe);let tt=b,Sn=w;if(o){const ts=b/ke;let fi=Math.floor(ts),Jt=ts%1;!Jt&&ts>=1&&(Jt=1),Jt===1&&fi--,fi=Math.min(fi,o+1);const fu=!!(fi%2);fu&&(l==="reverse"?(Jt=1-Jt,s&&(Jt-=s/ke)):l==="mirror"&&(Sn=T));let du=Ht(0,1,Jt);b>Pe&&(du=l==="reverse"&&fu?1:0),tt=du*ke}const De=qt?{done:!1,value:r[0]}:Sn.next(tt);x&&(De.value=x(De.value));let{done:Zt}=De;!qt&&J!==null&&(Zt=m>=0?b>=Pe:b<=0);const vm=P===null&&(C==="finished"||C==="running"&&Zt);return f&&f(De.value),vm&&L(),De},Oe=()=>{p&&p.stop(),p=void 0},et=()=>{C="idle",Oe(),v(),g(),j=A=null},L=()=>{C="finished",c&&c(),Oe(),v()},N=()=>{if(y)return;p||(p=n(ee));const R=p.now();a&&a(),P!==null?j=R-P:(!j||C==="finished")&&(j=R),C==="finished"&&g(),A=j,P=null,C="running",p.start()};e&&N();const _={then(R,H){return E.then(R,H)},get time(){return ut(b)},set time(R){R=Ut(R),b=R,P!==null||!p||m===0?P=R:j=p.now()-R/m},get duration(){const R=w.calculatedDuration===null?zc(w):w.calculatedDuration;return ut(R)},get speed(){return m},set speed(R){R===m||!p||(m=R,_.time=ut(b))},get state(){return C},play:N,pause:()=>{C="paused",P=b},stop:()=>{y=!0,C!=="idle"&&(C="idle",u&&u(),et())},cancel:()=>{A!==null&&ee(A),et()},complete:()=>{C="finished"},sample:R=>(j=0,ee(R))};return _}function Nv(e){let t;return()=>(t===void 0&&(t=e()),t)}const _v=Nv(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Fv=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Ai=10,Ov=2e4,zv=(e,t)=>t.type==="spring"||e==="backgroundColor"||!xh(t.ease);function Iv(e,t,{onUpdate:n,onComplete:r,...i}){if(!(_v()&&Fv.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let s=!1,l,a;const u=()=>{a=new Promise(p=>{l=p})};u();let{keyframes:c,duration:f=300,ease:d,times:m}=i;if(zv(t,i)){const p=ei({...i,repeat:0,delay:0});let h={done:!1,value:c[0]};const x=[];let w=0;for(;!h.done&&wy.cancel(),E=()=>{I.update(v),l(),u()};return y.onfinish=()=>{e.set(Zy(c,i)),r&&r(),E()},{then(p,h){return a.then(p,h)},attachTimeline(p){return y.timeline=p,y.onfinish=null,Z},get time(){return ut(y.currentTime||0)},set time(p){y.currentTime=Ut(p)},get speed(){return y.playbackRate},set speed(p){y.playbackRate=p},get duration(){return ut(f)},play:()=>{s||(y.play(),be(v))},pause:()=>y.pause(),stop:()=>{if(s=!0,y.playState==="idle")return;const{currentTime:p}=y;if(p){const h=ei({...i,autoplay:!1});e.setWithVelocity(h.sample(p-Ai).value,h.sample(p).value,Ai)}E()},complete:()=>y.finish(),cancel:E}}function Bv({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Z,pause:Z,stop:Z,then:o=>(o(),Promise.resolve()),cancel:Z,complete:Z});return t?ei({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const Uv={type:"spring",stiffness:500,damping:25,restSpeed:10},$v=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Wv={type:"keyframes",duration:.8},Hv={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Kv=(e,{keyframes:t})=>t.length>2?Wv:xn.has(e)?e.startsWith("scale")?$v(t[1]):Uv:Hv,zl=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Kt.test(t)||t==="0")&&!t.startsWith("url(")),Gv=new Set(["brightness","contrast","saturate","opacity"]);function Qv(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Xo)||[];if(!r)return e;const i=n.replace(r,"");let o=Gv.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const Yv=/([a-z-]*)\(.*?\)/g,Il={...Kt,getAnimatableNone:e=>{const t=e.match(Yv);return t?t.map(Qv).join(" "):e}},Xv={...nh,color:ye,backgroundColor:ye,outlineColor:ye,fill:ye,stroke:ye,borderColor:ye,borderTopColor:ye,borderRightColor:ye,borderBottomColor:ye,borderLeftColor:ye,filter:Il,WebkitFilter:Il},ou=e=>Xv[e];function $h(e,t){let n=ou(e);return n!==Il&&(n=Kt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Wh=e=>/^0[^.\s]+$/.test(e);function qv(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Wh(e)}function Zv(e,t,n,r){const i=zl(t,n);let o;Array.isArray(n)?o=[...n]:o=[null,n];const s=r.from!==void 0?r.from:e.get();let l;const a=[];for(let u=0;ui=>{const o=Hh(r,e)||{},s=o.delay||r.delay||0;let{elapsed:l=0}=r;l=l-Ut(s);const a=Zv(t,e,n,o),u=a[0],c=a[a.length-1],f=zl(e,u),d=zl(e,c);let m={keyframes:a,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-l,onUpdate:y=>{t.set(y),o.onUpdate&&o.onUpdate(y)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(Jv(o)||(m={...m,...Kv(e,m)}),m.duration&&(m.duration=Ut(m.duration)),m.repeatDelay&&(m.repeatDelay=Ut(m.repeatDelay)),!f||!d||Xy.current||o.type===!1)return Bv(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const y=Iv(t,e,m);if(y)return y}return ei(m)};function To(e){return!!(ge(e)&&e.add)}const Kh=e=>/^\-?\d*\.?\d+$/.test(e);function lu(e,t){e.indexOf(t)===-1&&e.push(t)}function au(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class uu{constructor(){this.subscriptions=[]}add(t){return lu(this.subscriptions,t),()=>au(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e)),Ar={current:void 0};class e1{constructor(t,n={}){this.version="10.16.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:o,timestamp:s}=te;this.lastUpdated!==s&&(this.timeDelta=o,this.lastUpdated=s,I.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>I.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=bv(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new uu);const r=this.events[t].add(n);return t==="change"?()=>{r(),I.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Ar.current&&Ar.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?iu(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Xe(e,t){return new e1(e,t)}const Gh=e=>t=>t.test(e),t1={test:e=>e==="auto",parse:e=>e},Qh=[wn,M,at,Pt,uy,ay,t1],dr=e=>Qh.find(Gh(e)),n1=[...Qh,ye,Kt],r1=e=>n1.find(Gh(e));function i1(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Xe(n))}function o1(e,t){const n=Jo(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const s in o){const l=Py(o[s]);i1(e,s,l)}}function s1(e,t,n){var r,i;const o=Object.keys(t).filter(l=>!e.hasValue(l)),s=o.length;if(s)for(let l=0;la.remove(f))),u.push(v)}return s&&Promise.all(u).then(()=>{s&&o1(e,s)}),u}function Bl(e,t,n={}){const r=Jo(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(Yh(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(a=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:f}=i;return c1(e,t,u+a,c,f,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[a,u]=l==="beforeChildren"?[o,s]:[s,o];return a().then(()=>u())}else return Promise.all([o(),s(n.delay)])}function c1(e,t,n=0,r=0,i=1,o){const s=[],l=(e.variantChildren.size-1)*r,a=i===1?(u=0)=>u*r:(u=0)=>l-u*r;return Array.from(e.variantChildren).sort(f1).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(Bl(u,t,{...o,delay:n+a(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function f1(e,t){return e.sortNodePosition(t)}function d1(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>Bl(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Bl(e,t,n);else{const i=typeof t=="function"?Jo(e,t,n.custom):t;r=Promise.all(Yh(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}const p1=[...Ka].reverse(),h1=Ka.length;function m1(e){return t=>Promise.all(t.map(({animation:n,options:r})=>d1(e,n,r)))}function g1(e){let t=m1(e);const n=v1();let r=!0;const i=(a,u)=>{const c=Jo(e,u);if(c){const{transition:f,transitionEnd:d,...m}=c;a={...a,...m,...d}}return a};function o(a){t=a(e)}function s(a,u){const c=e.getProps(),f=e.getVariantContext(!0)||{},d=[],m=new Set;let y={},v=1/0;for(let g=0;gv&&w;const A=Array.isArray(x)?x:[x];let J=A.reduce(i,{});T===!1&&(J={});const{prevResolvedValues:ke={}}=h,Pe={...ke,...J},b=ee=>{j=!0,m.delete(ee),h.needsAnimating[ee]=!0};for(const ee in Pe){const Oe=J[ee],et=ke[ee];y.hasOwnProperty(ee)||(Oe!==et?ko(Oe)&&ko(et)?!gh(Oe,et)||P?b(ee):h.protectedKeys[ee]=!0:Oe!==void 0?b(ee):m.add(ee):Oe!==void 0&&m.has(ee)?b(ee):h.protectedKeys[ee]=!0)}h.prevProp=x,h.prevResolvedValues=J,h.isActive&&(y={...y,...J}),r&&e.blockInitialAnimation&&(j=!1),j&&!C&&d.push(...A.map(ee=>({animation:ee,options:{type:p,...a}})))}if(m.size){const g={};m.forEach(p=>{const h=e.getBaseTarget(p);h!==void 0&&(g[p]=h)}),d.push({animation:g})}let E=!!d.length;return r&&c.initial===!1&&!e.manuallyAnimateOnMount&&(E=!1),r=!1,E?t(d):Promise.resolve()}function l(a,u,c){var f;if(n[a].isActive===u)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(m=>{var y;return(y=m.animationState)===null||y===void 0?void 0:y.setActive(a,u)}),n[a].isActive=u;const d=s(c,a);for(const m in n)n[m].protectedKeys={};return d}return{animateChanges:s,setActive:l,setAnimateFunction:o,getState:()=>n}}function y1(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!gh(t,e):!1}function bt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function v1(){return{animate:bt(!0),whileInView:bt(),whileHover:bt(),whileTap:bt(),whileDrag:bt(),whileFocus:bt(),exit:bt()}}class x1 extends Xt{constructor(t){super(t),t.animationState||(t.animationState=g1(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Qo(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let w1=0;class S1 extends Xt{constructor(){super(...arguments),this.id=w1++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const o=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const k1={animation:{Feature:x1},exit:{Feature:S1}},Ic=(e,t)=>Math.abs(e-t);function P1(e,t){const n=Ic(e.x,t.x),r=Ic(e.y,t.y);return Math.sqrt(n**2+r**2)}class Xh{constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=Os(this.lastMoveEventInfo,this.history),c=this.startEvent!==null,f=P1(u.offset,{x:0,y:0})>=3;if(!c&&!f)return;const{point:d}=u,{timestamp:m}=te;this.history.push({...d,timestamp:m});const{onStart:y,onMove:v}=this.handlers;c||(y&&y(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,u)},this.handlePointerMove=(u,c)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=Fs(c,this.transformPagePoint),I.update(this.updatePoint,!0)},this.handlePointerUp=(u,c)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:f,onSessionEnd:d}=this.handlers,m=Os(u.type==="pointercancel"?this.lastMoveEventInfo:Fs(c,this.transformPagePoint),this.history);this.startEvent&&f&&f(u,m),d&&d(u,m)},!fh(t))return;this.handlers=n,this.transformPagePoint=r;const i=Zo(t),o=Fs(i,this.transformPagePoint),{point:s}=o,{timestamp:l}=te;this.history=[{...s,timestamp:l}];const{onSessionStart:a}=n;a&&a(t,Os(o,this.history)),this.removeListeners=Bt(gt(window,"pointermove",this.handlePointerMove),gt(window,"pointerup",this.handlePointerUp),gt(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),be(this.updatePoint)}}function Fs(e,t){return t?{point:t(e.point)}:e}function Bc(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Os({point:e},t){return{point:e,delta:Bc(e,qh(t)),offset:Bc(e,C1(t)),velocity:T1(t,.1)}}function C1(e){return e[0]}function qh(e){return e[e.length-1]}function T1(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=qh(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ut(t)));)n--;if(!r)return{x:0,y:0};const o=ut(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Ne(e){return e.max-e.min}function Ul(e,t=0,n=.01){return Math.abs(e-t)<=n}function Uc(e,t,n,r=.5){e.origin=r,e.originPoint=Q(t.min,t.max,e.origin),e.scale=Ne(n)/Ne(t),(Ul(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Q(n.min,n.max,e.origin)-e.originPoint,(Ul(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Rr(e,t,n,r){Uc(e.x,t.x,n.x,r?r.originX:void 0),Uc(e.y,t.y,n.y,r?r.originY:void 0)}function $c(e,t,n){e.min=n.min+t.min,e.max=e.min+Ne(t)}function E1(e,t,n){$c(e.x,t.x,n.x),$c(e.y,t.y,n.y)}function Wc(e,t,n){e.min=t.min-n.min,e.max=e.min+Ne(t)}function jr(e,t,n){Wc(e.x,t.x,n.x),Wc(e.y,t.y,n.y)}function L1(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?Q(n,e,r.max):Math.min(e,n)),e}function Hc(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 V1(e,{top:t,left:n,bottom:r,right:i}){return{x:Hc(e.x,n,i),y:Hc(e.y,t,r)}}function Kc(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=bn(t.min,t.max-r,e.min):r>i&&(n=bn(e.min,e.max-i,t.min)),Ht(0,1,n)}function A1(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const $l=.35;function R1(e=$l){return e===!1?e=0:e===!0&&(e=$l),{x:Gc(e,"left","right"),y:Gc(e,"top","bottom")}}function Gc(e,t,n){return{min:Qc(e,t),max:Qc(e,n)}}function Qc(e,t){return typeof e=="number"?e:e[t]||0}const Yc=()=>({translate:0,scale:1,origin:0,originPoint:0}),zn=()=>({x:Yc(),y:Yc()}),Xc=()=>({min:0,max:0}),re=()=>({x:Xc(),y:Xc()});function it(e){return[e("x"),e("y")]}function Zh({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function j1({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function N1(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function zs(e){return e===void 0||e===1}function Wl({scale:e,scaleX:t,scaleY:n}){return!zs(e)||!zs(t)||!zs(n)}function rn(e){return Wl(e)||Jh(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Jh(e){return qc(e.x)||qc(e.y)}function qc(e){return e&&e!=="0%"}function Eo(e,t,n){const r=e-n,i=t*r;return n+i}function Zc(e,t,n,r,i){return i!==void 0&&(e=Eo(e,i,r)),Eo(e,n,r)+t}function Hl(e,t=0,n=1,r,i){e.min=Zc(e.min,t,n,r,i),e.max=Zc(e.max,t,n,r,i)}function bh(e,{x:t,y:n}){Hl(e.x,t.translate,t.scale,t.originPoint),Hl(e.y,n.translate,n.scale,n.originPoint)}function _1(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let l=0;l1.0000000000001||e<.999999999999?e:1}function Lt(e,t){e.min=e.min+t,e.max=e.max+t}function bc(e,t,[n,r,i]){const o=t[i]!==void 0?t[i]:.5,s=Q(e.min,e.max,o);Hl(e,t[n],t[r],s,t.scale)}const F1=["x","scaleX","originX"],O1=["y","scaleY","originY"];function In(e,t){bc(e.x,t,F1),bc(e.y,t,O1)}function em(e,t){return Zh(N1(e.getBoundingClientRect(),t))}function z1(e,t,n){const r=em(e,n),{scroll:i}=t;return i&&(Lt(r.x,i.offset.x),Lt(r.y,i.offset.y)),r}const I1=new WeakMap;class B1{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=re(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=a=>{this.stopAnimation(),n&&this.snapToCursor(Zo(a,"page").point)},o=(a,u)=>{const{drag:c,dragPropagation:f,onDragStart:d}=this.getProps();if(c&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ph(c),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),it(y=>{let v=this.getAxisMotionValue(y).get()||0;if(at.test(v)){const{projection:E}=this.visualElement;if(E&&E.layout){const g=E.layout.layoutBox[y];g&&(v=Ne(g)*(parseFloat(v)/100))}}this.originPoint[y]=v}),d&&I.update(()=>d(a,u),!1,!0);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},s=(a,u)=>{const{dragPropagation:c,dragDirectionLock:f,onDirectionLock:d,onDrag:m}=this.getProps();if(!c&&!this.openGlobalLock)return;const{offset:y}=u;if(f&&this.currentDirection===null){this.currentDirection=U1(y),this.currentDirection!==null&&d&&d(this.currentDirection);return}this.updateAxis("x",u.point,y),this.updateAxis("y",u.point,y),this.visualElement.render(),m&&m(a,u)},l=(a,u)=>this.stop(a,u);this.panSession=new Xh(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:l},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&I.update(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Ri(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=L1(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;t&&Fn(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=V1(r.layoutBox,t):this.constraints=!1,this.elastic=R1(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&it(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=A1(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Fn(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=z1(r,i.root,this.visualElement.getTransformPagePoint());let s=D1(i.layout.layoutBox,o);if(n){const l=n(j1(s));this.hasMutatedConstraints=!!l,l&&(s=Zh(l))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:l}=this.getProps(),a=this.constraints||{},u=it(c=>{if(!Ri(c,n,this.currentDirection))return;let f=a&&a[c]||{};s&&(f={min:0,max:0});const d=i?200:1e6,m=i?40:1e7,y={type:"inertia",velocity:r?t[c]:0,bounceStiffness:d,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(c,y)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(su(t,r,0,n))}stopAnimation(){it(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){it(n=>{const{drag:r}=this.getProps();if(!Ri(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:l}=i.layout.layoutBox[n];o.set(t[n]-Q(s,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Fn(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};it(s=>{const l=this.getAxisMotionValue(s);if(l){const a=l.get();i[s]=M1({min:a,max:a},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),it(s=>{if(!Ri(s,t,null))return;const l=this.getAxisMotionValue(s),{min:a,max:u}=this.constraints[s];l.set(Q(a,u,i[s]))})}addListeners(){if(!this.visualElement.current)return;I1.set(this.visualElement,this);const t=this.visualElement.current,n=gt(t,"pointerdown",a=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(a)}),r=()=>{const{dragConstraints:a}=this.getProps();Fn(a)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const s=ht(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:a,hasLayoutChanged:u})=>{this.isDragging&&u&&(it(c=>{const f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=a[c].translate,f.set(f.get()+a[c].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=$l,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:l}}}function Ri(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function U1(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class $1 extends Xt{constructor(t){super(t),this.removeGroupControls=Z,this.removeListeners=Z,this.controls=new B1(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Z}unmount(){this.removeGroupControls(),this.removeListeners()}}const ef=e=>(t,n)=>{e&&I.update(()=>e(t,n))};class W1 extends Xt{constructor(){super(...arguments),this.removePointerDownListener=Z}onPointerDown(t){this.session=new Xh(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:ef(t),onStart:ef(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&I.update(()=>i(o,s))}}}mount(){this.removePointerDownListener=gt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function H1(){const e=D.useContext(Ha);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=D.useId();return D.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Gi={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tf(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const pr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(M.test(e))e=parseFloat(e);else return e;const n=tf(e,t.target.x),r=tf(e,t.target.y);return`${n}% ${r}%`}},K1={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Kt.parse(e);if(i.length>5)return r;const o=Kt.createTransformer(e),s=typeof i[0]!="number"?1:0,l=n.x.scale*t.x,a=n.y.scale*t.y;i[0+s]/=l,i[1+s]/=a;const u=Q(l,a,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}};class G1 extends bl.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;ty(Q1),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Gi.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,s=r.projection;return s&&(s.isPresent=o,i||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||I.postRender(()=>{const l=s.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function tm(e){const[t,n]=H1(),r=D.useContext(qp);return bl.createElement(G1,{...e,layoutGroup:r,switchLayoutGroup:D.useContext(Zp),isPresent:t,safeToRemove:n})}const Q1={borderRadius:{...pr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:pr,borderTopRightRadius:pr,borderBottomLeftRadius:pr,borderBottomRightRadius:pr,boxShadow:K1},nm=["TopLeft","TopRight","BottomLeft","BottomRight"],Y1=nm.length,nf=e=>typeof e=="string"?parseFloat(e):e,rf=e=>typeof e=="number"||M.test(e);function X1(e,t,n,r,i,o){i?(e.opacity=Q(0,n.opacity!==void 0?n.opacity:1,q1(r)),e.opacityExit=Q(t.opacity!==void 0?t.opacity:1,0,Z1(r))):o&&(e.opacity=Q(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(bn(e,t,r))}function sf(e,t){e.min=t.min,e.max=t.max}function ze(e,t){sf(e.x,t.x),sf(e.y,t.y)}function lf(e,t,n,r,i){return e-=t,e=Eo(e,1/n,r),i!==void 0&&(e=Eo(e,1/i,r)),e}function J1(e,t=0,n=1,r=.5,i,o=e,s=e){if(at.test(t)&&(t=parseFloat(t),t=Q(s.min,s.max,t/100)-s.min),typeof t!="number")return;let l=Q(o.min,o.max,r);e===o&&(l-=t),e.min=lf(e.min,t,n,l,i),e.max=lf(e.max,t,n,l,i)}function af(e,t,[n,r,i],o,s){J1(e,t[n],t[r],t[i],t.scale,o,s)}const b1=["x","scaleX","originX"],ex=["y","scaleY","originY"];function uf(e,t,n,r){af(e.x,t,b1,n?n.x:void 0,r?r.x:void 0),af(e.y,t,ex,n?n.y:void 0,r?r.y:void 0)}function cf(e){return e.translate===0&&e.scale===1}function im(e){return cf(e.x)&&cf(e.y)}function tx(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function om(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function ff(e){return Ne(e.x)/Ne(e.y)}class nx{constructor(){this.members=[]}add(t){lu(this.members,t),t.scheduleRender()}remove(t){if(au(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function df(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:a,rotateX:u,rotateY:c}=n;a&&(r+=`rotate(${a}deg) `),u&&(r+=`rotateX(${u}deg) `),c&&(r+=`rotateY(${c}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return(s!==1||l!==1)&&(r+=`scale(${s}, ${l})`),r||"none"}const rx=(e,t)=>e.depth-t.depth;class ix{constructor(){this.children=[],this.isDirty=!1}add(t){lu(this.children,t),this.isDirty=!0}remove(t){au(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rx),this.isDirty=!1,this.children.forEach(t)}}function ox(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(be(r),e(o-t))};return I.read(r,!0),()=>be(r)}function sx(e){window.MotionDebug&&window.MotionDebug.record(e)}function lx(e){return e instanceof SVGElement&&e.tagName!=="svg"}function ax(e,t,n){const r=ge(e)?e:Xe(e);return r.start(su("",r,t,n)),r.animation}const pf=["","X","Y","Z"],hf=1e3;let ux=0;const on={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function sm({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},l=t==null?void 0:t()){this.id=ux++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{on.totalNodes=on.resolvedTargetDeltas=on.recalculatedProjection=0,this.nodes.forEach(dx),this.nodes.forEach(yx),this.nodes.forEach(vx),this.nodes.forEach(px),sx(on)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let a=0;athis.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=ox(d,250),Gi.hasAnimatedSinceResize&&(Gi.hasAnimatedSinceResize=!1,this.nodes.forEach(gf))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:m,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||Px,{onLayoutAnimationStart:E,onLayoutAnimationComplete:g}=c.getProps(),p=!this.targetLayout||!om(this.targetLayout,y)||m,h=!d&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||h||d&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,h);const x={...Hh(v,"layout"),onPlay:E,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else d||gf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,be(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(xx),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(hx),this.sharedNodes.forEach(wx)}scheduleUpdateProjection(){I.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){I.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a{const w=x/1e3;yf(f.x,s.x,w),yf(f.y,s.y,w),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(jr(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Sx(this.relativeTarget,this.relativeTargetOrigin,d,w),h&&tx(this.relativeTarget,h)&&(this.isProjectionDirty=!1),h||(h=re()),ze(h,this.relativeTarget)),v&&(this.animationValues=c,X1(c,u,this.latestValues,w,p,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(be(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=I.update(()=>{Gi.hasAnimatedSinceResize=!0,this.currentAnimation=ax(0,hf,{...s,onUpdate:l=>{this.mixTargetDelta(l),s.onUpdate&&s.onUpdate(l)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(hf),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:l,target:a,layout:u,latestValues:c}=s;if(!(!l||!a||!u)){if(this!==s&&this.layout&&u&&lm(this.options.animationType,this.layout.layoutBox,u.layoutBox)){a=this.target||re();const f=Ne(this.layout.layoutBox.x);a.x.min=s.target.x.min,a.x.max=a.x.min+f;const d=Ne(this.layout.layoutBox.y);a.y.min=s.target.y.min,a.y.max=a.y.min+d}ze(l,a),In(l,c),Rr(this.projectionDeltaWithTransform,this.layoutCorrected,l,c)}}registerSharedNode(s,l){this.sharedNodes.has(s)||this.sharedNodes.set(s,new nx),this.sharedNodes.get(s).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:l}=this.options;return l?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:l}=this.options;return l?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:l,preserveFollowOpacity:a}={}){const u=this.getStack();u&&u.promote(this,a),s&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetRotation(){const{visualElement:s}=this.options;if(!s)return;let l=!1;const{latestValues:a}=s;if((a.rotate||a.rotateX||a.rotateY||a.rotateZ)&&(l=!0),!l)return;const u={};for(let c=0;c{var l;return(l=s.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(mf),this.root.sharedNodes.clear()}}}function cx(e){e.updateLayout()}function fx(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?it(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],m=Ne(d);d.min=r[f].min,d.max=d.min+m}):lm(o,n.layoutBox,r)&&it(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],m=Ne(r[f]);d.max=d.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+m)});const l=zn();Rr(l,r,n.layoutBox);const a=zn();s?Rr(a,e.applyTransform(i,!0),n.measuredBox):Rr(a,r,n.layoutBox);const u=!im(l);let c=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:m}=f;if(d&&m){const y=re();jr(y,n.layoutBox,d.layoutBox);const v=re();jr(v,r,m.layoutBox),om(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 dx(e){on.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function px(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function hx(e){e.clearSnapshot()}function mf(e){e.clearMeasurements()}function mx(e){e.isLayoutDirty=!1}function gx(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function gf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function yx(e){e.resolveTargetDelta()}function vx(e){e.calcProjection()}function xx(e){e.resetRotation()}function wx(e){e.removeLeadSnapshot()}function yf(e,t,n){e.translate=Q(t.translate,0,n),e.scale=Q(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function vf(e,t,n,r){e.min=Q(t.min,n.min,r),e.max=Q(t.max,n.max,r)}function Sx(e,t,n,r){vf(e.x,t.x,n.x,r),vf(e.y,t.y,n.y,r)}function kx(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Px={duration:.45,ease:[.4,0,.1,1]},xf=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),wf=xf("applewebkit/")&&!xf("chrome/")?Math.round:Z;function Sf(e){e.min=wf(e.min),e.max=wf(e.max)}function Cx(e){Sf(e.x),Sf(e.y)}function lm(e,t,n){return e==="position"||e==="preserve-aspect"&&!Ul(ff(t),ff(n),.2)}const Tx=sm({attachResizeListener:(e,t)=>ht(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Is={current:void 0},am=sm({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Is.current){const e=new Tx({});e.mount(window),e.setOptions({layoutScroll:!0}),Is.current=e}return Is.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Ex={pan:{Feature:W1},drag:{Feature:$1,ProjectionNode:am,MeasureLayout:tm}},Lx=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Vx(e){const t=Lx.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function Kl(e,t,n=1){const[r,i]=Vx(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return Kh(s)?parseFloat(s):s}else return Nl(i)?Kl(i,t,n+1):i}function Dx(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const o=i.get();if(!Nl(o))return;const s=Kl(o,r);s&&i.set(s)});for(const i in t){const o=t[i];if(!Nl(o))continue;const s=Kl(o,r);s&&(t[i]=s,n||(n={}),n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}const Mx=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),um=e=>Mx.has(e),Ax=e=>Object.keys(e).some(um),kf=e=>e===wn||e===M,Pf=(e,t)=>parseFloat(e.split(", ")[t]),Cf=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Pf(i[1],t);{const o=r.match(/^matrix\((.+)\)$/);return o?Pf(o[1],e):0}},Rx=new Set(["x","y","z"]),jx=li.filter(e=>!Rx.has(e));function Nx(e){const t=[];return jx.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const er={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:Cf(4,13),y:Cf(5,14)};er.translateX=er.x;er.translateY=er.y;const _x=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:s}=o,l={};s==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{l[u]=er[u](r,o)}),t.render();const a=t.measureViewportBox();return n.forEach(u=>{const c=t.getValue(u);c&&c.jump(l[u]),e[u]=er[u](a,o)}),e},Fx=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(um);let o=[],s=!1;const l=[];if(i.forEach(a=>{const u=e.getValue(a);if(!e.hasValue(a))return;let c=n[a],f=dr(c);const d=t[a];let m;if(ko(d)){const y=d.length,v=d[0]===null?1:0;c=d[v],f=dr(c);for(let E=v;E=0?window.pageYOffset:null,u=_x(t,e,l);return o.length&&o.forEach(([c,f])=>{e.getValue(c).set(f)}),e.render(),Ko&&a!==null&&window.scrollTo({top:a}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function Ox(e,t,n,r){return Ax(t)?Fx(e,t,n,r):{target:t,transitionEnd:r}}const zx=(e,t,n,r)=>{const i=Dx(e,t,r);return t=i.target,r=i.transitionEnd,Ox(e,t,n,r)},Gl={current:null},cm={current:!1};function Ix(){if(cm.current=!0,!!Ko)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Gl.current=e.matches;e.addListener(t),t()}else Gl.current=!1}function Bx(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],s=n[i];if(ge(o))e.addValue(i,o),To(r)&&r.add(i);else if(ge(s))e.addValue(i,Xe(o,{owner:e})),To(r)&&r.remove(i);else if(s!==o)if(e.hasValue(i)){const l=e.getValue(i);!l.hasAnimated&&l.set(o)}else{const l=e.getStaticValue(i);e.addValue(i,Xe(l!==void 0?l:o,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const Tf=new WeakMap,fm=Object.keys(br),Ux=fm.length,Ef=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],$x=Ga.length;class Wx{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>I.render(this.render,!1,!0);const{latestValues:l,renderState:a}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=a,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.isControllingVariants=Yo(n),this.isVariantNode=Xp(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(n,{});for(const f in c){const d=c[f];l[f]!==void 0&&ge(d)&&(d.set(l[f],!1),To(u)&&u.add(f))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,Tf.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)),cm.current||Ix(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Gl.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Tf.delete(this.current),this.projection&&this.projection.unmount(),be(this.notifyUpdate),be(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=xn.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&I.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,o){let s,l;for(let a=0;athis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:o,layoutScroll:d,layoutRoot:m})}return l}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):re()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Xe(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=eu(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ge(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new uu),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class dm extends Wx{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},o){let s=a1(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),s&&(s=i(s))),o){s1(this,r,s);const l=zx(this,r,s,n);n=l.transitionEnd,r=l.target}return{transition:t,transitionEnd:n,...r}}}function Hx(e){return window.getComputedStyle(e)}class Kx extends dm{readValueFromInstance(t,n){if(xn.has(n)){const r=ou(n);return r&&r.default||0}else{const r=Hx(t),i=(eh(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return em(t,n)}build(t,n,r,i){Ya(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n){return ba(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ge(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){sh(t,n,r,i)}}class Gx extends dm{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(xn.has(n)){const r=ou(n);return r&&r.default||0}return n=lh.has(n)?n:Ja(n),t.getAttribute(n)}measureInstanceViewportBox(){return re()}scrapeMotionValuesFromProps(t,n){return uh(t,n)}build(t,n,r,i){qa(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){ah(t,n,r,i)}mount(t){this.isSVGTag=Za(t.tagName),super.mount(t)}}const Qx=(e,t)=>Qa(e)?new Gx(t,{enableHardwareAcceleration:!1}):new Kx(t,{enableHardwareAcceleration:!0}),Yx={layout:{ProjectionNode:am,MeasureLayout:tm}},Xx={...k1,...Hy,...Ex,...Yx},z=b0((e,t)=>Ay(e,t,Xx,Qx));function pm(e){const t=qo(()=>Xe(e)),{isStatic:n}=D.useContext(Wo);if(n){const[,r]=D.useState(e);D.useEffect(()=>t.on("change",r),[])}return t}const qx=e=>typeof e=="object"&&e.mix,Zx=e=>qx(e)?e.mix:void 0;function Jx(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],o=e[2+n],s=e[3+n],l=es(i,o,{mixer:Zx(o[0]),...s});return t?l(r):l}function hm(e,t){const n=pm(t()),r=()=>n.set(t());return r(),Go(()=>{const i=()=>I.update(r,!1,!0),o=e.map(s=>s.on("change",i));return()=>{o.forEach(s=>s()),be(r)}}),n}function bx(e){Ar.current=[],e();const t=hm(Ar.current,e);return Ar.current=void 0,t}function Ql(e,t,n,r){if(typeof e=="function")return bx(e);const i=typeof t=="function"?t:Jx(t,n,r);return Array.isArray(e)?Lf(e,i):Lf([e],([o])=>i(o))}function Lf(e,t){const n=qo(()=>[]);return hm(e,()=>{n.length=0;const r=e.length;for(let i=0;i{r.current&&r.current.stop()};return D.useInsertionEffect(()=>i.attach((s,l)=>{if(n)return l(s);if(o(),r.current=ei({keyframes:[i.get(),s],velocity:i.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:l}),!te.isProcessing){const a=performance.now()-te.timestamp;a<30&&(r.current.time=ut(a))}return i.get()},o),[JSON.stringify(t)]),Go(()=>{if(ge(e))return e.on("change",s=>i.set(parseFloat(s)))},[i]),i}function mm(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(bo(!!t.current),i=t.current),n?((r=n[e])!==null&&r!==void 0||(n[e]=i.querySelectorAll(e)),e=n[e]):e=i.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}const Qi=new WeakMap;let Ct;function tw(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 nw({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Qi.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return tw(e,n)}})})}function rw(e){e.forEach(nw)}function iw(){typeof ResizeObserver>"u"||(Ct=new ResizeObserver(rw))}function ow(e,t){Ct||iw();const n=mm(e);return n.forEach(r=>{let i=Qi.get(r);i||(i=new Set,Qi.set(r,i)),i.add(t),Ct==null||Ct.observe(r)}),()=>{n.forEach(r=>{const i=Qi.get(r);i==null||i.delete(t),i!=null&&i.size||Ct==null||Ct.unobserve(r)})}}const Yi=new Set;let Nr;function sw(){Nr=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};Yi.forEach(n=>n(t))},window.addEventListener("resize",Nr)}function lw(e){return Yi.add(e),Nr||sw(),()=>{Yi.delete(e),!Yi.size&&Nr&&(Nr=void 0)}}function aw(e,t){return typeof e=="function"?lw(e):ow(e,t)}const uw=50,Vf=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),cw=()=>({time:0,x:Vf(),y:Vf()}),fw={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Df(e,t,n,r){const i=n[t],{length:o,position:s}=fw[t],l=i.current,a=n.time;i.current=e["scroll"+s],i.scrollLength=e["scroll"+o]-e["client"+o],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=bn(0,i.scrollLength,i.current);const u=r-a;i.velocity=u>uw?0:iu(i.current-l,u)}function dw(e,t,n){Df(e,"x",t,n),Df(e,"y",t,n),t.time=n}function pw(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 o=r.getBoundingClientRect();n.x+=i.left-o.left,n.y+=i.top-o.top}else if(r instanceof SVGGraphicsElement){const{x:i,y:o}=r.getBBox();n.x+=i,n.y+=o;let s=null,l=r.parentNode;for(;!s;)l.tagName==="svg"&&(s=l),l=r.parentNode;r=s}else break;return n}const hw={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Yl={start:0,center:.5,end:1};function Mf(e,t,n=0){let r=0;if(Yl[e]!==void 0&&(e=Yl[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 mw=[0,0];function gw(e,t,n,r){let i=Array.isArray(e)?e:mw,o=0,s=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,Yl[e]?e:"0"]),o=Mf(i[0],n,r),s=Mf(i[1],t),o-s}const yw={x:0,y:0};function vw(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function xw(e,t,n){let{offset:r=hw.All}=n;const{target:i=e,axis:o="y"}=n,s=o==="y"?"height":"width",l=i!==e?pw(i,e):yw,a=i===e?{width:e.scrollWidth,height:e.scrollHeight}:vw(i),u={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let c=!t[o].interpolate;const f=r.length;for(let d=0;dww(e,r.target,n),update:i=>{dw(e,n,i),(r.offset||r.target)&&xw(e,n,r)},notify:()=>t(n)}}const hr=new WeakMap,Af=new WeakMap,Bs=new WeakMap,Rf=e=>e===document.documentElement?window:e;function kw(e,{container:t=document.documentElement,...n}={}){let r=Bs.get(t);r||(r=new Set,Bs.set(t,r));const i=cw(),o=Sw(t,e,i,n);if(r.add(o),!hr.has(t)){const l=()=>{for(const d of r)d.measure()},a=()=>{for(const d of r)d.update(te.timestamp)},u=()=>{for(const d of r)d.notify()},c=()=>{I.read(l,!1,!0),I.update(a,!1,!0),I.update(u,!1,!0)};hr.set(t,c);const f=Rf(t);window.addEventListener("resize",c,{passive:!0}),t!==document.documentElement&&Af.set(t,aw(t,c)),f.addEventListener("scroll",c,{passive:!0})}const s=hr.get(t);return I.read(s,!1,!0),()=>{var l;be(s);const a=Bs.get(t);if(!a||(a.delete(o),a.size))return;const u=hr.get(t);hr.delete(t),u&&(Rf(t).removeEventListener("scroll",u),(l=Af.get(t))===null||l===void 0||l(),window.removeEventListener("resize",u))}}function jf(e,t){yh(!!(!t||t.current))}const Pw=()=>({scrollX:Xe(0),scrollY:Xe(0),scrollXProgress:Xe(0),scrollYProgress:Xe(0)});function cu({container:e,target:t,layoutEffect:n=!0,...r}={}){const i=qo(Pw);return(n?Go:D.useEffect)(()=>(jf("target",t),jf("container",e),kw(({x:s,y:l})=>{i.scrollX.set(s.current),i.scrollXProgress.set(s.progress),i.scrollY.set(l.current),i.scrollYProgress.set(l.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}const Cw={some:0,all:1};function Tw(e,t,{root:n,margin:r,amount:i="some"}={}){const o=mm(e),s=new WeakMap,l=u=>{u.forEach(c=>{const f=s.get(c.target);if(c.isIntersecting!==!!f)if(c.isIntersecting){const d=t(c);typeof d=="function"?s.set(c.target,d):a.unobserve(c.target)}else f&&(f(c),s.delete(c.target))})},a=new IntersectionObserver(l,{root:n,rootMargin:r,threshold:typeof i=="number"?i:Cw[i]});return o.forEach(u=>a.observe(u)),()=>a.disconnect()}function Ew(e,{root:t,margin:n,amount:r,once:i=!1}={}){const[o,s]=D.useState(!1);return D.useEffect(()=>{if(!e.current||i&&o)return;const l=()=>(s(!0),i?void 0:()=>s(!1)),a={root:t&&t.current||void 0,margin:n,amount:r};return Tw(e.current,l,a)},[t,e,n,i]),o}const ti={_origin:"https://api.emailjs.com"},Lw=(e,t="https://api.emailjs.com")=>{ti._userID=e,ti._origin=t},gm=(e,t,n)=>{if(!e)throw"The public key is required. Visit https://dashboard.emailjs.com/admin/account";if(!t)throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!n)throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates";return!0};class Nf{constructor(t){this.status=t?t.status:0,this.text=t?t.responseText:"Network Error"}}const ym=(e,t,n={})=>new Promise((r,i)=>{const o=new XMLHttpRequest;o.addEventListener("load",({target:s})=>{const l=new Nf(s);l.status===200||l.text==="OK"?r(l):i(l)}),o.addEventListener("error",({target:s})=>{i(new Nf(s))}),o.open("POST",ti._origin+e,!0),Object.keys(n).forEach(s=>{o.setRequestHeader(s,n[s])}),o.send(t)}),Vw=(e,t,n,r)=>{const i=r||ti._userID;return gm(i,e,t),ym("/api/v1.0/email/send",JSON.stringify({lib_version:"3.11.0",user_id:i,service_id:e,template_id:t,template_params:n}),{"Content-type":"application/json"})},Dw=e=>{let t;if(typeof e=="string"?t=document.querySelector(e):t=e,!t||t.nodeName!=="FORM")throw"The 3rd parameter is expected to be the HTML form element or the style selector of form";return t},Mw=(e,t,n,r)=>{const i=r||ti._userID,o=Dw(n);gm(i,e,t);const s=new FormData(o);return s.append("lib_version","3.11.0"),s.append("service_id",e),s.append("template_id",t),s.append("user_id",i),ym("/api/v1.0/email/send-form",s)},Aw={init:Lw,send:Vw,sendForm:Mw},Pn={initial:{y:500,opacity:0},animate:{y:0,opacity:1,transition:{duration:.5,staggerChildren:.1}}},Rw=()=>{const e=D.useRef(),t=D.useRef(),[n,r]=D.useState(!1),[i,o]=D.useState(!1),s=Ew(e,{margin:"-100px"}),l=a=>{a.preventDefault(),Aw.sendForm("service_zdwh22i","template_mpvubeo",t.current,"1oYyVZzIwUYFoJRx3").then(u=>{o(!0)},u=>{r(!0)})};return S.jsxs(z.div,{ref:e,className:"contact",variants:Pn,initial:"initial",whileInView:"animate",children:[S.jsxs(z.div,{className:"textContainer",variants:Pn,children:[S.jsx(z.h1,{variants:Pn,children:"Let’s work together"}),S.jsxs(z.div,{className:"item",variants:Pn,children:[S.jsx("h2",{children:"Mail"}),S.jsx("span",{children:"devthekar@gmail.com"})]}),S.jsxs(z.div,{className:"item",variants:Pn,children:[S.jsx("h2",{children:"Location"}),S.jsx("span",{children:"Tampa, Florida"})]}),S.jsxs(z.div,{className:"item",variants:Pn,children:[S.jsx("h2",{children:"Phone"}),S.jsx("span",{children:"+1 941 301 6333"})]})]}),S.jsxs("div",{className:"formContainer",children:[S.jsx(z.div,{className:"phoneSvg",initial:{opacity:1},whileInView:{opacity:0},transition:{delay:3,duration:1},children:S.jsx("svg",{width:"450px",height:"450px",viewBox:"0 0 32.666 32.666",children:S.jsx(z.path,{strokeWidth:.2,fill:"none",initial:{pathLength:0},animate:s&&{pathLength:1},transition:{duration:3},d:`M28.189,16.504h-1.666c0-5.437-4.422-9.858-9.856-9.858l-0.001-1.664C23.021,4.979,28.189,10.149,28.189,16.504z + M16.666,7.856L16.665,9.52c3.853,0,6.983,3.133,6.981,6.983l1.666-0.001C25.312,11.735,21.436,7.856,16.666,7.856z M16.333,0 + C7.326,0,0,7.326,0,16.334c0,9.006,7.326,16.332,16.333,16.332c0.557,0,1.007-0.45,1.007-1.006c0-0.559-0.45-1.01-1.007-1.01 + c-7.896,0-14.318-6.424-14.318-14.316c0-7.896,6.422-14.319,14.318-14.319c7.896,0,14.317,6.424,14.317,14.319 + c0,3.299-1.756,6.568-4.269,7.954c-0.913,0.502-1.903,0.751-2.959,0.761c0.634-0.377,1.183-0.887,1.591-1.529 + c0.08-0.121,0.186-0.228,0.238-0.359c0.328-0.789,0.357-1.684,0.555-2.518c0.243-1.064-4.658-3.143-5.084-1.814 + c-0.154,0.492-0.39,2.048-0.699,2.458c-0.275,0.366-0.953,0.192-1.377-0.168c-1.117-0.952-2.364-2.351-3.458-3.457l0.002-0.001 + c-0.028-0.029-0.062-0.061-0.092-0.092c-0.031-0.029-0.062-0.062-0.093-0.092v0.002c-1.106-1.096-2.506-2.34-3.457-3.459 + c-0.36-0.424-0.534-1.102-0.168-1.377c0.41-0.311,1.966-0.543,2.458-0.699c1.326-0.424-0.75-5.328-1.816-5.084 + c-0.832,0.195-1.727,0.227-2.516,0.553c-0.134,0.057-0.238,0.16-0.359,0.24c-2.799,1.774-3.16,6.082-0.428,9.292 + c1.041,1.228,2.127,2.416,3.245,3.576l-0.006,0.004c0.031,0.031,0.063,0.06,0.095,0.09c0.03,0.031,0.059,0.062,0.088,0.095 + l0.006-0.006c1.16,1.118,2.535,2.765,4.769,4.255c4.703,3.141,8.312,2.264,10.438,1.098c3.67-2.021,5.312-6.338,5.312-9.719 + C32.666,7.326,25.339,0,16.333,0z`})})}),S.jsxs(z.form,{ref:t,onSubmit:l,initial:{opacity:0},whileInView:{opacity:1},transition:{delay:4,duration:1},children:[S.jsx("input",{type:"text",required:!0,placeholder:"Name",name:"name"}),S.jsx("input",{type:"email",required:!0,placeholder:"Email",name:"email"}),S.jsx("textarea",{rows:8,required:!0,placeholder:"Message",name:"message"}),S.jsx("button",{children:"Submit"}),n&&"Error",i&&"Success"]})]})]})};const jw=()=>{const[e,t]=D.useState({x:0,y:0});return D.useEffect(()=>{const n=r=>{t({x:r.clientX,y:r.clientY})};return window.addEventListener("mousemove",n),()=>{window.removeEventListener("mousemove",n)}},[]),S.jsxs(z.div,{className:"cursor",style:{pointerEvents:"none"},animate:{x:e.x-23,y:e.y-23},children:[S.jsx("div",{className:"cursor-follower"}),S.jsx("div",{className:"cursor-pointer"})]})};const en={initial:{x:-500,opacity:0},animate:{x:0,opacity:1,transition:{duration:1,staggerChildren:.1}},scrollButton:{opacity:0,y:10,transition:{duration:2,repeat:1/0}}},Nw={initial:{x:0},animate:{x:"-220%",transition:{repeat:1/0,repeatType:"mirror",duration:20}}},_w=()=>S.jsxs("div",{className:"hero",children:[S.jsx("div",{className:"wrapper",children:S.jsxs(z.div,{className:"textContainer",variants:en,initial:"initial",animate:"animate",children:[S.jsx(z.h2,{variants:en,children:"DEV THAKKAR"}),S.jsx(z.h1,{variants:en,children:"Software Engineer"}),S.jsxs(z.div,{variants:en,className:"buttons",children:[S.jsx("a",{href:"#Portfolio",children:S.jsx(z.button,{variants:en,children:"See my Latest Projects"})}),S.jsx("a",{href:"#Contact",children:S.jsx(z.button,{variants:en,children:"Contact Me"})})]}),S.jsx(z.img,{variants:en,animate:"scrollButton",src:"/scroll.png",alt:""})]})}),S.jsx(z.div,{className:"slidingTextContainer",variants:Nw,initial:"initial",animate:"animate",children:"Developer Engineer Engineer"}),S.jsx("div",{className:"imageContainer",children:S.jsx("img",{src:"/files/me.png",alt:""})})]}),Fw={open:{transition:{staggerChildren:.1}},closed:{transition:{staggerChildren:.05,staggerDirection:-1}}},Ow={open:{y:0,opacity:1},closed:{y:50,opacity:0}},zw=()=>{const e=["Home","Skills","Portfolio","Contact"];return S.jsx(z.div,{className:"links",variants:Fw,children:e.map(t=>S.jsx(z.a,{href:`#${t}`,variants:Ow,whileHover:{scale:1.1},whileTap:{scale:.95},children:t},t))})};const Iw=({setOpen:e})=>S.jsx("button",{onClick:()=>e(t=>!t),children:S.jsxs("svg",{width:"23",height:"23",viewBox:"0 0 23 23",children:[S.jsx(z.path,{strokeWidth:"3",stroke:"black",strokeLinecap:"round",variants:{closed:{d:"M 2 2.5 L 20 2.5"},open:{d:"M 3 16.5 L 17 2.5"}}}),S.jsx(z.path,{strokeWidth:"3",stroke:"black",strokeLinecap:"round",d:"M 2 9.423 L 20 9.423",variants:{closed:{opacity:1},open:{opacity:0}}}),S.jsx(z.path,{strokeWidth:"3",stroke:"black",strokeLinecap:"round",variants:{closed:{d:"M 2 16.346 L 20 16.346"},open:{d:"M 3 2.5 L 17 16.346"}}})]})}),Bw={open:{clipPath:"circle(1200px at 50px 50px)",transition:{type:"spring",stiffness:20}},closed:{clipPath:"circle(30px at 50px 50px)",transition:{delay:.5,type:"spring",stiffness:400,damping:40}}},Uw=()=>{const[e,t]=D.useState(!1);return S.jsxs(z.div,{className:"sidebar",animate:e?"open":"closed",children:[S.jsx(z.div,{className:"bg",variants:Bw,children:S.jsx(zw,{})}),S.jsx(Iw,{setOpen:t})]})};const $w=()=>S.jsxs("div",{className:"navbar",children:[S.jsx(Uw,{}),S.jsxs("div",{className:"wrapper",children:[S.jsx(z.span,{initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1},transition:{duration:.5},children:"Dev Thakkar"}),S.jsxs("div",{className:"social",children:[S.jsx("a",{href:"https://github.com/devthekar",target:"_blank",children:S.jsx("img",{src:"/github.png",alt:"github"})}),S.jsx("a",{href:"https://www.linkedin.com/in/dev-n-thakkar/",target:"_blank",children:S.jsx("img",{src:"/linkedin.png",alt:"linkedin"})}),S.jsx("a",{href:"https://www.instagram.com/devthekar/",target:"_blank",children:S.jsx("img",{src:"/instagram.png",alt:"instagram"})})]})]})]});const Ww=({type:e})=>{const t=D.useRef(),{scrollYProgress:n}=cu({target:t,offset:["start start","end start"]}),r=Ql(n,[0,1],["0%","500%"]),i=Ql(n,[0,1],["0%","100%"]);return S.jsxs("div",{className:"parallax",ref:t,style:{background:e==="services"?"linear-gradient(180deg, #111132, #0c0c1d)":"linear-gradient(180deg, #111132, #505064)"},children:[S.jsx(z.h1,{style:{y:r},children:e==="services"?"What We Do?":"What I've built?"}),S.jsx(z.div,{className:"mountains"}),S.jsx(z.div,{className:"planets",style:{y:i,backgroundImage:`url(${e==="services"?"/planets.png":"/sun.png"})`}}),S.jsx(z.div,{style:{x:i},className:"stars"})]})};const Hw=[{id:1,title:"Personal Portfolio",img:"/files/portfoliowebsite.png",desc:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores ab id ad nesciunt quo aut corporis modi? Voluptate, quos sunt dolorum facilis, id eum sequi placeat accusantium saepe eos laborum.",github:"https://github.com/DevTheKar/devthekar.github.io",demo:"https://devthekar.github.io",date:"May 2024"},{id:2,title:"Auto Enroll",img:"/files/autoenroll.png",desc:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores ab id ad nesciunt quo aut corporis modi? Voluptate, quos sunt dolorum facilis, id eum sequi placeat accusantium saepe eos laborum.",github:"https://github.com/DevTheKar/AutoEnroll",demo:"",date:"- May 2024"},{id:3,title:"Chronobot",img:"/files/Ed+Jan.png",desc:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores ab id ad nesciunt quo aut corporis modi? Voluptate, quos sunt dolorum facilis, id eum sequi placeat accusantium saepe eos laborum.",github:"https://github.com/DevTheKar/Chronobot",demo:"/files/Chronobot.exe",date:"- April 2024"},{id:4,title:"Amazon Product Watcher",img:"/files/amazon.jpeg",desc:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores ab id ad nesciunt quo aut corporis modi? Voluptate, quos sunt dolorum facilis, id eum sequi placeat accusantium saepe eos laborum.",github:"https://github.com/DevTheKar/AmazonProductWatcher",demo:"",date:"- April 2024"},{id:5,title:"MindfulMe",img:"/files/mindful-me.png",desc:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores ab id ad nesciunt quo aut corporis modi? Voluptate, quos sunt dolorum facilis, id eum sequi placeat accusantium saepe eos laborum.",github:"https://github.com/DevTheKar/MindfulMe",demo:"",date:"- March 2024"},{id:6,title:"RANCS Research Lab",img:"/files/Mach_E_Wallpaper_16-9.png",desc:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores ab id ad nesciunt quo aut corporis modi? Voluptate, quos sunt dolorum facilis, id eum sequi placeat accusantium saepe eos laborum.",github:"https://rancs-lab.com",demo:"https://www.youtube.com/watch?v=6l2A1gOhfC0&feature=youtu.be",date:"- January 2024"},{id:7,title:"Flappy Bird AI",img:"/files/flappybird.png",desc:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores ab id ad nesciunt quo aut corporis modi? Voluptate, quos sunt dolorum facilis, id eum sequi placeat accusantium saepe eos laborum.",github:"https://github.com/DevTheKar/FlappyBird",demo:"https://www.youtube.com/watch?v=X0PMk7BYuLE",date:"- December 2023"},{id:8,title:"Art Insight",img:"/files/artinsight_website.png",desc:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores ab id ad nesciunt quo aut corporis modi? Voluptate, quos sunt dolorum facilis, id eum sequi placeat accusantium saepe eos laborum.",github:"https://github.com/DevTheKar/ArtInsight",demo:"https://artinsight.streamlit.app",date:"- October 2023"}],Kw=({item:e})=>{const t=D.useRef(),{scrollYProgress:n}=cu({target:t}),r=Ql(n,[0,1],[-300,300]);return S.jsx("section",{children:S.jsx("div",{className:"container",children:S.jsxs("div",{className:"wrapper",children:[S.jsx("div",{className:"imageContainer",ref:t,children:S.jsx("img",{src:e.img,alt:""})}),S.jsxs(z.div,{className:"textContainer",style:{y:r},children:[S.jsx("h2",{children:e.title}),S.jsx("p",{children:e.desc}),S.jsxs("div",{className:"button-container",children:[S.jsx("a",{href:e.demo,children:S.jsx("button",{children:"See Demo"})}),S.jsx("a",{href:e.github,children:S.jsx("button",{children:"See Code"})})]}),S.jsx("div",{className:"date",children:e.date})]})]})})})},Gw=()=>{const e=D.useRef(),{scrollYProgress:t}=cu({target:e,offset:["end end","start start"]}),n=ew(t,{stiffness:100,damping:30});return S.jsxs("div",{className:"portfolio",ref:e,children:[S.jsxs("div",{className:"progress",children:[S.jsx("h1",{children:"Featured Works"}),S.jsx(z.div,{style:{scaleX:n},className:"progressBar"})]}),Hw.map(r=>S.jsx(Kw,{item:r},r.id))]})};const Qw=()=>S.jsxs("div",{children:[S.jsx(jw,{}),S.jsxs("section",{id:"Homepage",children:[S.jsx($w,{}),S.jsx(_w,{})]}),S.jsx("section",{id:"Portfolio",children:S.jsx(Ww,{type:"portfolio"})}),S.jsx(Gw,{}),S.jsx("section",{id:"Contact",children:S.jsx(Rw,{})})]});Us.createRoot(document.getElementById("root")).render(S.jsx(bl.StrictMode,{children:S.jsx(Qw,{})})); diff --git a/assets/index-9d4d114d.css b/assets/index-9d4d114d.css new file mode 100644 index 0000000..5af1223 --- /dev/null +++ b/assets/index-9d4d114d.css @@ -0,0 +1 @@ +.contact{height:100%;max-width:1366px;margin:auto;display:flex;align-items:center;gap:50px}@media (max-width: 738px){.contact{width:100%;padding:10px;flex-direction:column}}.contact .textContainer{flex:1;display:flex;flex-direction:column;gap:40px}@media (max-width: 738px){.contact .textContainer{gap:20px;text-align:center;align-items:center;margin-top:70px}}.contact .textContainer h1{font-size:100px;line-height:88px}@media (max-width: 738px){.contact .textContainer h1{font-size:36px}}.contact .textContainer span{font-weight:300}.contact .formContainer{flex:1;position:relative}@media (max-width: 738px){.contact .formContainer{padding:50px;width:100%}}.contact .formContainer .phoneSvg{stroke:orange;position:absolute;margin:auto;z-index:-1}.contact .formContainer form{display:flex;flex-direction:column;gap:20px}.contact .formContainer form input,.contact .formContainer form textarea{padding:20px;background-color:transparent;border:1px solid white;color:#fff;border-radius:5px}@media (max-width: 738px){.contact .formContainer form input,.contact .formContainer form textarea{padding:10px}}.contact .formContainer form button{padding:20px;border:none;background-color:orange;cursor:pointer;font-weight:500}@media (max-width: 738px){.contact .formContainer form button{padding:10px}}.cursor{width:50px;height:50px;border-radius:50%;border:1px solid white;position:fixed;z-index:999}@media (max-width: 738px){.cursor{display:none}}.hero{height:calc(100vh - 100px);overflow:hidden;background:linear-gradient(180deg,#0c0c1d,#111132);position:relative}.hero .wrapper{max-width:1366px;height:100%;margin:auto}.hero .wrapper .textContainer{width:50%;height:100%;display:flex;flex-direction:column;justify-content:center;gap:40px}@media (max-width: 738px){.hero .wrapper .textContainer{height:50%;width:100%;gap:20px;align-items:center;text-align:center}}.hero .wrapper .textContainer h2{font-size:30px;color:#639;letter-spacing:10px}.hero .wrapper .textContainer h1{font-size:88px}@media (max-width: 738px){.hero .wrapper .textContainer h1{font-size:36px}}.hero .wrapper .textContainer .buttons button{position:relative;padding:20px;border:1px solid white;border-radius:10px;background-color:transparent;color:#fff;margin-right:20px;cursor:pointer;font-weight:300;z-index:1}.hero .wrapper .textContainer img{width:50px}.hero .imageContainer{height:100%;position:absolute;top:0;right:0;padding-right:250px}@media (max-width: 738px){.hero .imageContainer{height:50%;width:100%;top:unset;bottom:0}}.hero .imageContainer img{width:100%;height:100%;object-fit:cover}.hero .slidingTextContainer{position:absolute;font-size:50vh;bottom:-120px;white-space:nowrap;color:#ffffff09;width:50%;font-weight:700;z-index:0}.sidebar{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#fff;color:#000}.sidebar .bg{z-index:999;position:fixed;top:0;left:0;bottom:0;width:400px;background:white}@media (max-width: 738px){.sidebar .bg{width:200px}}.sidebar .bg .links{position:absolute;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.sidebar .bg .links a{font-size:40px}@media (max-width: 738px){.sidebar .bg .links a{font-size:20px}}.sidebar button{z-index:999;position:fixed;padding-top:5px;padding-left:1px;width:50px;height:50px;border-radius:50%;top:25px;left:25px;background-color:#fff;border:none;cursor:pointer}.navbar{height:100px}.navbar .wrapper{max-width:1366px;margin:auto;display:flex;align-items:center;justify-content:space-between;height:100%}@media (max-width: 738px){.navbar .wrapper{justify-content:flex-end;padding:20px}}.navbar .wrapper span{font-weight:700}@media (max-width: 738px){.navbar .wrapper span{display:none}}.navbar .wrapper .social{display:flex;gap:20px}.navbar .wrapper .social img{width:25px;height:25px}.parallax{width:100%;height:100%;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.parallax h1{font-size:100px}@media (max-width: 738px){.parallax h1{font-size:72px;text-align:center}}.parallax .mountains{background-image:url(/mountains.png);background-size:cover;background-position:bottom;width:100%;height:100%;position:absolute;z-index:3}@media (max-width: 738px){.parallax .mountains{background-size:contain;background-repeat:no-repeat}}.parallax .planets{background-size:cover;background-position:bottom;width:100%;height:100%;position:absolute;z-index:2}@media (max-width: 738px){.parallax .planets{background-size:contain;background-repeat:no-repeat}}.parallax .stars{background-image:url(/stars.png);background-size:cover;background-position:bottom;width:100%;height:100%;position:absolute;z-index:1}.portfolio{position:relative}.portfolio .progress{position:sticky;top:0;left:0;padding-top:50px;text-align:center;color:orange;font-size:36px}@media (max-width: 738px){.portfolio .progress{padding-top:calc(100vh - 100px);font-size:24px}}.portfolio .progress .progressBar{height:10px;background-color:#fff}.portfolio .container{display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden}.portfolio .container .wrapper{max-width:1366px;height:100%;margin:auto;display:flex;align-items:center;justify-content:center;gap:50px}@media (max-width: 738px){.portfolio .container .wrapper{flex-direction:column}}.portfolio .container .wrapper .imageContainer{flex:1;height:50%}@media (max-width: 738px){.portfolio .container .wrapper .imageContainer{width:100%;max-height:300px}}.portfolio .container .wrapper .imageContainer img{width:100%;height:100%;object-fit:cover}@media (max-width: 738px){.portfolio .container .wrapper .imageContainer img{object-fit:contain}}.portfolio .container .wrapper .textContainer{flex:1;display:flex;flex-direction:column;gap:30px}@media (max-width: 738px){.portfolio .container .wrapper .textContainer{transform:none!important;padding:10px;align-items:center;text-align:center}}.portfolio .container .wrapper .textContainer h2{font-size:72px}@media (max-width: 738px){.portfolio .container .wrapper .textContainer h2{font-size:36px}}.portfolio .container .wrapper .textContainer p{color:gray;font-size:20px}@media (max-width: 738px){.portfolio .container .wrapper .textContainer p{font-size:16px}}.portfolio .container .wrapper .textContainer .button-container{display:flex;gap:10px;margin-top:20px}.portfolio .container .wrapper .textContainer .button-container button{background-color:orange;border:none;width:150px;border-radius:10px;padding:10px;cursor:pointer;flex:1;max-width:200px}.portfolio .date{position:absolute;bottom:0;right:0;color:gray;font-size:14px;margin-top:10px}html{scroll-snap-type:y mandatory;scroll-behavior:smooth}*{padding:0;margin:0;box-sizing:border-box;font-family:DM Sans,sans-serif}body{background-color:#0c0c1d;color:#d3d3d3}a{text-decoration:none;color:inherit}section{height:100vh;width:100vw;scroll-snap-align:center;overflow:hidden}.services{background:linear-gradient(180deg,#0c0c1d,#111132);height:100%;display:flex;flex-direction:column;justify-content:space-between}.services .textContainer{flex:1;align-self:flex-end;display:flex;align-items:center;gap:20px}@media (max-width: 738px){.services .textContainer{align-self:center;text-align:center;flex-direction:column}}.services .textContainer p{font-weight:200;font-size:20px;color:gray;text-align:right}.services .textContainer hr{width:500px;border:none;border-top:.5px solid gray}@media (max-width: 738px){.services .textContainer hr{width:300px}}.services .titleContainer{flex:2;display:flex;flex-direction:column;align-items:center}@media (max-width: 738px){.services .titleContainer{width:100%}}.services .titleContainer .title{display:flex;align-items:center;gap:50px}@media (max-width: 738px){.services .titleContainer .title{flex-direction:column;text-align:center;gap:20px}}.services .titleContainer .title img{width:300px;height:100px;border-radius:50px;object-fit:cover}@media (max-width: 738px){.services .titleContainer .title img{width:200px;height:50px}}.services .titleContainer .title h1{font-size:96px;font-weight:100}@media (max-width: 738px){.services .titleContainer .title h1{font-size:36px}}.services .titleContainer .title button{width:300px;height:100px;border-radius:50px;background-color:orange;border:none;font-size:24px;cursor:pointer}@media (max-width: 738px){.services .titleContainer .title button{font-size:16px;width:150px;height:50px}}.services .listContainer{flex:2;display:flex;max-width:1366px;margin:auto}@media (max-width: 738px){.services .listContainer{flex-direction:column;width:100%}}.services .listContainer .box{padding:50px;border:.5px solid gray;display:flex;flex-direction:column;justify-content:space-between}@media (max-width: 738px){.services .listContainer .box{border:none;align-items:center;gap:20px;padding:10px}}@media (max-width: 738px){.services .listContainer .box p{display:none}}.services .listContainer .box button{padding:10px;background-color:orange;border:none;cursor:pointer}@media (max-width: 738px){.services .listContainer .box button{background-color:transparent;border:1px solid orange;border-radius:5px;color:orange;width:50%;padding:5px}} diff --git a/dev.png b/dev.png new file mode 100644 index 0000000..e806437 Binary files /dev/null and b/dev.png differ diff --git a/dribbble.png b/dribbble.png new file mode 100644 index 0000000..67be92f Binary files /dev/null and b/dribbble.png differ diff --git a/facebook.png b/facebook.png new file mode 100644 index 0000000..c1b5115 Binary files /dev/null and b/facebook.png differ diff --git a/github.png b/github.png new file mode 100644 index 0000000..6003843 Binary files /dev/null and b/github.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..f17bb21 --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ + + + + + + + Dev Portfolio + + + + +
+ + + diff --git a/instagram.png b/instagram.png new file mode 100644 index 0000000..21733ab Binary files /dev/null and b/instagram.png differ diff --git a/linkedin.png b/linkedin.png new file mode 100644 index 0000000..7d90094 Binary files /dev/null and b/linkedin.png differ diff --git a/mountains.png b/mountains.png new file mode 100644 index 0000000..bfffb94 Binary files /dev/null and b/mountains.png differ diff --git a/people.webp b/people.webp new file mode 100644 index 0000000..76c7eb5 Binary files /dev/null and b/people.webp differ diff --git a/planets.png b/planets.png new file mode 100644 index 0000000..44fb862 Binary files /dev/null and b/planets.png differ diff --git a/scroll.png b/scroll.png new file mode 100644 index 0000000..dbde74d Binary files /dev/null and b/scroll.png differ diff --git a/stars.png b/stars.png new file mode 100644 index 0000000..a99b525 Binary files /dev/null and b/stars.png differ diff --git a/sun.png b/sun.png new file mode 100644 index 0000000..1ec4ef0 Binary files /dev/null and b/sun.png differ diff --git a/youtube.png b/youtube.png new file mode 100644 index 0000000..e149b8c Binary files /dev/null and b/youtube.png differ