PageSourceSearch

https://dhruvmali.netlify.app/assets/index-T96N14vc.js

js dhruvmali.netlify.app collected 2026-10-03 10:38:58 UTC 450,353 bytes, 105 lines download raw bytes

vendor: 5,780 bytes, lines 1-9
1function A1(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const i=Object.getOwnPropertyDescriptor(r,s);i&&Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();var So=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Nd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jg={exports:{}},ul={},Mg={exports:{}},se={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var so=Symbol.for("react.element"),N1=Symbol.for("react.portal"),j1=Symbol.for("react.fragment"),M1=Symbol.for("react.strict_mode"),L1=Symbol.for("react.profiler"),O1=Symbol.for("react.provider"),V1=Symbol.for("react.context"),D1=Symbol.for("react.forward_ref"),I1=Symbol.for("react.suspense"),F1=Symbol.for("react.memo"),z1=Symbol.for("react.lazy"),Th=Symbol.iterator;function B1(e){return e===null||typeof e!="object"?null:(e=Th&&e[Th]||e["@@iterator"],typeof e=="function"?e:null)}var Lg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Og=Object.assign,Vg={};function As(e,t,n){this.props=e,this.context=t,this.refs=Vg,this.updater=n||Lg}As.prototype.isReactComponent={};As.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")};As.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Dg(){}Dg.prototype=As.prototype;function jd(e,t,n){this.props=e,this.context=t,this.refs=Vg,this.updater=n||Lg}var Md=jd.prototype=new Dg;Md.constructor=jd;Og(Md,As.prototype);Md.isPureReactComponent=!0;var Ch=Array.isArray,Ig=Object.prototype.hasOwnProperty,Ld={current:null},Fg={key:!0,ref:!0,__self:!0,__source:!0};function zg(e,t,n){var r,s={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)Ig.call(t,r)&&!Fg.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];s.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:so,type:e,key:i,ref:o,props:s,_owner:Ld.current}}function U1(e,t){return{$$typeof:so,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Od(e){return typeof e=="object"&&e!==null&&e.$$typeof===so}function $1(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Eh=/\/+/g;function Yl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?$1(""+e.key):t.toString(36)}function Ko(e,t,n,r,s){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case so:case N1:o=!0}}if(o)return o=e,s=s(o),e=r===""?"."+Yl(o,0):r,Ch(s)?(n="",e!=null&&(n=e.replace(Eh,"$&/")+"/"),Ko(s,t,n,"",function(u){return u})):s!=null&&(Od(s)&&(s=U1(s,n+(!s.key||o&&o.key===s.key?"":(""+s.key).replace(Eh,"$&/")+"/")+e)),t.push(s)),1;if(o=0,r=r===""?".":r+":",Ch(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+Yl(i,a);o+=Ko(i,t,n,l,s)}else if(l=B1(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+Yl(i,a++),o+=Ko(i,t,n,l,s);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function _o(e,t,n){if(e==null)return e;var r=[],s=0;return Ko(e,r,"","",function(i){return t.call(n,i,s++)}),r}function W1(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var nt={current:null},Go={transition:null},H1={ReactCurrentDispatcher:nt,ReactCurrentBatchConfig:Go,ReactCurrentOwner:Ld};function Bg(){throw Error("act(...) is not supported in production builds of React.")}se.Children={map:_o,forEach:function(e,t,n){_o(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return _o(e,function(){t++}),t},toArray:function(e){return _o(e,function(t){return t})||[]},only:function(e){if(!Od(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};se.Component=As;se.Fragment=j1;se.Profiler=L1;se.PureComponent=jd;se.StrictMode=M1;se.Suspense=I1;
vendor: 4,855 bytes, lines 9-25
9se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H1;se.act=Bg;se.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Og({},e.props),s=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=Ld.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Ig.call(t,l)&&!Fg.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:so,type:e.type,key:s,ref:i,props:r,_owner:o}};se.createContext=function(e){return e={$$typeof:V1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:O1,_context:e},e.Consumer=e};se.createElement=zg;se.createFactory=function(e){var t=zg.bind(null,e);return t.type=e,t};se.createRef=function(){return{current:null}};se.forwardRef=function(e){return{$$typeof:D1,render:e}};se.isValidElement=Od;se.lazy=function(e){return{$$typeof:z1,_payload:{_status:-1,_result:e},_init:W1}};se.memo=function(e,t){return{$$typeof:F1,type:e,compare:t===void 0?null:t}};se.startTransition=function(e){var t=Go.transition;Go.transition={};try{e()}finally{Go.transition=t}};se.unstable_act=Bg;se.useCallback=function(e,t){return nt.current.useCallback(e,t)};se.useContext=function(e){return nt.current.useContext(e)};se.useDebugValue=function(){};se.useDeferredValue=function(e){return nt.current.useDeferredValue(e)};se.useEffect=function(e,t){return nt.current.useEffect(e,t)};se.useId=function(){return nt.current.useId()};se.useImperativeHandle=function(e,t,n){return nt.current.useImperativeHandle(e,t,n)};se.useInsertionEffect=function(e,t){return nt.current.useInsertionEffect(e,t)};se.useLayoutEffect=function(e,t){return nt.current.useLayoutEffect(e,t)};se.useMemo=function(e,t){return nt.current.useMemo(e,t)};se.useReducer=function(e,t,n){return nt.current.useReducer(e,t,n)};se.useRef=function(e){return nt.current.useRef(e)};se.useState=function(e){return nt.current.useState(e)};se.useSyncExternalStore=function(e,t,n){return nt.current.useSyncExternalStore(e,t,n)};se.useTransition=function(){return nt.current.useTransition()};se.version="18.3.1";Mg.exports=se;var y=Mg.exports;const ie=Nd(y),Z1=A1({__proto__:null,default:ie},[y]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var K1=y,G1=Symbol.for("react.element"),Y1=Symbol.for("react.fragment"),X1=Object.prototype.hasOwnProperty,Q1=K1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,q1={key:!0,ref:!0,__self:!0,__source:!0};function Ug(e,t,n){var r,s={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)X1.call(t,r)&&!q1.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:G1,type:e,key:i,ref:o,props:s,_owner:Q1.current}}ul.Fragment=Y1;ul.jsx=Ug;ul.jsxs=Ug;jg.exports=ul;var w=jg.exports,Qu={},$g={exports:{}},St={},Wg={exports:{}},Hg={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(M,W){var Y=M.length;M.push(W);e:for(;0<Y;){var ue=Y-1>>>1,ce=M[ue];if(0<s(ce,W))M[ue]=W,M[Y]=ce,Y=ue;else break e}}function n(M){return M.length===0?null:M[0]}function r(M){if(M.length===0)return null;var W=M[0],Y=M.pop();if(Y!==W){M[0]=Y;e:for(var ue=0,ce=M.length,Nt=ce>>>1;ue<Nt;){var ct=2*(ue+1)-1,Ds=M[ct],jt=ct+1,ur=M[jt];if(0>s(Ds,Y))jt<ce&&0>s(ur,Ds)?(M[ue]=ur,M[jt]=Y,ue=jt):(M[ue]=Ds,M[ct]=Y,ue=ct);else if(jt<ce&&0>s(ur,Y))M[ue]=ur,M[jt]=Y,ue=jt;else break e}}return W}function s(M,W){var Y=M.sortIndex-W.sortIndex;return Y!==0?Y:M.id-W.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],c=1,d=null,f=3,g=!1,x=!1,v=!1,S=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(M){for(var W=n(u);W!==null;){if(W.callback===null)r(u);else if(W.startTime<=M)r(u),W.sortIndex=W.expirationTime,t(l,W);else break;W=n(u)}}
vendor: 9,427 bytes, lines 25-34
25function k(M){if(v=!1,m(M),!x)if(n(l)!==null)x=!0,re(T);else{var W=n(u);W!==null&&pe(k,W.startTime-M)}}function T(M,W){x=!1,v&&(v=!1,p(P),P=-1),g=!0;var Y=f;try{for(m(W),d=n(l);d!==null&&(!(d.expirationTime>W)||M&&!ne());){var ue=d.callback;if(typeof ue=="function"){d.callback=null,f=d.priorityLevel;var ce=ue(d.expirationTime<=W);W=e.unstable_now(),typeof ce=="function"?d.callback=ce:d===n(l)&&r(l),m(W)}else r(l);d=n(l)}if(d!==null)var Nt=!0;else{var ct=n(u);ct!==null&&pe(k,ct.startTime-W),Nt=!1}return Nt}finally{d=null,f=Y,g=!1}}var b=!1,R=null,P=-1,$=5,V=-1;function ne(){return!(e.unstable_now()-V<$)}function L(){if(R!==null){var M=e.unstable_now();V=M;var W=!0;try{W=R(!0,M)}finally{W?q():(b=!1,R=null)}}else b=!1}var q;if(typeof h=="function")q=function(){h(L)};else if(typeof MessageChannel<"u"){var B=new MessageChannel,K=B.port2;B.port1.onmessage=L,q=function(){K.postMessage(null)}}else q=function(){S(L,0)};function re(M){R=M,b||(b=!0,q())}function pe(M,W){P=S(function(){M(e.unstable_now())},W)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_continueExecution=function(){x||g||(x=!0,re(T))},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<M?Math.floor(1e3/M):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(M){switch(f){case 1:case 2:case 3:var W=3;break;default:W=f}var Y=f;f=W;try{return M()}finally{f=Y}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(M,W){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var Y=f;f=M;try{return W()}finally{f=Y}},e.unstable_scheduleCallback=function(M,W,Y){var ue=e.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?ue+Y:ue):Y=ue,M){case 1:var ce=-1;break;case 2:ce=250;break;case 5:ce=1073741823;break;case 4:ce=1e4;break;default:ce=5e3}return ce=Y+ce,M={id:c++,callback:W,priorityLevel:M,startTime:Y,expirationTime:ce,sortIndex:-1},Y>ue?(M.sortIndex=Y,t(u,M),n(l)===null&&M===n(u)&&(v?(p(P),P=-1):v=!0,pe(k,Y-ue))):(M.sortIndex=ce,t(l,M),x||g||(x=!0,re(T))),M},e.unstable_shouldYield=ne,e.unstable_wrapCallback=function(M){var W=f;return function(){var Y=f;f=W;try{return M.apply(this,arguments)}finally{f=Y}}}})(Hg);Wg.exports=Hg;var J1=Wg.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var eS=y,xt=J1;function A(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Zg=new Set,_i={};function Vr(e,t){gs(e,t),gs(e+"Capture",t)}function gs(e,t){for(_i[e]=t,e=0;e<t.length;e++)Zg.add(t[e])}var xn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),qu=Object.prototype.hasOwnProperty,tS=/^[: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]*$/,bh={},Ph={};function nS(e){return qu.call(Ph,e)?!0:qu.call(bh,e)?!1:tS.test(e)?Ph[e]=!0:(bh[e]=!0,!1)}function rS(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 sS(e,t,n,r){if(t===null||typeof t>"u"||rS(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 rt(e,t,n,r,s,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var He={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){He[e]=new rt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];He[t]=new rt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){He[e]=new rt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){He[e]=new rt(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){He[e]=new rt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){He[e]=new rt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){He[e]=new rt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){He[e]=new rt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){He[e]=new rt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Vd=/[\-:]([a-z])/g;function Dd(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(Vd,Dd);He[t]=new rt(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(Vd,Dd);He[t]=new rt(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(Vd,Dd);He[t]=new rt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){He[e]=new rt(e,1,!1,e.toLowerCase(),null,!1,!1)});He.xlinkHref=new rt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){He[e]=new rt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Id(e,t,n,r){var s=He.hasOwnProperty(t)?He[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(sS(t,n,s,r)&&(n=null),r||s===null?nS(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Cn=eS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ko=Symbol.for("react.element"),Hr=Symbol.for("react.portal"),Zr=Symbol.for("react.fragment"),Fd=Symbol.for("react.strict_mode"),Ju=Symbol.for("react.profiler"),Kg=Symbol.for("react.provider"),Gg=Symbol.for("react.context"),zd=Symbol.for("react.forward_ref"),ec=Symbol.for("react.suspense"),tc=Symbol.for("react.suspense_list"),Bd=Symbol.for("react.memo"),Nn=Symbol.for("react.lazy"),Yg=Symbol.for("react.offscreen"),Rh=Symbol.iterator;function Is(e){return e===null||typeof e!="object"?null:(e=Rh&&e[Rh]||e["@@iterator"],typeof e=="function"?e:null)}var Ce=Object.assign,Xl;function Qs(e){if(Xl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Xl=t&&t[1]||""}return`
34`+Xl+e}var Ql=!1;function ql(e,t){if(!e||Ql)return"";Ql=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 4,297 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(`
35`),i=r.stack.split(`
36`),o=s.length-1,a=i.length-1;1<=o&&0<=a&&s[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(s[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||s[o]!==i[a]){var l=`
37`+s[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{Ql=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Qs(e):""}function iS(e){switch(e.tag){case 5:return Qs(e.type);case 16:return Qs("Lazy");case 13:return Qs("Suspense");case 19:return Qs("SuspenseList");case 0:case 2:case 15:return e=ql(e.type,!1),e;case 11:return e=ql(e.type.render,!1),e;case 1:return e=ql(e.type,!0),e;default:return""}}function nc(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 Zr:return"Fragment";case Hr:return"Portal";case Ju:return"Profiler";case Fd:return"StrictMode";case ec:return"Suspense";case tc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Gg:return(e.displayName||"Context")+".Consumer";case Kg:return(e._context.displayName||"Context")+".Provider";case zd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Bd:return t=e.displayName||null,t!==null?t:nc(e.type)||"Memo";case Nn:t=e._payload,e=e._init;try{return nc(e(t))}catch{}}return null}function oS(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 nc(t);case 8:return t===Fd?"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 Xn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Xg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function aS(e){var t=Xg(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 s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function To(e){e._valueTracker||(e._valueTracker=aS(e))}function Qg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Xg(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ga(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 rc(e,t){var n=t.checked;return Ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ah(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Xn(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 qg(e,t){t=t.checked,t!=null&&Id(e,"checked",t,!1)}function sc(e,t){qg(e,t);var n=Xn(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")?ic(e,t.type,n):t.hasOwnProperty("defaultValue")&&ic(e,t.type,Xn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}
vendor: 4,180 bytes, line 37
37function Nh(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 ic(e,t,n){(t!=="number"||ga(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var qs=Array.isArray;function us(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Xn(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function oc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(A(91));return Ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function jh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(A(92));if(qs(n)){if(1<n.length)throw Error(A(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Xn(n)}}function Jg(e,t){var n=Xn(t.value),r=Xn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Mh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ev(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ac(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ev(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Co,tv=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Co=Co||document.createElement("div"),Co.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Co.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ki(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var si={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},lS=["Webkit","ms","Moz","O"];Object.keys(si).forEach(function(e){lS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),si[t]=si[e]})});function nv(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||si.hasOwnProperty(e)&&si[e]?(""+t).trim():t+"px"}function rv(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=nv(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var uS=Ce({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 lc(e,t){if(t){if(uS[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(A(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(A(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(A(61))}if(t.style!=null&&typeof t.style!="object")throw Error(A(62))}}function uc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";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 cc=null;function Ud(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var dc=null,cs=null,ds=null;function Lh(e){if(e=ao(e)){if(typeof dc!="function")throw Error(A(280));var t=e.stateNode;t&&(t=pl(t),dc(e.stateNode,e.type,t))}}function sv(e){cs?ds?ds.push(e):ds=[e]:cs=e}function iv(){if(cs){var e=cs,t=ds;if(ds=cs=null,Lh(e),t)for(e=0;e<t.length;e++)Lh(t[e])}}function ov(e,t){return e(t)}function av(){}var Jl=!1;function lv(e,t,n){if(Jl)return e(t,n);Jl=!0;try{return ov(e,t,n)}finally{Jl=!1,(cs!==null||ds!==null)&&(av(),iv())}}function Ti(e,t){var n=e.stateNode;if(n===null)return null;var r=pl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(A(231,t,typeof n));return n}var fc=!1;if(xn)try{var Fs={};Object.defineProperty(Fs,"passive",{get:function(){fc=!0}}),window.addEventListener("test",Fs,Fs),window.removeEventListener("test",Fs,Fs)}catch{fc=!1}function cS(e,t,n,r,s,i,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var ii=!1,va=null,ya=!1,hc=null,dS={onError:function(e){ii=!0,va=e}};function fS(e,t,n,r,s,i,o,a,l){ii=!1,va=null,cS.apply(dS,arguments)}function hS(e,t,n,r,s,i,o,a,l){if(fS.apply(this,arguments),ii){if(ii){var u=va;ii=!1,va=null}else throw Error(A(198));ya||(ya=!0,hc=u)}}function Dr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function uv(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Oh(e){if(Dr(e)!==e)throw Error(A(188))}function pS(e){var t=e.alternate;if(!t){if(t=Dr(e),t===null)throw Error(A(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var i=s.alternate;if(i===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===n)return Oh(s),e;if(i===r)return Oh(s),t;i=i.sibling}throw Error(A(188))}if(n.return!==r.return)n=s,r=i;else{for(var o=!1,a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o){for(a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o)throw Error(A(189))}}if(n.alternate!==r)throw Error(A(190))}if(n.tag!==3)throw Error(A(188));return n.stateNode.current===n?e:t}function cv(e){return e=pS(e),e!==null?dv(e):null}function dv(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=dv(e);if(t!==null)return t;e=e.sibling}return null}var fv=xt.unstable_scheduleCallback,Vh=xt.unstable_cancelCallback,mS=xt.unstable_shouldYield,gS=xt.unstable_requestPaint,Re=xt.unstable_now,vS=xt.unstable_getCurrentPriorityLevel,$d=xt.unstable_ImmediatePriority,hv=xt.unstable_UserBlockingPriority,xa=xt.unstable_NormalPriority,yS=xt.unstable_LowPriority,pv=xt.unstable_IdlePriority,cl=null,en=null;function xS(e){if(en&&typeof en.onCommitFiberRoot=="function")try{en.onCommitFiberRoot(cl,e,void 0,(e.current.flags&128)===128)}catch{}}var Ft=Math.clz32?Math.clz32:_S,wS=Math.log,SS=Math.LN2;function _S(e){return e>>>=0,e===0?32:31-(wS(e)/SS|0)|0}var Eo=64,bo=4194304;function Js(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 wa(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~s;a!==0?r=Js(a):(i&=o,i!==0&&(r=Js(i)))}else o=n&~s,o!==0?r=Js(o):i!==0&&(r=Js(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,i=t&-t,s>=i||s===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ft(t),s=1<<n,r|=e[n],t&=~s;return r}function kS(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function TS(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-Ft(i),a=1<<o,l=s[o];l===-1?(!(a&n)||a&r)&&(s[o]=kS(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function pc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function mv(){var e=Eo;return Eo<<=1,!(Eo&4194240)&&(Eo=64),e}function eu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function io(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ft(t),e[t]=n}function CS(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var s=31-Ft(n),i=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~i}}function Wd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ft(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var me=0;
vendor: 1,056 bytes, line 37
37function gv(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var vv,Hd,yv,xv,wv,mc=!1,Po=[],zn=null,Bn=null,Un=null,Ci=new Map,Ei=new Map,Ln=[],ES="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Dh(e,t){switch(e){case"focusin":case"focusout":zn=null;break;case"dragenter":case"dragleave":Bn=null;break;case"mouseover":case"mouseout":Un=null;break;case"pointerover":case"pointerout":Ci.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ei.delete(t.pointerId)}}function zs(e,t,n,r,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[s]},t!==null&&(t=ao(t),t!==null&&Hd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function bS(e,t,n,r,s){switch(t){case"focusin":return zn=zs(zn,e,t,n,r,s
vendor: 12,589 bytes, line 37
37),!0;case"dragenter":return Bn=zs(Bn,e,t,n,r,s),!0;case"mouseover":return Un=zs(Un,e,t,n,r,s),!0;case"pointerover":var i=s.pointerId;return Ci.set(i,zs(Ci.get(i)||null,e,t,n,r,s)),!0;case"gotpointercapture":return i=s.pointerId,Ei.set(i,zs(Ei.get(i)||null,e,t,n,r,s)),!0}return!1}function Sv(e){var t=vr(e.target);if(t!==null){var n=Dr(t);if(n!==null){if(t=n.tag,t===13){if(t=uv(n),t!==null){e.blockedOn=t,wv(e.priority,function(){yv(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Yo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=gc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);cc=r,n.target.dispatchEvent(r),cc=null}else return t=ao(n),t!==null&&Hd(t),e.blockedOn=n,!1;t.shift()}return!0}function Ih(e,t,n){Yo(e)&&n.delete(t)}function PS(){mc=!1,zn!==null&&Yo(zn)&&(zn=null),Bn!==null&&Yo(Bn)&&(Bn=null),Un!==null&&Yo(Un)&&(Un=null),Ci.forEach(Ih),Ei.forEach(Ih)}function Bs(e,t){e.blockedOn===t&&(e.blockedOn=null,mc||(mc=!0,xt.unstable_scheduleCallback(xt.unstable_NormalPriority,PS)))}function bi(e){function t(s){return Bs(s,e)}if(0<Po.length){Bs(Po[0],e);for(var n=1;n<Po.length;n++){var r=Po[n];r.blockedOn===e&&(r.blockedOn=null)}}for(zn!==null&&Bs(zn,e),Bn!==null&&Bs(Bn,e),Un!==null&&Bs(Un,e),Ci.forEach(t),Ei.forEach(t),n=0;n<Ln.length;n++)r=Ln[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ln.length&&(n=Ln[0],n.blockedOn===null);)Sv(n),n.blockedOn===null&&Ln.shift()}var fs=Cn.ReactCurrentBatchConfig,Sa=!0;function RS(e,t,n,r){var s=me,i=fs.transition;fs.transition=null;try{me=1,Zd(e,t,n,r)}finally{me=s,fs.transition=i}}function AS(e,t,n,r){var s=me,i=fs.transition;fs.transition=null;try{me=4,Zd(e,t,n,r)}finally{me=s,fs.transition=i}}function Zd(e,t,n,r){if(Sa){var s=gc(e,t,n,r);if(s===null)cu(e,t,r,_a,n),Dh(e,r);else if(bS(s,e,t,n,r))r.stopPropagation();else if(Dh(e,r),t&4&&-1<ES.indexOf(e)){for(;s!==null;){var i=ao(s);if(i!==null&&vv(i),i=gc(e,t,n,r),i===null&&cu(e,t,r,_a,n),i===s)break;s=i}s!==null&&r.stopPropagation()}else cu(e,t,r,null,n)}}var _a=null;function gc(e,t,n,r){if(_a=null,e=Ud(r),e=vr(e),e!==null)if(t=Dr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=uv(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return _a=e,null}function _v(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(vS()){case $d:return 1;case hv:return 4;case xa:case yS:return 16;case pv:return 536870912;default:return 16}default:return 16}}var Dn=null,Kd=null,Xo=null;function kv(){if(Xo)return Xo;var e,t=Kd,n=t.length,r,s="value"in Dn?Dn.value:Dn.textContent,i=s.length;for(e=0;e<n&&t[e]===s[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===s[i-r];r++);return Xo=s.slice(e,1<r?1-r:void 0)}function Qo(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ro(){return!0}function Fh(){return!1}function _t(e){function t(n,r,s,i,o){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Ro:Fh,this.isPropagationStopped=Fh,this}return Ce(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ro)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ro)},persist:function(){},isPersistent:Ro}),t}var Ns={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gd=_t(Ns),oo=Ce({},Ns,{view:0,detail:0}),NS=_t(oo),tu,nu,Us,dl=Ce({},oo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Us&&(Us&&e.type==="mousemove"?(tu=e.screenX-Us.screenX,nu=e.screenY-Us.screenY):nu=tu=0,Us=e),tu)},movementY:function(e){return"movementY"in e?e.movementY:nu}}),zh=_t(dl),jS=Ce({},dl,{dataTransfer:0}),MS=_t(jS),LS=Ce({},oo,{relatedTarget:0}),ru=_t(LS),OS=Ce({},Ns,{animationName:0,elapsedTime:0,pseudoElement:0}),VS=_t(OS),DS=Ce({},Ns,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),IS=_t(DS),FS=Ce({},Ns,{data:0}),Bh=_t(FS),zS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},BS={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},US={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $S(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=US[e])?!!t[e]:!1}function Yd(){return $S}var WS=Ce({},oo,{key:function(e){if(e.key){var t=zS[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Qo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?BS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yd,charCode:function(e){return e.type==="keypress"?Qo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Qo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),HS=_t(WS),ZS=Ce({},dl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Uh=_t(ZS),KS=Ce({},oo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yd}),GS=_t(KS),YS=Ce({},Ns,{propertyName:0,elapsedTime:0,pseudoElement:0}),XS=_t(YS),QS=Ce({},dl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),qS=_t(QS),JS=[9,13,27,32],Xd=xn&&"CompositionEvent"in window,oi=null;xn&&"documentMode"in document&&(oi=document.documentMode);var e_=xn&&"TextEvent"in window&&!oi,Tv=xn&&(!Xd||oi&&8<oi&&11>=oi),$h=" ",Wh=!1;function Cv(e,t){switch(e){case"keyup":return JS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ev(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kr=!1;function t_(e,t){switch(e){case"compositionend":return Ev(t);case"keypress":return t.which!==32?null:(Wh=!0,$h);case"textInput":return e=t.data,e===$h&&Wh?null:e;default:return null}}function n_(e,t){if(Kr)return e==="compositionend"||!Xd&&Cv(e,t)?(e=kv(),Xo=Kd=Dn=null,Kr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Tv&&t.locale!=="ko"?null:t.data;default:return null}}var r_={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!r_[e.type]:t==="textarea"}function bv(e,t,n,r){sv(r),t=ka(t,"onChange"),0<t.length&&(n=new Gd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ai=null,Pi=null;function s_(e){Iv(e,0)}function fl(e){var t=Xr(e);if(Qg(t))return e}function i_(e,t){if(e==="change")return t}var Pv=!1;if(xn){var su;if(xn){var iu="oninput"in document;if(!iu){var Zh=document.createElement("div");Zh.setAttribute("oninput","return;"),iu=typeof Zh.oninput=="function"}su=iu}else su=!1;Pv=su&&(!document.documentMode||9<document.documentMode)}function Kh(){ai&&(ai.detachEvent("onpropertychange",Rv),Pi=ai=null)}function Rv(e){if(e.propertyName==="value"&&fl(Pi)){var t=[];bv(t,Pi,e,Ud(e)),lv(s_,t)}}function o_(e,t,n){e==="focusin"?(Kh(),ai=t,Pi=n,ai.attachEvent("onpropertychange",Rv)):e==="focusout"&&Kh()}function a_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return fl(Pi)}function l_(e,t){if(e==="click")return fl(t)}function u_(e,t){if(e==="input"||e==="change")return fl(t)}function c_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var $t=typeof Object.is=="function"?Object.is:c_;function Ri(e,t){if($t(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var s=n[r];if(!qu.call(t,s)||!$t(e[s],t[s]))return!1}return!0}function Gh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Yh(e,t){var n=Gh(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Gh(n)}}function Av(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Av(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Nv(){for(var e=window,t=ga();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ga(e.document)}return t}function Qd(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 d_(e){var t=Nv(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Av(n.ownerDocument.documentElement,n)){if(r!==null&&Qd(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 s=n.textContent.length,i=Math.min(r.start,s);r=r.end===void 0?i:Math.min(r.end,s),!e.extend&&i>r&&(s=r,r=i,i=s),s=Yh(n,i);var o=Yh(n,r);s&&o&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var f_=xn&&"documentMode"in document&&11>=document.documentMode,Gr=null,vc=null,li=null,yc=!1;
vendor: 4,672 bytes, line 37
37function Xh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;yc||Gr==null||Gr!==ga(r)||(r=Gr,"selectionStart"in r&&Qd(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}),li&&Ri(li,r)||(li=r,r=ka(vc,"onSelect"),0<r.length&&(t=new Gd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Gr)))}function Ao(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Yr={animationend:Ao("Animation","AnimationEnd"),animationiteration:Ao("Animation","AnimationIteration"),animationstart:Ao("Animation","AnimationStart"),transitionend:Ao("Transition","TransitionEnd")},ou={},jv={};xn&&(jv=document.createElement("div").style,"AnimationEvent"in window||(delete Yr.animationend.animation,delete Yr.animationiteration.animation,delete Yr.animationstart.animation),"TransitionEvent"in window||delete Yr.transitionend.transition);function hl(e){if(ou[e])return ou[e];if(!Yr[e])return e;var t=Yr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in jv)return ou[e]=t[n];return e}var Mv=hl("animationend"),Lv=hl("animationiteration"),Ov=hl("animationstart"),Vv=hl("transitionend"),Dv=new Map,Qh="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function sr(e,t){Dv.set(e,t),Vr(t,[e])}for(var au=0;au<Qh.length;au++){var lu=Qh[au],h_=lu.toLowerCase(),p_=lu[0].toUpperCase()+lu.slice(1);sr(h_,"on"+p_)}sr(Mv,"onAnimationEnd");sr(Lv,"onAnimationIteration");sr(Ov,"onAnimationStart");sr("dblclick","onDoubleClick");sr("focusin","onFocus");sr("focusout","onBlur");sr(Vv,"onTransitionEnd");gs("onMouseEnter",["mouseout","mouseover"]);gs("onMouseLeave",["mouseout","mouseover"]);gs("onPointerEnter",["pointerout","pointerover"]);gs("onPointerLeave",["pointerout","pointerover"]);Vr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Vr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Vr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Vr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Vr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Vr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ei="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),m_=new Set("cancel close invalid load scroll toggle".split(" ").concat(ei));function qh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,hS(r,t,void 0,e),e.currentTarget=null}function Iv(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&s.isPropagationStopped())break e;qh(s,a,u),i=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&s.isPropagationStopped())break e;qh(s,a,u),i=l}}}if(ya)throw e=hc,ya=!1,hc=null,e}function ye(e,t){var n=t[kc];n===void 0&&(n=t[kc]=new Set);var r=e+"__bubble";n.has(r)||(Fv(t,e,2,!1),n.add(r))}function uu(e,t,n){var r=0;t&&(r|=4),Fv(n,e,r,t)}var No="_reactListening"+Math.random().toString(36).slice(2);function Ai(e){if(!e[No]){e[No]=!0,Zg.forEach(function(n){n!=="selectionchange"&&(m_.has(n)||uu(n,!1,e),uu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[No]||(t[No]=!0,uu("selectionchange",!1,t))}}function Fv(e,t,n,r){switch(_v(t)){case 1:var s=RS;break;case 4:s=AS;break;default:s=Zd}n=s.bind(null,t,n,e),s=void 0,!fc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}
vendor: 4,454 bytes, line 37
37function cu(e,t,n,r,s){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===s||a.nodeType===8&&a.parentNode===s)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===s||l.nodeType===8&&l.parentNode===s))return;o=o.return}for(;a!==null;){if(o=vr(a),o===null)return;if(l=o.tag,l===5||l===6){r=i=o;continue e}a=a.parentNode}}r=r.return}lv(function(){var u=i,c=Ud(n),d=[];e:{var f=Dv.get(e);if(f!==void 0){var g=Gd,x=e;switch(e){case"keypress":if(Qo(n)===0)break e;case"keydown":case"keyup":g=HS;break;case"focusin":x="focus",g=ru;break;case"focusout":x="blur",g=ru;break;case"beforeblur":case"afterblur":g=ru;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=zh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=MS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=GS;break;case Mv:case Lv:case Ov:g=VS;break;case Vv:g=XS;break;case"scroll":g=NS;break;case"wheel":g=qS;break;case"copy":case"cut":case"paste":g=IS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Uh}var v=(t&4)!==0,S=!v&&e==="scroll",p=v?f!==null?f+"Capture":null:f;v=[];for(var h=u,m;h!==null;){m=h;var k=m.stateNode;if(m.tag===5&&k!==null&&(m=k,p!==null&&(k=Ti(h,p),k!=null&&v.push(Ni(h,k,m)))),S)break;h=h.return}0<v.length&&(f=new g(f,x,null,n,c),d.push({event:f,listeners:v}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",f&&n!==cc&&(x=n.relatedTarget||n.fromElement)&&(vr(x)||x[wn]))break e;if((g||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,g?(x=n.relatedTarget||n.toElement,g=u,x=x?vr(x):null,x!==null&&(S=Dr(x),x!==S||x.tag!==5&&x.tag!==6)&&(x=null)):(g=null,x=u),g!==x)){if(v=zh,k="onMouseLeave",p="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(v=Uh,k="onPointerLeave",p="onPointerEnter",h="pointer"),S=g==null?f:Xr(g),m=x==null?f:Xr(x),f=new v(k,h+"leave",g,n,c),f.target=S,f.relatedTarget=m,k=null,vr(c)===u&&(v=new v(p,h+"enter",x,n,c),v.target=m,v.relatedTarget=S,k=v),S=k,g&&x)t:{for(v=g,p=x,h=0,m=v;m;m=Ur(m))h++;for(m=0,k=p;k;k=Ur(k))m++;for(;0<h-m;)v=Ur(v),h--;for(;0<m-h;)p=Ur(p),m--;for(;h--;){if(v===p||p!==null&&v===p.alternate)break t;v=Ur(v),p=Ur(p)}v=null}else v=null;g!==null&&Jh(d,f,g,v,!1),x!==null&&S!==null&&Jh(d,S,x,v,!0)}}e:{if(f=u?Xr(u):window,g=f.nodeName&&f.nodeName.toLowerCase(),g==="select"||g==="input"&&f.type==="file")var T=i_;else if(Hh(f))if(Pv)T=u_;else{T=a_;var b=o_}else(g=f.nodeName)&&g.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(T=l_);if(T&&(T=T(e,u))){bv(d,T,n,c);break e}b&&b(e,f,u),e==="focusout"&&(b=f._wrapperState)&&b.controlled&&f.type==="number"&&ic(f,"number",f.value)}switch(b=u?Xr(u):window,e){case"focusin":(Hh(b)||b.contentEditable==="true")&&(Gr=b,vc=u,li=null);break;case"focusout":li=vc=Gr=null;break;case"mousedown":yc=!0;break;case"contextmenu":case"mouseup":case"dragend":yc=!1,Xh(d,n,c);break;case"selectionchange":if(f_)break;case"keydown":case"keyup":Xh(d,n,c)}var R;if(Xd)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Kr?Cv(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(Tv&&n.locale!=="ko"&&(Kr||P!=="onCompositionStart"?P==="onCompositionEnd"&&Kr&&(R=kv()):(Dn=c,Kd="value"in Dn?Dn.value:Dn.textContent,Kr=!0)),b=ka(u,P),0<b.length&&(P=new Bh(P,e,null,n,c),d.push({event:P,listeners:b}),R?P.data=R:(R=Ev(n),R!==null&&(P.data=R)))),(R=e_?t_(e,n):n_(e,n))&&(u=ka(u,"onBeforeInput"),0<u.length&&(c=new Bh("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=R))}Iv(d,t)})}function Ni(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ka(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,i=s.stateNode;s.tag===5&&i!==null&&(s=i,i=Ti(e,n),i!=null&&r.unshift(Ni(e,i,s)),i=Ti(e,t),i!=null&&r.push(Ni(e,i,s))),e=e.return}return r}function Ur(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}
vendor: 3,304 bytes, lines 37-38
37function Jh(e,t,n,r,s){for(var i=t._reactName,o=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,s?(l=Ti(n,i),l!=null&&o.unshift(Ni(n,l,a))):s||(l=Ti(n,i),l!=null&&o.push(Ni(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var g_=/\r\n?/g,v_=/\u0000|\uFFFD/g;function ep(e){return(typeof e=="string"?e:""+e).replace(g_,`
38`).replace(v_,"")}function jo(e,t,n){if(t=ep(t),ep(e)!==t&&n)throw Error(A(425))}function Ta(){}var xc=null,wc=null;function Sc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var _c=typeof setTimeout=="function"?setTimeout:void 0,y_=typeof clearTimeout=="function"?clearTimeout:void 0,tp=typeof Promise=="function"?Promise:void 0,x_=typeof queueMicrotask=="function"?queueMicrotask:typeof tp<"u"?function(e){return tp.resolve(null).then(e).catch(w_)}:_c;function w_(e){setTimeout(function(){throw e})}function du(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),bi(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);bi(t)}function $n(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function np(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var js=Math.random().toString(36).slice(2),Xt="__reactFiber$"+js,ji="__reactProps$"+js,wn="__reactContainer$"+js,kc="__reactEvents$"+js,S_="__reactListeners$"+js,__="__reactHandles$"+js;function vr(e){var t=e[Xt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[wn]||n[Xt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=np(e);e!==null;){if(n=e[Xt])return n;e=np(e)}return t}e=n,n=e.parentNode}return null}function ao(e){return e=e[Xt]||e[wn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Xr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(A(33))}function pl(e){return e[ji]||null}var Tc=[],Qr=-1;function ir(e){return{current:e}}function xe(e){0>Qr||(e.current=Tc[Qr],Tc[Qr]=null,Qr--)}function ge(e,t){Qr++,Tc[Qr]=e.current,e.current=t}var Qn={},Xe=ir(Qn),at=ir(!1),Pr=Qn;function vs(e,t){var n=e.type.contextTypes;if(!n)return Qn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function lt(e){return e=e.childContextTypes,e!=null}function Ca(){xe(at),xe(Xe)}function rp(e,t,n){if(Xe.current!==Qn)throw Error(A(168));ge(Xe,t),ge(at,n)}function zv(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(A(108,oS(e)||"Unknown",s));return Ce({},n,r)}function Ea(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Qn,Pr=Xe.current,ge(Xe,e),ge(at,at.current),!0}
vendor: 14,513 bytes, line 38
38function sp(e,t,n){var r=e.stateNode;if(!r)throw Error(A(169));n?(e=zv(e,t,Pr),r.__reactInternalMemoizedMergedChildContext=e,xe(at),xe(Xe),ge(Xe,e)):xe(at),ge(at,n)}var dn=null,ml=!1,fu=!1;function Bv(e){dn===null?dn=[e]:dn.push(e)}function k_(e){ml=!0,Bv(e)}function or(){if(!fu&&dn!==null){fu=!0;var e=0,t=me;try{var n=dn;for(me=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}dn=null,ml=!1}catch(s){throw dn!==null&&(dn=dn.slice(e+1)),fv($d,or),s}finally{me=t,fu=!1}}return null}var qr=[],Jr=0,ba=null,Pa=0,Ct=[],Et=0,Rr=null,fn=1,hn="";function dr(e,t){qr[Jr++]=Pa,qr[Jr++]=ba,ba=e,Pa=t}function Uv(e,t,n){Ct[Et++]=fn,Ct[Et++]=hn,Ct[Et++]=Rr,Rr=e;var r=fn;e=hn;var s=32-Ft(r)-1;r&=~(1<<s),n+=1;var i=32-Ft(t)+s;if(30<i){var o=s-s%5;i=(r&(1<<o)-1).toString(32),r>>=o,s-=o,fn=1<<32-Ft(t)+s|n<<s|r,hn=i+e}else fn=1<<i|n<<s|r,hn=e}function qd(e){e.return!==null&&(dr(e,1),Uv(e,1,0))}function Jd(e){for(;e===ba;)ba=qr[--Jr],qr[Jr]=null,Pa=qr[--Jr],qr[Jr]=null;for(;e===Rr;)Rr=Ct[--Et],Ct[Et]=null,hn=Ct[--Et],Ct[Et]=null,fn=Ct[--Et],Ct[Et]=null}var vt=null,gt=null,we=!1,Vt=null;function $v(e,t){var n=bt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function ip(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,vt=e,gt=$n(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,vt=e,gt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Rr!==null?{id:fn,overflow:hn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=bt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,vt=e,gt=null,!0):!1;default:return!1}}function Cc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ec(e){if(we){var t=gt;if(t){var n=t;if(!ip(e,t)){if(Cc(e))throw Error(A(418));t=$n(n.nextSibling);var r=vt;t&&ip(e,t)?$v(r,n):(e.flags=e.flags&-4097|2,we=!1,vt=e)}}else{if(Cc(e))throw Error(A(418));e.flags=e.flags&-4097|2,we=!1,vt=e}}}function op(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;vt=e}function Mo(e){if(e!==vt)return!1;if(!we)return op(e),we=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Sc(e.type,e.memoizedProps)),t&&(t=gt)){if(Cc(e))throw Wv(),Error(A(418));for(;t;)$v(e,t),t=$n(t.nextSibling)}if(op(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(A(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){gt=$n(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}gt=null}}else gt=vt?$n(e.stateNode.nextSibling):null;return!0}function Wv(){for(var e=gt;e;)e=$n(e.nextSibling)}function ys(){gt=vt=null,we=!1}function ef(e){Vt===null?Vt=[e]:Vt.push(e)}var T_=Cn.ReactCurrentBatchConfig;function $s(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(A(309));var r=n.stateNode}if(!r)throw Error(A(147,e));var s=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=s.refs;o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(A(284));if(!n._owner)throw Error(A(290,e))}return e}function Lo(e,t){throw e=Object.prototype.toString.call(t),Error(A(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ap(e){var t=e._init;return t(e._payload)}function Hv(e){function t(p,h){if(e){var m=p.deletions;m===null?(p.deletions=[h],p.flags|=16):m.push(h)}}function n(p,h){if(!e)return null;for(;h!==null;)t(p,h),h=h.sibling;return null}function r(p,h){for(p=new Map;h!==null;)h.key!==null?p.set(h.key,h):p.set(h.index,h),h=h.sibling;return p}function s(p,h){return p=Kn(p,h),p.index=0,p.sibling=null,p}function i(p,h,m){return p.index=m,e?(m=p.alternate,m!==null?(m=m.index,m<h?(p.flags|=2,h):m):(p.flags|=2,h)):(p.flags|=1048576,h)}function o(p){return e&&p.alternate===null&&(p.flags|=2),p}function a(p,h,m,k){return h===null||h.tag!==6?(h=xu(m,p.mode,k),h.return=p,h):(h=s(h,m),h.return=p,h)}function l(p,h,m,k){var T=m.type;return T===Zr?c(p,h,m.props.children,k,m.key):h!==null&&(h.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Nn&&ap(T)===h.type)?(k=s(h,m.props),k.ref=$s(p,h,m),k.return=p,k):(k=sa(m.type,m.key,m.props,null,p.mode,k),k.ref=$s(p,h,m),k.return=p,k)}function u(p,h,m,k){return h===null||h.tag!==4||h.stateNode.containerInfo!==m.containerInfo||h.stateNode.implementation!==m.implementation?(h=wu(m,p.mode,k),h.return=p,h):(h=s(h,m.children||[]),h.return=p,h)}function c(p,h,m,k,T){return h===null||h.tag!==7?(h=Cr(m,p.mode,k,T),h.return=p,h):(h=s(h,m),h.return=p,h)}function d(p,h,m){if(typeof h=="string"&&h!==""||typeof h=="number")return h=xu(""+h,p.mode,m),h.return=p,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case ko:return m=sa(h.type,h.key,h.props,null,p.mode,m),m.ref=$s(p,null,h),m.return=p,m;case Hr:return h=wu(h,p.mode,m),h.return=p,h;case Nn:var k=h._init;return d(p,k(h._payload),m)}if(qs(h)||Is(h))return h=Cr(h,p.mode,m,null),h.return=p,h;Lo(p,h)}return null}function f(p,h,m,k){var T=h!==null?h.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return T!==null?null:a(p,h,""+m,k);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case ko:return m.key===T?l(p,h,m,k):null;case Hr:return m.key===T?u(p,h,m,k):null;case Nn:return T=m._init,f(p,h,T(m._payload),k)}if(qs(m)||Is(m))return T!==null?null:c(p,h,m,k,null);Lo(p,m)}return null}function g(p,h,m,k,T){if(typeof k=="string"&&k!==""||typeof k=="number")return p=p.get(m)||null,a(h,p,""+k,T);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case ko:return p=p.get(k.key===null?m:k.key)||null,l(h,p,k,T);case Hr:return p=p.get(k.key===null?m:k.key)||null,u(h,p,k,T);case Nn:var b=k._init;return g(p,h,m,b(k._payload),T)}if(qs(k)||Is(k))return p=p.get(m)||null,c(h,p,k,T,null);Lo(h,k)}return null}function x(p,h,m,k){for(var T=null,b=null,R=h,P=h=0,$=null;R!==null&&P<m.length;P++){R.index>P?($=R,R=null):$=R.sibling;var V=f(p,R,m[P],k);if(V===null){R===null&&(R=$);break}e&&R&&V.alternate===null&&t(p,R),h=i(V,h,P),b===null?T=V:b.sibling=V,b=V,R=$}if(P===m.length)return n(p,R),we&&dr(p,P),T;if(R===null){for(;P<m.length;P++)R=d(p,m[P],k),R!==null&&(h=i(R,h,P),b===null?T=R:b.sibling=R,b=R);return we&&dr(p,P),T}for(R=r(p,R);P<m.length;P++)$=g(R,p,P,m[P],k),$!==null&&(e&&$.alternate!==null&&R.delete($.key===null?P:$.key),h=i($,h,P),b===null?T=$:b.sibling=$,b=$);return e&&R.forEach(function(ne){return t(p,ne)}),we&&dr(p,P),T}function v(p,h,m,k){var T=Is(m);if(typeof T!="function")throw Error(A(150));if(m=T.call(m),m==null)throw Error(A(151));for(var b=T=null,R=h,P=h=0,$=null,V=m.next();R!==null&&!V.done;P++,V=m.next()){R.index>P?($=R,R=null):$=R.sibling;var ne=f(p,R,V.value,k);if(ne===null){R===null&&(R=$);break}e&&R&&ne.alternate===null&&t(p,R),h=i(ne,h,P),b===null?T=ne:b.sibling=ne,b=ne,R=$}if(V.done)return n(p,R),we&&dr(p,P),T;if(R===null){for(;!V.done;P++,V=m.next())V=d(p,V.value,k),V!==null&&(h=i(V,h,P),b===null?T=V:b.sibling=V,b=V);return we&&dr(p,P),T}for(R=r(p,R);!V.done;P++,V=m.next())V=g(R,p,P,V.value,k),V!==null&&(e&&V.alternate!==null&&R.delete(V.key===null?P:V.key),h=i(V,h,P),b===null?T=V:b.sibling=V,b=V);return e&&R.forEach(function(L){return t(p,L)}),we&&dr(p,P),T}function S(p,h,m,k){if(typeof m=="object"&&m!==null&&m.type===Zr&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case ko:e:{for(var T=m.key,b=h;b!==null;){if(b.key===T){if(T=m.type,T===Zr){if(b.tag===7){n(p,b.sibling),h=s(b,m.props.children),h.return=p,p=h;break e}}else if(b.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Nn&&ap(T)===b.type){n(p,b.sibling),h=s(b,m.props),h.ref=$s(p,b,m),h.return=p,p=h;break e}n(p,b);break}else t(p,b);b=b.sibling}m.type===Zr?(h=Cr(m.props.children,p.mode,k,m.key),h.return=p,p=h):(k=sa(m.type,m.key,m.props,null,p.mode,k),k.ref=$s(p,h,m),k.return=p,p=k)}return o(p);case Hr:e:{for(b=m.key;h!==null;){if(h.key===b)if(h.tag===4&&h.stateNode.containerInfo===m.containerInfo&&h.stateNode.implementation===m.implementation){n(p,h.sibling),h=s(h,m.children||[]),h.return=p,p=h;break e}else{n(p,h);break}else t(p,h);h=h.sibling}h=wu(m,p.mode,k),h.return=p,p=h}return o(p);case Nn:return b=m._init,S(p,h,b(m._payload),k)}if(qs(m))return x(p,h,m,k);if(Is(m))return v(p,h,m,k);Lo(p,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,h!==null&&h.tag===6?(n(p,h.sibling),h=s(h,m),h.return=p,p=h):(n(p,h),h=xu(m,p.mode,k),h.return=p,p=h),o(p)):n(p,h)}return S}var xs=Hv(!0),Zv=Hv(!1),Ra=ir(null),Aa=null,es=null,tf=null;function nf(){tf=es=Aa=null}function rf(e){var t=Ra.current;xe(Ra),e._currentValue=t}function bc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function hs(e,t){Aa=e,tf=es=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ot=!0),e.firstContext=null)}function Rt(e){var t=e._currentValue;if(tf!==e)if(e={context:e,memoizedValue:t,next:null},es===null){if(Aa===null)throw Error(A(308));es=e,Aa.dependencies={lanes:0,firstContext:e}}else es=es.next=e;return t}var yr=null;function sf(e){yr===null?yr=[e]:yr.push(e)}function Kv(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,sf(t)):(n.next=s.next,s.next=n),t.interleaved=n,Sn(e,r)}function Sn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var jn=!1;function of(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Gv(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function mn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Wn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,le&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,Sn(e,n)}return s=r.interleaved,s===null?(t.next=t,sf(r)):(t.next=s.next,s.next=t),r.interleaved=t,Sn(e,n)}function qo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Wd(e,n)}}function lp(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?s=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?s=i=t:i=i.next=t}else s=i=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Na(e,t,n,r){var s=e.updateQueue;jn=!1;var i=s.firstBaseUpdate,o=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?i=u:o.next=u,o=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==o&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=s.baseState;o=0,c=u=l=null,a=i;do{var f=a.lane,g=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:g,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,v=a;switch(f=t,g=n,v.tag){case 1:if(x=v.payload,typeof x=="function"){d=x.call(g,d,f);break e}d=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=v.payload,f=typeof x=="function"?x.call(g,d,f):x,f==null)break e;d=Ce({},d,f);break e;case 2:jn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=s.effects,f===null?s.effects=[a]:f.push(a))}else g={eventTime:g,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=g,l=d):c=c.next=g,o|=f;if(a=a.next,a===null){if(a=s.shared.pending,a===null)break;f=a,a=f.next,f.next=null,s.lastBaseUpdate=f,s.shared.pending=null}}while(!0);if(c===null&&(l=d),s.baseState=l,s.firstBaseUpdate=u,s.lastBaseUpdate=c,t=s.shared.interleaved,t!==null){s=t;do o|=s.lane,s=s.next;while(s!==t)}else i===null&&(s.shared.lanes=0);Nr|=o,e.lanes=o,e.memoizedState=d}}function up(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(A(191,s));s.call(r)}}}var lo={},tn=ir(lo),Mi=ir(lo),Li=ir(lo);function xr(e){if(e===lo)throw Error(A(174));return e}function af(e,t){switch(ge(Li,t),ge(Mi,e),ge(tn,lo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ac(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ac(t,e)}xe(tn),ge(tn,t)}function ws(){xe(tn),xe(Mi),xe(Li)}function Yv(e){xr(Li.current);var t=xr(tn.current),n=ac(t,e.type);t!==n&&(ge(Mi,e),ge(tn,n))}function lf(e){Mi.current===e&&(xe(tn),xe(Mi))}var _e=ir(0);function ja(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 hu=[];function uf(){for(var e=0;e<hu.length;e++)hu[e]._workInProgressVersionPrimary=null;hu.length=0}var Jo=Cn.ReactCurrentDispatcher,pu=Cn.ReactCurrentBatchConfig,Ar=0,Te=null,Le=null,Ie=null,Ma=!1,ui=!1,Oi=0,C_=0;function Ze(){throw Error(A(321))}function cf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!$t(e[n],t[n]))return!1;return!0}function df(e,t,n,r,s,i){if(Ar=i,Te=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Jo.current=e===null||e.memoizedState===null?R_:A_,e=n(r,s),ui){i=0;do{if(ui=!1,Oi=0,25<=i)throw Error(A(301));i+=1,Ie=Le=null,t.updateQueue=null,Jo.current=N_,e=n(r,s)}while(ui)}if(Jo.current=La,t=Le!==null&&Le.next!==null,Ar=0,Ie=Le=Te=null,Ma=!1,t)throw Error(A(300));return e}function ff(){var e=Oi!==0;return Oi=0,e}function Yt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ie===null?Te.memoizedState=Ie=e:Ie=Ie.next=e,Ie}
vendor: 6,192 bytes, line 38
38function At(){if(Le===null){var e=Te.alternate;e=e!==null?e.memoizedState:null}else e=Le.next;var t=Ie===null?Te.memoizedState:Ie.next;if(t!==null)Ie=t,Le=e;else{if(e===null)throw Error(A(310));Le=e,e={memoizedState:Le.memoizedState,baseState:Le.baseState,baseQueue:Le.baseQueue,queue:Le.queue,next:null},Ie===null?Te.memoizedState=Ie=e:Ie=Ie.next=e}return Ie}function Vi(e,t){return typeof t=="function"?t(e):t}function mu(e){var t=At(),n=t.queue;if(n===null)throw Error(A(311));n.lastRenderedReducer=e;var r=Le,s=r.baseQueue,i=n.pending;if(i!==null){if(s!==null){var o=s.next;s.next=i.next,i.next=o}r.baseQueue=s=i,n.pending=null}if(s!==null){i=s.next,r=r.baseState;var a=o=null,l=null,u=i;do{var c=u.lane;if((Ar&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,o=r):l=l.next=d,Te.lanes|=c,Nr|=c}u=u.next}while(u!==null&&u!==i);l===null?o=r:l.next=a,$t(r,t.memoizedState)||(ot=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do i=s.lane,Te.lanes|=i,Nr|=i,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function gu(e){var t=At(),n=t.queue;if(n===null)throw Error(A(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,i=t.memoizedState;if(s!==null){n.pending=null;var o=s=s.next;do i=e(i,o.action),o=o.next;while(o!==s);$t(i,t.memoizedState)||(ot=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Xv(){}function Qv(e,t){var n=Te,r=At(),s=t(),i=!$t(r.memoizedState,s);if(i&&(r.memoizedState=s,ot=!0),r=r.queue,hf(ey.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Ie!==null&&Ie.memoizedState.tag&1){if(n.flags|=2048,Di(9,Jv.bind(null,n,r,s,t),void 0,null),ze===null)throw Error(A(349));Ar&30||qv(n,t,s)}return s}function qv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Te.updateQueue,t===null?(t={lastEffect:null,stores:null},Te.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Jv(e,t,n,r){t.value=n,t.getSnapshot=r,ty(t)&&ny(e)}function ey(e,t,n){return n(function(){ty(t)&&ny(e)})}function ty(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!$t(e,n)}catch{return!0}}function ny(e){var t=Sn(e,1);t!==null&&zt(t,e,1,-1)}function cp(e){var t=Yt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Vi,lastRenderedState:e},t.queue=e,e=e.dispatch=P_.bind(null,Te,e),[t.memoizedState,e]}function Di(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Te.updateQueue,t===null?(t={lastEffect:null,stores:null},Te.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function ry(){return At().memoizedState}function ea(e,t,n,r){var s=Yt();Te.flags|=e,s.memoizedState=Di(1|t,n,void 0,r===void 0?null:r)}function gl(e,t,n,r){var s=At();r=r===void 0?null:r;var i=void 0;if(Le!==null){var o=Le.memoizedState;if(i=o.destroy,r!==null&&cf(r,o.deps)){s.memoizedState=Di(t,n,i,r);return}}Te.flags|=e,s.memoizedState=Di(1|t,n,i,r)}function dp(e,t){return ea(8390656,8,e,t)}function hf(e,t){return gl(2048,8,e,t)}function sy(e,t){return gl(4,2,e,t)}function iy(e,t){return gl(4,4,e,t)}function oy(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ay(e,t,n){return n=n!=null?n.concat([e]):null,gl(4,4,oy.bind(null,t,e),n)}function pf(){}function ly(e,t){var n=At();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&cf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function uy(e,t){var n=At();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&cf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function cy(e,t,n){return Ar&21?($t(n,t)||(n=mv(),Te.lanes|=n,Nr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ot=!0),e.memoizedState=n)}function E_(e,t){var n=me;me=n!==0&&4>n?n:4,e(!0);var r=pu.transition;pu.transition={};try{e(!1),t()}finally{me=n,pu.transition=r}}function dy(){return At().memoizedState}function b_(e,t,n){var r=Zn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},fy(e))hy(t,n);else if(n=Kv(e,t,n,r),n!==null){var s=et();zt(n,e,r,s),py(n,t,r)}}function P_(e,t,n){var r=Zn(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(fy(e))hy(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(s.hasEagerState=!0,s.eagerState=a,$t(a,o)){var l=t.interleaved;l===null?(s.next=s,sf(t)):(s.next=l.next,l.next=s),t.interleaved=s;return}}catch{}finally{}n=Kv(e,t,s,r),n!==null&&(s=et(),zt(n,e,r,s),py(n,t,r))}}function fy(e){var t=e.alternate;return e===Te||t!==null&&t===Te}function hy(e,t){ui=Ma=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function py(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Wd(e,n)}}var La={readContext:Rt,useCallback:Ze,useContext:Ze,useEffect:Ze,useImperativeHandle:Ze,useInsertionEffect:Ze,useLayoutEffect:Ze,useMemo:Ze,useReducer:Ze,useRef:Ze,useState:Ze,useDebugValue:Ze,useDeferredValue:Ze,useTransition:Ze,useMutableSource:Ze,useSyncExternalStore:Ze,useId:Ze,unstable_isNewReconciler:!1},R_={readContext:Rt,useCallback:function(e,t){return Yt().memoizedState=[e,t===void 0?null:t],e},useContext:Rt,useEffect:dp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ea(4194308,4,oy.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ea(4194308,4,e,t)},useInsertionEffect:function(e,t){return ea(4,2,e,t)},useMemo:function(e,t){var n=Yt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Yt();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=b_.bind(null,Te,e),[r.memoizedState,e]}
vendor: 4,766 bytes, lines 38-40
38,useRef:function(e){var t=Yt();return e={current:e},t.memoizedState=e},useState:cp,useDebugValue:pf,useDeferredValue:function(e){return Yt().memoizedState=e},useTransition:function(){var e=cp(!1),t=e[0];return e=E_.bind(null,e[1]),Yt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Te,s=Yt();if(we){if(n===void 0)throw Error(A(407));n=n()}else{if(n=t(),ze===null)throw Error(A(349));Ar&30||qv(r,t,n)}s.memoizedState=n;var i={value:n,getSnapshot:t};return s.queue=i,dp(ey.bind(null,r,i,e),[e]),r.flags|=2048,Di(9,Jv.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Yt(),t=ze.identifierPrefix;if(we){var n=hn,r=fn;n=(r&~(1<<32-Ft(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Oi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=C_++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},A_={readContext:Rt,useCallback:ly,useContext:Rt,useEffect:hf,useImperativeHandle:ay,useInsertionEffect:sy,useLayoutEffect:iy,useMemo:uy,useReducer:mu,useRef:ry,useState:function(){return mu(Vi)},useDebugValue:pf,useDeferredValue:function(e){var t=At();return cy(t,Le.memoizedState,e)},useTransition:function(){var e=mu(Vi)[0],t=At().memoizedState;return[e,t]},useMutableSource:Xv,useSyncExternalStore:Qv,useId:dy,unstable_isNewReconciler:!1},N_={readContext:Rt,useCallback:ly,useContext:Rt,useEffect:hf,useImperativeHandle:ay,useInsertionEffect:sy,useLayoutEffect:iy,useMemo:uy,useReducer:gu,useRef:ry,useState:function(){return gu(Vi)},useDebugValue:pf,useDeferredValue:function(e){var t=At();return Le===null?t.memoizedState=e:cy(t,Le.memoizedState,e)},useTransition:function(){var e=gu(Vi)[0],t=At().memoizedState;return[e,t]},useMutableSource:Xv,useSyncExternalStore:Qv,useId:dy,unstable_isNewReconciler:!1};function Lt(e,t){if(e&&e.defaultProps){t=Ce({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Pc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ce({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var vl={isMounted:function(e){return(e=e._reactInternals)?Dr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=et(),s=Zn(e),i=mn(r,s);i.payload=t,n!=null&&(i.callback=n),t=Wn(e,i,s),t!==null&&(zt(t,e,s,r),qo(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=et(),s=Zn(e),i=mn(r,s);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Wn(e,i,s),t!==null&&(zt(t,e,s,r),qo(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=et(),r=Zn(e),s=mn(n,r);s.tag=2,t!=null&&(s.callback=t),t=Wn(e,s,r),t!==null&&(zt(t,e,r,n),qo(t,e,r))}};function fp(e,t,n,r,s,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!Ri(n,r)||!Ri(s,i):!0}function my(e,t,n){var r=!1,s=Qn,i=t.contextType;return typeof i=="object"&&i!==null?i=Rt(i):(s=lt(t)?Pr:Xe.current,r=t.contextTypes,i=(r=r!=null)?vs(e,s):Qn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=vl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=i),t}function hp(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vl.enqueueReplaceState(t,t.state,null)}function Rc(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},of(e);var i=t.contextType;typeof i=="object"&&i!==null?s.context=Rt(i):(i=lt(t)?Pr:Xe.current,s.context=vs(e,i)),s.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Pc(e,t,i,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&vl.enqueueReplaceState(s,s.state,null),Na(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function Ss(e,t){try{var n="",r=t;do n+=iS(r),r=r.return;while(r);var s=n}catch(i){s=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:s,digest:null}}function vu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ac(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var j_=typeof WeakMap=="function"?WeakMap:Map;function gy(e,t,n){n=mn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Va||(Va=!0,zc=r),Ac(e,t)},n}
vendor: 9,303 bytes, line 40
40function vy(e,t,n){n=mn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){Ac(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Ac(e,t),typeof r!="function"&&(Hn===null?Hn=new Set([this]):Hn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function pp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new j_;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=Z_.bind(null,e,t,n),t.then(e,e))}function mp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function gp(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=mn(-1,1),t.tag=2,Wn(n,t,1))),n.lanes|=1),e)}var M_=Cn.ReactCurrentOwner,ot=!1;function qe(e,t,n,r){t.child=e===null?Zv(t,null,n,r):xs(t,e.child,n,r)}function vp(e,t,n,r,s){n=n.render;var i=t.ref;return hs(t,s),r=df(e,t,n,r,i,s),n=ff(),e!==null&&!ot?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,_n(e,t,s)):(we&&n&&qd(t),t.flags|=1,qe(e,t,r,s),t.child)}function yp(e,t,n,r,s){if(e===null){var i=n.type;return typeof i=="function"&&!_f(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,yy(e,t,i,r,s)):(e=sa(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&s)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:Ri,n(o,r)&&e.ref===t.ref)return _n(e,t,s)}return t.flags|=1,e=Kn(i,r),e.ref=t.ref,e.return=t,t.child=e}function yy(e,t,n,r,s){if(e!==null){var i=e.memoizedProps;if(Ri(i,r)&&e.ref===t.ref)if(ot=!1,t.pendingProps=r=i,(e.lanes&s)!==0)e.flags&131072&&(ot=!0);else return t.lanes=e.lanes,_n(e,t,s)}return Nc(e,t,n,r,s)}function xy(e,t,n){var r=t.pendingProps,s=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ge(ns,ht),ht|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ge(ns,ht),ht|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ge(ns,ht),ht|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ge(ns,ht),ht|=r;return qe(e,t,s,n),t.child}function wy(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Nc(e,t,n,r,s){var i=lt(n)?Pr:Xe.current;return i=vs(t,i),hs(t,s),n=df(e,t,n,r,i,s),r=ff(),e!==null&&!ot?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,_n(e,t,s)):(we&&r&&qd(t),t.flags|=1,qe(e,t,n,s),t.child)}function xp(e,t,n,r,s){if(lt(n)){var i=!0;Ea(t)}else i=!1;if(hs(t,s),t.stateNode===null)ta(e,t),my(t,n,r),Rc(t,n,r,s),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Rt(u):(u=lt(n)?Pr:Xe.current,u=vs(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==u)&&hp(t,o,r,u),jn=!1;var f=t.memoizedState;o.state=f,Na(t,r,o,s),l=t.memoizedState,a!==r||f!==l||at.current||jn?(typeof c=="function"&&(Pc(t,n,c,r),l=t.memoizedState),(a=jn||fp(t,n,a,r,f,l,u))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Gv(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Lt(t.type,a),o.props=u,d=t.pendingProps,f=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=Rt(l):(l=lt(n)?Pr:Xe.current,l=vs(t,l));var g=n.getDerivedStateFromProps;(c=typeof g=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==d||f!==l)&&hp(t,o,r,l),jn=!1,f=t.memoizedState,o.state=f,Na(t,r,o,s);var x=t.memoizedState;a!==d||f!==x||at.current||jn?(typeof g=="function"&&(Pc(t,n,g,r),x=t.memoizedState),(u=jn||fp(t,n,u,r,f,x,l)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,x,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,x,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),o.props=r,o.state=x,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return jc(e,t,n,r,i,s)}function jc(e,t,n,r,s,i){wy(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return s&&sp(t,n,!1),_n(e,t,i);r=t.stateNode,M_.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=xs(t,e.child,null,i),t.child=xs(t,null,a,i)):qe(e,t,a,i),t.memoizedState=r.state,s&&sp(t,n,!0),t.child}function Sy(e){var t=e.stateNode;t.pendingContext?rp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&rp(e,t.context,!1),af(e,t.containerInfo)}function wp(e,t,n,r,s){return ys(),ef(s),t.flags|=256,qe(e,t,n,r),t.child}var Mc={dehydrated:null,treeContext:null,retryLane:0};function Lc(e){return{baseLanes:e,cachePool:null,transitions:null}}function _y(e,t,n){var r=t.pendingProps,s=_e.current,i=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(s&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),ge(_e,s&1),e===null)return Ec(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=wl(o,r,0,null),e=Cr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Lc(n),t.memoizedState=Mc,e):mf(t,o));if(s=e.memoizedState,s!==null&&(a=s.dehydrated,a!==null))return L_(e,t,o,r,a,s,n);if(i){i=r.fallback,o=t.mode,s=e.child,a=s.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Kn(s,l),r.subtreeFlags=s.subtreeFlags&14680064),a!==null?i=Kn(a,i):(i=Cr(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?Lc(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=Mc,r}return i=e.child,e=i.sibling,r=Kn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function mf(e,t){return t=wl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Oo(e,t,n,r){return r!==null&&ef(r),xs(t,e.child,null,n),e=mf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function L_(e,t,n,r,s,i,o){if(n)return t.flags&256?(t.flags&=-257,r=vu(Error(A(422))),Oo(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,s=t.mode,r=wl({mode:"visible",children:r.children},s,0,null),i=Cr(i,s,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&xs(t,e.child,null,o),t.child.memoizedState=Lc(o),t.memoizedState=Mc,i);if(!(t.mode&1))return Oo(e,t,o,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(A(419)),r=vu(i,r,void 0),Oo(e,t,o,r)}if(a=(o&e.childLanes)!==0,ot||a){if(r=ze,r!==null){switch(o&-o){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|o)?0:s,s!==0&&s!==i.retryLane&&(i.retryLane=s,Sn(e,s),zt(r,e,s,-1))}return Sf(),r=vu(Error(A(421))),Oo(e,t,o,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=K_.bind(null,e),s._reactRetry=t,null):(e=i.treeContext,gt=$n(s.nextSibling),vt=t,we=!0,Vt=null,e!==null&&(Ct[Et++]=fn,Ct[Et++]=hn,Ct[Et++]=Rr,fn=e.id,hn=e.overflow,Rr=t),t=mf(t,r.children),t.flags|=4096,t)}
vendor: 5,469 bytes, line 40
40function Sp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),bc(e.return,t,n)}function yu(e,t,n,r,s){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=s)}function ky(e,t,n){var r=t.pendingProps,s=r.revealOrder,i=r.tail;if(qe(e,t,r.children,n),r=_e.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Sp(e,n,t);else if(e.tag===19)Sp(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ge(_e,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&ja(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),yu(t,!1,s,n,i);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&ja(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}yu(t,!0,n,null,i);break;case"together":yu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ta(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function _n(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Nr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(A(153));if(t.child!==null){for(e=t.child,n=Kn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Kn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function O_(e,t,n){switch(t.tag){case 3:Sy(t),ys();break;case 5:Yv(t);break;case 1:lt(t.type)&&Ea(t);break;case 4:af(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;ge(Ra,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ge(_e,_e.current&1),t.flags|=128,null):n&t.child.childLanes?_y(e,t,n):(ge(_e,_e.current&1),e=_n(e,t,n),e!==null?e.sibling:null);ge(_e,_e.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ky(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),ge(_e,_e.current),r)break;return null;case 22:case 23:return t.lanes=0,xy(e,t,n)}return _n(e,t,n)}var Ty,Oc,Cy,Ey;Ty=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Oc=function(){};Cy=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,xr(tn.current);var i=null;switch(n){case"input":s=rc(e,s),r=rc(e,r),i=[];break;case"select":s=Ce({},s,{value:void 0}),r=Ce({},r,{value:void 0}),i=[];break;case"textarea":s=oc(e,s),r=oc(e,r),i=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ta)}lc(n,r);var o;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var a=s[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(_i.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=s!=null?s[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(_i.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ye("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};Ey=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ws(e,t){if(!we)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ke(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function V_(e,t,n){var r=t.pendingProps;switch(Jd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ke(t),null;case 1:return lt(t.type)&&Ca(),Ke(t),null;case 3:return r=t.stateNode,ws(),xe(at),xe(Xe),uf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Mo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Vt!==null&&($c(Vt),Vt=null))),Oc(e,t),Ke(t),null;case 5:lf(t);var s=xr(Li.current);
vendor: 29,713 bytes, line 40
40if(n=t.type,e!==null&&t.stateNode!=null)Cy(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(A(166));return Ke(t),null}if(e=xr(tn.current),Mo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Xt]=t,r[ji]=i,e=(t.mode&1)!==0,n){case"dialog":ye("cancel",r),ye("close",r);break;case"iframe":case"object":case"embed":ye("load",r);break;case"video":case"audio":for(s=0;s<ei.length;s++)ye(ei[s],r);break;case"source":ye("error",r);break;case"img":case"image":case"link":ye("error",r),ye("load",r);break;case"details":ye("toggle",r);break;case"input":Ah(r,i),ye("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},ye("invalid",r);break;case"textarea":jh(r,i),ye("invalid",r)}lc(n,i),s=null;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];o==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&jo(r.textContent,a,e),s=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&jo(r.textContent,a,e),s=["children",""+a]):_i.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&ye("scroll",r)}switch(n){case"input":To(r),Nh(r,i,!0);break;case"textarea":To(r),Mh(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Ta)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ev(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Xt]=t,e[ji]=r,Ty(e,t,!1,!1),t.stateNode=e;e:{switch(o=uc(n,r),n){case"dialog":ye("cancel",e),ye("close",e),s=r;break;case"iframe":case"object":case"embed":ye("load",e),s=r;break;case"video":case"audio":for(s=0;s<ei.length;s++)ye(ei[s],e);s=r;break;case"source":ye("error",e),s=r;break;case"img":case"image":case"link":ye("error",e),ye("load",e),s=r;break;case"details":ye("toggle",e),s=r;break;case"input":Ah(e,r),s=rc(e,r),ye("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=Ce({},r,{value:void 0}),ye("invalid",e);break;case"textarea":jh(e,r),s=oc(e,r),ye("invalid",e);break;default:s=r}lc(n,s),a=s;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?rv(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&tv(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&ki(e,l):typeof l=="number"&&ki(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(_i.hasOwnProperty(i)?l!=null&&i==="onScroll"&&ye("scroll",e):l!=null&&Id(e,i,l,o))}switch(n){case"input":To(e),Nh(e,r,!1);break;case"textarea":To(e),Mh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Xn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?us(e,!!r.multiple,i,!1):r.defaultValue!=null&&us(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=Ta)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ke(t),null;case 6:if(e&&t.stateNode!=null)Ey(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(A(166));if(n=xr(Li.current),xr(tn.current),Mo(t)){if(r=t.stateNode,n=t.memoizedProps,r[Xt]=t,(i=r.nodeValue!==n)&&(e=vt,e!==null))switch(e.tag){case 3:jo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&jo(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Xt]=t,t.stateNode=r}return Ke(t),null;case 13:if(xe(_e),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(we&&gt!==null&&t.mode&1&&!(t.flags&128))Wv(),ys(),t.flags|=98560,i=!1;else if(i=Mo(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(A(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(A(317));i[Xt]=t}else ys(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ke(t),i=!1}else Vt!==null&&($c(Vt),Vt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||_e.current&1?Oe===0&&(Oe=3):Sf())),t.updateQueue!==null&&(t.flags|=4),Ke(t),null);case 4:return ws(),Oc(e,t),e===null&&Ai(t.stateNode.containerInfo),Ke(t),null;case 10:return rf(t.type._context),Ke(t),null;case 17:return lt(t.type)&&Ca(),Ke(t),null;case 19:if(xe(_e),i=t.memoizedState,i===null)return Ke(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)Ws(i,!1);else{if(Oe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=ja(e),o!==null){for(t.flags|=128,Ws(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ge(_e,_e.current&1|2),t.child}e=e.sibling}i.tail!==null&&Re()>_s&&(t.flags|=128,r=!0,Ws(i,!1),t.lanes=4194304)}else{if(!r)if(e=ja(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ws(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!we)return Ke(t),null}else 2*Re()-i.renderingStartTime>_s&&n!==1073741824&&(t.flags|=128,r=!0,Ws(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Re(),t.sibling=null,n=_e.current,ge(_e,r?n&1|2:n&1),t):(Ke(t),null);case 22:case 23:return wf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ht&1073741824&&(Ke(t),t.subtreeFlags&6&&(t.flags|=8192)):Ke(t),null;case 24:return null;case 25:return null}throw Error(A(156,t.tag))}function D_(e,t){switch(Jd(t),t.tag){case 1:return lt(t.type)&&Ca(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ws(),xe(at),xe(Xe),uf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return lf(t),null;case 13:if(xe(_e),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(A(340));ys()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return xe(_e),null;case 4:return ws(),null;case 10:return rf(t.type._context),null;case 22:case 23:return wf(),null;case 24:return null;default:return null}}var Vo=!1,Ye=!1,I_=typeof WeakSet=="function"?WeakSet:Set,U=null;function ts(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ee(e,t,r)}else n.current=null}function Vc(e,t,n){try{n()}catch(r){Ee(e,t,r)}}var _p=!1;function F_(e,t){if(xc=Sa,e=Nv(),Qd(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 s=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var g;d!==n||s!==0&&d.nodeType!==3||(a=o+s),d!==i||r!==0&&d.nodeType!==3||(l=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(g=d.firstChild)!==null;)f=d,d=g;for(;;){if(d===e)break t;if(f===n&&++u===s&&(a=o),f===i&&++c===r&&(l=o),(g=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=g}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(wc={focusedElem:e,selectionRange:n},Sa=!1,U=t;U!==null;)if(t=U,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,U=e;else for(;U!==null;){t=U;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var v=x.memoizedProps,S=x.memoizedState,p=t.stateNode,h=p.getSnapshotBeforeUpdate(t.elementType===t.type?v:Lt(t.type,v),S);p.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(A(163))}}catch(k){Ee(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,U=e;break}U=t.return}return x=_p,_p=!1,x}function ci(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var i=s.destroy;s.destroy=void 0,i!==void 0&&Vc(t,n,i)}s=s.next}while(s!==r)}}function yl(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 Dc(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 by(e){var t=e.alternate;t!==null&&(e.alternate=null,by(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Xt],delete t[ji],delete t[kc],delete t[S_],delete t[__])),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 Py(e){return e.tag===5||e.tag===3||e.tag===4}function kp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Py(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 Ic(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=Ta));else if(r!==4&&(e=e.child,e!==null))for(Ic(e,t,n),e=e.sibling;e!==null;)Ic(e,t,n),e=e.sibling}function Fc(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(Fc(e,t,n),e=e.sibling;e!==null;)Fc(e,t,n),e=e.sibling}var Be=null,Ot=!1;function En(e,t,n){for(n=n.child;n!==null;)Ry(e,t,n),n=n.sibling}function Ry(e,t,n){if(en&&typeof en.onCommitFiberUnmount=="function")try{en.onCommitFiberUnmount(cl,n)}catch{}switch(n.tag){case 5:Ye||ts(n,t);case 6:var r=Be,s=Ot;Be=null,En(e,t,n),Be=r,Ot=s,Be!==null&&(Ot?(e=Be,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Be.removeChild(n.stateNode));break;case 18:Be!==null&&(Ot?(e=Be,n=n.stateNode,e.nodeType===8?du(e.parentNode,n):e.nodeType===1&&du(e,n),bi(e)):du(Be,n.stateNode));break;case 4:r=Be,s=Ot,Be=n.stateNode.containerInfo,Ot=!0,En(e,t,n),Be=r,Ot=s;break;case 0:case 11:case 14:case 15:if(!Ye&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var i=s,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Vc(n,t,o),s=s.next}while(s!==r)}En(e,t,n);break;case 1:if(!Ye&&(ts(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ee(n,t,a)}En(e,t,n);break;case 21:En(e,t,n);break;case 22:n.mode&1?(Ye=(r=Ye)||n.memoizedState!==null,En(e,t,n),Ye=r):En(e,t,n);break;default:En(e,t,n)}}function Tp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new I_),t.forEach(function(r){var s=G_.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function Mt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var i=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Be=a.stateNode,Ot=!1;break e;case 3:Be=a.stateNode.containerInfo,Ot=!0;break e;case 4:Be=a.stateNode.containerInfo,Ot=!0;break e}a=a.return}if(Be===null)throw Error(A(160));Ry(i,o,s),Be=null,Ot=!1;var l=s.alternate;l!==null&&(l.return=null),s.return=null}catch(u){Ee(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Ay(t,e),t=t.sibling}function Ay(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Mt(t,e),Kt(e),r&4){try{ci(3,e,e.return),yl(3,e)}catch(v){Ee(e,e.return,v)}try{ci(5,e,e.return)}catch(v){Ee(e,e.return,v)}}break;case 1:Mt(t,e),Kt(e),r&512&&n!==null&&ts(n,n.return);break;case 5:if(Mt(t,e),Kt(e),r&512&&n!==null&&ts(n,n.return),e.flags&32){var s=e.stateNode;try{ki(s,"")}catch(v){Ee(e,e.return,v)}}if(r&4&&(s=e.stateNode,s!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&qg(s,i),uc(a,o);var u=uc(a,i);for(o=0;o<l.length;o+=2){var c=l[o],d=l[o+1];c==="style"?rv(s,d):c==="dangerouslySetInnerHTML"?tv(s,d):c==="children"?ki(s,d):Id(s,c,d,u)}switch(a){case"input":sc(s,i);break;case"textarea":Jg(s,i);break;case"select":var f=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!i.multiple;var g=i.value;g!=null?us(s,!!i.multiple,g,!1):f!==!!i.multiple&&(i.defaultValue!=null?us(s,!!i.multiple,i.defaultValue,!0):us(s,!!i.multiple,i.multiple?[]:"",!1))}s[ji]=i}catch(v){Ee(e,e.return,v)}}break;case 6:if(Mt(t,e),Kt(e),r&4){if(e.stateNode===null)throw Error(A(162));s=e.stateNode,i=e.memoizedProps;try{s.nodeValue=i}catch(v){Ee(e,e.return,v)}}break;case 3:if(Mt(t,e),Kt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{bi(t.containerInfo)}catch(v){Ee(e,e.return,v)}break;case 4:Mt(t,e),Kt(e);break;case 13:Mt(t,e),Kt(e),s=e.child,s.flags&8192&&(i=s.memoizedState!==null,s.stateNode.isHidden=i,!i||s.alternate!==null&&s.alternate.memoizedState!==null||(yf=Re())),r&4&&Tp(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Ye=(u=Ye)||c,Mt(t,e),Ye=u):Mt(t,e),Kt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(U=e,c=e.child;c!==null;){for(d=U=c;U!==null;){switch(f=U,g=f.child,f.tag){case 0:case 11:case 14:case 15:ci(4,f,f.return);break;case 1:ts(f,f.return);var x=f.stateNode;if(typeof x.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(v){Ee(r,n,v)}}break;case 5:ts(f,f.return);break;case 22:if(f.memoizedState!==null){Ep(d);continue}}g!==null?(g.return=f,U=g):Ep(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{s=d.stateNode,u?(i=s.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=d.stateNode,l=d.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=nv("display",o))}catch(v){Ee(e,e.return,v)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(v){Ee(e,e.return,v)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Mt(t,e),Kt(e),r&4&&Tp(e);break;case 21:break;default:Mt(t,e),Kt(e)}}function Kt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Py(n)){var r=n;break e}n=n.return}throw Error(A(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(ki(s,""),r.flags&=-33);var i=kp(e);Fc(e,i,s);break;case 3:case 4:var o=r.stateNode.containerInfo,a=kp(e);Ic(e,a,o);break;default:throw Error(A(161))}}catch(l){Ee(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function z_(e,t,n){U=e,Ny(e)}function Ny(e,t,n){for(var r=(e.mode&1)!==0;U!==null;){var s=U,i=s.child;if(s.tag===22&&r){var o=s.memoizedState!==null||Vo;if(!o){var a=s.alternate,l=a!==null&&a.memoizedState!==null||Ye;a=Vo;var u=Ye;if(Vo=o,(Ye=l)&&!u)for(U=s;U!==null;)o=U,l=o.child,o.tag===22&&o.memoizedState!==null?bp(s):l!==null?(l.return=o,U=l):bp(s);for(;i!==null;)U=i,Ny(i),i=i.sibling;U=s,Vo=a,Ye=u}Cp(e)}else s.subtreeFlags&8772&&i!==null?(i.return=s,U=i):Cp(e)}}function Cp(e){for(;U!==null;){var t=U;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ye||yl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ye)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:Lt(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&up(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}up(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&bi(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(A(163))}Ye||t.flags&512&&Dc(t)}catch(f){Ee(t,t.return,f)}}if(t===e){U=null;break}if(n=t.sibling,n!==null){n.return=t.return,U=n;break}U=t.return}}function Ep(e){for(;U!==null;){var t=U;if(t===e){U=null;break}var n=t.sibling;if(n!==null){n.return=t.return,U=n;break}U=t.return}}function bp(e){for(;U!==null;){var t=U;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{yl(4,t)}catch(l){Ee(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(l){Ee(t,s,l)}}var i=t.return;try{Dc(t)}catch(l){Ee(t,i,l)}break;case 5:var o=t.return;try{Dc(t)}catch(l){Ee(t,o,l)}}}catch(l){Ee(t,t.return,l)}if(t===e){U=null;break}var a=t.sibling;if(a!==null){a.return=t.return,U=a;break}U=t.return}}var B_=Math.ceil,Oa=Cn.ReactCurrentDispatcher,gf=Cn.ReactCurrentOwner,Pt=Cn.ReactCurrentBatchConfig,le=0,ze=null,Ne=null,$e=0,ht=0,ns=ir(0),Oe=0,Ii=null,Nr=0,xl=0,vf=0,di=null,it=null,yf=0,_s=1/0,cn=null,Va=!1,zc=null,Hn=null,Do=!1,In=null,Da=0,fi=0,Bc=null,na=-1,ra=0;function et(){return le&6?Re():na!==-1?na:na=Re()}function Zn(e){return e.mode&1?le&2&&$e!==0?$e&-$e:T_.transition!==null?(ra===0&&(ra=mv()),ra):(e=me,e!==0||(e=window.event,e=e===void 0?16:_v(e.type)),e):1}function zt(e,t,n,r){if(50<fi)throw fi=0,Bc=null,Error(A(185));io(e,n,r),(!(le&2)||e!==ze)&&(e===ze&&(!(le&2)&&(xl|=n),Oe===4&&On(e,$e)),ut(e,r),n===1&&le===0&&!(t.mode&1)&&(_s=Re()+500,ml&&or()))}function ut(e,t){var n=e.callbackNode;TS(e,t);var r=wa(e,e===ze?$e:0);if(r===0)n!==null&&Vh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Vh(n),t===1)e.tag===0?k_(Pp.bind(null,e)):Bv(Pp.bind(null,e)),x_(function(){!(le&6)&&or()}),n=null;else{switch(gv(r)){case 1:n=$d;break;case 4:n=hv;break;case 16:n=xa;break;case 536870912:n=pv;break;default:n=xa}n=Fy(n,jy.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function jy(e,t){if(na=-1,ra=0,le&6)throw Error(A(327));var n=e.callbackNode;if(ps()&&e.callbackNode!==n)return null;var r=wa(e,e===ze?$e:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ia(e,r);else{t=r;var s=le;le|=2;var i=Ly();(ze!==e||$e!==t)&&(cn=null,_s=Re()+500,Tr(e,t));do try{W_();break}catch(a){My(e,a)}while(!0);nf(),Oa.current=i,le=s,Ne!==null?t=0:(ze=null,$e=0,t=Oe)}if(t!==0){if(t===2&&(s=pc(e),s!==0&&(r=s,t=Uc(e,s))),t===1)throw n=Ii,Tr(e,0),On(e,r),ut(e,Re()),n;if(t===6)On(e,r);else{if(s=e.current.alternate,!(r&30)&&!U_(s)&&(t=Ia(e,r),t===2&&(i=pc(e),i!==0&&(r=i,t=Uc(e,i))),t===1))throw n=Ii,Tr(e,0),On(e,r),ut(e,Re()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(A(345));case 2:fr(e,it,cn);break;case 3:if(On(e,r),(r&130023424)===r&&(t=yf+500-Re(),10<t)){if(wa(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){et(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=_c(fr.bind(null,e,it,cn),t);break}fr(e,it,cn);break;case 4:if(On(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var o=31-Ft(r);i=1<<o,o=t[o],o>s&&(s=o),r&=~i}if(r=s,r=Re()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*B_(r/1960))-r,10<r){e.timeoutHandle=_c(fr.bind(null,e,it,cn),r);break}fr(e,it,cn);break;case 5:fr(e,it,cn);break;default:throw Error(A(329))}}}return ut(e,Re()),e.callbackNode===n?jy.bind(null,e):null}function Uc(e,t){var n=di;return e.current.memoizedState.isDehydrated&&(Tr(e,t).flags|=256),e=Ia(e,t),e!==2&&(t=it,it=n,t!==null&&$c(t)),e}function $c(e){it===null?it=e:it.push.apply(it,e)}function U_(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var s=n[r],i=s.getSnapshot;s=s.value;try{if(!$t(i(),s))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function On(e,t){for(t&=~vf,t&=~xl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ft(t),r=1<<n;e[n]=-1,t&=~r}}function Pp(e){if(le&6)throw Error(A(327));ps();var t=wa(e,0);if(!(t&1))return ut(e,Re()),null;var n=Ia(e,t);if(e.tag!==0&&n===2){var r=pc(e);r!==0&&(t=r,n=Uc(e,r))}if(n===1)throw n=Ii,Tr(e,0),On(e,t),ut(e,Re()),n;if(n===6)throw Error(A(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,fr(e,it,cn),ut(e,Re()),null}function xf(e,t){var n=le;le|=1;try{return e(t)}finally{le=n,le===0&&(_s=Re()+500,ml&&or())}}function jr(e){In!==null&&In.tag===0&&!(le&6)&&ps();var t=le;le|=1;var n=Pt.transition,r=me;try{if(Pt.transition=null,me=1,e)return e()}finally{me=r,Pt.transition=n,le=t,!(le&6)&&or()}}function wf(){ht=ns.current,xe(ns)}function Tr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,y_(n)),Ne!==null)for(n=Ne.return;n!==null;){var r=n;switch(Jd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ca();break;case 3:ws(),xe(at),xe(Xe),uf();break;case 5:lf(r);break;case 4:ws();break;case 13:xe(_e);break;case 19:xe(_e);break;case 10:rf(r.type._context);break;case 22:case 23:wf()}n=n.return}if(ze=e,Ne=e=Kn(e.current,null),$e=ht=t,Oe=0,Ii=null,vf=xl=Nr=0,it=di=null,yr!==null){for(t=0;t<yr.length;t++)if(n=yr[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=s,r.next=o}n.pending=r}yr=null}return e}function My(e,t){do{var n=Ne;try{if(nf(),Jo.current=La,Ma){for(var r=Te.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}Ma=!1}if(Ar=0,Ie=Le=Te=null,ui=!1,Oi=0,gf.current=null,n===null||n.return===null){Oe=1,Ii=t,Ne=null;break}e:{var i=e,o=n.return,a=n,l=t;if(t=$e,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var g=mp(o);if(g!==null){g.flags&=-257,gp(g,o,a,i,t),g.mode&1&&pp(i,u,t),t=g,l=u;var x=t.updateQueue;if(x===null){var v=new Set;v.add(l),t.updateQueue=v}else x.add(l);break e}else{if(!(t&1)){pp(i,u,t),Sf();break e}l=Error(A(426))}}else if(we&&a.mode&1){var S=mp(o);if(S!==null){!(S.flags&65536)&&(S.flags|=256),gp(S,o,a,i,t),ef(Ss(l,a));break e}}i=l=Ss(l,a),Oe!==4&&(Oe=2),di===null?di=[i]:di.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var p=gy(i,l,t);lp(i,p);break e;case 1:a=l;var h=i.type,m=i.stateNode;if(!(i.flags&128)&&(typeof h.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Hn===null||!Hn.has(m)))){i.flags|=65536,t&=-t,i.lanes|=t;var k=vy(i,a,t);lp(i,k);break e}}i=i.return}while(i!==null)}Vy(n)}catch(T){t=T,Ne===n&&n!==null&&(Ne=n=n.return);continue}break}while(!0)}function Ly(){var e=Oa.current;return Oa.current=La,e===null?La:e}function Sf(){(Oe===0||Oe===3||Oe===2)&&(Oe=4),ze===null||!(Nr&268435455)&&!(xl&268435455)||On(ze,$e)}function Ia(e,t){var n=le;le|=2;var r=Ly();(ze!==e||$e!==t)&&(cn=null,Tr(e,t));do try{$_();break}catch(s){My(e,s)}while(!0);if(nf(),le=n,Oa.current=r,Ne!==null)throw Error(A(261));return ze=null,$e=0,Oe}function $_(){for(;Ne!==null;)Oy(Ne)}function W_(){for(;Ne!==null&&!mS();)Oy(Ne)}function Oy(e){var t=Iy(e.alternate,e,ht);e.memoizedProps=e.pendingProps,t===null?Vy(e):Ne=t,gf.current=null}function Vy(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=D_(n,t),n!==null){n.flags&=32767,Ne=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Oe=6,Ne=null;return}}else if(n=V_(n,t,ht),n!==null){Ne=n;return}if(t=t.sibling,t!==null){Ne=t;return}Ne=t=e}while(t!==null);Oe===0&&(Oe=5)}function fr(e,t,n){var r=me,s=Pt.transition;try{Pt.transition=null,me=1,H_(e,t,n,r)}finally{Pt.transition=s,me=r}return null}function H_(e,t,n,r){do ps();while(In!==null);if(le&6)throw Error(A(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(A(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(CS(e,i),e===ze&&(Ne=ze=null,$e=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Do||(Do=!0,Fy(xa,function(){return ps(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Pt.transition,Pt.transition=null;var o=me;me=1;var a=le;le|=4,gf.current=null,F_(e,n),Ay(n,e),d_(wc),Sa=!!xc,wc=xc=null,e.current=n,z_(n),gS(),le=a,me=o,Pt.transition=i}else e.current=n;if(Do&&(Do=!1,In=e,Da=s),i=e.pendingLanes,i===0&&(Hn=null),xS(n.stateNode),ut(e,Re()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(Va)throw Va=!1,e=zc,zc=null,e;return Da&1&&e.tag!==0&&ps(),i=e.pendingLanes,i&1?e===Bc?fi++:(fi=0,Bc=e):fi=0,or(),null}function ps(){if(In!==null){var e=gv(Da),t=Pt.transition,n=me;try{if(Pt.transition=null,me=16>e?16:e,In===null)var r=!1;else{if(e=In,In=null,Da=0,le&6)throw Error(A(331));var s=le;for(le|=4,U=e.current;U!==null;){var i=U,o=i.child;if(U.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(U=u;U!==null;){var c=U;switch(c.tag){case 0:case 11:case 15:ci(8,c,i)}var d=c.child;if(d!==null)d.return=c,U=d;else for(;U!==null;){c=U;var f=c.sibling,g=c.return;if(by(c),c===u){U=null;break}if(f!==null){f.return=g,U=f;break}U=g}}}var x=i.alternate;if(x!==null){var v=x.child;if(v!==null){x.child=null;do{var S=v.sibling;v.sibling=null,v=S}while(v!==null)}}U=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,U=o;else e:for(;U!==null;){if(i=U,i.flags&2048)switch(i.tag){case 0:case 11:case 15:ci(9,i,i.return)}var p=i.sibling;if(p!==null){p.return=i.return,U=p;break e}U=i.return}}var h=e.current;for(U=h;U!==null;){o=U;var m=o.child;if(o.subtreeFlags&2064&&m!==null)m.return=o,U=m;else e:for(o=h;U!==null;){if(a=U,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:yl(9,a)}}catch(T){Ee(a,a.return,T)}if(a===o){U=null;break e}var k=a.sibling;if(k!==null){k.return=a.return,U=k;break e}U=a.return}}if(le=s,or(),en&&typeof en.onPostCommitFiberRoot=="function")try{en.onPostCommitFiberRoot(cl,e)}catch{}r=!0}return r}finally{me=n,Pt.transition=t}}return!1}function Rp(e,t,n){t=Ss(n,t),t=gy(e,t,1),e=Wn(e,t,1),t=et(),e!==null&&(io(e,1,t),ut(e,t))}function Ee(e,t,n){if(e.tag===3)Rp(e,e,n);else for(;t!==null;){if(t.tag===3){Rp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Hn===null||!Hn.has(r))){e=Ss(n,e),e=vy(t,e,1),t=Wn(t,e,1),e=et(),t!==null&&(io(t,1,e),ut(t,e));break}}t=t.return}}function Z_(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=et(),e.pingedLanes|=e.suspendedLanes&n,ze===e&&($e&n)===n&&(Oe===4||Oe===3&&($e&130023424)===$e&&500>Re()-yf?Tr(e,0):vf|=n),ut(e,t)}function Dy(e,t){t===0&&(e.mode&1?(t=bo,bo<<=1,!(bo&130023424)&&(bo=4194304)):t=1);var n=et();e=Sn(e,t),e!==null&&(io(e,t,n),ut(e,n))}function K_(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Dy(e,n)}function G_(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(A(314))}r!==null&&r.delete(t),Dy(e,n)}var Iy;Iy=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||at.current)ot=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ot=!1,O_(e,t,n);ot=!!(e.flags&131072)}else ot=!1,we&&t.flags&1048576&&Uv(t,Pa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ta(e,t),e=t.pendingProps;var s=vs(t,Xe.current);hs(t,n),s=df(null,t,r,e,s,n);var i=ff();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,lt(r)?(i=!0,Ea(t)):i=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,of(t),s.updater=vl,t.stateNode=s,s._reactInternals=t,Rc(t,r,e,n),t=jc(null,t,r,!0,i,n)):(t.tag=0,we&&i&&qd(t),qe(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ta(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=X_(r),e=Lt(r,e),s){case 0:t=Nc(null,t,r,e,n);break e;case 1:t=xp(null,t,r,e,n);break e;case 11:t=vp(null,t,r,e,n);break e;case 14:t=yp(null,t,r,Lt(r.type,e),n);break e}throw Error(A(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Lt(r,s),Nc(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Lt(r,s),xp(e,t,r,s,n);case 3:e:{if(Sy(t),e===null)throw Error(A(387));
vendor: 4,912 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,s=i.element,Gv(e,t),Na(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){s=Ss(Error(A(423)),t),t=wp(e,t,r,n,s);break e}else if(r!==s){s=Ss(Error(A(424)),t),t=wp(e,t,r,n,s);break e}else for(gt=$n(t.stateNode.containerInfo.firstChild),vt=t,we=!0,Vt=null,n=Zv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ys(),r===s){t=_n(e,t,n);break e}qe(e,t,r,n)}t=t.child}return t;case 5:return Yv(t),e===null&&Ec(t),r=t.type,s=t.pendingProps,i=e!==null?e.memoizedProps:null,o=s.children,Sc(r,s)?o=null:i!==null&&Sc(r,i)&&(t.flags|=32),wy(e,t),qe(e,t,o,n),t.child;case 6:return e===null&&Ec(t),null;case 13:return _y(e,t,n);case 4:return af(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=xs(t,null,r,n):qe(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Lt(r,s),vp(e,t,r,s,n);case 7:return qe(e,t,t.pendingProps,n),t.child;case 8:return qe(e,t,t.pendingProps.children,n),t.child;case 12:return qe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,i=t.memoizedProps,o=s.value,ge(Ra,r._currentValue),r._currentValue=o,i!==null)if($t(i.value,o)){if(i.children===s.children&&!at.current){t=_n(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=mn(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),bc(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(A(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),bc(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}qe(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,hs(t,n),s=Rt(s),r=r(s),t.flags|=1,qe(e,t,r,n),t.child;case 14:return r=t.type,s=Lt(r,t.pendingProps),s=Lt(r.type,s),yp(e,t,r,s,n);case 15:return yy(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Lt(r,s),ta(e,t),t.tag=1,lt(r)?(e=!0,Ea(t)):e=!1,hs(t,n),my(t,r,s),Rc(t,r,s,n),jc(null,t,r,!0,e,n);case 19:return ky(e,t,n);case 22:return xy(e,t,n)}throw Error(A(156,t.tag))};function Fy(e,t){return fv(e,t)}function Y_(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 bt(e,t,n,r){return new Y_(e,t,n,r)}function _f(e){return e=e.prototype,!(!e||!e.isReactComponent)}function X_(e){if(typeof e=="function")return _f(e)?1:0;if(e!=null){if(e=e.$$typeof,e===zd)return 11;if(e===Bd)return 14}return 2}function Kn(e,t){var n=e.alternate;return n===null?(n=bt(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 sa(e,t,n,r,s,i){var o=2;if(r=e,typeof e=="function")_f(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Zr:return Cr(n.children,s,i,t);case Fd:o=8,s|=8;break;case Ju:return e=bt(12,n,t,s|2),e.elementType=Ju,e.lanes=i,e;case ec:return e=bt(13,n,t,s),e.elementType=ec,e.lanes=i,e;case tc:return e=bt(19,n,t,s),e.elementType=tc,e.lanes=i,e;case Yg:return wl(n,s,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Kg:o=10;break e;case Gg:o=9;break e;case zd:o=11;break e;case Bd:o=14;break e;case Nn:o=16,r=null;break e}throw Error(A(130,e==null?e:typeof e,""))}return t=bt(o,n,t,s),t.elementType=e,t.type=r,t.lanes=i,t}function Cr(e,t,n,r){return e=bt(7,e,r,t),e.lanes=n,e}function wl(e,t,n,r){return e=bt(22,e,r,t),e.elementType=Yg,e.lanes=n,e.stateNode={isHidden:!1},e}function xu(e,t,n){return e=bt(6,e,null,t),e.lanes=n,e}function wu(e,t,n){return t=bt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}
vendor: 5,453 bytes, line 40
40function Q_(e,t,n,r,s){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=eu(0),this.expirationTimes=eu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eu(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function kf(e,t,n,r,s,i,o,a,l){return e=new Q_(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=bt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},of(i),e}function q_(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Hr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function zy(e){if(!e)return Qn;e=e._reactInternals;e:{if(Dr(e)!==e||e.tag!==1)throw Error(A(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(lt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(A(171))}if(e.tag===1){var n=e.type;if(lt(n))return zv(e,n,t)}return t}function By(e,t,n,r,s,i,o,a,l){return e=kf(n,r,!0,e,s,i,o,a,l),e.context=zy(null),n=e.current,r=et(),s=Zn(n),i=mn(r,s),i.callback=t??null,Wn(n,i,s),e.current.lanes=s,io(e,s,r),ut(e,r),e}function Sl(e,t,n,r){var s=t.current,i=et(),o=Zn(s);return n=zy(n),t.context===null?t.context=n:t.pendingContext=n,t=mn(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Wn(s,t,o),e!==null&&(zt(e,s,o,i),qo(e,s,o)),o}function Fa(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Ap(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Tf(e,t){Ap(e,t),(e=e.alternate)&&Ap(e,t)}function J_(){return null}var Uy=typeof reportError=="function"?reportError:function(e){console.error(e)};function Cf(e){this._internalRoot=e}_l.prototype.render=Cf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(A(409));Sl(e,t,null,null)};_l.prototype.unmount=Cf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;jr(function(){Sl(null,e,null,null)}),t[wn]=null}};function _l(e){this._internalRoot=e}_l.prototype.unstable_scheduleHydration=function(e){if(e){var t=xv();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ln.length&&t!==0&&t<Ln[n].priority;n++);Ln.splice(n,0,e),n===0&&Sv(e)}};function Ef(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function kl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Np(){}function ek(e,t,n,r,s){if(s){if(typeof r=="function"){var i=r;r=function(){var u=Fa(o);i.call(u)}}var o=By(t,r,e,0,null,!1,!1,"",Np);return e._reactRootContainer=o,e[wn]=o.current,Ai(e.nodeType===8?e.parentNode:e),jr(),o}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var a=r;r=function(){var u=Fa(l);a.call(u)}}var l=kf(e,0,!1,null,null,!1,!1,"",Np);return e._reactRootContainer=l,e[wn]=l.current,Ai(e.nodeType===8?e.parentNode:e),jr(function(){Sl(t,l,n,r)}),l}function Tl(e,t,n,r,s){var i=n._reactRootContainer;if(i){var o=i;if(typeof s=="function"){var a=s;s=function(){var l=Fa(o);a.call(l)}}Sl(t,o,e,s)}else o=ek(n,t,e,s,r);return Fa(o)}vv=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Js(t.pendingLanes);n!==0&&(Wd(t,n|1),ut(t,Re()),!(le&6)&&(_s=Re()+500,or()))}break;case 13:jr(function(){var r=Sn(e,1);if(r!==null){var s=et();zt(r,e,1,s)}}),Tf(e,1)}};Hd=function(e){if(e.tag===13){var t=Sn(e,134217728);if(t!==null){var n=et();zt(t,e,134217728,n)}Tf(e,134217728)}};yv=function(e){if(e.tag===13){var t=Zn(e),n=Sn(e,t);if(n!==null){var r=et();zt(n,e,t,r)}Tf(e,t)}};xv=function(){return me};wv=function(e,t){var n=me;try{return me=e,t()}finally{me=n}};dc=function(e,t,n){switch(t){case"input":if(sc(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var s=pl(r);if(!s)throw Error(A(90));Qg(r),sc(r,s)}}}break;case"textarea":Jg(e,n);break;case"select":t=n.value,t!=null&&us(e,!!n.multiple,t,!1)}};ov=xf;av=jr;var tk={usingClientEntryPoint:!1,Events:[ao,Xr,pl,sv,iv,xf]},Hs={findFiberByHostInstance:vr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nk={bundleType:Hs.bundleType,version:Hs.version,rendererPackageName:Hs.rendererPackageName,rendererConfig:Hs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Cn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=cv(e),e===null?null:e.stateNode},findFiberByHostInstance:Hs.findFiberByHostInstance||J_,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Io=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Io.isDisabled&&Io.supportsFiber)try{cl=Io.inject(nk),en=Io}catch{}}St.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tk;St.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ef(t))throw Error(A(200));return q_(e,t,null,n)};St.createRoot=function(e,t){if(!Ef(e))throw Error(A(299));var n=!1,r="",s=Uy;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=kf(e,1,!1,null,null,n,!1,r,s),e[wn]=t.current,Ai(e.nodeType===8?e.parentNode:e),new Cf(t)};St.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(A(188)):(e=Object.keys(e).join(","),Error(A(268,e)));return e=cv(t),e=e===null?null:e.stateNode,e};St.flushSync=function(e){return jr(e)};St.hydrate=function(e,t,n){if(!kl(t))throw Error(A(200));return Tl(null,e,t,!0,n)};St.hydrateRoot=function(e,t,n){if(!Ef(e))throw Error(A(405));var r=n!=null&&n.hydratedSources||null,s=!1,i="",o=Uy;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=By(t,null,e,1,n??null,s,!1,i,o),e[wn]=t.current,Ai(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new _l(t)};St.render=function(e,t,n){if(!kl(t))throw Error(A(200));return Tl(null,e,t,!1,n)};St.unmountComponentAtNode=function(e){if(!kl(e))throw Error(A(40));return e._reactRootContainer?(jr(function(){Tl(null,null,e,!1,function(){e._reactRootContainer=null,e[wn]=null})}),!0):!1};St.unstable_batchedUpdates=xf;St.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!kl(n))throw Error(A(200));if(e==null||e._reactInternals===void 0)throw Error(A(38));return Tl(e,t,n,!1,r)};St.version="18.3.1-next-f1338f8080-20240426";function $y(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE($y)}catch(e){console.error(e)}}$y(),$g.exports=St;var uo=$g.exports;const rk=Nd(uo);var jp=uo;Qu.createRoot=jp.createRoot,Qu.hydrateRoot=jp.hydrateRoot;const sk=()=>{const[e,t]=y.useState("default-cursor"),[n,r]=y.useState({}),[s,i]=y.useState(!1);return y.useEffect(()=>{const o=()=>{i(window.innerWidth<=640)};return o(),window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}},[]),y.useEffect(()=>{if(s)return;const o=document.querySelector(".custom-cursor"),a=d=>{o&&(o.style.left=`${d.clientX}px`,o.style.top=`${d.clientY}px`)},l=d=>{const f=d.target;if(f.classList.contains("footer-link")){const g=f.getBoundingClientRect();r({width:`${g.width}px`,height:`${g.height}px`,left:`${g.left}px`,top:`${g.top}px`,borderRadius:"0"}),t("footer-link-cursor")}else f.tagName==="P"?t("text-cursor"):f.tagName==="H1"?t("text-cursor2"):f.tagName==="BUTTON"?t("button-cursor"):(t("default-cursor"),r({}))},u=()=>{t("default-cursor"),r({})},c=d=>{requestAnimationFrame(()=>a(d))};return document.addEventListener("mousemove",c),document.addEventListener("mouseover",l),document.addEventListener("mouseout",u),()=>{document.removeEventListener("mousemove",c),document.removeEventListener("mouseover",l),document.removeEventListener("mouseout",u)}},[s]),s?null:w.jsx("div",{className:`custom-cursor ${e}`,style:n})},De="#ff0000",ik="Dhruv Mali",ok="I am a MERN, Python stack developer and AI enthusiast actively working on ML/DL projects to gain hands-on experience. I’ve built everything from Chrome extensions to full-stack academic ERP systems and am deeply involved in building practical AI applications, including language-learning tools, interview simulators, and satellite imagery analysis tools. Currently interning in Generative AI, I’m exploring both research and real-world deployment of machine learning systems.",Su={name:"MB Patel Secondary and Higher Secondary School",branch:"10+2",year:"2021-2023"},Mp={name:"Adani University",branch:"CSE(AIML)",year:"2023 - 2027"},_u={name:"Generative AI Intern",moreInfo:"Currently worked as an intern in the field of Generative AI, exploring applied projects in ML/DL, particularly around language models, AI agents, and productivity-focused applications.",year:"2025"},ak=[{name:"Susap – GD & Interview Skill Builder",description:"Stack: Next.js, Firebase, Socket.io, VAPI, Stripe, AI APIs. A real-time platform to simulate Group Discussions and Interviews with evaluation and feedback.",href:"https://susap.vercel.app",cta:"Learn more",background:"https://cdn-business.nikkei.com/atcl/gen/19/00625/040200007/s1280.jpg?__scale=w:1280,h:720&_sh=0807a01e05",className:"md:col-start-1 md:col-end-4 md:row-start-3 md:row-end-5 col-start-2 col-end-3 row-start-1 row-end-4 "},{name:"Academic ERP System",description:"Stack: MERN, MongoDB, JWT, AI APIs. Includes attendance, complaint management, academic calendar, secure file sharing, AI-powered Q&A features.",href:"https://github.com/P47Parzival/UniEase-ERP",cta:"Learn more",background:"https://github.com/P47Parzival/UniEase-ERP/blob/main/frontend/src/assets/Adani_university_landing.png?raw=true",className:"md:row-start-1 md:row-end-3 md:col-start-3 md:col-end-5 col-start-1 col-end-2 row-start-1 row-end-3"},{name:"Mindsurf",description:"MindSurf is an adaptive learning platform that leverages AI to personalize education and enhance understanding of complex topics",href:"https://github.com/aspdc/Janabs-HackSpire2025",cta:"Learn more",background:"https://github.com/aspdc/Janabs-HackSpire2025/blob/main/frontend/public/personalisedimage.jpg?raw=true",className:"md:col-start-4 md:col-end-5 md:row-start-3 md:row-end-5 col-start-1 col-end-3 row-start-4 row-end-5"},{name:"TradeWise",description:"Stack: React, FastAPI, Angel One. A real-time stock market dashboard with live data, technical indicators, and portfolio management features.",href:"https://github.com/P47Parzival/TradeWise",cta:"Learn more",background:"https://tse4.mm.bing.net/th/id/OIP.LWyAtEQ9lR_YuKWzcytHxQHaD0?rs=1&pid=ImgDetMain&o=7&rm=3",className:"md:col-start-1 md:col-end-3 md:row-start-1 md:row-end-2  col-start-1 col-end-3 row-start-5 row-end-6 "},{name:"Custom Cursor Chrome Extension",description:"Stack: HTML, CSS, JavaScript. Lets users pick custom cursors for Chrome.",href:"https://github.com/P47Parzival/Custom-Cursor-Chrome-Extension",cta:"Learn more",background:"https://static3.makeuseofimages.com/wordpress/wp-content/uploads/2016/03/new-chrome-extensions.jpg",className:" md:col-start-1 md:col-end-3 md:row-start-2 md:row-end-3  col-start-1 col-end-2 row-start-3 row-end-3 "},{name:"House Prediction Production ready Pipeline",description:"Linear, Ridge, Lasso,Random Forest, XGBoost",href:"https://github.com/P47Parzival/production_ready_model_for_house_prediction",cta:"Learn more",background:"https://th.bing.com/th/id/OIP.3Psu7nDr2LvhWH4R6-TqegHaFj?o=7rm=3&rs=1&pid=ImgDetMain&o=7&rm=3",className:"md:row-start-1 md:row-end-2 md:col-start-5 md:col-end-8 col-start-1 col-end-2 row-start-1 row-end-3"},{name:"LISS-4 Satellite Change Detection",description:"Stack: ML, CV, Python, Flask, GEE, Google Colab. Built for ISRO Hackathon 2025 — detects robust land changes from multi-temporal satellite imagery.",href:"https://github.com/P47Parzival/LISS-4-Satellite-imagery",cta:"Learn more",background:"https://tse2.mm.bing.net/th/id/OIP.kEA4ZWdolAJzsTULJOnORgAAAA?rs=1&pid=ImgDetMain&o=7&rm=3",className:"md:row-start-2 md:row-end-5 md:col-start-5 md:col-end-8 col-start-1 col-end-2 row-start-1 row-end-3"},{name:"Video RAG",description:"A powerful Video RAG system that enables users to upload videos, automatically builds searchable indexes from transcripts, and answers questions using Google Gemini. Built with a focus on local processing and only free tools.",href:"https://github.com/P47Parzival/Video-RAG",cta:"Learn more",background:"https://github.com/P47Parzival/Video-RAG/blob/main/assests/RAG.jpg?raw=true",className:"md:row-start-5 md:row-end-7 md:col-start-1 md:col-end-8 col-start-1 col-end-2 row-start-1 row-end-3"}],bf=[{title:"Reactjs",src:"/icons/1.svg"},{title:"NodeJs",src:"/icons/2.svg"},{title:"Npm",src:"/icons/3.svg"},{title:"Nextjs",src:"/icons/4.svg"}
vendor: 11,633 bytes, lines 40-67
40,{title:"Appwrite",src:"/icons/5.svg"},{title:"Expressjs",src:"/icons/6.svg"},{title:"MongoDB",src:"/icons/7.svg"},{title:"Vercel",src:"/icons/8.svg"},{title:"C++",src:"/icons/9.svg"},{title:"Javascript",src:"/icons/10.svg"},{title:"Typescript",src:"/icons/11.svg"},{title:"Html",src:"/icons/12.svg"},{title:"Css",src:"/icons/13.svg"},{title:"Bootstrap",src:"/icons/14.svg"},{title:"Tailwind",src:"/icons/15.svg"},{title:"Github",src:"/icons/16.svg"},{title:"SQL",src:"/icons/17.svg"},{title:"Docker",src:"/icons/18.svg"}],Lp={github:"https://github.com/P47Parzival",twitter:"https://x.com/dhruvm2804"};/**
41 * @remix-run/router v1.18.0
42 *
43 * Copyright (c) Remix Software Inc.
44 *
45 * This source code is licensed under the MIT license found in the
46 * LICENSE.md file in the root directory of this source tree.
47 *
48 * @license MIT
49 */function Fi(){return Fi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fi.apply(this,arguments)}var wr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(wr||(wr={}));const Op="popstate";function lk(e){e===void 0&&(e={});function t(r,s){let{pathname:i,search:o,hash:a}=r.location;return Wc("",{pathname:i,search:o,hash:a},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:za(s)}return ck(t,n,null,e)}function Bt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function uk(){return Math.random().toString(36).substr(2,8)}function Vp(e,t){return{usr:e.state,key:e.key,idx:t}}function Wc(e,t,n,r){return n===void 0&&(n=null),Fi({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Cl(t):t,{state:n,key:t&&t.key||r||uk()})}function za(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Cl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function ck(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,o=s.history,a=wr.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(Fi({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function d(){a=wr.Pop;let S=c(),p=S==null?null:S-u;u=S,l&&l({action:a,location:v.location,delta:p})}function f(S,p){a=wr.Push;let h=Wc(v.location,S,p);u=c()+1;let m=Vp(h,u),k=v.createHref(h);try{o.pushState(m,"",k)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;s.location.assign(k)}i&&l&&l({action:a,location:v.location,delta:1})}function g(S,p){a=wr.Replace;let h=Wc(v.location,S,p);u=c();let m=Vp(h,u),k=v.createHref(h);o.replaceState(m,"",k),i&&l&&l({action:a,location:v.location,delta:0})}function x(S){let p=s.location.origin!=="null"?s.location.origin:s.location.href,h=typeof S=="string"?S:za(S);return h=h.replace(/ $/,"%20"),Bt(p,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,p)}let v={get action(){return a},get location(){return e(s,o)},listen(S){if(l)throw new Error("A history only accepts one active listener");return s.addEventListener(Op,d),l=S,()=>{s.removeEventListener(Op,d),l=null}},createHref(S){return t(s,S)},createURL:x,encodeLocation(S){let p=x(S);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:f,replace:g,go(S){return o.go(S)}};return v}var Dp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Dp||(Dp={}));function Wy(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function dk(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Cl(e):e;return{pathname:n?n.startsWith("/")?n:fk(n,t):t,search:pk(r),hash:mk(s)}}function fk(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function ku(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function hk(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Hy(e,t){let n=hk(e);return t?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Zy(e,t,n,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=Cl(e):(s=Fi({},e),Bt(!s.pathname||!s.pathname.includes("?"),ku("?","pathname","search",s)),Bt(!s.pathname||!s.pathname.includes("#"),ku("#","pathname","hash",s)),Bt(!s.search||!s.search.includes("#"),ku("#","search","hash",s)));let i=e===""||s.pathname==="",o=i?"/":s.pathname,a;if(o==null)a=n;else{let d=t.length-1;if(!r&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),d-=1;s.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=dk(s,a),u=o&&o!=="/"&&o.endsWith("/"),c=(i||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Ky=e=>e.join("/").replace(/\/\/+/g,"/"),pk=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,mk=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Gy=["post","put","patch","delete"];new Set(Gy);const gk=["get",...Gy];new Set(gk);/**
50 * React Router v6.25.1
51 *
52 * Copyright (c) Remix Software Inc.
53 *
54 * This source code is licensed under the MIT license found in the
55 * LICENSE.md file in the root directory of this source tree.
56 *
57 * @license MIT
58 */function Ba(){return Ba=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ba.apply(this,arguments)}const Yy=y.createContext(null),Ms=y.createContext(null),Pf=y.createContext(null),El=y.createContext({outlet:null,matches:[],isDataRoute:!1});function vk(e,t){let{relative:n}=t===void 0?{}:t;bl()||Bt(!1);let{basename:r,navigator:s}=y.useContext(Ms),{hash:i,pathname:o,search:a}=Qy(e,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:Ky([r,o])),s.createHref({pathname:l,search:a,hash:i})}function bl(){return y.useContext(Pf)!=null}function Rf(){return bl()||Bt(!1),y.useContext(Pf).location}function Xy(e){y.useContext(Ms).static||y.useLayoutEffect(e)}function yk(){let{isDataRoute:e}=y.useContext(El);return e?kk():xk()}function xk(){bl()||Bt(!1);let e=y.useContext(Yy),{basename:t,future:n,navigator:r}=y.useContext(Ms),{matches:s}=y.useContext(El),{pathname:i}=Rf(),o=JSON.stringify(Hy(s,n.v7_relativeSplatPath)),a=y.useRef(!1);return Xy(()=>{a.current=!0}),y.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=Zy(u,JSON.parse(o),i,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Ky([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,o,i,e])}function Qy(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=y.useContext(Ms),{matches:s}=y.useContext(El),{pathname:i}=Rf(),o=JSON.stringify(Hy(s,r.v7_relativeSplatPath));return y.useMemo(()=>Zy(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}var qy=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(qy||{}),Jy=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Jy||{});function wk(e){let t=y.useContext(Yy);return t||Bt(!1),t}function Sk(e){let t=y.useContext(El);return t||Bt(!1),t}function _k(e){let t=Sk(),n=t.matches[t.matches.length-1];return n.route.id||Bt(!1),n.route.id}function kk(){let{router:e}=wk(qy.UseNavigateStable),t=_k(Jy.UseNavigateStable),n=y.useRef(!1);return Xy(()=>{n.current=!0}),y.useCallback(function(s,i){i===void 0&&(i={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,Ba({fromRouteId:t},i)))},[e,t])}function Tk(e){let{basename:t="/",children:n=null,location:r,navigationType:s=wr.Pop,navigator:i,static:o=!1,future:a}=e;bl()&&Bt(!1);let l=t.replace(/^\/*/,"/"),u=y.useMemo(()=>({basename:l,navigator:i,static:o,future:Ba({v7_relativeSplatPath:!1},a)}),[l,a,i,o]);typeof r=="string"&&(r=Cl(r));let{pathname:c="/",search:d="",hash:f="",state:g=null,key:x="default"}=r,v=y.useMemo(()=>{let S=Wy(c,l);return S==null?null:{location:{pathname:S,search:d,hash:f,state:g,key:x},navigationType:s}},[l,c,d,f,g,x,s]);return v==null?null:y.createElement(Ms.Provider,{value:u},y.createElement(Pf.Provider,{children:n,value:v}))}new Promise(()=>{});/**
59 * React Router DOM v6.25.1
60 *
61 * Copyright (c) Remix Software Inc.
62 *
63 * This source code is licensed under the MIT license found in the
64 * LICENSE.md file in the root directory of this source tree.
65 *
66 * @license MIT
67 */function Hc(){return Hc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hc.apply(this,arguments)}function Ck(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,i;for(i=0;i<r.length;i++)s=r[i],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function Ek(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function bk(e,t){return e.button===0&&(!t||t==="_self")&&!Ek(e)}const Pk=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Rk="6";try{window.__reactRouterVersion=Rk}catch{}const Ak="startTransition",Ip=Z1[Ak];function Nk(e){let{basename:t,children:n,future:r,window:s}=e,i=y.useRef();i.current==null&&(i.current=lk({window:s,v5Compat:!0}));let o=i.current,[a,l]=y.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},c=y.useCallback(d=>{u&&Ip?Ip(()=>l(d)):l(d)},[l,u]);return y.useLayoutEffect(()=>o.listen(c),[o,c]),y.createElement(Tk,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const jk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Mk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ia=y.forwardRef(function(t,n){let{onClick:r,relative:s,reloadDocument:i,replace:o,state:a,target:l,to:u,preventScrollReset:c,unstable_viewTransition:d}=t,f=Ck(t,Pk),{basename:g}=y.useContext(Ms),x,v=!1;if(typeof u=="string"&&Mk.test(u)&&(x=u,jk))try{let m=new URL(window.location.href),k=u.startsWith("//")?new URL(m.protocol+u):new URL(u),T=Wy(k.pathname,g);k.origin===m.origin&&T!=null?u=T+k.search+k.hash:v=!0}catch{}let S=vk(u,{relative:s}),p=Lk(u,{replace:o,state:a,target:l,preventScrollReset:c,relative:s,unstable_viewTransition:d});function h(m){r&&r(m),m.defaultPrevented||p(m)}return y.createElement("a",Hc({},f,{href:x||S,onClick:v||i?r:h,ref:n,target:l}))});var Fp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Fp||(Fp={}));var zp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(zp||(zp={}));function Lk(e,t){let{target:n,replace:r,state:s,preventScrollReset:i,relative:o,unstable_viewTransition:a}=t===void 0?{}:t,l=yk(),u=Rf(),c=Qy(e,{relative:o});return y.useCallback(d=>
67{if(bk(d,n)){d.preventDefault();let f=r!==void 0?r:za(u)===za(c);l(e,{replace:f,state:s,preventScrollReset:i,relative:o,unstable_viewTransition:a})}},[u,l,c,r,s,n,e,i,o,a])}const Ok=()=>{const e=()=>{window.scrollTo({top:0,behavior:"smooth"})};return w.jsxs("footer",{className:"flex justify-between  text-3xl gap-7 w-[80%] mx-auto border-t border-dark-4 py-11 max-sm:pt-7  max-sm:justify-center max-sm:items-center whitespace-nowrap",children:[w.jsxs("div",{className:"",children:[w.jsx(ia,{className:"footer-link",to:"",onClick:e,children:"^ •"}),w.jsxs(ia,{className:"footer-link",to:Lp.github,target:"_blank",children:[" ","github •"]}),w.jsxs(ia,{className:"footer-link",to:Lp.twitter,target:"_blank",children:[" ","twitter"]})]}),w.jsx("div",{className:"max-sm:hidden",children:w.jsx("p",{children:"Made by Dhruv"})})]})};var Zc={exports:{}},e0={exports:{}},Vk="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Dk=Vk,Ik=Dk;function t0(){}function n0(){}n0.resetWarningCache=t0;var Fk=function(){function e(r,s,i,o,a,l){if(l!==Ik){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:n0,resetWarningCache:t0};return n.PropTypes=n,n};e0.exports=Fk();var zk=e0.exports,r0=9007199254740991,Bk="[object Arguments]",Uk="[object Function]",$k="[object GeneratorFunction]",Kc="[object Map]",Wk="[object Object]",Bp="[object Promise]",Gc="[object Set]",Hk="[object String]",Up="[object WeakMap]",$p="[object DataView]",Zk=/[\\^$.*+?()[\]{}|]/g,Kk=/^\[object .+?Constructor\]$/,Gk=/^(?:0|[1-9]\d*)$/,Af="\\ud800-\\udfff",s0="\\u0300-\\u036f\\ufe20-\\ufe23",i0="\\u20d0-\\u20f0",o0="\\ufe0e\\ufe0f",Yk="["+Af+"]",Yc="["+s0+i0+"]",Xc="\\ud83c[\\udffb-\\udfff]",Xk="(?:"+Yc+"|"+Xc+")",a0="[^"+Af+"]",l0="(?:\\ud83c[\\udde6-\\uddff]){2}",u0="[\\ud800-\\udbff][\\udc00-\\udfff]",c0="\\u200d",d0=Xk+"?",f0="["+o0+"]?",Qk="(?:"+c0+"(?:"+[a0,l0,u0].join("|")+")"+f0+d0+")*",qk=f0+d0+Qk,Jk="(?:"+[a0+Yc+"?",Yc,l0,u0,Yk].join("|")+")",eT=RegExp(Xc+"(?="+Xc+")|"+Jk+qk,"g"),tT=RegExp("["+c0+Af+s0+i0+o0+"]"),nT=typeof So=="object"&&So&&So.Object===Object&&So,rT=typeof self=="object"&&self&&self.Object===Object&&self,Ir=nT||rT||Function("return this")();function sT(e,t){for(var n=-1,r=e?e.length:0,s=Array(r);++n<r;)s[n]=t(e[n],n,e);return s}function iT(e){return e.split("")}function oT(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function aT(e,t){return sT(t,function(n){return e[n]})}function lT(e,t){return e==null?void 0:e[t]}function uT(e){return tT.test(e)}function cT(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}function dT(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function fT(e){var t=-1,n=Array(e.size);return e.forEach(function(r,s){n[++t]=[s,r]}),n}function hT(e,t){return function(n){return e(t(n))}}function pT(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}function mT(e){return uT(e)?gT(e):iT(e)}function gT(e){return e.match(eT)||[]}var vT=Function.prototype,Pl=Object.prototype,Tu=Ir["__core-js_shared__"],Wp=function(){var e=/[^.]+$/.exec(Tu&&Tu.keys&&Tu.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),h0=vT.toString,Rl=Pl.hasOwnProperty,co=Pl.toString,yT=RegExp("^"+h0.call(Rl).replace(Zk,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Hp=Ir.Symbol,Cu=Hp?Hp.iterator:void 0,xT=Pl.propertyIsEnumerable,wT=hT(Object.keys,Object),Qc=fo(Ir,"DataView"),qc=fo(Ir,"Map"),Jc=fo(Ir,"Promise"),ed=fo(Ir,"Set"),td=fo(Ir,"WeakMap"),ST=Fr(Qc),_T=Fr(qc),kT=Fr(Jc),TT=Fr(ed),CT=Fr(td);function ET(e,t){var n=p0(e)||LT(e)?oT(e.length,String):[],r=n.length,s=!!r;for(var i in e)Rl.call(e,i)&&!(s&&(i=="length"||NT(i,r)))&&n.push(i);return n}function bT(e){return co.call(e)}function PT(e){if(!g0(e)||jT(e))return!1;var t=m0(e)||cT(e)?yT:Kk;return t.test(Fr(e))}function RT(e){if(!MT(e))return wT(e);var t=[];for(var n in Object(e))Rl.call(e,n)&&n!="constructor"&&t.push(n);return t}function AT(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function fo(e,t){var n=lT(e,t);return PT(n)?n:void 0}var hr=bT;(Qc&&hr(new Qc(new ArrayBuffer(1)))!=$p||qc&&hr(new qc)!=Kc||Jc&&hr(Jc.resolve())!=Bp||ed&&hr(new ed)!=Gc||td&&hr(new td)!=Up)&&(hr=function(e){var t=co.call(e),n=t==Wk?e.constructor:void 0,r=n?Fr(n):void 0;if(r)switch(r){case ST:return $p;case _T:return Kc;case kT:return Bp;case TT:return Gc;case CT:return Up}return t});function NT(e,t){return t=t??r0,!!t&&(typeof e=="number"||Gk.test(e))&&e>-1&&e%1==0&&e<t}function jT(e){return!!Wp&&Wp in e}function MT(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Pl;return e===n}function Fr(e){if(e!=null){try{return h0.call(e)}catch{}try{return e+""}catch{}}return""}
67function LT(e){return OT(e)&&Rl.call(e,"callee")&&(!xT.call(e,"callee")||co.call(e)==Bk)}var p0=Array.isArray;function Nf(e){return e!=null&&VT(e.length)&&!m0(e)}function OT(e){return v0(e)&&Nf(e)}function m0(e){var t=g0(e)?co.call(e):"";return t==Uk||t==$k}function VT(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=r0}function g0(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function v0(e){return!!e&&typeof e=="object"}function DT(e){return typeof e=="string"||!p0(e)&&v0(e)&&co.call(e)==Hk}function IT(e){if(!e)return[];if(Nf(e))return DT(e)?mT(e):AT(e);if(Cu&&e[Cu])return dT(e[Cu]());var t=hr(e),n=t==Kc?fT:t==Gc?pT:zT;return n(e)}function FT(e){return Nf(e)?ET(e):RT(e)}function zT(e){return e?aT(e,FT(e)):[]}var BT=IT;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(f){for(var g=1;g<arguments.length;g++){var x=arguments[g];for(var v in x)Object.prototype.hasOwnProperty.call(x,v)&&(f[v]=x[v])}return f},r=function(){function f(g,x){for(var v=0;v<x.length;v++){var S=x[v];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,v){return x&&f(g.prototype,x),v&&f(g,v),g}}(),s=function(g,x,v){var S=!0;e:for(;S;){var p=g,h=x,m=v;S=!1,p===null&&(p=Function.prototype);var k=Object.getOwnPropertyDescriptor(p,h);if(k===void 0){var T=Object.getPrototypeOf(p);if(T===null)return;g=T,x=h,v=m,S=!0,k=T=void 0;continue e}else{if("value"in k)return k.value;var b=k.get;return b===void 0?void 0:b.call(m)}}};function i(f,g){var x={};for(var v in f)g.indexOf(v)>=0||Object.prototype.hasOwnProperty.call(f,v)&&(x[v]=f[v]);return x}function o(f,g){if(!(f instanceof g))throw new TypeError("Cannot call a class as a function")}function a(f,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);f.prototype=Object.create(g&&g.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(f,g):f.__proto__=g)}var l=y,u=zk,c=BT,d=function(f){a(g,f);function g(x){o(this,g),s(Object.getPrototypeOf(g.prototype),"constructor",this).call(this,x);var v=this.props,S=v.items,p=v.random;this.state={index:p?Math.floor(Math.random()*Math.floor(S.length)):0,output:"",substrLength:0},this.timeouts=[]}return r(g,[{key:"componentDidMount",value:function(){this._animate.bind(this)()}},{key:"componentWillUnmount",value:function(){this.timeouts.map(function(v){return clearTimeout(v)})}},{key:"_loop",value:function(v,S){var p=setTimeout(v,S);this.timeouts.push(p);var h=100;this.timeouts.length>h&&(clearTimeout(this.timeouts[0]),this.timeouts.shift())}},{key:"_type",value:function(v,S){var p=this.state.output,h=this.props.typingInterval,m=this._type.bind(this,v,S),k=c(v);this.setState({output:k.slice(0,c(p).length+1).join("")}),p.length<k.length?this._loop(m,h):(typeof this.props.onTypingEnd=="function"&&this.props.onTypingEnd(),S())}},{key:"_erase",value:function(v){var S=this.state.output,p=this.props.deletingInterval,h=this._erase.bind(this,v),m=c(S);typeof this.props.onDeletingStart=="function"&&this.props.onDeletingStart(),this.setState({output:m.slice(0,m.length-1).join("")}),m.length!==0?this._loop(h,p):(typeof this.props.onDeletingEnd=="function"&&this.props.onDeletingEnd(),v())}},{key:"_overwrite",value:function(v,S){var p=this.state,h=p.output,m=p.substrLength,k=this.props.deletingInterval,T=this._overwrite.bind(this,v,S),b=c(v),R=c(h);this.setState({output:b.slice(0,m).concat(R.slice(m)),substrLength:m+1}),b.length!==m?this._loop(T,k):(this.setState({output:v,substrLength:0}),S())}},{key:"_animate",value:function(){var v=this,S=this.state.index,p=this.props,h=p.items,m=p.pause,k=p.emptyPause,T=p.eraseMode,b=p.random,R=this._type,P=this._erase,$=this._overwrite,V=this._animate.bind(this),ne=void 0;b?ne=Math.floor(Math.random()*Math.floor(h.length)):ne=S===h.length-1?0:S+1;var L=function(){v.setState({index:ne}),v._loop(V,k)};typeof this.props.onTypingStart=="function"&&this.props.onTypingStart(),R.bind(this)(h[S],function(){T==="overwrite"?v._loop($.bind(v,h[ne],L),m):v._loop(P.bind(v,L),m)})}},{key:"render",value:function(){var v=this.props,S=v.color,p=v.curs
67or;v.deletingInterval,v.emptyPause,v.items,v.pause,v.eraseMode,v.typingInterval,v.random;var h=i(v,["color","cursor","deletingInterval","emptyPause","items","pause","eraseMode","typingInterval","random"]);return l.createElement("span",n({style:{color:S}},h),this.state.output,p?l.createElement("span",{className:"react-rotating-text-cursor"},"|"):null)}}]),g}(l.Component);d.propTypes={color:u.string,cursor:u.bool,deletingInterval:u.number,emptyPause:u.number,eraseMode:u.string,items:u.array,pause:u.number,typingInterval:u.number,random:u.bool,onTypingStart:u.func,onTypingEnd:u.func,onDeletingStart:u.func,onDeletingEnd:u.func},d.defaultProps={color:"inherit",cursor:!0,deletingInterval:50,emptyPause:1e3,eraseMode:"erase",items:["first","second","third","fourth","fifth"],pause:1500,typingInterval:50,random:!1},t.default=d,e.exports=t.default})(Zc,Zc.exports);var UT=Zc.exports;const $T=Nd(UT),ho=y.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Al=y.createContext({}),Nl=y.createContext(null),jf=typeof document<"u",zr=jf?y.useLayoutEffect:y.useEffect,y0=y.createContext({strict:!1}),jl=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),WT="framerAppearId",x0="data-"+jl(WT),HT={skipAnimations:!1,useManualTiming:!1};function ZT(e){let t=new Set,n=new Set,r=!1,s=!1;const i=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(u){i.has(u)&&(l.schedule(u),e()),u(o)}const l={schedule:(u,c=!1,d=!1)=>{const g=d&&r?t:n;return c&&i.add(u),g.has(u)||g.add(u),u},cancel:u=>{n.delete(u),i.delete(u)},process:u=>{if(o=u,r){s=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(a),r=!1,s&&(s=!1,l.process(u))}};return l}const Fo=["read","resolveKeyframes","update","preRender","render","postRender"],KT=40;function w0(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=Fo.reduce((p,h)=>(p[h]=ZT(i),p),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=o,g=()=>{const p=performance.now();n=!1,s.delta=r?1e3/60:Math.max(Math.min(p-s.timestamp,KT),1),s.timestamp=p,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),c.process(s),d.process(s),f.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(g))},x=()=>{n=!0,r=!0,s.isProcessing||e(g)};return{schedule:Fo.reduce((p,h)=>{const m=o[h];return p[h]=(k,T=!1,b=!1)=>(n||x(),m.schedule(k,T,b)),p},{}),cancel:p=>{for(let h=0;h<Fo.length;h++)o[Fo[h]].cancel(p)},state:s,steps:o}}const{schedule:Mf,cancel:KM}=w0(queueMicrotask,!1);function rs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const S0=y.createContext({});let Zp=!1;function GT(e,t,n,r,s){const{visualElement:i}=y.useContext(Al),o=y.useContext(y0),a=y.useContext(Nl),l=y.useContext(ho).reducedMotion,u=y.useRef();r=r||o.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:i,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:l}));const c=u.current,d=y.useContext(S0);c&&!c.projection&&s&&(c.type==="html"||c.type==="svg")&&XT(u.current,n,s,d),y.useInsertionEffect(()=>{c&&c.update(n,a)});const f=y.useRef(!!(n[x0]&&!window.HandoffComplete));return zr(()=>{c&&(c.updateFeatures(),Mf.render(c.render),f.current&&c.animationState&&c.animationState.animateChanges())}),y.useEffect(()=>{c&&(!f.current&&c.animationState&&c.animationState.animateChanges(),f.current&&(f.current=!1,Zp||(Zp=!0,queueMicrotask(YT))))}),c}function YT(){window.HandoffComplete=!0}function XT(e,t,n,r){const{layoutId:s,layout:i,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:_0(e.parent)),e.projection.setOptions({layoutId:s,layout:i,alwaysMeasureLayout:!!o||a&&rs(a),visualElement:e,scheduleRender:()=>e.scheduleRender(),animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}function _0(e){if(e)return e.options.allowProjection!==!1?e.projection:_0(e.parent)}function QT(e,t,n){return y.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):rs(n)&&(n.current=r))},[t])}function zi(e){return typeof e=="string"||Array.isArray(e)}function Bi(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Lf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Of=["initial",...Lf];function Ml(e){return Bi(e.animate)||Of.some(t=>zi(e[t]))}function k0(e){return!!(Ml(e)||e.variants)}function qT(e,t){if(Ml(e)){const{initial:n,animate:r}=e;return{initial:n===!1||zi(n)?n:void 0,animate:zi(r)?r:void 0}}return e.inherit!==!1?t:{}}function JT(e){const{initial:t,animate:n}=qT(e,y.useContext(Al));return y.useMemo(()=>({initial:t,animate:n}),[Kp(t),Kp(n)])}function Kp(e){return Array.isArray(e)?e.join(" "):e}const Gp={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"]},ks={};for(const e in Gp)ks[e]={isEnabled:t=>Gp[e].some(n=>!!t[n])};function eC(e){for(const t in e)ks[t]={...ks[t],...e[t]}}const Vf=y.createContext({}),tC=Symbol.for("motionComponentSymbol"),We=e=>e;let nC=We,nd=We;function rC({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:s}){e&&eC(e);function i(a,l){let u;const c={...y.useContext(ho),...a,layoutId:sC(a)},{isStatic:d}=c,f=JT(a),g=r(a,d);if(!d&&jf){iC();const x=oC(c);u=x.MeasureLayout,f.visualElement=GT(s,g,c,t,x.ProjectionNode)}return w.jsxs(Al.Provider,{value:f,children:[u&&f.visualElement?w.jsx(u,{visualElement:f.visualElement,...c}):null,n(s,a,QT(g,f.visualElement,l),g,d,f.visualElement)]})}const o=y.forwardRef(i);return o[tC]=s,o}function sC({layoutId:e}){const t=y.useContext(Vf).id;return t&&e!==void 0?t+"-"+e:e}function iC(e,t){y.useContext(y0).strict}function oC(e){const{drag:t,layout:n}=ks;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
67function aC(e){function t(r,s={}){return rC(e(r,s))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,s)=>(n.has(s)||n.set(s,t(s)),n.get(s))})}const lC=["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 Df(e){return typeof e!="string"||e.includes("-")?!1:!!(lC.indexOf(e)>-1||/[A-Z]/u.test(e))}const Ua={};function uC(e){Object.assign(Ua,e)}const po=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ar=new Set(po);function T0(e,{layout:t,layoutId:n}){return ar.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Ua[e]||e==="opacity")}const Fe=e=>!!(e&&e.getVelocity),cC={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},dC=po.length;function fC(e,t,n){let r="";for(let s=0;s<dC;s++){const i=po[s];if(e[i]!==void 0){const o=cC[i]||i;r+=`${o}(${e[i]}) `}}return r=r.trim(),n?r=n(e,t?"":r):t&&(r="none"),r}const C0=e=>t=>typeof t=="string"&&t.startsWith(e),E0=C0("--"),hC=C0("var(--"),If=e=>hC(e)?pC.test(e.split("/*")[0].trim()):!1,pC=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,mC=(e,t)=>t&&typeof e=="number"?t.transform(e):e,qn=(e,t,n)=>n>t?t:n<e?e:n,Ls={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},hi={...Ls,transform:e=>qn(0,1,e)},zo={...Ls,default:1},pi=e=>Math.round(e*1e5)/1e5,Ff=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,gC=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,vC=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function mo(e){return typeof e=="string"}function yC(e){return e==null}const go=e=>({test:t=>mo(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Rn=go("deg"),nn=go("%"),G=go("px"),xC=go("vh"),wC=go("vw"),Yp={...nn,parse:e=>nn.parse(e)/100,transform:e=>nn.transform(e*100)},Xp={...Ls,transform:Math.round},b0={borderWidth:G,borderTopWidth:G,borderRightWidth:G,borderBottomWidth:G,borderLeftWidth:G,borderRadius:G,radius:G,borderTopLeftRadius:G,borderTopRightRadius:G,borderBottomRightRadius:G,borderBottomLeftRadius:G,width:G,maxWidth:G,height:G,maxHeight:G,size:G,top:G,right:G,bottom:G,left:G,padding:G,paddingTop:G,paddingRight:G,paddingBottom:G,paddingLeft:G,margin:G,marginTop:G,marginRight:G,marginBottom:G,marginLeft:G,rotate:Rn,rotateX:Rn,rotateY:Rn,rotateZ:Rn,scale:zo,scaleX:zo,scaleY:zo,scaleZ:zo,skew:Rn,skewX:Rn,skewY:Rn,distance:G,translateX:G,translateY:G,translateZ:G,x:G,y:G,z:G,perspective:G,transformPerspective:G,opacity:hi,originX:Yp,originY:Yp,originZ:G,zIndex:Xp,backgroundPositionX:G,backgroundPositionY:G,fillOpacity:hi,strokeOpacity:hi,numOctaves:Xp};function zf(e,t,n){const{style:r,vars:s,transform:i,transformOrigin:o}=e;let a=!1,l=!1,u=!0;for(const c in t){const d=t[c];if(E0(c)){s[c]=d;continue}const f=b0[c],g=mC(d,f);if(ar.has(c)){if(a=!0,i[c]=g,!u)continue;d!==(f.default||0)&&(u=!1)}else c.startsWith("origin")?(l=!0,o[c]=g):r[c]=g}if(t.transform||(a||n?r.transform=fC(e.transform,u,n):r.transform&&(r.transform="none")),l){const{originX:c="50%",originY:d="50%",originZ:f=0}=o;r.transformOrigin=`${c} ${d} ${f}`}}const Bf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function P0(e,t,n){for(const r in t)!Fe(t[r])&&!T0(r,n)&&(e[r]=t[r])}function SC({transformTemplate:e},t){return y.useMemo(()=>{const n=Bf();return zf(n,t,e),Object.assign({},n.vars,n.style)},[t])}function _C(e,t){const n=e.style||{},r={};return P0(r,n,e),Object.assign(r,SC(e,t)),r}function kC(e,t){const n={},r=_C(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const TC=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function $a(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||TC.has(e)}let R0=e=>!$a(e);function CC(e){e&&(R0=t=>t.startsWith("on")?!$a(t):e(t))}try{CC(require("@emotion/is-prop-valid").default)}catch{}function EC(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||(R0(s)||n===!0&&$a(s)||
vendor: 4,136 bytes, line 67
67!t&&!$a(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}function Qp(e,t,n){return typeof e=="string"?e:G.transform(t+n*e)}function bC(e,t,n){const r=Qp(t,e.x,e.width),s=Qp(n,e.y,e.height);return`${r} ${s}`}const PC={offset:"stroke-dashoffset",array:"stroke-dasharray"},RC={offset:"strokeDashoffset",array:"strokeDasharray"};function AC(e,t,n=1,r=0,s=!0){e.pathLength=1;const i=s?PC:RC;e[i.offset]=G.transform(-r);const o=G.transform(t),a=G.transform(n);e[i.array]=`${o} ${a}`}function Uf(e,{attrX:t,attrY:n,attrScale:r,originX:s,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},c,d){if(zf(e,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:g,dimensions:x}=e;f.transform&&(x&&(g.transform=f.transform),delete f.transform),x&&(s!==void 0||i!==void 0||g.transform)&&(g.transformOrigin=bC(x,s!==void 0?s:.5,i!==void 0?i:.5)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),o!==void 0&&AC(f,o,a,l,!1)}const A0=()=>({...Bf(),attrs:{}}),$f=e=>typeof e=="string"&&e.toLowerCase()==="svg";function NC(e,t,n,r){const s=y.useMemo(()=>{const i=A0();return Uf(i,t,$f(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};P0(i,e.style,e),s.style={...i,...s.style}}return s}function jC(e=!1){return(n,r,s,{latestValues:i},o)=>{const l=(Df(n)?NC:kC)(r,i,o,n),u=EC(r,typeof n=="string",e),c=n!==y.Fragment?{...u,...l,ref:s}:{},{children:d}=r,f=y.useMemo(()=>Fe(d)?d.get():d,[d]);return y.createElement(n,{...c,children:f})}}function N0(e,{style:t,vars:n},r,s){Object.assign(e.style,t,s&&s.getProjectionStyles(r));for(const i in n)e.style.setProperty(i,n[i])}const j0=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 M0(e,t,n,r){N0(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(j0.has(s)?s:jl(s),t.attrs[s])}function Wf(e,t,n){var r;const{style:s}=e,i={};for(const o in s)(Fe(s[o])||t.style&&Fe(t.style[o])||T0(o,e)||((r=n==null?void 0:n.getValue(o))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(i[o]=s[o]);return n&&s&&typeof s.willChange=="string"&&(n.applyWillChange=!1),i}function L0(e,t,n){const r=Wf(e,t,n);for(const s in e)if(Fe(e[s])||Fe(t[s])){const i=po.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[i]=e[s]}return r}function qp(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Hf(e,t,n,r){if(typeof t=="function"){const[s,i]=qp(r);t=t(n!==void 0?n:e.custom,s,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,i]=qp(r);t=t(n!==void 0?n:e.custom,s,i)}return t}function Os(e){const t=y.useRef(null);return t.current===null&&(t.current=e()),t.current}const rd=e=>Array.isArray(e),MC=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),LC=e=>rd(e)?e[e.length-1]||0:e;function oa(e){const t=Fe(e)?e.get():e;return MC(t)?t.toValue():t}const O0=new Set(["opacity","clipPath","filter","transform"]);function V0(e){if(ar.has(e))return"transform";if(O0.has(e))return jl(e)}function Ll(e,t){e.indexOf(t)===-1&&e.push(t)}function Ol(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function OC({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},s,i,o,a){const l={latestValues:DC(s,i,o,a?!1:e,t),renderState:n()};return r&&(l.mount=u=>r(s,u,l)),l}const D0=e=>(t,n)=>{const r=y.useContext(Al),s=y.useContext(Nl),i=()=>OC(e,t,r,s,n);return n?i():Os(i)};function VC(e,t){const n=V0(t);n&&Ll(e,n)}function Jp(e,t,n){const r=Array.isArray(t)?t:[t];for(let s=0;s<r.length;s++){const i=Hf(e,r[s]);if(i){const{transitionEnd:o,transition:a,...l}=i;n(l,o)}}}function DC(e,t,n,r,s){var i;const o={},a=[],l=r&&((i=e.style)===null||i===void 0?void 0:i.willChange)===void 0,u=s(e,{});for(const S in u)o[S]=oa(u[S]);let{initial:c,animate:d}=e;const f=Ml(e),g=k0(e);
67t&&g&&!f&&e.inherit!==!1&&(c===void 0&&(c=t.initial),d===void 0&&(d=t.animate));let x=n?n.initial===!1:!1;x=x||c===!1;const v=x?d:c;return v&&typeof v!="boolean"&&!Bi(v)&&Jp(e,v,(S,p)=>{for(const h in S){let m=S[h];if(Array.isArray(m)){const k=x?m.length-1:0;m=m[k]}m!==null&&(o[h]=m)}for(const h in p)o[h]=p[h]}),l&&(d&&c!==!1&&!Bi(d)&&Jp(e,d,S=>{for(const p in S)VC(a,p)}),a.length&&(o.willChange=a.join(","))),o}const{schedule:oe,cancel:Wt,state:Me,steps:Eu}=w0(typeof requestAnimationFrame<"u"?requestAnimationFrame:We,!0),IC={useVisualState:D0({scrapeMotionValuesFromProps:L0,createRenderState:A0,onMount:(e,t,{renderState:n,latestValues:r})=>{oe.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),oe.render(()=>{Uf(n,r,$f(t.tagName),e.transformTemplate),M0(t,n)})}})},FC={useVisualState:D0({applyWillChange:!0,scrapeMotionValuesFromProps:Wf,createRenderState:Bf})};function zC(e,{forwardMotionProps:t=!1},n,r){return{...Df(e)?IC:FC,preloadedFeatures:n,useRender:jC(t),createVisualElement:r,Component:e}}function pn(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const I0=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Vl(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const BC=e=>t=>I0(t)&&e(t,Vl(t));function gn(e,t,n,r){return pn(e,t,BC(n),r)}const UC=(e,t)=>n=>t(e(n)),vn=(...e)=>e.reduce(UC);function F0(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const em=F0("dragHorizontal"),tm=F0("dragVertical");function z0(e){let t=!1;if(e==="y")t=tm();else if(e==="x")t=em();else{const n=em(),r=tm();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function B0(){const e=z0(!0);return e?(e(),!1):!0}class lr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function nm(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",s=(i,o)=>{if(i.pointerType==="touch"||B0())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);const l=a[r];l&&oe.postRender(()=>l(i,o))};return gn(e.current,n,s,{passive:!e.getProps()[r]})}class $C extends lr{mount(){this.unmount=vn(nm(this.node,!0),nm(this.node,!1))}unmount(){}}class WC extends lr{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=vn(pn(this.node.current,"focus",()=>this.onFocus()),pn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const U0=(e,t)=>t?e===t?!0:U0(e,t.parentElement):!1;function bu(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Vl(n))}class HC extends lr{constructor(){super(...arguments),this.removeStartListeners=We,this.removeEndListeners=We,this.removeAccessibleListeners=We,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),i=gn(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps(),f=!d&&!U0(this.node.current,a.target)?c:u;f&&oe.update(()=>f(a,l))},{passive:!(r.onTap||r.onPointerUp)}),o=gn(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=vn(i,o),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=i=>{if(i.key!=="Enter"||this.isPressing)return;const o=a=>{a.key!=="Enter"||!this.checkPressEnd()||bu("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&oe.postRender(()=>c(l,u))})};this.removeEndListeners(),this.removeEndListeners=pn(this.node.current,"keyup",o),bu("down",(a,l)=>{this.startPress(a,l)})},n=pn(this.node.current,"keydown",t),r=()=>{this.isPressing&&bu("cancel",(i,o)=>this.cancelPress(i,o))},s=pn(this.node.current,"blur",r);this.removeAccessibleListeners=vn(n,s)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:s}=this.node.getProps();s&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&oe.postRender(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!B0()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&oe.postRender(()=>r(t,n))}mount(){const t=this.node.getProps(),n=gn(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=pn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=vn(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const sd=new WeakMap,Pu=new WeakMap,ZC=e=>{const t=sd.get(e.target);t&&t(e)},KC=e=>{e.forEach(ZC)};function GC({root:e,...t}){const n=e||document;Pu.has(n)||Pu.set(n,{});const r=Pu.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(KC,{root:e,...t})),r[s]}function YC(e,t,n){const r=GC(t);return sd.set(e,n),r.observe(e),()=>{sd.delete(e),r.unobserve(e)}}const XC={some:0,all:1};class QC extends lr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:i}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:XC[s]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return YC(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(qC(t,n))&&this.startObserver()}unmount(){}}function qC({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const JC={inView:{Feature:QC},tap:{Feature:HC},focus:{Feature:WC},hover:{Feature:$C}};function $0(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Dl(e,t,n){const r=e.getProps();return Hf(r,t,n!==void 0?n:r.custom,e)}const Gn=e=>e*1e3,yn=e=>e/1e3,eE={type:"spring",stiffness:500,damping:25,restSpeed:10},tE=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),nE={type:"keyframes",duration:.8},rE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},sE=(e,{keyframes:t})=>t.length>2?nE:ar.has(e)?e.startsWith("scale")?tE(t[1]):eE:rE;function iE({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:s,repeat:i,repeatType:
vendor: 30,329 bytes, line 67
67o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function Zf(e,t){return e[t]||e.default||e}const oE=e=>e!==null;function Il(e,{repeat:t,repeatType:n="loop"},r){const s=e.filter(oE),i=t&&n!=="loop"&&t%2===1?0:s.length-1;return!i||r===void 0?s[i]:r}let aa;function aE(){aa=void 0}const Yn={now:()=>(aa===void 0&&Yn.set(Me.isProcessing||HT.useManualTiming?Me.timestamp:performance.now()),aa),set:e=>{aa=e,queueMicrotask(aE)}},W0=e=>/^0[^.\s]+$/u.test(e);function lE(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||W0(e):!0}const H0=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),uE=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function cE(e){const t=uE.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}function Z0(e,t,n=1){const[r,s]=cE(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const o=i.trim();return H0(o)?parseFloat(o):o}return If(s)?Z0(s,t,n+1):s}const dE=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),rm=e=>e===Ls||e===G,sm=(e,t)=>parseFloat(e.split(", ")[t]),im=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const s=r.match(/^matrix3d\((.+)\)$/u);if(s)return sm(s[1],t);{const i=r.match(/^matrix\((.+)\)$/u);return i?sm(i[1],e):0}},fE=new Set(["x","y","z"]),hE=po.filter(e=>!fE.has(e));function pE(e){const t=[];return hE.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Ts={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:im(4,13),y:im(5,14)};Ts.translateX=Ts.x;Ts.translateY=Ts.y;const K0=e=>t=>t.test(e),mE={test:e=>e==="auto",parse:e=>e},G0=[Ls,G,nn,Rn,wC,xC,mE],om=e=>G0.find(K0(e)),Er=new Set;let id=!1,od=!1;function Y0(){if(od){const e=Array.from(Er).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=pE(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([i,o])=>{var a;(a=r.getValue(i))===null||a===void 0||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}od=!1,id=!1,Er.forEach(e=>e.complete()),Er.clear()}function X0(){Er.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(od=!0)})}function gE(){X0(),Y0()}class Kf{constructor(t,n,r,s,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Er.add(this),id||(id=!0,oe.read(X0),oe.resolveKeyframes(Y0))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;for(let i=0;i<t.length;i++)if(t[i]===null)if(i===0){const o=s==null?void 0:s.get(),a=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const l=r.readValue(n,a);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=a),s&&o===void 0&&s.set(t[0])}else t[i]=t[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Er.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Er.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Gf=(e,t)=>n=>!!(mo(n)&&vC.test(n)&&n.startsWith(e)||t&&!yC(n)&&Object.prototype.hasOwnProperty.call(n,t)),Q0=(e,t,n)=>r=>{if(!mo(r))return r;const[s,i,o,a]=r.match(Ff);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},vE=e=>qn(0,255,e),Ru={...Ls,transform:e=>Math.round(vE(e))},Sr={test:Gf("rgb","red"),parse:Q0("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ru.transform(e)+", "+Ru.transform(t)+", "+Ru.transform(n)+", "+pi(hi.transform(r))+")"};function yE(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const ad={test:Gf("#"),parse:yE,transform:Sr.transform},ss={test:Gf("hsl","hue"),parse:Q0("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+nn.transform(pi(t))+", "+nn.transform(pi(n))+", "+pi(hi.transform(r))+")"},Ge={test:e=>Sr.test(e)||ad.test(e)||ss.test(e),parse:e=>Sr.test(e)?Sr.parse(e):ss.test(e)?ss.parse(e):ad.parse(e),transform:e=>mo(e)?e:e.hasOwnProperty("red")?Sr.transform(e):ss.transform(e)};function xE(e){var t,n;return isNaN(e)&&mo(e)&&(((t=e.match(Ff))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(gC))===null||n===void 0?void 0:n.length)||0)>0}const q0="number",J0="color",wE="var",SE="var(",am="${}",_E=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ui(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let i=0;const a=t.replace(_E,l=>(Ge.test(l)?(r.color.push(i),s.push(J0),n.push(Ge.parse(l))):l.startsWith(SE)?(r.var.push(i),s.push(wE),n.push(l)):(r.number.push(i),s.push(q0),n.push(parseFloat(l))),++i,am)).split(am);return{values:n,split:a,indexes:r,types:s}}function ex(e){return Ui(e).values}function tx(e){const{split:t,types:n}=Ui(e),r=t.length;return s=>{let i="";for(let o=0;o<r;o++)if(i+=t[o],s[o]!==void 0){const a=n[o];a===q0?i+=pi(s[o]):a===J0?i+=Ge.transform(s[o]):i+=s[o]}return i}}const kE=e=>typeof e=="number"?0:e;function TE(e){const t=ex(e);return tx(e)(t.map(kE))}const Jn={test:xE,parse:ex,createTransformer:tx,getAnimatableNone:TE},CE=new Set(["brightness","contrast","saturate","opacity"]);function EE(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ff)||[];if(!r)return e;const s=n.replace(r,"");let i=CE.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+s+")"}const bE=/\b([a-z-]*)\(.*?\)/gu,ld={...Jn,getAnimatableNone:e=>{const t=e.match(bE);return t?t.map(EE).join(" "):e}},PE={...b0,color:Ge,backgroundColor:Ge,outlineColor:Ge,fill:Ge,stroke:Ge,borderColor:Ge,borderTopColor:Ge,borderRightColor:Ge,borderBottomColor:Ge,borderLeftColor:Ge,filter:ld,WebkitFilter:ld},Yf=e=>PE[e];function nx(e,t){let n=Yf(e);return n!==ld&&(n=Jn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const RE=new Set(["auto","none","0"]);function AE(e,t,n){let r=0,s;for(;r<e.length&&!s;){const i=e[r];typeof i=="string"&&!RE.has(i)&&Ui(i).values.length&&(s=e[r]),r++}if(s&&n)for(const i of t)e[i]=nx(n,s)}class rx extends Kf{constructor(t,n,r,s){super(t,n,r,s,s==null?void 0:s.owner,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),If(u))){const c=Z0(u,n.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!dE.has(r)||t.length!==2)return;const[s,i]=t,o=om(s),a=om(i);if(o!==a)if(rm(o)&&rm(a))for(let l=0;l<t.length;l++){const u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)lE(t[s])&&r.push(s);r.length&&AE(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ts[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:s}=this;if(!n.current)return;const i=n.getValue(r);i&&i.jump(this.measuredOrigin,!1);const o=s.length-1,a=s[o];s[o]=Ts[r](n.measureViewportBox(),window.getComputedStyle(n.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,u])=>{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function sx(e){let t;return()=>(t===void 0&&(t=e()),t)}const lm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Jn.test(e)||e==="0")&&!e.startsWith("url("));function NE(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function jE(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],o=lm(s,t),a=lm(i,t);return!o||!a?!1:NE(e)||n==="spring"&&r}class ix{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:i,repeatType:o,...a},this.updateFinishedPromise()}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&gE(),this._resolved}onKeyframesResolved(t,n){this.hasAttemptedResolve=!0;const{name:r,type:s,velocity:i,delay:o,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!jE(t,r,s,i))if(o)this.options.duration=0;else{l==null||l(Il(t,this.options,n)),a==null||a(),this.resolveFinishedPromise();return}const c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}function Xf(e,t){return t?e*(1e3/t):0}const ME=5;function ox(e,t,n){const r=Math.max(t-ME,0);return Xf(n-e(r),t-r)}const Au=.001,LE=.01,OE=10,VE=.05,DE=1;function IE({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let s,i,o=1-t;o=qn(VE,DE,o),e=qn(LE,OE,yn(e)),o<1?(s=u=>{const c=u*o,d=c*e,f=c-n,g=ud(u,o),x=Math.exp(-d);return Au-f/g*x},i=u=>{const d=u*o*e,f=d*n+n,g=Math.pow(o,2)*Math.pow(u,2)*e,x=Math.exp(-d),v=ud(Math.pow(u,2),o);return(-s(u)+Au>0?-1:1)*((f-g)*x)/v}):(s=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Au+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=zE(s,i,a);if(e=Gn(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const FE=12;function zE(e,t,n){let r=n;for(let s=1;s<FE;s++)r=r-e(r)/t(r);return r}function ud(e,t){return e*Math.sqrt(1-t*t)}const BE=["duration","bounce"],UE=["stiffness","damping","mass"];function um(e,t){return t.some(n=>e[n]!==void 0)}function $E(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!um(e,UE)&&um(e,BE)){const n=IE(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function ax({keyframes:e,restDelta:t,restSpeed:n,...r}){const s=e[0],i=e[e.length-1],o={done:!1,value:s},{stiffness:a,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:f}=$E({...r,velocity:-yn(r.velocity||0)}),g=d||0,x=l/(2*Math.sqrt(a*u)),v=i-s,S=yn(Math.sqrt(a/u)),p=Math.abs(v)<5;n||(n=p?.01:2),t||(t=p?.005:.5);let h;if(x<1){const m=ud(S,x);h=k=>{const T=Math.exp(-x*S*k);return i-T*((g+x*S*v)/m*Math.sin(m*k)+v*Math.cos(m*k))}}else if(x===1)h=m=>i-Math.exp(-S*m)*(v+(g+S*v)*m);else{const m=S*Math.sqrt(x*x-1);h=k=>{const T=Math.exp(-x*S*k),b=Math.min(m*k,300);return i-T*((g+x*S*v)*Math.sinh(b)+m*v*Math.cosh(b))/m}}return{calculatedDuration:f&&c||null,next:m=>{const k=h(m);if(f)o.done=m>=c;else{let T=g;m!==0&&(x<1?T=ox(h,m,k):T=0);const b=Math.abs(T)<=n,R=Math.abs(i-k)<=t;o.done=b&&R}return o.value=o.done?i:k,o}}}function cm({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:i=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},g=P=>a!==void 0&&P<a||l!==void 0&&P>l,x=P=>a===void 0?l:l===void 0||Math.abs(a-P)<Math.abs(l-P)?a:l;let v=n*t;const S=d+v,p=o===void 0?S:o(S);p!==S&&(v=p-d);const h=P=>-v*Math.exp(-P/r),m=P=>p+h(P),k=P=>{const $=h(P),V=m(P);f.done=Math.abs($)<=u,f.value=f.done?p:V};let T,b;const R=P=>{g(f.value)&&(T=P,b=ax({keyframes:[f.value,x(f.value)],velocity:ox(m,P,f.value),damping:s,stiffness:i,restDelta:u,restSpeed:c}))};return R(0),{calculatedDuration:null,next:P=>{let $=!1;return!b&&T===void 0&&($=!0,k(P),R(P)),T!==void 0&&P>=T?b.next(P-T):(!$&&k(P),f)}}}const lx=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,WE=1e-7,HE=12;function ZE(e,t,n,r,s){let i,o,a=0;do o=t+(n-t)/2,i=lx(o,r,s)-e,i>0?n=o:t=o;while(Math.abs(i)>WE&&++a<HE);return o}function vo(e,t,n,r){if(e===t&&n===r)return We;const s=i=>ZE(i,0,1,e,n);return i=>i===0||i===1?i:lx(s(i),t,r)}const KE=vo(.42,0,1,1),GE=vo(0,0,.58,1),ux=vo(.42,0,.58,1),YE=e=>Array.isArray(e)&&typeof e[0]!="number",cx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,dx=e=>t=>1-e(1-t),Qf=e=>1-Math.sin(Math.acos(e)),fx=dx(Qf),XE=cx(Qf),hx=vo(.33,1.53,.69,.99),qf=dx(hx),QE=cx(qf),qE=e=>(e*=2)<1?.5*qf(e):.5*(2-Math.pow(2,-10*(e-1))),dm={linear:We,easeIn:KE,easeInOut:ux,easeOut:GE,circIn:Qf,circInOut:XE,circOut:fx,backIn:qf,backInOut:QE,backOut:hx,anticipate:qE},fm=e=>{if(Array.isArray(e)){nd(e.length===4);const[t,n,r,s]=e;return vo(t,n,r,s)}else if(typeof e=="string")return nd(dm[e]!==void 0),dm[e];return e},Cs=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},ke=(e,t,n)=>e+(t-e)*n;function Nu(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 JE({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,i=0,o=0;if(!t)s=i=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;s=Nu(l,a,e+1/3),i=Nu(l,a,e),o=Nu(l,a,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}function Wa(e,t){return n=>n>0?t:e}const ju=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},eb=[ad,Sr,ss],tb=e=>eb.find(t=>t.test(e));function hm(e){const t=tb(e);if(!t)return!1;let n=t.parse(e);return t===ss&&(n=JE(n)),n}const pm=(e,t)=>{const n=hm(e),r=hm(t);if(!n||!r)return Wa(e,t);const s={...n};return i=>(s.red=ju(n.red,r.red,i),s.green=ju(n.green,r.green,i),s.blue=ju(n.blue,r.blue,i),s.alpha=ke(n.alpha,r.alpha,i),Sr.transform(s))},cd=new Set(["none","hidden"]);function nb(e,t){return cd.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function rb(e,t){return n=>ke(e,t,n)}function Jf(e){return typeof e=="number"?rb:typeof e=="string"?If(e)?Wa:Ge.test(e)?pm:ob:Array.isArray(e)?px:typeof e=="object"?Ge.test(e)?pm:sb:Wa}function px(e,t){const n=[...e],r=n.length,s=e.map((i,o)=>Jf(i)(i,t[o]));return i=>{for(let o=0;o<r;o++)n[o]=s[o](i);return n}}function sb(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Jf(e[s])(e[s],t[s]));return s=>{for(const i in r)n[i]=r[i](s);return n}}function ib(e,t){var n;const r=[],s={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const o=t.types[i],a=e.indexes[o][s[o]],l=(n=e.values[a])!==null&&n!==void 0?n:0;r[i]=l,s[o]++}return r}const ob=(e,t)=>{const n=Jn.createTransformer(t),r=Ui(e),s=Ui(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?cd.has(e)&&!s.values.length||cd.has(t)&&!r.values.length?nb(e,t):vn(px(ib(r,s),s.values),n):Wa(e,t)};function mx(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ke(e,t,n):Jf(e)(e,t)}function ab(e,t,n){const r=[],s=n||mx,i=e.length-1;for(let o=0;o<i;o++){let a=s(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||We:t;a=vn(l,a)}r.push(a)}return r}function eh(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const i=e.length;if(nd(i===t.length),i===1)return()=>t[0];if(i===2&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=ab(t,r,s),a=o.length,l=u=>{let c=0;if(a>1)for(;c<e.length-2&&!(u<e[c+1]);c++);const d=Cs(e[c],e[c+1],u);return o[c](d)};return n?u=>l(qn(e[0],e[i-1],u)):l}function lb(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=Cs(0,t,r);e.push(ke(n,1,s))}}function gx(e){const t=[0];return lb(t,e.length-1),t}function ub(e,t){return e.map(n=>n*t)}function cb(e,t){return e.map(()=>t||ux).splice(0,e.length-1)}function Ha({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=YE(r)?r.map(fm):fm(r),i={done:!1,value:t[0]},o=ub(n&&n.length===t.length?n:gx(t),e),a=eh(o,t,{ease:Array.isArray(s)?s:cb(t,s)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const mm=2e4;function db(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<mm;)t+=n,r=e.next(t);return t>=mm?1/0:t}const fb=e=>{const t=({timestamp:n})=>e(n);return{start:()=>oe.update(t,!0),stop:()=>Wt(t),now:()=>Me.isProcessing?Me.timestamp:Yn.now()}},hb={decay:cm,inertia:cm,tween:Ha,keyframes:Ha,spring:ax},pb=e=>e/100;class Fl extends ix{constructor({KeyframeResolver:t=Kf,...n}){super(n),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:a}=this.options;a&&a()};const{name:r,motionValue:s,keyframes:i}=this.options,o=(a,l)=>this.onKeyframesResolved(a,l);r&&s&&s.owner?this.resolver=s.owner.resolveKeyframes(i,o,r,s):this.resolver=new t(i,o,r,s),this.resolver.scheduleResolve()}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:i,velocity:o=0}=this.options,a=hb[n]||Ha;let l,u;a!==Ha&&typeof t[0]!="number"&&(l=vn(pb,mx(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});i==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=db(c));const{calculatedDuration:d}=c,f=d+s,g=f*(r+1)-s;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:g}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:P}=this.options;return{done:!0,value:P[P.length-1]}}const{finalKeyframe:s,generator:i,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return i.next(0);const{delay:f,repeat:g,repeatType:x,repeatDelay:v,onUpdate:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const p=this.currentTime-f*(this.speed>=0?1:-1),h=this.speed>=0?p<0:p>c;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let m=this.currentTime,k=i;if(g){const P=Math.min(this.currentTime,c)/d;let $=Math.floor(P),V=P%1;!V&&P>=1&&(V=1),V===1&&$--,$=Math.min($,g+1),!!($%2)&&(x==="reverse"?(V=1-V,v&&(V-=v/d)):x==="mirror"&&(k=o)),m=qn(0,1,V)*d}const T=h?{done:!1,value:l[0]}:k.next(m);a&&(T.value=a(T.value));let{done:b}=T;!h&&u!==null&&(b=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const R=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return R&&s!==void 0&&(T.value=Il(l,this.options,s)),S&&S(T.value),R&&this.finish(),T}get duration(){const{resolved:t}=this;return t?yn(t.calculatedDuration):0}get time(){return yn(this.currentTime)}set time(t){t=Gn(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=yn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=fb,onPlay:n}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),n&&n();const r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=r),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}function mb(e){return new Fl(e)}const vx=e=>Array.isArray(e)&&typeof e[0]=="number";function yx(e){return!!(!e||typeof e=="string"&&e in th||vx(e)||Array.isArray(e)&&e.every(yx))}const ti=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,th={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ti([0,.65,.55,1]),circOut:ti([.55,0,1,.45]),backIn:ti([.31,.01,.66,-.59]),backOut:ti([.33,1.53,.69,.99])};function gb(e){return xx(e)||th.easeOut}function xx(e){if(e)return vx(e)?ti(e):Array.isArray(e)?e.map(gb):th[e]}function vb(e,t,n,{delay:r=0,duration:s=300,repeat:i=0,repeatType:o="loop",ease:a,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=xx(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"})}const yb=sx(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Za=10,xb=2e4;function wb(e){return e.type==="spring"||!yx(e.ease)}function Sb(e,t){const n=new Fl({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const s=[];let i=0;for(;!r.done&&i<xb;)r=n.sample(i),s.push(r.value),i+=Za;return{times:void 0,keyframes:s,duration:i-Za,ease:"linear"}}class gm extends ix{constructor(t){super(t);const{name:n,motionValue:r,keyframes:s}=this.options;this.resolver=new rx(s,(i,o)=>this.onKeyframesResolved(i,o),n,r),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:s=300,times:i,ease:o,type:a,motionValue:l,name:u}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(wb(this.options)){const{onComplete:d,onUpdate:f,motionValue:g,...x}=this.options,v=Sb(t,x);t=v.keyframes,t.length===1&&(t[1]=t[0]),s=v.duration,i=v.times,o=v.ease,a="keyframes"}const c=vb(l.owner.current,u,t,{...this.options,duration:s,times:i,ease:o});return c.startTime=Yn.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;l.set(Il(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:s,times:i,type:a,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return yn(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return yn(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Gn(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return We;const{animation:r}=n;r.timeline=t,r.onfinish=null}return We}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:s,type:i,ease:o,times:a}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:d,...f}=this.options,g=new Fl({...f,keyframes:r,duration:s,type:i,ease:o,times:a,isGenerator:!0}),x=Gn(this.time);u.setWithVelocity(g.sample(x-Za).value,g.sample(x).value,Za)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:s,repeatType:i,damping:o,type:a}=t;return yb()&&r&&O0.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!s&&i!=="mirror"&&o!==0&&a!=="inertia"}}function _b(e,t){let n;const r=()=>{const{currentTime:s}=t,o=(s===null?0:s.value)/100;n!==o&&e(o),n=o};return oe.update(r,!0),()=>Wt(r)}const kb=sx(()=>window.ScrollTimeline!==void 0);class Tb{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,n){return Promise.all(this.animations).then(t).catch(n)}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t){const n=this.animations.map(r=>{if(kb()&&r.attachTimeline)r.attachTimeline(t);else return r.pause(),_b(s=>{r.time=r.duration*s},t)});return()=>{n.forEach((r,s)=>{r&&r(),this.animations[s].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const nh=(e,t,n,r={},s,i,o)=>a=>{const l=Zf(r,e)||{},u=l.delay||r.delay||0;let{elapsed:c=0}=r;c=c-Gn(u);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-c,onUpdate:g=>{t.set(g),l.onUpdate&&l.onUpdate(g)},onComplete:()=>{a(),l.onComplete&&l.onComplete(),o&&o()},onStop:o,name:e,motionValue:t,element:i?void 0:s};iE(l)||(d={...d,...sE(e,d)}),d.duration&&(d.duration=Gn(d.duration)),d.repeatDelay&&(d.repeatDelay=Gn(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(d.duration=0,d.delay===0&&(f=!0)),f&&!i&&t.get()!==void 0){const g=Il(d.keyframes,l);if(g!==void 0)return oe.update(()=>{d.onUpdate(g),d.onComplete()}),new Tb([])}return!i&&gm.supports(d)?new gm(d):new Fl(d)};class rh{constructor(){this.subscriptions=[]}add(t){return Ll(this.subscriptions,t),()=>Ol(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let i=0;i<s;i++){const o=this.subscriptions[i];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const vm=30,Cb=e=>!isNaN(parseFloat(e)),mi={current:void 0};class wx{constructor(t,n={}){this.version="11.3.8",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,s=!0)=>{const i=Yn.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),s&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Yn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Cb(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new rh);const r=this.events[t].add(n);return t==="change"?()=>{r(),oe.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return mi.current&&mi.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Yn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>vm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,vm);return Xf(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function qt(e,t){return new wx(e,t)}function Eb(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,qt(n))}function sh(e,t){const n=Dl(e,t);let{transitionEnd:r={},transition:s={},...i}=n||{};i={...i,...r};for(const o in i){const a=LC(i[o]);Eb(e,o,a)}}function Sx(e){return e.getProps()[x0]}class bb extends wx{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){const n=V0(t);
67if(!n)return;const r=this.counts.get(n)||0;this.counts.set(n,r+1),r===0&&(this.output.push(n),this.update());let s=!1;return()=>{if(s)return;s=!0;const i=this.counts.get(n)-1;this.counts.set(n,i),i===0&&(Ol(this.output,n),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function Pb(e){return!!(Fe(e)&&e.add)}function dd(e,t){var n;if(!e.applyWillChange)return;let r=e.getValue("willChange");if(!r&&!(!((n=e.props.style)===null||n===void 0)&&n.willChange)&&(r=new bb("auto"),e.addValue("willChange",r)),Pb(r))return r.add(t)}function Rb({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function _x(e,t,{delay:n=0,transitionOverride:r,type:s}={}){var i;let{transition:o=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(o=r);const u=[],c=s&&e.animationState&&e.animationState.getState()[s];for(const d in l){const f=e.getValue(d,(i=e.latestValues[d])!==null&&i!==void 0?i:null),g=l[d];if(g===void 0||c&&Rb(c,d))continue;const x={delay:n,elapsed:0,...Zf(o||{},d)};let v=!1;if(window.HandoffAppearAnimations){const p=Sx(e);if(p){const h=window.HandoffAppearAnimations(p,d,f,oe);h!==null&&(x.elapsed=h,v=!0)}}f.start(nh(d,f,g,e.shouldReduceMotion&&ar.has(d)?{type:!1}:x,e,v,dd(e,d)));const S=f.animation;S&&u.push(S)}return a&&Promise.all(u).then(()=>{oe.update(()=>{a&&sh(e,a)})}),u}function fd(e,t,n={}){var r;const s=Dl(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(i=n.transitionOverride);const o=s?()=>Promise.all(_x(e,s,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return Ab(e,t,c+u,d,f,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[u,c]=l==="beforeChildren"?[o,a]:[a,o];return u().then(()=>c())}else return Promise.all([o(),a(n.delay)])}function Ab(e,t,n=0,r=0,s=1,i){const o=[],a=(e.variantChildren.size-1)*r,l=s===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(Nb).forEach((u,c)=>{u.notify("AnimationStart",t),o.push(fd(u,t,{...i,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(o)}function Nb(e,t){return e.sortNodePosition(t)}function kx(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(i=>fd(e,i,n));r=Promise.all(s)}else if(typeof t=="string")r=fd(e,t,n);else{const s=typeof t=="function"?Dl(e,t,n.custom):t;r=Promise.all(_x(e,s,n))}return r.then(()=>{oe.postRender(()=>{e.notify("AnimationComplete",t)})})}const jb=[...Lf].reverse(),Mb=Lf.length;
vendor: 45,196 bytes, line 67
67function Lb(e){return t=>Promise.all(t.map(({animation:n,options:r})=>kx(e,n,r)))}function Ob(e){let t=Lb(e),n=ym(),r=!0;const s=l=>(u,c)=>{var d;const f=Dl(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:g,transitionEnd:x,...v}=f;u={...u,...v,...x}}return u};function i(l){t=l(e)}function o(l){const u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set;let g={},x=1/0;for(let S=0;S<Mb;S++){const p=jb[S],h=n[p],m=u[p]!==void 0?u[p]:c[p],k=zi(m),T=p===l?h.isActive:null;T===!1&&(x=S);let b=m===c[p]&&m!==u[p]&&k;if(b&&r&&e.manuallyAnimateOnMount&&(b=!1),h.protectedKeys={...g},!h.isActive&&T===null||!m&&!h.prevProp||Bi(m)||typeof m=="boolean")continue;let P=Vb(h.prevProp,m)||p===l&&h.isActive&&!b&&k||S>x&&k,$=!1;const V=Array.isArray(m)?m:[m];let ne=V.reduce(s(p),{});T===!1&&(ne={});const{prevResolvedValues:L={}}=h,q={...L,...ne},B=K=>{P=!0,f.has(K)&&($=!0,f.delete(K)),h.needsAnimating[K]=!0;const re=e.getValue(K);re&&(re.liveStyle=!1)};for(const K in q){const re=ne[K],pe=L[K];if(g.hasOwnProperty(K))continue;let M=!1;rd(re)&&rd(pe)?M=!$0(re,pe):M=re!==pe,M?re!=null?B(K):f.add(K):re!==void 0&&f.has(K)?B(K):h.protectedKeys[K]=!0}h.prevProp=m,h.prevResolvedValues=ne,h.isActive&&(g={...g,...ne}),r&&e.blockInitialAnimation&&(P=!1),P&&(!b||$)&&d.push(...V.map(K=>({animation:K,options:{type:p}})))}if(f.size){const S={};f.forEach(p=>{const h=e.getBaseTarget(p),m=e.getValue(p);m&&(m.liveStyle=!0),S[p]=h??null}),d.push({animation:S})}let v=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(v=!1),r=!1,v?t(d):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var g;return(g=f.animationState)===null||g===void 0?void 0:g.setActive(l,u)}),n[l].isActive=u;const d=o(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:a,setAnimateFunction:i,getState:()=>n,reset:()=>{n=ym(),r=!0}}}function Vb(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!$0(t,e):!1}function cr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ym(){return{animate:cr(!0),whileInView:cr(),whileHover:cr(),whileTap:cr(),whileDrag:cr(),whileFocus:cr(),exit:cr()}}class Db extends lr{constructor(t){super(t),t.animationState||(t.animationState=Ob(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Bi(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let Ib=0;class Fb extends lr{constructor(){super(...arguments),this.id=Ib++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const s=this.node.animationState.setActive("exit",!t);n&&!t&&s.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const zb={animation:{Feature:Db},exit:{Feature:Fb}},xm=(e,t)=>Math.abs(e-t);function Bb(e,t){const n=xm(e.x,t.x),r=xm(e.y,t.y);return Math.sqrt(n**2+r**2)}class Tx{constructor(t,n,{transformPagePoint:r,contextWindow:s,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=Lu(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,g=Bb(d.offset,{x:0,y:0})>=3;if(!f&&!g)return;const{point:x}=d,{timestamp:v}=Me;this.history.push({...x,timestamp:v});const{onStart:S,onMove:p}=this.handlers;f||(S&&S(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),p&&p(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Mu(f,this.transformPagePoint),oe.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:g,onSessionEnd:x,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=Lu(d.type==="pointercancel"?this.lastMoveEventInfo:Mu(f,this.transformPagePoint),this.history);this.startEvent&&g&&g(d,S),x&&x(d,S)},!I0(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.contextWindow=s||window;const o=Vl(t),a=Mu(o,this.transformPagePoint),{point:l}=a,{timestamp:u}=Me;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Lu(a,this.history)),this.removeListeners=vn(gn(this.contextWindow,"pointermove",this.handlePointerMove),gn(this.contextWindow,"pointerup",this.handlePointerUp),gn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Wt(this.updatePoint)}}function Mu(e,t){return t?{point:t(e.point)}:e}function wm(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Lu({point:e},t){return{point:e,delta:wm(e,Cx(t)),offset:wm(e,Ub(t)),velocity:$b(t,.1)}}function Ub(e){return e[0]}function Cx(e){return e[e.length-1]}function $b(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=Cx(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>Gn(t)));)n--;if(!r)return{x:0,y:0};const i=yn(s.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const o={x:(s.x-r.x)/i,y:(s.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const Ex=1e-4,Wb=1-Ex,Hb=1+Ex,bx=.01,Zb=0-bx,Kb=0+bx;function wt(e){return e.max-e.min}function Gb(e,t,n){return Math.abs(e-t)<=n}function Sm(e,t,n,r=.5){e.origin=r,e.originPoint=ke(t.min,t.max,e.origin),e.scale=wt(n)/wt(t),e.translate=ke(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Wb&&e.scale<=Hb||isNaN(e.scale))&&(e.scale=1),(e.translate>=Zb&&e.translate<=Kb||isNaN(e.translate))&&(e.translate=0)}function gi(e,t,n,r){Sm(e.x,t.x,n.x,r?r.originX:void 0),Sm(e.y,t.y,n.y,r?r.originY:void 0)}function _m(e,t,n){e.min=n.min+t.min,e.max=e.min+wt(t)}function Yb(e,t,n){_m(e.x,t.x,n.x),_m(e.y,t.y,n.y)}function km(e,t,n){e.min=t.min-n.min,e.max=e.min+wt(t)}function vi(e,t,n){km(e.x,t.x,n.x),km(e.y,t.y,n.y)}function Xb(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ke(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ke(n,e,r.max):Math.min(e,n)),e}function Tm(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 Qb(e,{top:t,left:n,bottom:r,right:s}){return{x:Tm(e.x,n,s),y:Tm(e.y,t,r)}}function Cm(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function qb(e,t){return{x:Cm(e.x,t.x),y:Cm(e.y,t.y)}}function Jb(e,t){let n=.5;const r=wt(e),s=wt(t);return s>r?n=Cs(t.min,t.max-r,e.min):r>s&&(n=Cs(e.min,e.max-s,t.min)),qn(0,1,n)}function eP(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 hd=.35;function tP(e=hd){return e===!1?e=0:e===!0&&(e=hd),{x:Em(e,"left","right"),y:Em(e,"top","bottom")}}function Em(e,t,n){return{min:bm(e,t),max:bm(e,n)}}function bm(e,t){return typeof e=="number"?e:e[t]||0}const Pm=()=>({translate:0,scale:1,origin:0,originPoint:0}),is=()=>({x:Pm(),y:Pm()}),Rm=()=>({min:0,max:0}),Pe=()=>({x:Rm(),y:Rm()});function Tt(e){return[e("x"),e("y")]}function Px({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function nP({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function rP(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 Ou(e){return e===void 0||e===1}function pd({scale:e,scaleX:t,scaleY:n}){return!Ou(e)||!Ou(t)||!Ou(n)}function pr(e){return pd(e)||Rx(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Rx(e){return Am(e.x)||Am(e.y)}function Am(e){return e&&e!=="0%"}function Ka(e,t,n){const r=e-n,s=t*r;return n+s}function Nm(e,t,n,r,s){return s!==void 0&&(e=Ka(e,s,r)),Ka(e,n,r)+t}function md(e,t=0,n=1,r,s){e.min=Nm(e.min,t,n,r,s),e.max=Nm(e.max,t,n,r,s)}function Ax(e,{x:t,y:n}){md(e.x,t.translate,t.scale,t.originPoint),md(e.y,n.translate,n.scale,n.originPoint)}const jm=.999999999999,Mm=1.0000000000001;function sP(e,t,n,r=!1){const s=n.length;if(!s)return;t.x=t.y=1;let i,o;for(let a=0;a<s;a++){i=n[a],o=i.projectionDelta;const{visualElement:l}=i.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&os(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Ax(e,o)),r&&pr(i.latestValues)&&os(e,i.latestValues))}t.x<Mm&&t.x>jm&&(t.x=1),t.y<Mm&&t.y>jm&&(t.y=1)}function Mn(e,t){e.min=e.min+t,e.max=e.max+t}function Lm(e,t,n,r,s=.5){const i=ke(e.min,e.max,s);md(e,t,n,i,r)}function os(e,t){Lm(e.x,t.x,t.scaleX,t.scale,t.originX),Lm(e.y,t.y,t.scaleY,t.scale,t.originY)}function Nx(e,t){return Px(rP(e.getBoundingClientRect(),t))}function iP(e,t,n){const r=Nx(e,n),{scroll:s}=t;return s&&(Mn(r.x,s.offset.x),Mn(r.y,s.offset.y)),r}const jx=({current:e})=>e?e.ownerDocument.defaultView:null,oP=new WeakMap;class aP{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=Pe(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const s=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Vl(c,"page").point)},i=(c,d)=>{var f;const{drag:g,dragPropagation:x,onDragStart:v}=this.getProps();if(g&&!x&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=z0(g),!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),Tt(p=>{let h=this.getAxisMotionValue(p).get()||0;if(nn.test(h)){const{projection:m}=this.visualElement;if(m&&m.layout){const k=m.layout.layoutBox[p];k&&(h=wt(k)*(parseFloat(h)/100))}}this.originPoint[p]=h}),v&&oe.postRender(()=>v(c,d)),(f=this.removeWillChange)===null||f===void 0||f.call(this),this.removeWillChange=dd(this.visualElement,"transform");const{animationState:S}=this.visualElement;S&&S.setActive("whileDrag",!0)},o=(c,d)=>{const{dragPropagation:f,dragDirectionLock:g,onDirectionLock:x,onDrag:v}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:S}=d;if(g&&this.currentDirection===null){this.currentDirection=lP(S),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",d.point,S),this.updateAxis("y",d.point,S),this.visualElement.render(),v&&v(c,d)},a=(c,d)=>this.stop(c,d),l=()=>Tt(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new Tx(t,{onSessionStart:s,onStart:i,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:jx(this.visualElement)})}stop(t,n){var r;(r=this.removeWillChange)===null||r===void 0||r.call(this);const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&oe.postRender(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:s}=this.getProps();if(!r||!Bo(t,s,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=Xb(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;n&&rs(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&s?this.constraints=Qb(s.layoutBox,n):this.constraints=!1,this.elastic=tP(r),i!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&Tt(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=eP(s.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!rs(t))return!1;const r=t.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const i=iP(r,s.root,this.visualElement.getTransformPagePoint());let o=qb(s.layout.layoutBox,i);if(n){const a=n(nP(o));this.hasMutatedConstraints=!!a,a&&(o=Px(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Tt(c=>{if(!Bo(c,n,this.currentDirection))return;let d=l&&l[c]||{};o&&(d={min:0,max:0});const f=s?200:1e6,g=s?40:1e7,x={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,x)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(nh(t,r,0,n,this.visualElement,!1,dd(this.visualElement,t)))}stopAnimation(){Tt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Tt(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),s=r[n];return s||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Tt(n=>{const{drag:r}=this.getProps();if(!Bo(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,i=this.getAxisMotionValue(n);if(s&&s.layout){const{min:o,max:a}=s.layout.layoutBox[n];i.set(t[n]-ke(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!rs(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};Tt(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();s[o]=Jb({min:l,max:l},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Tt(o=>{if(!Bo(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(ke(l,u,s[o]))})}addListeners(){if(!this.visualElement.current)return;oP.set(this.visualElement,this);const t=this.visualElement.current,n=gn(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();rs(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,i=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),oe.read(r);const o=pn(window,"resize",()=>this.scalePositionWithinConstraints()),a=s.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(Tt(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{o(),n(),i(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:i=!1,dragElastic:o=hd,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function Bo(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function lP(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class uP extends lr{constructor(t){super(t),this.removeGroupControls=We,this.removeListeners=We,this.controls=new aP(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||We}unmount(){this.removeGroupControls(),this.removeListeners()}}const Om=e=>(t,n)=>{e&&oe.postRender(()=>e(t,n))};class cP extends lr{constructor(){super(...arguments),this.removePointerDownListener=We}onPointerDown(t){this.session=new Tx(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:jx(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Om(t),onStart:Om(n),onMove:r,onEnd:(i,o)=>{delete this.session,s&&oe.postRender(()=>s(i,o))}}}mount(){this.removePointerDownListener=gn(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 dP(){const e=y.useContext(Nl);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,s=y.useId();return y.useEffect(()=>r(s),[]),!t&&n?[!1,()=>n&&n(s)]:[!0]}const la={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Vm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Zs={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(G.test(e))e=parseFloat(e);else return e;const n=Vm(e,t.target.x),r=Vm(e,t.target.y);return`${n}% ${r}%`}},fP={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=Jn.parse(e);if(s.length>5)return r;const i=Jn.createTransformer(e),o=typeof s[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;s[0+o]/=a,s[1+o]/=l;const u=ke(a,l,.5);return typeof s[2+o]=="number"&&(s[2+o]/=u),typeof s[3+o]=="number"&&(s[3+o]/=u),i(s)}};class hP extends y.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:i}=t;uC(pP),i&&(n.group&&n.group.add(i),r&&r.register&&s&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),la.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:i}=this.props,o=r.projection;return o&&(o.isPresent=i,s||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||oe.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Mf.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Mx(e){const[t,n]=dP(),r=y.useContext(Vf);return w.jsx(hP,{...e,layoutGroup:r,switchLayoutGroup:y.useContext(S0),isPresent:t,safeToRemove:n})}const pP={borderRadius:{...Zs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Zs,borderTopRightRadius:Zs,borderBottomLeftRadius:Zs,borderBottomRightRadius:Zs,boxShadow:fP},Lx=["TopLeft","TopRight","BottomLeft","BottomRight"],mP=Lx.length,Dm=e=>typeof e=="string"?parseFloat(e):e,Im=e=>typeof e=="number"||G.test(e);function gP(e,t,n,r,s,i){s?(e.opacity=ke(0,n.opacity!==void 0?n.opacity:1,vP(r)),e.opacityExit=ke(t.opacity!==void 0?t.opacity:1,0,yP(r))):i&&(e.opacity=ke(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;o<mP;o++){const a=`border${Lx[o]}Radius`;let l=Fm(t,a),u=Fm(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||Im(l)===Im(u)?(e[a]=Math.max(ke(Dm(l),Dm(u),r),0),(nn.test(u)||nn.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=ke(t.rotate||0,n.rotate||0,r))}function Fm(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const vP=Ox(0,.5,fx),yP=Ox(.5,.95,We);function Ox(e,t,n){return r=>r<e?0:r>t?1:n(Cs(e,t,r))}function zm(e,t){e.min=t.min,e.max=t.max}function kt(e,t){zm(e.x,t.x),zm(e.y,t.y)}function Bm(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Um(e,t,n,r,s){return e-=t,e=Ka(e,1/n,r),s!==void 0&&(e=Ka(e,1/s,r)),e}function xP(e,t=0,n=1,r=.5,s,i=e,o=e){if(nn.test(t)&&(t=parseFloat(t),t=ke(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=ke(i.min,i.max,r);e===i&&(a-=t),e.min=Um(e.min,t,n,a,s),e.max=Um(e.max,t,n,a,s)}function $m(e,t,[n,r,s],i,o){xP(e,t[n],t[r],t[s],t.scale,i,o)}const wP=["x","scaleX","originX"],SP=["y","scaleY","originY"];function Wm(e,t,n,r){$m(e.x,t,wP,n?n.x:void 0,r?r.x:void 0),$m(e.y,t,SP,n?n.y:void 0,r?r.y:void 0)}function Hm(e){return e.translate===0&&e.scale===1}function Vx(e){return Hm(e.x)&&Hm(e.y)}function _P(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 Dx(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 Zm(e){return wt(e.x)/wt(e.y)}function Km(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class kP{constructor(){this.members=[]}add(t){Ll(this.members,t),t.scheduleRender()}remove(t){if(Ol(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(s=>t===s);if(n===0)return!1;let r;for(let s=n;s>=0;s--){const i=this.members[s];if(i.isPresent!==!1){r=i;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:s}=t.options;s===!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 TP(e,t,n){let r="";const s=e.x.translate/t.x,i=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((s||i||o)&&(r=`translate3d(${s}px, ${i}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:g,skewY:x}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),g&&(r+=`skewX(${g}deg) `),x&&(r+=`skewY(${x}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const CP=(e,t)=>e.depth-t.depth;class EP{constructor(){this.children=[],this.isDirty=!1}add(t){Ll(this.children,t),this.isDirty=!0}remove(t){Ol(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(CP),this.isDirty=!1,this.children.forEach(t)}}function bP(e,t){const n=Yn.now(),r=({timestamp:s})=>{const i=s-n;i>=t&&(Wt(r),e(i-t))};return oe.read(r,!0),()=>Wt(r)}function PP(e){return e instanceof SVGElement&&e.tagName!=="svg"}function RP(e,t,n){const r=Fe(e)?e:qt(e);return r.start(nh("",r,t,n)),r.animation}const mr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Vu=["","X","Y","Z"],AP={visibility:"hidden"},Gm=1e3;let NP=0;function Du(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Ix(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;const{visualElement:t}=e.options;return t?Sx(t)?!0:e.parent&&!e.parent.hasCheckedOptimisedAppear?Ix(e.parent):!1:!1}function Fx({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(o={},a=t==null?void 0:t()){this.id=NP++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,window.MotionDebug&&(mr.totalNodes=mr.resolvedTargetDeltas=mr.recalculatedProjection=0),this.nodes.forEach(LP),this.nodes.forEach(FP),this.nodes.forEach(zP),this.nodes.forEach(OP),window.MotionDebug&&window.MotionDebug.record(mr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new EP)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new rh),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const l=this.eventHandlers.get(o);l&&l.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=PP(o),this.instance=o;const{layoutId:l,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(u||l)&&(this.isLayoutDirty=!0),e){let d;const f=()=>this.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=bP(f,250),la.hasAnimatedSinceResize&&(la.hasAnimatedSinceResize=!1,this.nodes.forEach(Xm))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:g,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||HP,{onLayoutAnimationStart:S,onLayoutAnimationComplete:p}=c.getProps(),h=!this.targetLayout||!Dx(this.targetLayout,x)||g,m=!f&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||m||f&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,m);const k={...Zf(v,"layout"),onPlay:S,onComplete:p};(c.shouldReduceMotion||this.options.layoutRoot)&&(k.delay=0,k.type=!1),this.startAnimation(k)}else f||Xm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Wt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(BP),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&Ix(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ym);return}this.isUpdating||this.nodes.forEach(DP),this.isUpdating=!1,this.nodes.forEach(IP),this.nodes.forEach(jP),this.nodes.forEach(MP),this.clearAllSnapshots();const a=Yn.now();Me.delta=qn(0,1e3/60,a-Me.timestamp),Me.timestamp=a,Me.isProcessing=!0,Eu.update.process(Me),Eu.preRender.process(Me),Eu.render.process(Me),Me.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Mf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(VP),this.sharedNodes.forEach(UP)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,oe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){oe.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 l=0;l<this.path.length;l++)this.path[l].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Pe(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&(this.scroll={animationId:this.root.animationId,phase:o,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!s)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!Vx(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;o&&(a||pr(this.latestValues)||c)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return o&&(l=this.removeTransform(l)),ZP(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:o}=this.options;if(!o)return Pe();const a=o.measureViewportBox(),{scroll:l}=this.root;return l&&(Mn(a.x,l.offset.x),Mn(a.y,l.offset.y)),a}removeElementScroll(o){const a=Pe();kt(a,o);for(let l=0;l<this.path.length;l++){const u=this.path[l],{scroll:c,options:d}=u;if(u!==this.root&&c&&d.layoutScroll){if(c.isRoot){kt(a,o);const{scroll:f}=this.root;f&&(Mn(a.x,-f.offset.x),Mn(a.y,-f.offset.y))}Mn(a.x,c.offset.x),Mn(a.y,c.offset.y)}}return a}applyTransform(o,a=!1){const l=Pe();kt(l,o);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&os(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),pr(c.latestValues)&&os(l,c.latestValues)}return pr(this.latestValues)&&os(l,this.latestValues),l}removeTransform(o){const a=Pe();kt(a,o);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!pr(u.latestValues))continue;pd(u.latestValues)&&u.updateSnapshot();const c=Pe(),d=u.measurePageBox();kt(c,d),Wm(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return pr(this.latestValues)&&Wm(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Me.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var a;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==l;if(!(o||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=Me.timestamp,!this.targetDelta&&!this.relativeTarget){const g=this.getClosestProjectingParent();g&&g.layout&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Pe(),this.relativeTargetOrigin=Pe(),vi(this.relativeTargetOrigin,this.layout.layoutBox,g.layout.layoutBox),kt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Pe(),this.targetWithTransforms=Pe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Yb(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):kt(this.target,this.layout.layoutBox),Ax(this.target,this.targetDelta)):kt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const g=this.getClosestProjectingParent();g&&!!g.resumingFrom==!!this.resumingFrom&&!g.options.layoutScroll&&g.target&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Pe(),this.relativeTargetOrigin=Pe(),vi(this.relativeTargetOrigin,this.target,g.target),kt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}window.MotionDebug&&mr.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||pd(this.parent.latestValues)||Rx(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let u=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===Me.timestamp&&(u=!1),u)return;const{layout:c,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||d))return;kt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,g=this.treeScale.y;sP(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=Pe());const{target:x}=a;if(!x){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Bm(this.prevProjectionDelta.x,this.projectionDelta.x),Bm(this.prevProjectionDelta.y,this.projectionDelta.y)),gi(this.projectionDelta,this.layoutCorrected,x,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==g||!Km(this.projectionDelta.x,this.prevProjectionDelta.x)||!Km(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",x)),window.MotionDebug&&mr.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),o){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=is(),this.projectionDelta=is(),this.projectionDeltaWithTransform=is()}setAnimationOrigin(o,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=is();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=Pe(),g=l?l.source:void 0,x=this.layout?this.layout.source:void 0,v=g!==x,S=this.getStack(),p=!S||S.members.length<=1,h=!!(v&&!p&&this.options.crossfade===!0&&!this.path.some(WP));this.animationProgress=0;let m;this.mixTargetDelta=k=>{const T=k/1e3;Qm(d.x,o.x,T),Qm(d.y,o.y,T),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(vi(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),$P(this.relativeTarget,this.relativeTargetOrigin,f,T),m&&_P(this.relativeTarget,m)&&(this.isProjectionDirty=!1),m||(m=Pe()),kt(m,this.relativeTarget)),v&&(this.animationValues=c,gP(c,u,this.latestValues,T,h,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Wt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=oe.update(()=>{la.hasAnimatedSinceResize=!0,this.currentAnimation=RP(0,Gm,{...o,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Gm),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&zx(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Pe();const d=wt(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+d;const f=wt(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}kt(a,l),os(a,c),gi(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new kP),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Du("z",o,u,this.animationValues);for(let c=0;c<Vu.length;c++)Du(`rotate${Vu[c]}`,o,u,this.animationValues),Du(`skew${Vu[c]}`,o,u,this.animationValues);o.render();for(const c in u)o.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);o.scheduleRender()}getProjectionStyles(o){var a,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return AP;const u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=oa(o==null?void 0:o.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const v={};return this.options.layoutId&&(v.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,v.pointerEvents=oa(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!pr(this.latestValues)&&(v.transform=c?c({},""):"none",this.hasProjected=!1),v}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),u.transform=TP(this.projectionDeltaWithTransform,this.treeScale,f),c&&(u.transform=c(f,u.transform));const{x:g,y:x}=this.projectionDelta;u.transformOrigin=`${g.origin*100}% ${x.origin*100}% 0`,d.animationValues?u.opacity=d===this?(l=(a=f.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:u.opacity=d===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(const v in Ua){if(f[v]===void 0)continue;const{correct:S,applyTo:p}=Ua[v],h=u.transform==="none"?f[v]:S(f[v],d);if(p){const m=p.length;for(let k=0;k<m;k++)u[p[k]]=h}else u[v]=h}return this.options.layoutId&&(u.pointerEvents=d===this?oa(o==null?void 0:o.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Ym),this.root.sharedNodes.clear()}}}function jP(e){e.updateLayout()}function MP(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:s}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;i==="size"?Tt(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],g=wt(f);f.min=r[d].min,f.max=f.min+g}):zx(i,n.layoutBox,r)&&Tt(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],g=wt(r[d]);f.max=f.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+g)});const a=is();gi(a,r,n.layoutBox);const l=is();o?gi(l,e.applyTransform(s,!0),n.measuredBox):gi(l,r,n.layoutBox);const u=!Vx(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:g}=d;if(f&&g){const x=Pe();vi(x,n.layoutBox,f.layoutBox);const v=Pe();vi(v,r,g.layoutBox),Dx(x,v)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=x,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function LP(e){window.MotionDebug&&mr.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 OP(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function VP(e){e.clearSnapshot()}function Ym(e){e.clearMeasurements()}function DP(e){e.isLayoutDirty=!1}function IP(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Xm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function FP(e){e.resolveTargetDelta()}function zP(e){e.calcProjection()}
vendor: 4,555 bytes, line 67
67function BP(e){e.resetSkewAndRotation()}function UP(e){e.removeLeadSnapshot()}function Qm(e,t,n){e.translate=ke(t.translate,0,n),e.scale=ke(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function qm(e,t,n,r){e.min=ke(t.min,n.min,r),e.max=ke(t.max,n.max,r)}function $P(e,t,n,r){qm(e.x,t.x,n.x,r),qm(e.y,t.y,n.y,r)}function WP(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const HP={duration:.45,ease:[.4,0,.1,1]},Jm=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),eg=Jm("applewebkit/")&&!Jm("chrome/")?Math.round:We;function tg(e){e.min=eg(e.min),e.max=eg(e.max)}function ZP(e){tg(e.x),tg(e.y)}function zx(e,t,n){return e==="position"||e==="preserve-aspect"&&!Gb(Zm(t),Zm(n),.2)}const KP=Fx({attachResizeListener:(e,t)=>pn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Iu={current:void 0},Bx=Fx({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Iu.current){const e=new KP({});e.mount(window),e.setOptions({layoutScroll:!0}),Iu.current=e}return Iu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),GP={pan:{Feature:cP},drag:{Feature:uP,ProjectionNode:Bx,MeasureLayout:Mx}},gd={current:null},Ux={current:!1};function YP(){if(Ux.current=!0,!!jf)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>gd.current=e.matches;e.addListener(t),t()}else gd.current=!1}function XP(e,t,n){for(const r in t){const s=t[r],i=n[r];if(Fe(s))e.addValue(r,s);else if(Fe(i))e.addValue(r,qt(s,{owner:e}));else if(i!==s)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(s):o.hasAnimated||o.set(s)}else{const o=e.getStaticValue(r);e.addValue(r,qt(o!==void 0?o:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const ng=new WeakMap,QP=[...G0,Ge,Jn],qP=e=>QP.find(K0(e)),rg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],JP=Of.length;class eR{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,blockInitialAnimation:i,visualState:o},a={}){this.applyWillChange=!1,this.resolveKeyframes=(f,g,x,v)=>new this.KeyframeResolver(f,g,x,v,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Kf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,oe.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=Ml(n),this.isVariantNode=k0(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const g=d[f];l[f]!==void 0&&Fe(g)&&g.set(l[f],!1)}}mount(t){this.current=t,ng.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)),Ux.current||YP(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:gd.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){ng.delete(this.current),this.projection&&this.projection.unmount(),Wt(this.notifyUpdate),Wt(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];
vendor: 5,303 bytes, line 67
67n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){const r=ar.has(t),s=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&oe.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{s(),i(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in ks){const n=ks[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Pe()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<rg.length;r++){const s=rg[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const i="on"+s,o=t[i];o&&(this.propEventSubscriptions[s]=this.on(s,o))}this.prevMotionValues=XP(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<JP;r++){const s=Of[r],i=this.props[s];(zi(i)||i===!1)&&(n[s]=i)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=qt(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let s=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return s!=null&&(typeof s=="string"&&(H0(s)||W0(s))?s=parseFloat(s):!qP(s)&&Jn.test(n)&&(s=nx(t,n)),this.setBaseTarget(t,Fe(s)?s.get():s)),Fe(s)?s.get():s}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let s;if(typeof r=="string"||typeof r=="object"){const o=Hf(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(s=o[t])}if(r&&s!==void 0)return s;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Fe(i)?i:this.initialValues[t]!==void 0&&s===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new rh),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class $x extends eR{constructor(){super(...arguments),this.KeyframeResolver=rx}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}}function tR(e){return window.getComputedStyle(e)}class nR extends $x{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=N0}readValueFromInstance(t,n){if(ar.has(n)){const r=Yf(n);return r&&r.default||0}else{const r=tR(t),s=(E0(n)?r.getPropertyValue(n):r[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Nx(t,n)}build(t,n,r){zf(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Wf(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Fe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class rR extends $x{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Pe}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ar.has(n)){const r=Yf(n);return r&&r.default||0}return n=j0.has(n)?n:jl(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return L0(t,n,r)}
67build(t,n,r){Uf(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,s){M0(t,n,r,s)}mount(t){this.isSVGTag=$f(t.tagName),super.mount(t)}}const sR=(e,t)=>Df(e)?new rR(t):new nR(t,{allowProjection:e!==y.Fragment}),iR={layout:{ProjectionNode:Bx,MeasureLayout:Mx}},oR={...zb,...JC,...GP,...iR},pt=aC((e,t)=>zC(e,t,oR,sR));function Wx(){const e=y.useRef(!1);return zr(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function aR(){const e=Wx(),[t,n]=y.useState(0),r=y.useCallback(()=>{e.current&&n(t+1)},[t]);return[y.useCallback(()=>oe.postRender(r),[r]),t]}class lR extends y.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function uR({children:e,isPresent:t}){const n=y.useId(),r=y.useRef(null),s=y.useRef({width:0,height:0,top:0,left:0}),{nonce:i}=y.useContext(ho);return y.useInsertionEffect(()=>{const{width:o,height:a,top:l,left:u}=s.current;if(t||!r.current||!o||!a)return;r.current.dataset.motionPopId=n;const c=document.createElement("style");return i&&(c.nonce=i),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
68          [data-motion-pop-id="${n}"] {
69            position: absolute !important;
70            width: ${o}px !important;
71            height: ${a}px !important;
72            top: ${l}px !important;
73            left: ${u}px !important;
74          }
75        `),()=>{document.head.removeChild(c)}},[t]),w.jsx(lR,{isPresent:t,childRef:r,sizeRef:s,children:y.cloneElement(e,{ref:r})})}const Fu=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:s,presenceAffectsLayout:i,mode:o})=>{const a=Os(cR),l=y.useId(),u=y.useMemo(()=>({id:l,initial:t,isPresent:n,custom:s,onExitComplete:c=>{a.set(c,!0);for(const d of a.values())if(!d)return;r&&r()},register:c=>(a.set(c,!1),()=>a.delete(c))}),i?[Math.random()]:[n]);return y.useMemo(()=>{a.forEach((c,d)=>a.set(d,!1))},[n]),y.useEffect(()=>{!n&&!a.size&&r&&r()},[n]),o==="popLayout"&&(e=w.jsx(uR,{isPresent:n,children:e})),w.jsx(Nl.Provider,{value:u,children:e})};function cR(){return new Map}function dR(e){return y.useEffect(()=>()=>e(),[])}const gr=e=>e.key||"";function fR(e,t){e.forEach(n=>{const r=gr(n);t.set(r,n)})}function hR(e){const t=[];return y.Children.forEach(e,n=>{y.isValidElement(n)&&t.push(n)}),t}const pR=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:s,presenceAffectsLayout:i=!0,mode:o="sync"})=>{const a=y.useContext(Vf).forceRender||aR()[0],l=Wx(),u=hR(e);let c=u;const d=y.useRef(new Map).current,f=y.useRef(c),g=y.useRef(new Map).current,x=y.useRef(!0);if(zr(()=>{x.current=!1,fR(u,g),f.current=c}),dR(()=>{x.current=!0,g.clear(),d.clear()}),x.current)return w.jsx(w.Fragment,{children:c.map(h=>w.jsx(Fu,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:i,mode:o,children:h},gr(h)))});c=[...c];const v=f.current.map(gr),S=u.map(gr),p=v.length;for(let h=0;h<p;h++){const m=v[h];S.indexOf(m)===-1&&!d.has(m)&&d.set(m,void 0)}return o==="wait"&&d.size&&(c=[]),d.forEach((h,m)=>{if(S.indexOf(m)!==-1)return;const k=g.get(m);if(!k)return;const T=v.indexOf(m);let b=h;if(!b){const R=()=>{d.delete(m);const P=Array.from(g.keys()).filter($=>!S.includes($));if(P.forEach($=>g.delete($)),f.current=u.filter($=>{const V=gr($);return V===m||P.includes(V)}),!d.size){if(l.current===!1)return;a(),r&&r()}};b=w.jsx(Fu,{isPresent:!1,onExitComplete:R,custom:t,presenceAffectsLayout:i,mode:o,children:k},gr(k)),d.set(m,b)}c.splice(T,0,b)}),c=c.map(h=>{const m=h.key;return d.has(m)?h:w.jsx(Fu,{isPresent:!0,presenceAffectsLayout:i,mode:o,children:h},gr(h))}),w.jsx(w.Fragment,{children:d.size?c:c.map(h=>y.cloneElement(h))})};function Ga(e){const t=Os(()=>qt(e)),{isStatic:n}=y.useContext(ho);if(n){const[,r]=y.useState(e);y.useEffect(()=>t.on("change",r),[])}return t}const mR=e=>e&&typeof e=="object"&&e.mix,gR=e=>mR(e)?e.mix:void 0;function vR(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],s=e[1+n],i=e[2+n],o=e[3+n],a=eh(s,i,{mixer:gR(i[0]),...o});return t?a(r):a}function Hx(e,t){const n=Ga(t()),r=()=>n.set(t());return r(),zr(()=>{const s=()=>oe.preRender(r,!1,!0),i=e.map(o=>o.on("change",s));return()=>
75{i.forEach(o=>o()),Wt(r)}}),n}function yR(e){mi.current=[],e();const t=Hx(mi.current,e);return mi.current=void 0,t}function $i(e,t,n,r){if(typeof e=="function")return yR(e);const s=typeof t=="function"?t:vR(t,n,r);return Array.isArray(e)?sg(e,s):sg([e],([i])=>s(i))}function sg(e,t){const n=Os(()=>[]);return Hx(e,()=>{n.length=0;const r=e.length;for(let s=0;s<r;s++)n[s]=e[s].get();return t(n)})}function ig(e,t={}){const{isStatic:n}=y.useContext(ho),r=y.useRef(null),s=Ga(Fe(e)?e.get():e),i=y.useRef(s.get()),o=y.useRef(()=>{}),a=()=>{const u=r.current;u&&u.time===0&&u.sample(Me.delta),l(),r.current=mb({keyframes:[s.get(),i.current],velocity:s.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:o.current})},l=()=>{r.current&&r.current.stop()};return y.useInsertionEffect(()=>s.attach((u,c)=>n?c(u):(i.current=u,o.current=c,oe.update(a),s.get()),l),[JSON.stringify(t)]),zr(()=>{if(Fe(e))return e.on("change",u=>s.set(parseFloat(u)))},[s]),s}function xR(e,t,n){return typeof e=="string"?e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}const ua=new WeakMap;let An;function wR(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 SR({target:e,contentRect:t,borderBoxSize:n}){var r;(r=ua.get(e))===null||r===void 0||r.forEach(s=>{s({target:e,contentSize:t,get size(){return wR(e,n)}})})}function _R(e){e.forEach(SR)}function kR(){typeof ResizeObserver>"u"||(An=new ResizeObserver(_R))}function TR(e,t){An||kR();const n=xR(e);return n.forEach(r=>{let s=ua.get(r);s||(s=new Set,ua.set(r,s)),s.add(t),An==null||An.observe(r)}),()=>{n.forEach(r=>{const s=ua.get(r);s==null||s.delete(t),s!=null&&s.size||An==null||An.unobserve(r)})}}const ca=new Set;let yi;function CR(){yi=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};ca.forEach(n=>n(t))},window.addEventListener("resize",yi)}function ER(e){return ca.add(e),yi||CR(),()=>{ca.delete(e),!ca.size&&yi&&(yi=void 0)}}function bR(e,t){return typeof e=="function"?ER(e):TR(e,t)}const PR=50,og=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),RR=()=>({time:0,x:og(),y:og()}),AR={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function ag(e,t,n,r){const s=n[t],{length:i,position:o}=AR[t],a=s.current,l=n.time;s.current=e[`scroll${o}`],s.scrollLength=e[`scroll${i}`]-e[`client${i}`],s.offset.length=0,s.offset[0]=0,s.offset[1]=s.scrollLength,s.progress=Cs(0,s.scrollLength,s.current);const u=r-l;s.velocity=u>PR?0:Xf(s.current-a,u)}function NR(e,t,n){ag(e,"x",t,n),ag(e,"y",t,n),t.time=n}function jR(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 s=r.getBoundingClientRect();r=r.parentElement;const i=r.getBoundingClientRect();n.x+=s.left-i.left,n.y+=s.top-i.top}else if(r instanceof SVGGraphicsElement){const{x:s,y:i}=r.getBBox();n.x+=s,n.y+=i;let o=null,a=r.parentNode;for(;!o;)a.tagName==="svg"&&(o=a),a=r.parentNode;r=o}else break;return n}const MR={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},vd={start:0,center:.5,end:1};function lg(e,t,n=0){let r=0;if(e in vd&&(e=vd[e]),typeof e=="string"){const s=parseFloat(e);e.endsWith("px")?r=s:e.endsWith("%")?e=s/100:e.endsWith("vw")?r=s/100*document.documentElement.clientWidth:e.endsWith("vh")?r=s/100*document.documentElement.clientHeight:e=s}return typeof e=="number"&&(r=t*e),n+r}const LR=[0,0];function OR(e,t,n,r){let s=Array.isArray(e)?e:LR,i=0,o=0;return typeof e=="number"?s=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?s=e.split(" "):s=[e,vd[e]?e:"0"]),i=lg(s[0],n,r),o=lg(s[1],t),i-o}const VR={x:0,y:0};function DR(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function IR(e,t,n){const{offset:r=MR.All}=n,{target:s=e,axis:i="y"}=n,o=i==="y"?"height":"width",a=s!==e?jR(s,e):VR,l=s===e?{width:e.scrollWidth,height:e.scrollHeight}:DR(s),u={width:e.clientWidth,height:e.clientHeight};t[i].offset.length=0;let c=!t[i].interpolate;const d=r.length;for(let f=0;f<d;f++){const g=OR(r[f],u[o],l[o],a[i]);
75!c&&g!==t[i].interpolatorOffsets[f]&&(c=!0),t[i].offset[f]=g}c&&(t[i].interpolate=eh(t[i].offset,gx(r)),t[i].interpolatorOffsets=[...t[i].offset]),t[i].progress=t[i].interpolate(t[i].current)}function FR(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}function zR(e,t,n,r={}){return{measure:()=>FR(e,r.target,n),update:s=>{NR(e,n,s),(r.offset||r.target)&&IR(e,n,r)},notify:()=>t(n)}}const Ks=new WeakMap,ug=new WeakMap,zu=new WeakMap,cg=e=>e===document.documentElement?window:e;function BR(e,{container:t=document.documentElement,...n}={}){let r=zu.get(t);r||(r=new Set,zu.set(t,r));const s=RR(),i=zR(t,e,s,n);if(r.add(i),!Ks.has(t)){const a=()=>{for(const f of r)f.measure()},l=()=>{for(const f of r)f.update(Me.timestamp)},u=()=>{for(const f of r)f.notify()},c=()=>{oe.read(a,!1,!0),oe.read(l,!1,!0),oe.update(u,!1,!0)};Ks.set(t,c);const d=cg(t);window.addEventListener("resize",c,{passive:!0}),t!==document.documentElement&&ug.set(t,bR(t,c)),d.addEventListener("scroll",c,{passive:!0})}const o=Ks.get(t);return oe.read(o,!1,!0),()=>{var a;Wt(o);const l=zu.get(t);if(!l||(l.delete(i),l.size))return;const u=Ks.get(t);Ks.delete(t),u&&(cg(t).removeEventListener("scroll",u),(a=ug.get(t))===null||a===void 0||a(),window.removeEventListener("resize",u))}}function dg(e,t){nC(!!(!t||t.current))}const UR=()=>({scrollX:qt(0),scrollY:qt(0),scrollXProgress:qt(0),scrollYProgress:qt(0)});function Zx({container:e,target:t,layoutEffect:n=!0,...r}={}){const s=Os(UR);return(n?zr:y.useEffect)(()=>(dg("target",t),dg("container",e),BR(({x:o,y:a})=>{s.scrollX.set(o.current),s.scrollXProgress.set(o.progress),s.scrollY.set(a.current),s.scrollYProgress.set(a.progress)},{...r,container:(e==null?void 0:e.current)||void 0,target:(t==null?void 0:t.current)||void 0})),[e,t,JSON.stringify(r.offset)]),s}function $R(e){e.values.forEach(t=>t.stop())}function yd(e,t){[...t].reverse().forEach(r=>{const s=e.getVariant(r);s&&sh(e,s),e.variantChildren&&e.variantChildren.forEach(i=>{yd(i,t)})})}function WR(e,t){if(Array.isArray(t))return yd(e,t);if(typeof t=="string")return yd(e,[t]);sh(e,t)}function HR(){const e=new Set,t={subscribe(n){return e.add(n),()=>void e.delete(n)},start(n,r){const s=[];return e.forEach(i=>{s.push(kx(i,n,{transitionOverride:r}))}),Promise.all(s)},set(n){return e.forEach(r=>{WR(r,n)})},stop(){e.forEach(n=>{$R(n)})},mount(){return()=>{t.stop()}}};return t}function ZR(){const e=Os(HR);return zr(e.mount,[]),e}const fg=ZR;function Kx(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=Kx(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function KR(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=Kx(e))&&(r&&(r+=" "),r+=t);return r}const ih="-";function GR(e){const t=XR(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function s(o){const a=o.split(ih);return a[0]===""&&a.length!==1&&a.shift(),Gx(a,t)||YR(o)}function i(o,a){const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}return{getClassGroupId:s,getConflictingClassGroupIds:i}}function Gx(e,t){var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?Gx(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const i=e.join(ih);return(o=t.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId}const hg=/^\[(.+)\]$/;function YR(e){if(hg.test(e)){const t=hg.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function XR(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return qR(Object.entries(e.classGroups),n).forEach(([i,o])=>{xd(o,r,i,t)}),r}function xd(e,t,n,r){e.forEach(s=>{if(typeof s=="string"){const i=s===""?t:pg(t,s);i.classGroupId=n;return}if(typeof s=="function"){if(QR(s)){xd(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}
vendor: 5,424 bytes, line 75
75Object.entries(s).forEach(([i,o])=>{xd(o,pg(t,i),n,r)})})}function pg(e,t){let n=e;return t.split(ih).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function QR(e){return e.isThemeGetter}function qR(e,t){return t?e.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,a])=>[t+o,a])):i);return[n,s]}):e}function JR(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function s(i,o){n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)}return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=r.get(i))!==void 0)return s(i,o),o},set(i,o){n.has(i)?n.set(i,o):s(i,o)}}}const Yx="!";function eA(e){const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],i=t.length;function o(a){const l=[];let u=0,c=0,d;for(let S=0;S<a.length;S++){let p=a[S];if(u===0){if(p===s&&(r||a.slice(S,S+i)===t)){l.push(a.slice(c,S)),c=S+i;continue}if(p==="/"){d=S;continue}}p==="["?u++:p==="]"&&u--}const f=l.length===0?a:a.substring(c),g=f.startsWith(Yx),x=g?f.substring(1):f,v=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:g,baseClassName:x,maybePostfixModifierPosition:v}}return n?function(l){return n({className:l,parseClassName:o})}:o}function tA(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function nA(e){return{cache:JR(e.cacheSize),parseClassName:eA(e),...GR(e)}}const rA=/\s+/;function sA(e,t){const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,i=new Set;return e.trim().split(rA).map(o=>{const{modifiers:a,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c}=n(o);let d=!!c,f=r(d?u.substring(0,c):u);if(!f){if(!d)return{isTailwindClass:!1,originalClassName:o};if(f=r(u),!f)return{isTailwindClass:!1,originalClassName:o};d=!1}const g=tA(a).join(":");return{isTailwindClass:!0,modifierId:l?g+Yx:g,classGroupId:f,originalClassName:o,hasPostfixModifier:d}}).reverse().filter(o=>{if(!o.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:u}=o,c=a+l;return i.has(c)?!1:(i.add(c),s(l,u).forEach(d=>i.add(a+d)),!0)}).reverse().map(o=>o.originalClassName).join(" ")}function iA(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Xx(t))&&(r&&(r+=" "),r+=n);return r}function Xx(e){if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Xx(e[r]))&&(n&&(n+=" "),n+=t);return n}function oA(e,...t){let n,r,s,i=o;function o(l){const u=t.reduce((c,d)=>d(c),e());return n=nA(u),r=n.cache.get,s=n.cache.set,i=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=sA(l,n);return s(l,c),c}return function(){return i(iA.apply(null,arguments))}}function ve(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Qx=/^\[(?:([a-z-]+):)?(.+)\]$/i,aA=/^\d+\/\d+$/,lA=new Set(["px","full","screen"]),uA=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,cA=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,dA=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,fA=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,hA=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function an(e){return _r(e)||lA.has(e)||aA.test(e)}function bn(e){return Vs(e,"length",SA)}function _r(e){return!!e&&!Number.isNaN(Number(e))}function Uo(e){return Vs(e,"number",_r)}function Gs(e){return!!e&&Number.isInteger(Number(e))}function pA(e){return e.endsWith("%")&&_r(e.slice(0,-1))}function ee(e){return Qx.test(e)}function Pn(e){return uA.test(e)}const mA=new Set(["length","size","percentage"]);function gA(e){return Vs(e,mA,qx)}function vA(e){return Vs(e,"position",qx)}const yA=new Set(["image","url"]);function xA(e){return Vs(e,yA,kA)}function wA(e){return Vs(e,"",_A)}function Ys(){return!0}function Vs(e,t,n){const r=Qx.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function SA(e){return cA.test(e)&&!dA.test(e)}function qx(){return!1}function _A(e){return fA.test(e)}function kA(e){return hA.test(e)}function TA(){const e=ve("colors"),t=ve("spacing"),n=ve("blur"),r=ve("brightness"),s=ve("borderColor"),i=ve("borderRadius"),o=ve("borderSpacing"),a=ve("borderWidth"),l=ve("contrast"),u=ve("grayscale"),c=ve("hueRotate"),d=ve("invert"),f=ve("gap"),g=ve("gradientColorStops"),x=ve("gradientColorStopPositions"),v=ve("inset"),S=ve("margin"),p=ve("opacity"),h=ve("padding"),m=ve("saturate"),k=ve("scale"),T=ve("sepia"),b=ve("skew"),R=ve("space"),P=ve("translate"),$=()=>["auto","contain","none"],V=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto",ee,t],L=()=>[ee,t],q=()=>["",an,bn],B=()=>["auto",_r,ee],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],re=()=>["solid","dashed","dotted","double","none"],pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],M=()=>["start","end","center","between","around","evenly","stretch"],W=()=>["","0",ee],Y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ue=()=>[_r,Uo],ce=()=>[_r,ee];return{cacheSize:500,separator:":",theme:{colors:[Ys],spacing:[an,bn],blur:["none","",Pn,ee],brightness:ue(),borderColor:[e],borderRadius:["n
vendor: 5,154 bytes, line 75
75one","","full",Pn,ee],borderSpacing:L(),borderWidth:q(),contrast:ue(),grayscale:W(),hueRotate:ce(),invert:W(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[pA,bn],inset:ne(),margin:ne(),opacity:ue(),padding:L(),saturate:ue(),scale:ue(),sepia:W(),skew:ce(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",ee]}],container:["container"],columns:[{columns:[Pn]}],"break-after":[{"break-after":Y()}],"break-before":[{"break-before":Y()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...K(),ee]}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Gs,ee]}],basis:[{basis:ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ee]}],grow:[{grow:W()}],shrink:[{shrink:W()}],order:[{order:["first","last","none",Gs,ee]}],"grid-cols":[{"grid-cols":[Ys]}],"col-start-end":[{col:["auto",{span:["full",Gs,ee]},ee]}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[Ys]}],"row-start-end":[{row:["auto",{span:[Gs,ee]},ee]}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ee]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ee]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...M()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...M(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...M(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[R]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[R]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ee,t]}],"min-w":[{"min-w":[ee,t,"min","max","fit"]}],"max-w":[{"max-w":[ee,t,"none","full","min","max","fit","prose",{screen:[Pn]},Pn]}],h:[{h:[ee,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ee,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Pn,bn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Uo]}],"font-family":[{font:[Ys]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ee]}],"line-clamp":[{"line-clamp":["none",_r,Uo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",an,ee]}],"list-image":[{"list-image":["none",ee]}],"list-style-type":[{list:["none","disc","decimal",ee]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[p]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[p]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...re(),"w
75avy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",an,bn]}],"underline-offset":[{"underline-offset":["auto",an,ee]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ee]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[p]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),vA]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",gA]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},xA]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[p]}],"border-style":[{border:[...re(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[p]}],"divide-style":[{divide:re()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...re()]}],"outline-offset":[{"outline-offset":[an,ee]}],"outline-w":[{outline:[an,bn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[p]}],"ring-offset-w":[{"ring-offset":[an,bn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Pn,wA]}],"shadow-color":[{shadow:[Ys]}],opacity:[{opacity:[p]}],"mix-blend":[{"mix-blend":[...pe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":pe()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Pn,ee]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[m]}],sepia:[{sepia:[T]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[p]}],"backdrop-saturate":[{"backdrop-saturate":[m]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ee]}],duration:[{duration:ce()}],ease:[{ease:["linear","in","out","in-out",ee]}],delay:[{delay:ce()}],animate:[{animate:["none","spin","ping","pulse","bounce",ee]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[Gs,ee]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[b]}],"skew-y":[{"skew-y":[b]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ee]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","
75none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ee]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ee]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[an,bn,Uo]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const CA=oA(TA);function he(...e){return CA(KR(e))}const Jx=y.createContext(void 0),EA=({children:e})=>{const[t,n]=y.useState(!1);return w.jsx(Jx.Provider,{value:{open:t,setOpen:n},children:e})},Ya=()=>{const e=y.useContext(Jx);if(!e)throw new Error("useModal must be used within a ModalProvider");return e};function bA({children:e}){return w.jsx(EA,{children:e})}const PA=({children:e,className:t})=>{const{setOpen:n}=Ya();return w.jsx("button",{className:he("px-4 py-2 rounded-md text-black dark:text-white text-center relative overflow-hidden",t),onClick:()=>n(!0),children:e})},RA=({children:e,className:t})=>{const{open:n}=Ya();y.useEffect(()=>{n?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[n]);const r=y.useRef(null),{setOpen:s}=Ya();return LA(r,()=>s(!1)),w.jsx(pR,{children:n&&w.jsxs(pt.div,{initial:{opacity:0}
vendor: 33,527 bytes, line 75
75,animate:{opacity:1,backdropFilter:"blur(10px)"},exit:{opacity:0,backdropFilter:"blur(0px)"},className:"fixed [perspective:800px] [transform-style:preserve-3d] inset-0 h-full w-full  flex items-center justify-center z-50",children:[w.jsx(jA,{}),w.jsx(pt.div,{ref:r,className:he("min-h-[90%]  max-w-[90%] bg-white dark:bg-neutral-950 border border-transparent dark:border-neutral-800 rounded-2xl relative z-50 flex flex-col flex-1 overflow-hidden",t),initial:{opacity:0,scale:.5,rotateX:40,y:40},animate:{opacity:1,scale:1,rotateX:0,y:0},exit:{opacity:0,scale:.8,rotateX:10},transition:{type:"spring",stiffness:260,damping:15},children:e})]})})},AA=({children:e,className:t})=>w.jsx("div",{className:he("flex flex-col flex-1 p-8 md:p-10",t),children:e}),NA=({children:e,className:t})=>w.jsx("div",{className:he("flex justify-start p-4 bg-gray-100 dark:bg-neutral-900",t),children:e}),jA=({className:e})=>w.jsx(pt.div,{initial:{opacity:0},animate:{opacity:1,backdropFilter:"blur(10px)"},exit:{opacity:0,backdropFilter:"blur(0px)"},className:`fixed inset-0 h-full w-full bg-black bg-opacity-50 z-50 ${e}`}),MA=()=>{const{setOpen:e}=Ya();return w.jsxs("button",{onClick:()=>e(!1),className:"bg-dark-2 group border border-dark-5 text-white flex justify-center group/modal-btn rounded-full p-4  cursor-none hover:bg-dark-3 ",children:["<-"," Go Back"]})},LA=(e,t)=>{y.useEffect(()=>{const n=r=>{!e.current||e.current.contains(r.target)||t(r)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[e,t])};var yo=e=>e.type==="checkbox",as=e=>e instanceof Date,Je=e=>e==null;const ew=e=>typeof e=="object";var Ve=e=>!Je(e)&&!Array.isArray(e)&&ew(e)&&!as(e),tw=e=>Ve(e)&&e.target?yo(e.target)?e.target.checked:e.target.value:e,OA=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,nw=(e,t)=>e.has(OA(t)),VA=e=>{const t=e.constructor&&e.constructor.prototype;return Ve(t)&&t.hasOwnProperty("isPrototypeOf")},oh=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function st(e){let t;const n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(oh&&(e instanceof Blob||e instanceof FileList))&&(n||Ve(e)))if(t=n?[]:{},!n&&!VA(e))t=e;else for(const r in e)e.hasOwnProperty(r)&&(t[r]=st(e[r]));else return e;return t}var zl=e=>Array.isArray(e)?e.filter(Boolean):[],be=e=>e===void 0,O=(e,t,n)=>{if(!t||!Ve(e))return n;const r=zl(t.split(/[,[\].]+?/)).reduce((s,i)=>Je(s)?s:s[i],e);return be(r)||r===e?be(e[t])?n:e[t]:r},Qt=e=>typeof e=="boolean",ah=e=>/^\w*$/.test(e),rw=e=>zl(e.replace(/["|']|\]/g,"").split(/\.|\[/)),fe=(e,t,n)=>{let r=-1;const s=ah(t)?[t]:rw(t),i=s.length,o=i-1;for(;++r<i;){const a=s[r];let l=n;if(r!==o){const u=e[a];l=Ve(u)||Array.isArray(u)?u:isNaN(+s[r+1])?{}:[]}if(a==="__proto__")return;e[a]=l,e=e[a]}return e};const Xa={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Dt={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ln={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},sw=ie.createContext(null),Bl=()=>ie.useContext(sw),DA=e=>{const{children:t,...n}=e;return ie.createElement(sw.Provider,{value:n},t)};var iw=(e,t,n,r=!0)=>{const s={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(s,i,{get:()=>{const o=i;return t._proxyFormState[o]!==Dt.all&&(t._proxyFormState[o]=!r||Dt.all),n&&(n[o]=!0),e[o]}});return s},ft=e=>Ve(e)&&!Object.keys(e).length,ow=(e,t,n,r)=>{n(e);const{name:s,...i}=e;return ft(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(o=>t[o]===(!r||Dt.all))},xi=e=>Array.isArray(e)?e:[e],aw=(e,t,n)=>!e||!t||e===t||xi(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r)));function lh(e){const t=ie.useRef(e);t.current=e,ie.useEffect(()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}function IA(e){const t=Bl(),{control:n=t.control,disabled:r,name:s,exact:i}=e||{},[o,a]=ie.useState(n._formState),l=ie.useRef(!0),u=ie.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=ie.useRef(s);return c.current=s,lh({disabled:r,next:d=>l.current&&aw(c.current,d.name,i)&&ow(d,u.current,n._updateFormState)&&a({...n._formState,...d}),subject:n._subjects.state}),ie.useEffect(()=>(l.current=!0,u.current.isValid&&n._updateValid(!0),()=>{l.current=!1}),[n]),iw(o,n,u.current,!1)}var Jt=e=>typeof e=="string",lw=(e,t,n,r,s)=>Jt(e)?(r&&t.watch.add(e),O(n,e,s)):Array.isArray(e)?e.map(i=>(r&&t.watch.add(i),O(n,i))):(r&&(t.watchAll=!0),n);function FA(e){const t=Bl(),{control:n=t.control,name:r,defaultValue:s,disabled:i,exact:o}=e||{},a=ie.useRef(r);a.current=r,lh({disabled:i,subject:n._subjects.values,next:c=>{aw(a.current,c.name,o)&&u(st(lw(a.current,n._names,c.values||n._formValues,!1,s)))}});const[l,u]=ie.useState(n._getWatch(r,s));return ie.useEffect(()=>n._removeUnmounted()),l}function zA(e){const t=Bl(),{name:n,disabled:r,control:s=t.control,shouldUnregister:i}=e,o=nw(s._names.array,n),a=FA({control:s,name:n,defaultValue:O(s._formValues,n,O(s._defaultValues,n,e.defaultValue)),exact:!0}),l=IA({control:s,name:n}),u=ie.useRef(s.register(n,{...e.rules,value:a,...Qt(e.disabled)?{disabled:e.disabled}:{}}));return ie.useEffect(()=>{const c=s._options.shouldUnregister||i,d=(f,g)=>{const x=O(s._fields,f);x&&x._f&&(x._f.mount=g)};if(d(n,!0),c){const f=st(O(s._options.defaultValues,n));fe(s._defaultValues,n,f),be(O(s._formValues,n))&&fe(s._formValues,n,f)}return()=>{(o?c&&!s._state.action:c)?s.unregister(n):d(n,!1)}},[n,s,o,i]),ie.useEffect(()=>{O(s._fields,n)&&s._updateDisabledField({disabled:r,fields:s._fields,name:n,value:O(s._fields,n)._f.value})},[r,n,s]),{field:{name:n,value:a,...Qt(r)||l.disabled?{disabled:l.disabled||r}:{},onChange:ie.useCallback(c=>u.current.onChange({target:{value:tw(c),name:n},type:Xa.CHANGE}),[n]),onBlur:ie.useCallback(()=>u.current.onBlur({target:{value:O(s._formValues,n),name:n},type:Xa.BLUR}),[n,s]),ref:c=>{const d=O(s._fields,n);d&&c&&(d._f.ref={focus:()=>c.focus(),select:()=>c.select(),setCustomValidity:f=>c.setCustomValidity(f),reportValidity:()=>c.reportValidity()})}},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!O(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!O(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!O(l.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!O(l.validatingFields,n)},error:{enumerable:!0,get:()=>O(l.errors,n)}})}}const BA=e=>e.render(zA(e));var uw=(e,t,n,r,s)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:s||!0}}:{},mg=e=>({isOnSubmit:!e||e===Dt.onSubmit,isOnBlur:e===Dt.onBlur,isOnChange:e===Dt.onChange,isOnAll:e===Dt.all,isOnTouch:e===Dt.onTouched}),gg=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const wi=(e,t,n,r)=>{for(const s of n||Object.keys(e)){const i=O(e,s);if(i){const{_f:o,...a}=i;if(o){if(o.refs&&o.refs[0]&&t(o.refs[0],s)&&!r)break;if(o.ref&&t(o.ref,o.name)&&!r)break;wi(a,t)}else Ve(a)&&wi(a,t)}}};var UA=(e,t,n)=>{const r=xi(O(e,n));return fe(r,"root",t[n]),fe(e,n,r),e},uh=e=>e.type==="file",Fn=e=>typeof e=="function",Qa=e=>{if(!oh)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},da=e=>Jt(e),ch=e=>e.type==="radio",qa=e=>e instanceof RegExp;const vg={value:!1,isValid:!1},yg={value:!0,isValid:!0};var cw=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!be(e[0].attributes.value)?be(e[0].value)||e[0].value===""?yg:{value:e[0].value,isValid:!0}:yg:vg}return vg};const xg={isValid:!1,value:null};var dw=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,xg):xg;function wg(e,t,n="validate"){if(da(e)||Array.isArray(e)&&e.every(da)||Qt(e)&&!e)return{type:n,message:da(e)?e:"",ref:t}}var $r=e=>Ve(e)&&!qa(e)?e:{value:e,message:""},Sg=async(e,t,n,r,s)=>{const{ref:i,refs:o,required:a,maxLength:l,minLength:u,min:c,max:d,pattern:f,validate:g,name:x,valueAsNumber:v,mount:S,disabled:p}=e._f,h=O(t,x);if(!S||p)return{};const m=o?o[0]:i,k=L=>{r&&m.reportValidity&&(m.setCustomValidity(Qt(L)?"":L||""),m.reportValidity())},T={},b=ch(i),R=yo(i),P=b||R,$=(v||uh(i))&&be(i.value)&&be(h)||Qa(i)&&i.value===""||h===""||Array.isArray(h)&&!h.length,V=uw.bind(null,x,n,T),ne=(L,q,B,K=ln.maxLength,re=ln.minLength)=>{const pe=L?q:B;T[x]={type:L?K:re,message:pe,ref:i,...V(L?K:re,pe)}};if(s?!Array.isArray(h)||!h.length:a&&(!P&&($||Je(h))||Qt(h)&&!h||R&&!cw(o).isValid||b&&!dw(o).isValid)){const{value:L,message:q}=da(a)?{value:!!a,message:a}:$r(a);if(L&&(T[x]={type:ln.required,message:q,ref:m,...V(ln.required,q)},!n))return k(q),T}if(!$&&(!Je(c)||!Je(d))){let L,q;const B=$r(d),K=$r(c);if(!Je(h)&&!isNaN(h)){const re=i.valueAsNumber||h&&+h;Je(B.value)||(L=re>B.value),Je(K.value)||(q=re<K.value)}else{const re=i.valueAsDate||new Date(h),pe=Y=>new Date(new Date().toDateString()+" "+Y),M=i.type=="time",W=i.type=="week";Jt(B.value)&&h&&(L=M?pe(h)>pe(B.value):W?h>B.value:re>new Date(B.value)),Jt(K.value)&&h&&(q=M?pe(h)<pe(K.value):W?h<K.value:re<new Date(K.value))}if((L||q)&&(ne(!!L,B.message,K.message,ln.max,ln.min),!n))return k(T[x].message),T}if((l||u)&&!$&&(Jt(h)||s&&Array.isArray(h))){const L=$r(l),q=$r(u),B=!Je(L.value)&&h.length>+L.value,K=!Je(q.value)&&h.length<+q.value;if((B||K)&&(ne(B,L.message,q.message),!n))return k(T[x].message),T}if(f&&!$&&Jt(h)){const{value:L,message:q}=$r(f);if(qa(L)&&!h.match(L)&&(T[x]={type:ln.pattern,message:q,ref:i,...V(ln.pattern,q)},!n))return k(q),T}if(g){if(Fn(g)){const L=await g(h,t),q=wg(L,m);if(q&&(T[x]={...q,...V(ln.validate,q.message)},!n))return k(q.message),T}else if(Ve(g)){let L={};for(const q in g){if(!ft(L)&&!n)break;const B=wg(await g[q](h,t),m,q);B&&(L={...B,...V(q,B.message)},k(B.message),n&&(T[x]=L))}if(!ft(L)&&(T[x]={ref:m,...L},!n))return T}}return k(!0),T};function $A(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=be(e)?r++:e[t[r++]];return e}function WA(e){for(const t in e)if(e.hasOwnProperty(t)&&!be(e[t]))return!1;return!0}function je(e,t){const n=Array.isArray(t)?t:ah(t)?[t]:rw(t),r=n.length===1?e:$A(e,n),s=n.length-1,i=n[s];return r&&delete r[i],s!==0&&(Ve(r)&&ft(r)||Array.isArray(r)&&WA(r))&&je(e,n.slice(0,-1)),e}var Bu=()=>{let e=[];return{get observers(){return e},next:s=>{for(const i of e)i.next&&i.next(s)},subscribe:s=>(e.push(s),{unsubscribe:()=>{e=e.filter(i=>i!==s)}}),unsubscribe:()=>{e=[]}}},Ja=e=>Je(e)||!ew(e);function kr(e,t){if(Ja(e)||Ja(t))return e===t;if(as(e)&&as(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const s of n){const i=e[s];if(!r.includes(s))return!1;if(s!=="ref"){const o=t[s];if(as(i)&&as(o)||Ve(i)&&Ve(o)||Array.isArray(i)&&Array.isArray(o)?!kr(i,o):i!==o)return!1}}return!0}var fw=e=>e.type==="select-multiple",HA=e=>ch(e)||yo(e),Uu=e=>Qa(e)&&e.isConnected,hw=e=>{for(const t in e)if(Fn(e[t]))return!0;return!1};function el(e,t={}){const n=Array.isArray(e);if(Ve(e)||n)for(const r in e)Array.isArray(e[r])||Ve(e[r])&&!hw(e[r])?(t[r]=Array.isArray(e[r])?[]:{},el(e[r],t[r])):Je(e[r])||(t[r]=!0);return t}function pw(e,t,n){const r=Array.isArray(e);if(Ve(e)||r)for(const s in e)Array.isArray(e[s])||Ve(e[s])&&!hw(e[s])?be(t)||Ja(n[s])?n[s]=Array.isArray(e[s])?el(e[s],[]):{...el(e[s])}:pw(e[s],Je(t)?{}:t[s],n[s]):n[s]=!kr(e[s],t[s]);return n}var $o=(e,t)=>pw(e,t,el(t)),mw=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>be(e)?e:t?e===""?NaN:e&&+e:n&&Jt(e)?new Date(e):r?r(e):e;function $u(e){const t=e.ref;if(!(e.refs?e.refs.every(n=>n.disabled):t.disabled))return uh(t)?t.files:ch(t)?dw(e.refs).value:fw(t)?[...t.selectedOptions].map(({value:n})=>n):yo(t)?cw(e.refs).value:mw(be(t.value)?e.ref.value:t.value,e)}var ZA=(e,t,n,r)=>{const s={};for(const i of e){const o=O(t,i);o&&fe(s,i,o._f)}return{criteriaMode:n,names:[...e],fields:s,shouldUseNativeValidation:r}},Xs=e=>be(e)?e:qa(e)?e.source:Ve(e)?qa(e.value)?e.value.source:e.value:e,KA=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function _g(e,t,n){const r=O(e,n);if(r||ah(n))return{error:r,name:n};const s=n.split(".");for(;s.length;){const i=s.join("."),o=O(t,i),a=O(e,i);if(o&&!Array.isArray(o)&&n!==i)return{name:n};if(a&&a.type)return{name:i,error:a};s.pop()}return{name:n}}var GA=(e,t,n,r,s)=>s.isOnAll?!1:!n&&s.isOnTouch?!(t||e):(n?r.isOnBlur:s.isOnBlur)?!e:(n?r.isOnChange:s.isOnChange)?e:!0,YA=(e,t)=>!zl(O(e,t)).length&&je(e,t);const XA={mode:Dt.onSubmit,reValidateMode:Dt.onChange,shouldFocusError:!0};function QA(e={}){let t={...XA,...e},n={submitCount:0,isDirty:!1,isLoading:Fn(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},s=Ve(t.defaultValues)||Ve(t.values)?st(t.defaultValues||t.values)||{}:{},i=t.shouldUnregister?{}:st(s),o={action:!1,mount:!1,watch:!1},a={mount:new Set,unMount:new Set,array:new Set,watch:new Set},l,u=0;const c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={values:Bu(),array:Bu(),state:Bu()},f=mg(t.mode),g=mg(t.reValidateMode),x=t.criteriaMode===Dt.all,v=_=>C=>{clearTimeout(u),u=setTimeout(_,C)},S=async _=>{if(c.isValid||_){const C=t.resolver?ft((await P()).errors):await V(r,!0);C!==n.isValid&&d.state.next({isValid:C})}},p=(_,C)=>{(c.isValidating||c.validatingFields)&&((_||Array.from(a.mount)).forEach(E=>{E&&(C?fe(n.validatingFields,E,C):je(n.validatingFields,E))}),d.state.next({validatingFields:n.validatingFields,isValidating:!ft(n.validatingFields)}))},h=(_,C=[],E,F,D=!0,j=!0)=>{if(F&&E){if(o.action=!0,j&&Array.isArray(O(r,_))){const Z=E(O(r,_),F.argA,F.argB);D&&fe(r,_,Z)}if(j&&Array.isArray(O(n.errors,_))){const Z=E(O(n.errors,_),F.argA,F.argB);D&&fe(n.errors,_,Z),YA(n.errors,_)}if(c.touchedFields&&j&&Array.isArray(O(n.touchedFields,_))){const Z=E(O(n.touchedFields,_),F.argA,F.argB);D&&fe(n.touchedFields,_,Z)}c.dirtyFields&&(n.dirtyFields=$o(s,i)),d.state.next({name:_,isDirty:L(_,C),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else fe(i,_,C)},m=(_,C)=>{fe(n.errors,_,C),d.state.next({errors:n.errors})},k=_=>{n.errors=_,d.state.next({errors:n.errors,isValid:!1})},T=(_,C,E,F)=>{const D=O(r,_);if(D){const j=O(i,_,be(E)?O(s,_):E);be(j)||F&&F.defaultChecked||C?fe(i,_,C?j:$u(D._f)):K(_,j),o.mount&&S()}},b=(_,C,E,F,D)=>{let j=!1,Z=!1;const de={name:_},Ae=!!(O(r,_)&&O(r,_)._f&&O(r,_)._f.disabled);if(!E||F){c.isDirty&&(Z=n.isDirty,n.isDirty=de.isDirty=L(),j=Z!==de.isDirty);const dt=Ae||kr(O(s,_),C);Z=!!(!Ae&&O(n.dirtyFields,_)),dt||Ae?je(n.dirtyFields,_):fe(n.dirtyFields,_,!0),de.dirtyFields=n.dirtyFields,j=j||c.dirtyFields&&Z!==!dt}if(E){const dt=O(n.touchedFields,_);dt||(fe(n.touchedFields,_,E),de.touchedFields=n.touchedFields,j=j||c.touchedFields&&dt!==E)}return j&&D&&d.state.next(de),j?de:{}},R=(_,C,E,F)=>{const D=O(n.errors,_),j=c.isValid&&Qt(C)&&n.isValid!==C;if(e.delayError&&E?(l=v(()=>m(_,E)),l(e.delayError)):(clearTimeout(u),l=null,E?fe(n.errors,_,E):je(n.errors,_)),(E?!kr(D,E):D)||!ft(F)||j){const Z={...F,...j&&Qt(C)?{isValid:C}:{},errors:n.errors,name:_};n={...n,...Z},d.state.next(Z)}},P=async _=>{p(_,!0);const C=await t.resolver(i,t.context,ZA(_||a.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return p(_),C},$=async _=>{const{errors:C}=await P(_);if(_)for(const E of _){const F=O(C,E);F?fe(n.errors,E,F):je(n.errors,E)}else n.errors=C;return C},V=async(_,C,E={valid:!0})=>{for(const F in _){const D=_[F];if(D){const{_f:j,...Z}=D;if(j){const de=a.array.has(j.name);p([F],!0);const Ae=await Sg(D,i,x,t.shouldUseNativeValidation&&!C,de);if(p([F]),Ae[j.name]&&(E.valid=!1,C))break;!C&&(O(Ae,j.name)?de?UA(n.errors,Ae,j.name):fe(n.errors,j.name,Ae[j.name]):je(n.errors,j.name))}Z&&await V(Z,C,E)}}return E.valid},ne=()=>{for(const _ of a.unMount){const C=O(r,_);C&&(C._f.refs?C._f.refs.every(E=>!Uu(E)):!Uu(C._f.ref))&&jt(_)}a.unMount=new Set},L=(_,C)=>(_&&C&&fe(i,_,C),!kr(ue(),s)),q=(_,C,E)=>lw(_,a,{...o.mount?i:be(C)?s:Jt(_)?{[_]:C}:C},E,C),B=_=>zl(O(o.mount?i:s,_,e.shouldUnregister?O(s,_,[]):[])),K=(_,C,E={})=>{const F=O(r,_);let D=C;if(F){const j=F._f;j&&(!j.disabled&&fe(i,_,mw(C,j)),D=Qa(j.ref)&&Je(C)?"":C,fw(j.ref)?[...j.ref.options].forEach(Z=>Z.selected=D.includes(Z.value)):j.refs?yo(j.ref)?j.refs.length>1?j.refs.forEach(Z=>(!Z.defaultChecked||!Z.disabled)&&(Z.checked=Array.isArray(D)?!!D.find(de=>de===Z.value):D===Z.value)):j.refs[0]&&(j.refs[0].checked=!!D):j.refs.forEach(Z=>Z.checked=Z.value===D):uh(j.ref)?j.ref.value="":(j.ref.value=D,j.ref.type||d.values.next({name:_,values:{...i}})))}(E.shouldDirty||E.shouldTouch)&&b(_,D,E.shouldTouch,E.shouldDirty,!0),E.shouldValidate&&Y(_)},re=(_,C,E)=>{for(const F in C){const D=C[F],j=`${_}.${F}`,Z=O(r,j);(a.array.has(_)||!Ja(D)||Z&&!Z._f)&&!as(D)?re(j,D,E):K(j,D,E)}},pe=(_,C,E={})=>{const F=O(r,_),D=a.array.has(_),j=st(C);fe(i,_,j),D?(d.array.next({name:_,values:{...i}}),(c.isDirty||c.dirtyFields)&&E.shouldDirty&&d.state.next({name:_,dirtyFields:$o(s,i),isDirty:L(_,j)})):F&&!F._f&&!Je(j)?re(_,j,E):K(_,j,E),gg(_,a)&&d.state.next({...n}),d.values.next({name:o.mount?_:void 0,values:{...i}})},M=async _=>{o.mount=!0;const C=_.target;let E=C.name,F=!0;const D=O(r,E),j=()=>C.type?$u(D._f):tw(_),Z=de=>{F=Number.isNaN(de)||de===O(i,E,de)};if(D){let de,Ae;const dt=j(),Br=_.type===Xa.BLUR||_.type===Xa.FOCUS_OUT,b1=!KA(D._f)&&!t.resolver&&!O(n.errors,E)&&!D._f.deps||GA(Br,O(n.touchedFields,E),n.isSubmitted,g,f),Kl=gg(E,a,Br);fe(i,E,dt),Br?(D._f.onBlur&&D._f.onBlur(_),l&&l(0)):D._f.onChange&&D._f.onChange(_);const Gl=b(E,dt,Br,!1),P1=!ft(Gl)||Kl;if(!Br&&d.values.next({name:E,type:_.type,values:{...i}}),b1)return c.isValid&&S(),P1&&d.state.next({name:E,...Kl?{}:Gl});if(!Br&&Kl&&d.state.next({...n}),t.resolver){const{errors:_h}=await P([E]);if(Z(dt),F){const R1=_g(n.errors,r,E),kh=_g(_h,r,R1.name||E);de=kh.error,E=kh.name,Ae=ft(_h)}}else p([E],!0),de=(await Sg(D,i,x,t.shouldUseNativeValidation))[E],p([E]),Z(dt),F&&(de?Ae=!1:c.isValid&&(Ae=await V(r,!0)));F&&(D._f.deps&&Y(D._f.deps),R(E,Ae,de,Gl))}},W=(_,C)=>{if(O(n.errors,C)&&_.focus)return _.focus(),1},Y=async(_,C={})=>{let E,F;const D=xi(_);if(t.resolver){const j=await $(be(_)?_:D);E=ft(j),F=_?!D.some(Z=>O(j,Z)):E}else _?(F=(await Promise.all(D.map(async j=>{const Z=O(r,j);return await V(Z&&Z._f?{[j]:Z}:Z)}))).every(Boolean),!(!F&&!n.isValid)&&S()):F=E=await V(r);return d.state.next({...!Jt(_)||c.isValid&&E!==n.isValid?{}:{name:_},...t.resolver||!_?{isValid:E}:{},errors:n.errors}),C.shouldFocus&&!F&&wi(r,W,_?D:a.mount),F},ue=_=>{const C={...o.mount?i:s};return be(_)?C:Jt(_)?O(C,_):_.map(E=>O(C,E))},ce=(_,C)=>({invalid:!!O((C||n).errors,_),isDirty:!!O((C||n).dirtyFields,_),error:O((C||n).errors,_),isValidating:!!O(n.validatingFields,_),isTouched:!!O((C||n).touchedFields,_)}),Nt=_=>{_&&xi(_).forEach(C=>je(n.errors,C)),d.state.next({errors:_?n.errors:{}})},ct=(_,C,E)=>{const F=(O(r,_,{_f:{}})._f||{}).ref,D=O(n.errors,_)||{},{ref:j,message:Z,type:de,...Ae}=D;fe(n.errors,_,{...Ae,...C,ref:F}),d.state.next({name:_,errors:n.errors,isValid:!1}),E&&E.shouldFocus&&F&&F.focus&&F.focus()},Ds=(_,C)=>Fn(_)?d.values.subscribe({next:E=>_(q(void 0,C),E)}):q(_,C,!0),jt=(_,C={})=>{for(const E of _?xi(_):a.mount)a.mount.delete(E),a.array.delete(E),C.keepValue||(je(r,E),je(i,E)),!C.keepError&&je(n.errors,E),!C.keepDirty&&je(n.dirtyFields,E),!C.keepTouched&&je(n.touchedFields,E),!C.keepIsValidating&&je(n.validatingFields,E),!t.shouldUnregister&&!C.keepDefaultValue&&je(s,E);d.values.next({values:{...i}}),d.state.next({...n,...C.keepDirty?{isDirty:L()}:{}}),!C.keepIsValid&&S()},ur=({disabled:_,name:C,field:E,fields:F,value:D})=>{if(Qt(_)&&o.mount||_){const j=_?void 0:be(D)?$u(E?E._f:O(F,C)._f):D;fe(i,C,j),b(C,j,!1,!1,!0)}},Zl=(_,C={})=>{let E=O(r,_);const F=Qt(C.disabled);return fe(r,_,{...E||{},_f:{...E&&E._f?E._f:{ref:{name:_}},name:_,mount:!0,...C}}),a.mount.add(_),E?ur({field:E,disabled:C.disabled,name:_,value:C.value}):T(_,!0,C.value),{...F?{disabled:C.disabled}:{},...t.progressive?{required:!!C.required,min:Xs(C.min),max:Xs(C.max),minLength:Xs(C.minLength),maxLength:Xs(C.maxLength),pattern:Xs(C.pattern)}:{},name:_,onChange:M,onBlur:M,ref:D=>{if(D){Zl(_,C),E=O(r,_);const j=be(D.value)&&D.querySelectorAll&&D.querySelectorAll("input,select,textarea")[0]||D,Z=HA(j),de=E._f.refs||[];if(Z?de.find(Ae=>Ae===j):j===E._f.ref)return;fe(r,_,{_f:{...E._f,...Z?{refs:[...de.filter(Uu),j,...Array.isArray(O(s,_))?[{}]:[]],ref:{type:j.type,name:_}}:{ref:j}}}),T(_,!1,void 0,j)}else E=O(r,_,{}),E._f&&(E._f.mount=!1),(t.shouldUnregister||C.shouldUnregister)&&!(nw(a.array,_)&&o.action)&&a.unMount.add(_)}}},yh=()=>t.shouldFocusError&&wi(r,W,a.mount),C1=_=>{Qt(_)&&(d.state.next({disabled:_}),wi(r,(C,E)=>{const F=O(r,E);F&&(C.disabled=F._f.disabled||_,Array.isArray(F._f.refs)&&F._f.refs.forEach(D=>{D.disabled=F._f.disabled||_}))},0,!1))},xh=(_,C)=>async E=>{let F;E&&(E.preventDefault&&E.preventDefault(),E.persist&&E.persist());let D=st(i);if(d.state.next({isSubmitting:!0}),t.resolver){const{errors:j,values:Z}=await P();n.errors=j,D=Z}else await V(r);if(je(n.errors,"root"),ft(n.errors)){d.state.next({errors:{}});try{await _(D,E)}catch(j){F=j}}else C&&await C({...n.errors},E),yh(),setTimeout(yh);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ft(n.errors)&&!F,submitCount:n.submitCount+1,errors:n.errors}),F)throw F},E1=(_,C={})=>{O(r,_)&&(be(C.defaultValue)?pe(_,st(O(s,_))):(pe(_,C.defaultValue),fe(s,_,st(C.defaultValue))),C.keepTouched||je(n.touchedFields,_),C.keepDirty||(je(n.dirtyFields,_),n.isDirty=C.defaultValue?L(_,st(O(s,_))):L()),C.keepError||(je(n.errors,_),c.isValid&&S()),d.state.next({...n}))},wh=(_,C={})=>{const E=_?st(_):s,F=st(E),D=ft(_),j=D?s:F;if(C.keepDefaultValues||(s=E),!C.keepValues){if(C.keepDirtyValues)for(const Z of a.mount)O(n.dirtyFields,Z)?fe(j,Z,O(i,Z)):pe(Z,O(j,Z));else{if(oh&&be(_))for(const Z of a.mount){const de=O(r,Z);if(de&&de._f){const Ae=Array.isArray(de._f.refs)?de._f.refs[0]:de._f.ref;if(Qa(Ae)){const dt=Ae.closest("form");if(dt){dt.reset();break}}}}r={}}i=e.shouldUnregister?C.keepDefaultValues?st(s):{}:st(j),d.array.next({values:{...j}}),d.values.next({values:{...j}})}a={mount:C.keepDirtyValues?a.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!c.isValid||!!C.keepIsValid||!!C.keepDirtyValues,o.watch=!!e.shouldUnregister,d.state.next({submitCount:C.keepSubmitCount?n.submitCount:0,isDirty:D?!1:C.keepDirty?n.isDirty:!!(C.keepDefaultValues&&!kr(_,s)),isSubmitted:C.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:D?{}:C.keepDirtyValues?C.keepDefaultValues&&i?$o(s,i):n.dirtyFields:C.keepDefaultValues&&_?$o(s,_):C.keepDirty?n.dirtyFields:{},touchedFields:C.keepTouched?n.touchedFields:{},errors:C.keepErrors?n.errors:{},isSubmitSuccessful:C.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Sh=(_,C)=>wh(Fn(_)?_(i):_,C);return{control:{register:Zl,unregister:jt,getFieldState:ce,handleSubmit:xh,setError:ct,_executeSchema:P,_getWatch:q,_getDirty:L,_updateValid:S,_removeUnmounted:ne,_updateFieldArray:h,_updateDisabledField:ur,_getFieldArray:B,_reset:wh,_resetDefaultValues:()=>Fn(t.defaultValues)&&t.defaultValues().then(_=>{Sh(_,t.resetOptions),d.state.next({isLoading:!1})}),_updateFormState:_=>{n={...n,..._}},_disableForm:C1,_subjects:d,_proxyFormState:c,_setErrors:k,get _fields(){return r},get _formValues(){return i},get _state(){return o},set _state(_){o=_},get _defaultValues(){return s},get _names(){return a},set _names(_){a=_},get _formState(){return n},set _formState(_){n=_},get _options(){return t},set _options(_){t={...t,..._}}},trigger:Y,register:Zl,handleSubmit:xh,watch:Ds,setValue:pe,getValues:ue,reset:Sh,resetField:E1,clearErrors:Nt,unregister:jt,setError:ct,setFocus:(_,C={})=>{const E=O(r,_),F=E&&E._f;if(F){const D=F.refs?F.refs[0]:F.ref;D.focus&&(D.focus(),C.shouldSelect&&D.select())}},getFieldState:ce}}function qA(e={}){const t=ie.useRef(),n=ie.useRef(),[r,s]=ie.useState({isDirty:!1,isValidating:!1,isLoading:Fn(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Fn(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...QA(e),formState:r});const i=t.current.control;return i._options=e,lh({subject:i._subjects.state,next:o=>{ow(o,i._proxyFormState,i._updateFormState,!0)&&s({...i._formState})}}),ie.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),ie.useEffect(()=>{if(i._proxyFormState.isDirty){const o=i._getDirty();o!==r.isDirty&&i._subjects.state.next({isDirty:o})}},[i,r.isDirty]),ie.useEffect(()=>{e.values&&!kr(e.values,n.current)?(i._reset(e.values,i._options.resetOptions),n.current=e.values,s(o=>({...o}))):i._resetDefaultValues()},[e.values,i]),ie.useEffect(()=>{e.errors&&i._setErrors(e.errors)},[e.errors,i]),ie.useEffect(()=>{i._state.mount||(i._updateValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),ie.useEffect(()=>{e.shouldUnregister&&i._subjects.values.next({values:i._getWatch()})},[e.shouldUnregister,i]),t.current.formState=iw(r,i),t.current}const kg=(e,t,n)=>{if(e&&"reportValidity"in e){const r=O(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},gw=(e,t)=>{for(const n in t.fields){const r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?kg(r.ref,n,e):r.refs&&r.refs.forEach(s=>kg(s,n,e))}},JA=(e,t)=>{t.shouldUseNativeValidation&&gw(e,t);const n={};for(const r in e){const s=O(t.fields,r),i=Object.assign(e[r]||{},{ref:s&&s.ref});if(eN(t.names||Object.keys(e),r)){const o=Object.assign({},O(n,r));fe(o,"root",i),fe(n,r,o)}else fe(n,r,i)}return n},eN=(e,t)=>e.some(n=>n.startsWith(t+"."));var tN=function(e,t){for(var n={};e.length;){var r=e[0],s=r.code,i=r.message,o=r.path.join(".");if(!n[o])if("unionErrors"in r){var a=r.unionErrors[0].errors[0];n[o]={message:a.message,type:a.code}}else n[o]={message:i,type:s};if("unionErrors"in r&&r.unionErrors.forEach(function(c){return c.errors.forEach(function(d){return e.push(d)})}),t){var l=n[o].types,u=l&&l[r.code];n[o]=uw(o,t,n,s,u?[].concat(u,r.message):r.message)}e.shift()}return n},nN=function(e,t,n){return n===void 0&&(n={}),function(r,s,i){try{return Promise.resolve(function(o,a){try{var l=Promise.resolve(e[n.mode==="sync"?"parse":"parseAsync"](r,t)).then(function(u){return i.shouldUseNativeValidation&&gw({},i),{errors:{},values:n.raw?r:u}})}catch(u){return a(u)}return l&&l.then?l.then(void 0,a):l}(0,function(o){if(function(a){return Array.isArray(a==null?void 0:a.errors)}(o))return{values:{},errors:JA(tN(o.errors,!i.shouldUseNativeValidation&&i.criteriaMode==="all"),i)};throw o}))}catch(o){return Promise.reject(o)}}},ae;(function(e){e.assertEqual=s=>s;function t(s){}e.assertIs=t;function n(s){throw new Error}e.assertNever=n,e.arrayToEnum=s=>{const i={};for(const o of s)i[o]=o;return i},e.getValidEnumValues=s=>{const i=e.objectKeys(s).filter(a=>typeof s[s[a]]!="number"),o={};for(const a of i)o[a]=s[a];return e.objectValues(o)},e.objectValues=s=>e.objectKeys(s).map(function(i){return s[i]}),e.objectKeys=typeof Object.keys=="function"?s=>Object.keys(s):s=>{const i=[];for(const o in s)Object.prototype.hasOwnProperty.call(s,o)&&i.push(o);return i},e.find=(s,i)=>{for(const o of s)if(i(o))return o},e.isInteger=typeof Number.isInteger=="function"?s=>Number.isInteger(s):s=>typeof s=="number"&&isFinite(s)&&Math.floor(s)===s;function r(s,i=" | "){return s.map(o=>typeof o=="string"?`'${o}'`:o).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(s,i)=>typeof i=="bigint"?i.toString():i})(ae||(ae={}));var wd;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(wd||(wd={}));const z=ae.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Vn=e=>{switch(typeof e){case"undefined":return z.undefined;case"string":return z.string;case"number":return isNaN(e)?z.nan:z.number;case"boolean":return z.boolean;case"function":return z.function;case"bigint":return z.bigint;case"symbol":return z.symbol;case"object":return Array.isArray(e)?z.array:e===null?z.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?z.promise:typeof Map<"u"&&e instanceof Map?z.map:typeof Set<"u"&&e instanceof Set?z.set:typeof Date<"u"&&e instanceof Date?z.date:z.object;default:return z.unknown}},N=ae.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),rN=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class yt extends Error{constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const n=t||function(i){return i.message},r={_errors:[]},s=i=>{for(const o of i.issues)if(o.code==="invalid_union")o.unionErrors.map(s);else if(o.code==="invalid_return_type")s(o.returnTypeError);else if(o.code==="invalid_arguments")s(o.argumentsError);else if(o.path.length===0)r._errors.push(n(o));else{let a=r,l=0;for(;l<o.path.length;){const u=o.path[l];l===o.path.length-1?(a[u]=a[u]||{_errors:[]},a[u]._errors.push(n(o))):a[u]=a[u]||{_errors:[]},a=a[u],l++}}};return s(this),r}static assert(t){if(!(t instanceof yt))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,ae.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const s of this.issues)s.path.length>0?(n[s.path[0]]=n[s.path[0]]||[],n[s.path[0]].push(t(s))):r.push(t(s));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}yt.create=e=>new yt(e);const Es=(e,t)=>{let n;switch(e.code){case N.invalid_type:e.received===z.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case N.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,ae.jsonStringifyReplacer)}`;break;case N.unrecognized_keys:n=`Unrecognized key(s) in object: ${ae.joinValues(e.keys,", ")}`;break;case N.invalid_union:n="Invalid input";break;case N.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${ae.joinValues(e.options)}`;break;case N.invalid_enum_value:n=`Invalid enum value. Expected ${ae.joinValues(e.options)}, received '${e.received}'`;break;case N.invalid_arguments:n="Invalid function arguments";break;case N.invalid_return_type:n="Invalid function return type";break;case N.invalid_date:n="Invalid date";break;case N.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:ae.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case N.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case N.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case N.custom:n="Invalid input";break;case N.invalid_intersection_types:n="Intersection results could not be merged";break;case N.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case N.not_finite:n="Number must be finite";break;default:n=t.defaultError,ae.assertNever(e)}return{message:n}};let vw=Es;function sN(e){vw=e}function tl(){return vw}const nl=e=>
vendor: 6,860 bytes, line 75
75{const{data:t,path:n,errorMaps:r,issueData:s}=e,i=[...n,...s.path||[]],o={...s,path:i};if(s.message!==void 0)return{...s,path:i,message:s.message};let a="";const l=r.filter(u=>!!u).slice().reverse();for(const u of l)a=u(o,{data:t,defaultError:a}).message;return{...s,path:i,message:a}},iN=[];function I(e,t){const n=tl(),r=nl({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===Es?void 0:Es].filter(s=>!!s)});e.common.issues.push(r)}class Qe{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const s of n){if(s.status==="aborted")return Q;s.status==="dirty"&&t.dirty(),r.push(s.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const s of n){const i=await s.key,o=await s.value;r.push({key:i,value:o})}return Qe.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const s of n){const{key:i,value:o}=s;if(i.status==="aborted"||o.status==="aborted")return Q;i.status==="dirty"&&t.dirty(),o.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof o.value<"u"||s.alwaysSet)&&(r[i.value]=o.value)}return{status:t.value,value:r}}}const Q=Object.freeze({status:"aborted"}),ls=e=>({status:"dirty",value:e}),tt=e=>({status:"valid",value:e}),Sd=e=>e.status==="aborted",_d=e=>e.status==="dirty",Wi=e=>e.status==="valid",Hi=e=>typeof Promise<"u"&&e instanceof Promise;function rl(e,t,n,r){if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function yw(e,t,n,r,s){if(typeof t=="function"?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,n),n}var H;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(H||(H={}));var ni,ri;class sn{constructor(t,n,r,s){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=s}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Tg=(e,t)=>{if(Wi(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new yt(e.common.issues);return this._error=n,this._error}}};function J(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:s}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:s}:{errorMap:(o,a)=>{var l,u;const{message:c}=e;return o.code==="invalid_enum_value"?{message:c??a.defaultError}:typeof a.data>"u"?{message:(l=c??r)!==null&&l!==void 0?l:a.defaultError}:o.code!=="invalid_type"?{message:a.defaultError}:{message:(u=c??n)!==null&&u!==void 0?u:a.defaultError}},description:s}}class te{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return Vn(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Vn(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Qe,ctx:{common:t.parent.common,data:t.data,parsedType:Vn(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(Hi(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const s={common:{issues:[],async:(r=n==null?void 0:n.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Vn(t)},i=this._parseSync({data:t,path:s.path,parent:s});return Tg(s,i)}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Vn(t)},s=this._parse({data:t,path:r.path,parent:r}),i=await(Hi(s)?s:Promise.resolve(s));return Tg(r,i)}refine(t,n){const r=s=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(s):n;return this._refinement((s,i)=>{const o=t(s),a=()=>i.addIssue({code:N.custom,...r(s)});return typeof Promise<"u"&&o instanceof Promise?o.then(l=>l?!0:(a(),!1)):o?!0:(a(),!1)})}refinement(t,n){return this._refinement((r,s)=>t(r)?!0:(s.addIssue(typeof n=="function"?n(r,s):n),!1))}_refinement(t){return new Ht({schema:this,typeName:X.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return rn.create(this,this._def)}nullable(){return rr.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Ut.create(this,this._def)}promise(){return Ps.create(this,this._def)}or(t){return Yi.create([this,t],this._def)}and(t){return Xi.create(this,t,this._def)}transform(t){return new Ht({...J(this._def),schema:this,typeName:X.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new to({...J(this._def),innerType:this,defaultValue:n,typeName:X.ZodDefault})}brand(){return new dh({typeName:X.ZodBranded,type:this,...J(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new no({...J(this._def),innerType:this,catchValue:n,typeName:X.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return xo.create(this,t)}
vendor: 50,379 bytes, line 75
75readonly(){return ro.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const oN=/^c[^\s-]{8,}$/i,aN=/^[0-9a-z]+$/,lN=/^[0-9A-HJKMNP-TV-Z]{26}$/,uN=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,cN=/^[a-z0-9_-]{21}$/i,dN=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,fN=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,hN="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Wu;const pN=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,mN=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,gN=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,xw="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",vN=new RegExp(`^${xw}$`);function ww(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function yN(e){return new RegExp(`^${ww(e)}$`)}function Sw(e){let t=`${xw}T${ww(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function xN(e,t){return!!((t==="v4"||!t)&&pN.test(e)||(t==="v6"||!t)&&mN.test(e))}class It extends te{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==z.string){const i=this._getOrReturnCtx(t);return I(i,{code:N.invalid_type,expected:z.string,received:i.parsedType}),Q}const r=new Qe;let s;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(s=this._getOrReturnCtx(t,s),I(s,{code:N.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")t.data.length>i.value&&(s=this._getOrReturnCtx(t,s),I(s,{code:N.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const o=t.data.length>i.value,a=t.data.length<i.value;(o||a)&&(s=this._getOrReturnCtx(t,s),o?I(s,{code:N.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):a&&I(s,{code:N.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")fN.test(t.data)||(s=this._getOrReturnCtx(t,s),I(s,{validation:"email",code:N.invalid_string,message:i.message}),r.dirty());else if(i.kind==="emoji")Wu||(Wu=new RegExp(hN,"u")),Wu.test(t.data)||(s=this._getOrReturnCtx(t,s),I(s,{validation:"emoji",code:N.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")uN.test(t.data)||(s=this._getOrReturnCtx(t,s),I(s,{validation:"uuid",code:N.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")cN.test(t.data)||(s=this._getOrReturnCtx(t,s),I(s,{validation:"nanoid",code:N.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")oN.test(t.data)||(s=this._getOrReturnCtx(t,s),I(s,{validation:"cuid",code:N.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")aN.test(t.data)||(s=this._getOrReturnCtx(t,s),I(s,{validation:"cuid2",code:N.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")lN.test(t.data)||(s=this._getOrReturnCtx(t,s),I(s,{validation:"ulid",code:N.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{s=this._getOrReturnCtx(t,s),I(s,{validation:"url",code:N.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(s=this._getOrReturnCtx(t,s),I(s,{validation:"regex",code:N.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(s=this._getOrReturnCtx(t,s),I(s,{code:N.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(s=this._getOrReturnCtx(t,s),I(s,{code:N.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(s=this._getOrReturnCtx(t,s),I(s,{code:N.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?Sw(i).test(t.data)||(s=this._getOrReturnCtx(t,s),I(s,{code:N.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?vN.test(t.data)||(s=this._getOrReturnCtx(t,s),I(s,{code:N.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?yN(i).test(t.data)||(s=this._getOrReturnCtx(t,s),I(s,{code:N.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?dN.test(t.data)||(s=this._getOrReturnCtx(t,s),I(s,{validation:"duration",code:N.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?xN(t.data,i.version)||(s=this._getOrReturnCtx(t,s),I(s,{validation:"ip",code:N.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?gN.test(t.data)||(s=this._getOrReturnCtx(t,s),I(s,{validation:"base64",code:N.invalid_string,message:i.message}),r.dirty()):ae.assertNever(i);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(s=>t.test(s),{validation:n,code:N.invalid_string,...H.errToObj(r)})}_addCheck(t){return new It({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...H.errToObj(t)})}url(t){return this._addCheck({kind:"url",...H.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...H.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...H.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...H.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...H.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...H.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...H.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...H.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...H.errToObj(t)})}datetime(t){var n,r;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(n=t==null?void 0:t.offset)!==null&&n!==void 0?n:!1,local:(r=t==null?void 0:t.local)!==null&&r!==void 0?r:!1,...H.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...H.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...H.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...H.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...H.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...H.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...H.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...H.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...H.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...H.errToObj(n)})}nonempty(t){return this.min(1,H.errToObj(t))}trim(){return new It({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new It({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new It({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}It.create=e=>{var t;return new It({checks:[],typeName:X.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...J(e)})};function wN(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,s=n>r?n:r,i=parseInt(e.toFixed(s).replace(".","")),o=parseInt(t.toFixed(s).replace(".",""));return i%o/Math.pow(10,s)}class er extends te{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==z.number){const i=this._getOrReturnCtx(t);return I(i,{code:N.invalid_type,expected:z.number,received:i.parsedType}),Q}let r;const s=new Qe;for(const i of this._def.checks)i.kind==="int"?ae.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),I(r,{code:N.invalid_type,expected:"integer",received:"float",message:i.message}),s.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),I(r,{code:N.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),I(r,{code:N.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="multipleOf"?wN(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),I(r,{code:N.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),I(r,{code:N.not_finite,message:i.message}),s.dirty()):ae.assertNever(i);return{status:s.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,H.toString(n))}gt(t,n){return this.setLimit("min",t,!1,H.toString(n))}lte(t,n){return this.setLimit("max",t,!0,H.toString(n))}lt(t,n){return this.setLimit("max",t,!1,H.toString(n))}setLimit(t,n,r,s){return new er({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:H.toString(s)}]})}_addCheck(t){return new er({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:H.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:H.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:H.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:H.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:H.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:H.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:H.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:H.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:H.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&ae.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}er.create=e=>new er({checks:[],typeName:X.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...J(e)});class tr extends te{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==z.bigint){const i=this._getOrReturnCtx(t);return I(i,{code:N.invalid_type,expected:z.bigint,received:i.parsedType}),Q}let r;const s=new Qe;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),I(r,{code:N.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),I(r,{code:N.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),I(r,{code:N.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):ae.assertNever(i);return{status:s.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,H.toString(n))}gt(t,n){return this.setLimit("min",t,!1,H.toString(n))}lte(t,n){return this.setLimit("max",t,!0,H.toString(n))}lt(t,n){return this.setLimit("max",t,!1,H.toString(n))}setLimit(t,n,r,s){return new tr({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:H.toString(s)}]})}_addCheck(t){return new tr({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:H.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:H.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:H.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:H.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:H.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}tr.create=e=>{var t;return new tr({checks:[],typeName:X.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...J(e)})};class Zi extends te{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==z.boolean){const r=this._getOrReturnCtx(t);return I(r,{code:N.invalid_type,expected:z.boolean,received:r.parsedType}),Q}return tt(t.data)}}Zi.create=e=>new Zi({typeName:X.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...J(e)});class Mr extends te{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==z.date){const i=this._getOrReturnCtx(t);return I(i,{code:N.invalid_type,expected:z.date,received:i.parsedType}),Q}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return I(i,{code:N.invalid_date}),Q}const r=new Qe;let s;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(s=this._getOrReturnCtx(t,s),I(s,{code:N.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(s=this._getOrReturnCtx(t,s),I(s,{code:N.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):ae.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Mr({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:H.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:H.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}Mr.create=e=>new Mr({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:X.ZodDate,...J(e)});class sl extends te{_parse(t){if(this._getType(t)!==z.symbol){const r=this._getOrReturnCtx(t);return I(r,{code:N.invalid_type,expected:z.symbol,received:r.parsedType}),Q}return tt(t.data)}}sl.create=e=>new sl({typeName:X.ZodSymbol,...J(e)});class Ki extends te{_parse(t){if(this._getType(t)!==z.undefined){const r=this._getOrReturnCtx(t);return I(r,{code:N.invalid_type,expected:z.undefined,received:r.parsedType}),Q}return tt(t.data)}}Ki.create=e=>new Ki({typeName:X.ZodUndefined,...J(e)});class Gi extends te{_parse(t){if(this._getType(t)!==z.null){const r=this._getOrReturnCtx(t);return I(r,{code:N.invalid_type,expected:z.null,received:r.parsedType}),Q}return tt(t.data)}}Gi.create=e=>new Gi({typeName:X.ZodNull,...J(e)});class bs extends te{constructor(){super(...arguments),this._any=!0}_parse(t){return tt(t.data)}}bs.create=e=>new bs({typeName:X.ZodAny,...J(e)});class br extends te{constructor(){super(...arguments),this._unknown=!0}_parse(t){return tt(t.data)}}br.create=e=>new br({typeName:X.ZodUnknown,...J(e)});class kn extends te{_parse(t){const n=this._getOrReturnCtx(t);return I(n,{code:N.invalid_type,expected:z.never,received:n.parsedType}),Q}}kn.create=e=>new kn({typeName:X.ZodNever,...J(e)});class il extends te{_parse(t){if(this._getType(t)!==z.undefined){const r=this._getOrReturnCtx(t);return I(r,{code:N.invalid_type,expected:z.void,received:r.parsedType}),Q}return tt(t.data)}}il.create=e=>new il({typeName:X.ZodVoid,...J(e)});class Ut extends te{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),s=this._def;if(n.parsedType!==z.array)return I(n,{code:N.invalid_type,expected:z.array,received:n.parsedType}),Q;if(s.exactLength!==null){const o=n.data.length>s.exactLength.value,a=n.data.length<s.exactLength.value;(o||a)&&(I(n,{code:o?N.too_big:N.too_small,minimum:a?s.exactLength.value:void 0,maximum:o?s.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:s.exactLength.message}),r.dirty())}if(s.minLength!==null&&n.data.length<s.minLength.value&&(I(n,{code:N.too_small,minimum:s.minLength.value,type:"array",inclusive:!0,exact:!1,message:s.minLength.message}),r.dirty()),s.maxLength!==null&&n.data.length>s.maxLength.value&&(I(n,{code:N.too_big,maximum:s.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((o,a)=>s.type._parseAsync(new sn(n,o,n.path,a)))).then(o=>Qe.mergeArray(r,o));const i=[...n.data].map((o,a)=>s.type._parseSync(new sn(n,o,n.path,a)));return Qe.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new Ut({...this._def,minLength:{value:t,message:H.toString(n)}})}max(t,n){return new Ut({...this._def,maxLength:{value:t,message:H.toString(n)}})}length(t,n){return new Ut({...this._def,exactLength:{value:t,message:H.toString(n)}})}nonempty(t){return this.min(1,t)}}Ut.create=(e,t)=>new Ut({type:e,minLength:null,maxLength:null,exactLength:null,typeName:X.ZodArray,...J(t)});function Wr(e){if(e instanceof Se){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=rn.create(Wr(r))}return new Se({...e._def,shape:()=>t})}else return e instanceof Ut?new Ut({...e._def,type:Wr(e.element)}):e instanceof rn?rn.create(Wr(e.unwrap())):e instanceof rr?rr.create(Wr(e.unwrap())):e instanceof on?on.create(e.items.map(t=>Wr(t))):e}class Se extends te{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=ae.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==z.object){const u=this._getOrReturnCtx(t);return I(u,{code:N.invalid_type,expected:z.object,received:u.parsedType}),Q}const{status:r,ctx:s}=this._processInputParams(t),{shape:i,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof kn&&this._def.unknownKeys==="strip"))for(const u in s.data)o.includes(u)||a.push(u);const l=[];for(const u of o){const c=i[u],d=s.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new sn(s,d,s.path,u)),alwaysSet:u in s.data})}if(this._def.catchall instanceof kn){const u=this._def.unknownKeys;if(u==="passthrough")for(const c of a)l.push({key:{status:"valid",value:c},value:{status:"valid",value:s.data[c]}});else if(u==="strict")a.length>0&&(I(s,{code:N.unrecognized_keys,keys:a}),r.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const u=this._def.catchall;for(const c of a){const d=s.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new sn(s,d,s.path,c)),alwaysSet:c in s.data})}}return s.common.async?Promise.resolve().then(async()=>{const u=[];for(const c of l){const d=await c.key,f=await c.value;u.push({key:d,value:f,alwaysSet:c.alwaysSet})}return u}).then(u=>Qe.mergeObjectSync(r,u)):Qe.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(t){return H.errToObj,new Se({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var s,i,o,a;const l=(o=(i=(s=this._def).errorMap)===null||i===void 0?void 0:i.call(s,n,r).message)!==null&&o!==void 0?o:r.defaultError;return n.code==="unrecognized_keys"?{message:(a=H.errToObj(t).message)!==null&&a!==void 0?a:l}:{message:l}}}:{}})}strip(){return new Se({...this._def,unknownKeys:"strip"})}passthrough(){return new Se({...this._def,unknownKeys:"passthrough"})}extend(t){return new Se({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Se({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:X.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Se({...this._def,catchall:t})}pick(t){const n={};return ae.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new Se({...this._def,shape:()=>n})}omit(t){const n={};return ae.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new Se({...this._def,shape:()=>n})}deepPartial(){return Wr(this)}partial(t){const n={};return ae.objectKeys(this.shape).forEach(r=>{const s=this.shape[r];t&&!t[r]?n[r]=s:n[r]=s.optional()}),new Se({...this._def,shape:()=>n})}required(t){const n={};return ae.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof rn;)i=i._def.innerType;n[r]=i}}),new Se({...this._def,shape:()=>n})}keyof(){return _w(ae.objectKeys(this.shape))}}Se.create=(e,t)=>new Se({shape:()=>e,unknownKeys:"strip",catchall:kn.create(),typeName:X.ZodObject,...J(t)});Se.strictCreate=(e,t)=>new Se({shape:()=>e,unknownKeys:"strict",catchall:kn.create(),typeName:X.ZodObject,...J(t)});Se.lazycreate=(e,t)=>new Se({shape:e,unknownKeys:"strip",catchall:kn.create(),typeName:X.ZodObject,...J(t)});class Yi extends te{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function s(i){for(const a of i)if(a.result.status==="valid")return a.result;for(const a of i)if(a.result.status==="dirty")return n.common.issues.push(...a.ctx.common.issues),a.result;const o=i.map(a=>new yt(a.ctx.common.issues));return I(n,{code:N.invalid_union,unionErrors:o}),Q}if(n.common.async)return Promise.all(r.map(async i=>{const o={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:o}),ctx:o}})).then(s);{let i;const o=[];for(const l of r){const u={...n,common:{...n.common,issues:[]},parent:null},c=l._parseSync({data:n.data,path:n.path,parent:u});if(c.status==="valid")return c;c.status==="dirty"&&!i&&(i={result:c,ctx:u}),u.common.issues.length&&o.push(u.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const a=o.map(l=>new yt(l));return I(n,{code:N.invalid_union,unionErrors:a}),Q}}get options(){return this._def.options}}Yi.create=(e,t)=>new Yi({options:e,typeName:X.ZodUnion,...J(t)});const un=e=>e instanceof qi?un(e.schema):e instanceof Ht?un(e.innerType()):e instanceof Ji?[e.value]:e instanceof nr?e.options:e instanceof eo?ae.objectValues(e.enum):e instanceof to?un(e._def.innerType):e instanceof Ki?[void 0]:e instanceof Gi?[null]:e instanceof rn?[void 0,...un(e.unwrap())]:e instanceof rr?[null,...un(e.unwrap())]:e instanceof dh||e instanceof ro?un(e.unwrap()):e instanceof no?un(e._def.innerType):[];class Ul extends te{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==z.object)return I(n,{code:N.invalid_type,expected:z.object,received:n.parsedType}),Q;const r=this.discriminator,s=n.data[r],i=this.optionsMap.get(s);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(I(n,{code:N.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),Q)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){const s=new Map;for(const i of n){const o=un(i.shape[t]);if(!o.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const a of o){if(s.has(a))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(a)}`);s.set(a,i)}}return new Ul({typeName:X.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:s,...J(r)})}}function kd(e,t){const n=Vn(e),r=Vn(t);if(e===t)return{valid:!0,data:e};if(n===z.object&&r===z.object){const s=ae.objectKeys(t),i=ae.objectKeys(e).filter(a=>s.indexOf(a)!==-1),o={...e,...t};for(const a of i){const l=kd(e[a],t[a]);if(!l.valid)return{valid:!1};o[a]=l.data}return{valid:!0,data:o}}else if(n===z.array&&r===z.array){if(e.length!==t.length)return{valid:!1};const s=[];for(let i=0;i<e.length;i++){const o=e[i],a=t[i],l=kd(o,a);if(!l.valid)return{valid:!1};s.push(l.data)}return{valid:!0,data:s}}else return n===z.date&&r===z.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class Xi extends te{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),s=(i,o)=>{if(Sd(i)||Sd(o))return Q;const a=kd(i.value,o.value);return a.valid?((_d(i)||_d(o))&&n.dirty(),{status:n.value,value:a.data}):(I(r,{code:N.invalid_intersection_types}),Q)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,o])=>s(i,o)):s(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}Xi.create=(e,t,n)=>new Xi({left:e,right:t,typeName:X.ZodIntersection,...J(n)});class on extends te{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==z.array)return I(r,{code:N.invalid_type,expected:z.array,received:r.parsedType}),Q;if(r.data.length<this._def.items.length)return I(r,{code:N.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Q;!this._def.rest&&r.data.length>this._def.items.length&&(I(r,{code:N.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((o,a)=>{const l=this._def.items[a]||this._def.rest;return l?l._parse(new sn(r,o,r.path,a)):null}).filter(o=>!!o);return r.common.async?Promise.all(i).then(o=>Qe.mergeArray(n,o)):Qe.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new on({...this._def,rest:t})}}on.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new on({items:e,typeName:X.ZodTuple,rest:null,...J(t)})};class Qi extends te{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==z.object)return I(r,{code:N.invalid_type,expected:z.object,received:r.parsedType}),Q;const s=[],i=this._def.keyType,o=this._def.valueType;for(const a in r.data)s.push({key:i._parse(new sn(r,a,r.path,a)),value:o._parse(new sn(r,r.data[a],r.path,a)),alwaysSet:a in r.data});return r.common.async?Qe.mergeObjectAsync(n,s):Qe.mergeObjectSync(n,s)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof te?new Qi({keyType:t,valueType:n,typeName:X.ZodRecord,...J(r)}):new Qi({keyType:It.create(),valueType:t,typeName:X.ZodRecord,...J(n)})}}class ol extends te{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==z.map)return I(r,{code:N.invalid_type,expected:z.map,received:r.parsedType}),Q;const s=this._def.keyType,i=this._def.valueType,o=[...r.data.entries()].map(([a,l],u)=>({key:s._parse(new sn(r,a,r.path,[u,"key"])),value:i._parse(new sn(r,l,r.path,[u,"value"]))}));if(r.common.async){const a=new Map;return Promise.resolve().then(async()=>{for(const l of o){const u=await l.key,c=await l.value;if(u.status==="aborted"||c.status==="aborted")return Q;(u.status==="dirty"||c.status==="dirty")&&n.dirty(),a.set(u.value,c.value)}return{status:n.value,value:a}})}else{const a=new Map;for(const l of o){const u=l.key,c=l.value;if(u.status==="aborted"||c.status==="aborted")return Q;(u.status==="dirty"||c.status==="dirty")&&n.dirty(),a.set(u.value,c.value)}return{status:n.value,value:a}}}}ol.create=(e,t,n)=>new ol({valueType:t,keyType:e,typeName:X.ZodMap,...J(n)});class Lr extends te{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==z.set)return I(r,{code:N.invalid_type,expected:z.set,received:r.parsedType}),Q;const s=this._def;s.minSize!==null&&r.data.size<s.minSize.value&&(I(r,{code:N.too_small,minimum:s.minSize.value,type:"set",inclusive:!0,exact:!1,message:s.minSize.message}),n.dirty()),s.maxSize!==null&&r.data.size>s.maxSize.value&&(I(r,{code:N.too_big,maximum:s.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s.maxSize.message}),n.dirty());const i=this._def.valueType;function o(l){const u=new Set;for(const c of l){if(c.status==="aborted")return Q;c.status==="dirty"&&n.dirty(),u.add(c.value)}return{status:n.value,value:u}}const a=[...r.data.values()].map((l,u)=>i._parse(new sn(r,l,r.path,u)));return r.common.async?Promise.all(a).then(l=>o(l)):o(a)}min(t,n){return new Lr({...this._def,minSize:{value:t,message:H.toString(n)}})}max(t,n){return new Lr({...this._def,maxSize:{value:t,message:H.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Lr.create=(e,t)=>new Lr({valueType:e,minSize:null,maxSize:null,typeName:X.ZodSet,...J(t)});class ms extends te{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==z.function)return I(n,{code:N.invalid_type,expected:z.function,received:n.parsedType}),Q;function r(a,l){return nl({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,tl(),Es].filter(u=>!!u),issueData:{code:N.invalid_arguments,argumentsError:l}})}function s(a,l){return nl({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,tl(),Es].filter(u=>!!u),issueData:{code:N.invalid_return_type,returnTypeError:l}})}const i={errorMap:n.common.contextualErrorMap},o=n.data;if(this._def.returns instanceof Ps){const a=this;return tt(async function(...l){const u=new yt([]),c=await a._def.args.parseAsync(l,i).catch(g=>{throw u.addIssue(r(l,g)),u}),d=await Reflect.apply(o,this,c);return await a._def.returns._def.type.parseAsync(d,i).catch(g=>{throw u.addIssue(s(d,g)),u})})}else{const a=this;return tt(function(...l){const u=a._def.args.safeParse(l,i);if(!u.success)throw new yt([r(l,u.error)]);const c=Reflect.apply(o,this,u.data),d=a._def.returns.safeParse(c,i);if(!d.success)throw new yt([s(c,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new ms({...this._def,args:on.create(t).rest(br.create())})}returns(t){return new ms({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new ms({args:t||on.create([]).rest(br.create()),returns:n||br.create(),typeName:X.ZodFunction,...J(r)})}}class qi extends te{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}qi.create=(e,t)=>new qi({getter:e,typeName:X.ZodLazy,...J(t)});class Ji extends te{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return I(n,{received:n.data,code:N.invalid_literal,expected:this._def.value}),Q}return{status:"valid",value:t.data}}get value(){return this._def.value}}Ji.create=(e,t)=>new Ji({value:e,typeName:X.ZodLiteral,...J(t)});function _w(e,t){return new nr({values:e,typeName:X.ZodEnum,...J(t)})}class nr extends te{constructor(){super(...arguments),ni.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return I(n,{expected:ae.joinValues(r),received:n.parsedType,code:N.invalid_type}),Q}if(rl(this,ni)||yw(this,ni,new Set(this._def.values)),!rl(this,ni).has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return I(n,{received:n.data,code:N.invalid_enum_value,options:r}),Q}return tt(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return nr.create(t,{...this._def,...n})}exclude(t,n=this._def){return nr.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}ni=new WeakMap;nr.create=_w;class eo extends te{constructor(){super(...arguments),ri.set(this,void 0)}_parse(t){const n=ae.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==z.string&&r.parsedType!==z.number){const s=ae.objectValues(n);return I(r,{expected:ae.joinValues(s),received:r.parsedType,code:N.invalid_type}),Q}if(rl(this,ri)||yw(this,ri,new Set(ae.getValidEnumValues(this._def.values))),!rl(this,ri).has(t.data)){const s=ae.objectValues(n);return I(r,{received:r.data,code:N.invalid_enum_value,options:s}),Q}return tt(t.data)}get enum(){return this._def.values}}ri=new WeakMap;eo.create=(e,t)=>new eo({values:e,typeName:X.ZodNativeEnum,...J(t)});class Ps extends te{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==z.promise&&n.common.async===!1)return I(n,{code:N.invalid_type,expected:z.promise,received:n.parsedType}),Q;const r=n.parsedType===z.promise?n.data:Promise.resolve(n.data);return tt(r.then(s=>this._def.type.parseAsync(s,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Ps.create=(e,t)=>new Ps({type:e,typeName:X.ZodPromise,...J(t)});class Ht extends te{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===X.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),s=this._def.effect||null,i={addIssue:o=>{I(r,o),o.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),s.type==="preprocess"){const o=s.transform(r.data,i);if(r.common.async)return Promise.resolve(o).then(async a=>{if(n.value==="aborted")return Q;const l=await this._def.schema._parseAsync({data:a,path:r.path,parent:r});return l.status==="aborted"?Q:l.status==="dirty"||n.value==="dirty"?ls(l.value):l});{if(n.value==="aborted")return Q;const a=this._def.schema._parseSync({data:o,path:r.path,parent:r});return a.status==="aborted"?Q:a.status==="dirty"||n.value==="dirty"?ls(a.value):a}}if(s.type==="refinement"){const o=a=>{const l=s.refinement(a,i);if(r.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(r.common.async===!1){const a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?Q:(a.status==="dirty"&&n.dirty(),o(a.value),{status:n.value,value:a.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>a.status==="aborted"?Q:(a.status==="dirty"&&n.dirty(),o(a.value).then(()=>({status:n.value,value:a.value}))))}if(s.type==="transform")if(r.common.async===!1){const o=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!Wi(o))return o;const a=s.transform(o.value,i);if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:a}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(o=>Wi(o)?Promise.resolve(s.transform(o.value,i)).then(a=>({status:n.value,value:a})):o);ae.assertNever(s)}}Ht.create=(e,t,n)=>new Ht({schema:e,typeName:X.ZodEffects,effect:t,...J(n)});Ht.createWithPreprocess=(e,t,n)=>new Ht({schema:t,effect:{type:"preprocess",transform:e},typeName:X.ZodEffects,...J(n)});class rn extends te{_parse(t){return this._getType(t)===z.undefined?tt(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}rn.create=(e,t)=>new rn({innerType:e,typeName:X.ZodOptional,...J(t)});class rr extends te{_parse(t){return this._getType(t)===z.null?tt(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}rr.create=(e,t)=>new rr({innerType:e,typeName:X.ZodNullable,...J(t)});class to extends te{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===z.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}to.create=(e,t)=>new to({innerType:e,typeName:X.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...J(t)});class no extends te{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},s=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return Hi(s)?s.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new yt(r.common.issues)},input:r.data})})):{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new yt(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}no.create=(e,t)=>new no({innerType:e,typeName:X.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...J(t)});class al extends te{_parse(t){if(this._getType(t)!==z.nan){const r=this._getOrReturnCtx(t);return I(r,{code:N.invalid_type,expected:z.nan,received:r.parsedType}),Q}return{status:"valid",value:t.data}}}al.create=e=>new al({typeName:X.ZodNaN,...J(e)});const SN=Symbol("zod_brand");class dh extends te{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class xo extends te{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?Q:i.status==="dirty"?(n.dirty(),ls(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const s=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?Q:s.status==="dirty"?(n.dirty(),{status:"dirty",value:s.value}):this._def.out._parseSync({data:s.value,path:r.path,parent:r})}}static create(t,n){return new xo({in:t,out:n,typeName:X.ZodPipeline})}}class ro extends te{_parse(t){const n=this._def.innerType._parse(t),r=s=>(Wi(s)&&(s.value=Object.freeze(s.value)),s);return Hi(n)?n.then(s=>r(s)):r(n)}unwrap(){return this._def.innerType}}ro.create=(e,t)=>new ro({innerType:e,typeName:X.ZodReadonly,...J(t)});function kw(e,t={},n){return e?bs.create().superRefine((r,s)=>{var i,o;if(!e(r)){const a=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,l=(o=(i=a.fatal)!==null&&i!==void 0?i:n)!==null&&o!==void 0?o:!0,u=typeof a=="string"?{message:a}:a;s.addIssue({code:"custom",...u,fatal:l})}}):bs.create()}const _N={object:Se.lazycreate};var X;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(X||(X={}));const kN=(e,t={message:`Input not instance of ${e.name}`})=>kw(n=>n instanceof e,t),Tw=It.create,Cw=er.create,TN=al.create,CN=tr.create,Ew=Zi.create,EN=Mr.create,bN=sl.create,PN=Ki.create,RN=Gi.create,AN=bs.create,NN=br.create,jN=kn.create,MN=il.create,LN=Ut.create,ON=Se.create,VN=Se.strictCreate,DN=Yi.create,IN=Ul.create,FN=Xi.create,zN=on.create,BN=Qi.create,UN=ol.create,$N=Lr.create,WN=ms.create,HN=qi.create,ZN=Ji.create,KN=nr.create,GN=eo.create,YN=Ps.create,Cg=Ht.create,XN=rn.create,QN=rr.create,qN=Ht.createWithPreprocess,JN=xo.create,ej=()=>Tw().optional(),tj=()=>Cw().optional(),nj=()=>Ew().optional(),rj={string:e=>It.create({...e,coerce:!0}),number:e=>er.create({...e,coerce:!0}),boolean:e=>Zi.create({...e,coerce:!0}),bigint:e=>tr.create({...e,coerce:!0}),date:e=>Mr.create({...e,coerce:!0})},sj=Q;var Wo=Object.freeze({__proto__:null,defaultErrorMap:Es,setErrorMap:sN,getErrorMap:tl,makeIssue:nl,EMPTY_PATH:iN,addIssueToContext:I,ParseStatus:Qe,INVALID:Q,DIRTY:ls,OK:tt,isAborted:Sd,isDirty:_d,isValid:Wi,isAsync:Hi,get util(){return ae},get objectUtil(){return wd},ZodParsedType:z,getParsedType:Vn,ZodType:te,datetimeRegex:Sw,ZodString:It,ZodNumber:er,ZodBigInt:tr,ZodBoolean:Zi,ZodDate:Mr,ZodSymbol:sl,ZodUndefined:Ki,ZodNull:Gi,ZodAny:bs,ZodUnknown:br,ZodNever:kn,ZodVoid:il,ZodArray:Ut,ZodObject:Se,ZodUnion:Yi,ZodDiscriminatedUnion:Ul,ZodIntersection:Xi,ZodTuple:on,ZodRecord:Qi,ZodMap:ol,ZodSet:Lr,ZodFunction:ms,ZodLazy:qi,ZodLiteral:Ji,ZodEnum:nr,ZodNativeEnum:eo,ZodPromise:Ps,ZodEffects:Ht,ZodTransformer:Ht,ZodOptional:rn,ZodNullable:rr,ZodDefault:to,ZodCatch:no,ZodNaN:al,BRAND:SN,ZodBranded:dh,ZodPipeline:xo,ZodReadonly:ro,custom:kw,Schema:te,ZodSchema:te,late:_N,get ZodFirstPartyTypeKind(){return X},coerce:rj,any:AN,array:LN,bigint:CN,boolean:Ew,date:EN,discriminatedUnion:IN,effect:Cg,enum:KN,function:WN,instanceof:kN,intersection:FN,lazy:HN,literal:ZN,map:UN,nan:TN,nativeEnum:GN,never:jN,null:RN,nullable:QN,number:Cw,object:ON,oboolean:nj,onumber:tj,optional:XN,ostring:ej,pipeline:JN,preprocess:qN,promise:YN,record:BN,set:$N,strictObject:VN,string:Tw,symbol:bN,transformer:Cg,tuple:zN,undefined:PN,union:DN,unknown:NN,void:MN,NEVER:sj,ZodIssueCode:N,quotelessJson:rN,ZodError:yt});function ij(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function bw(...e){return t=>e.forEach(n=>ij(n,t))}function Or(...e){return y.useCallback(bw(...e),e)}var Rs=y.forwardRef((e,t)=>{const{children:n,...r}=e,s=y.Children.toArray(n),i=s.find(aj);if(i){const o=i.props.children,a=s.map(l=>l===i?y.Children.count(o)>1?y.Children.only(null):y.isValidElement(o)?o.props.children:null:l);return w.jsx(Td,{...r,ref:t,children:y.isValidElement(o)?y.cloneElement(o,void 0,a):null})}return w.jsx(Td,{...r,ref:t,children:n})});Rs.displayName="Slot";var Td=y.forwardRef((e,t)=>{const{children:n,...r}=e;if(y.isValidElement(n)){const s=uj(n);return y.cloneElement(n,{...lj(r,n.props),ref:t?bw(t,s):s})}return y.Children.count(n)>1?y.Children.only(null):null});Td.displayName="SlotClone";var oj=({children:e})=>w.jsx(w.Fragment,{children:e});function aj(e){return y.isValidElement(e)&&e.type===oj}function lj(e,t){const n={...t};for(const r in t){const s=e[r],i=t[r];/^on[A-Z]/.test(r)?s&&i?n[r]=(...a)=>{i(...a),s(...a)}:s&&(n[r]=s):r==="style"?n[r]={...s,...i}:r==="className"&&(n[r]=[s,i].filter(Boolean).join(" "))}return{...e,...n}}function uj(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Pw(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Pw(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function cj(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Pw(e))&&(r&&(r+=" "),r+=t);return r}const Eg=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,bg=cj,fh=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return bg(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:i}=t,o=Object.keys(s).map(u=>{const c=n==null?void 0:n[u],d=i==null?void 0:i[u];if(c===null)return null;const f=Eg(c)||Eg(d);return s[u][f]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:f,...g}=c;return Object.entries(g).every(x=>{let[v,S]=x;return Array.isArray(S)?S.includes({...i,...a}[v]):{...i,...a}[v]===S})?[...u,d,f]:u},[]);return bg(e,o,l,n==null?void 0:n.class,n==null?void 0:n.className)},dj=fh("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Rw=y.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},i)=>{const o=r?Rs:"button";return w.jsx(o,{className:he(dj({variant:t,size:n,className:e})),ref:i,...s})});Rw.displayName="Button";var fj=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Zt=fj.reduce((e,t)=>{const n=y.forwardRef((r,s)=>{const{asChild:i,...o}=r,a=i?Rs:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(a,{...o,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Aw(e,t){e&&uo.flushSync(()=>e.dispatchEvent(t))}var hj="Label",Nw=y.forwardRef((e,t)=>w.jsx(Zt.label,{...e,ref:t,onMouseDown:n=>{var s;n.target.closest("button, input, select, textarea")||((s=e.onMouseDown)==null||s.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Nw.displayName=hj;var jw=Nw;const pj=fh("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Mw=y.forwardRef(({className:e,...t},n)=>w.jsx(jw,{ref:n,className:he(pj(),e),...t}));Mw.displayName=jw.displayName;const Lw=y.createContext({}),Hu=({...e})=>w.jsx(Lw.Provider,{value:{name:e.name},children:w.jsx(BA,{...e})}),$l=()=>{const e=y.useContext(Lw),t=y.useContext(Ow),{getFieldState:n,formState:r}=Bl(),s=n(e.name,r);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:i}=t;return{id:i,name:e.name,formItemId:`${i}-form-item`,formDescriptionId:`${i}-form-item-description`,formMessageId:`${i}-form-item-message`,...s}},Ow=y.createContext({}),fa=y.forwardRef(({className:e,...t},n)=>{const r=y.useId();return w.jsx(Ow.Provider,{value:{id:r},children:w.jsx("div",{ref:n,className:he("space-y-2",e),...t})})});fa.displayName="FormItem";const mj=y.forwardRef(({className:e,...t},n)=>{const{error:r,formItemId:s}=$l();return w.jsx(Mw,{ref:n,className:he(r&&"text-destructive",e),htmlFor:s,...t})});mj.displayName="FormLabel";const ha=y.forwardRef(({...e},t)=>{const{error:n,formItemId:r,formDescriptionId:s,formMessageId:i}=$l();return w.jsx(Rs,{ref:t,id:r,"aria-describedby":n?`${s} ${i}`:`${s}`,"aria-invalid":!!n,...e})});ha.displayName="FormControl";const gj=y.forwardRef(({className:e,...t},n)=>{const{formDescriptionId:r}=$l();return w.jsx("p",{ref:n,id:r,className:he("text-sm text-muted-foreground",e),...t})});gj.displayName="FormDescription";const Cd=y.forwardRef(({className:e,children:t,...n},r)=>{const{error:s,formMessageId:i}=$l(),o=s?String(s==null?void 0:s.message):t;return o?w.jsx("p",{ref:r,id:i,className:he("text-sm font-medium text-destructive",e),...n,children:o}):null});Cd.displayName="FormMessage";const Vw=y.forwardRef(({className:e,...t},n)=>w.jsx("textarea",{className:he("flex  w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
75ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));Vw.displayName="Textarea";const Ed=y.forwardRef(({className:e,type:t,...n},r)=>w.jsx("input",{type:t,className:he("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...n}));Ed.displayName="Input";class wo{constructor(t=0,n="Network Error"){this.status=t,this.text=n}}const vj=()=>{if(!(typeof localStorage>"u"))return{get:e=>Promise.resolve(localStorage.getItem(e)),set:(e,t)=>Promise.resolve(localStorage.setItem(e,t)),remove:e=>Promise.resolve(localStorage.removeItem(e))}},Ue={origin:"https://api.emailjs.com",blockHeadless:!1,storageProvider:vj()},hh=e=>e?typeof e=="string"?{publicKey:e}:e.toString()==="[object Object]"?e:{}:{},yj=(e,t="https://api.emailjs.com")=>{if(!e)return;const n=hh(e);Ue.publicKey=n.publicKey,Ue.blockHeadless=n.blockHeadless,Ue.storageProvider=n.storageProvider,Ue.blockList=n.blockList,Ue.limitRate=n.limitRate,Ue.origin=n.origin||t},Dw=async(e,t,n={})=>{const r=await fetch(Ue.origin+e,{method:"POST",headers:n,body:t}),s=await r.text(),i=new wo(r.status,s);if(r.ok)return i;throw i},Iw=(e,t,n)=>{if(!e||typeof e!="string")throw"The public key is required. Visit https://dashboard.emailjs.com/admin/account";if(!t||typeof t!="string")throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!n||typeof n!="string")throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates"},xj=e=>{if(e&&e.toString()!=="[object Object]")throw"The template params have to be the object. Visit https://www.emailjs.com/docs/sdk/send/"},Fw=e=>e.webdriver||!e.languages||e.languages.length===0,zw=()=>new wo(451,"Unavailable For Headless Browser"),wj=(e,t)=>{if(!Array.isArray(e))throw"The BlockList list has to be an array";if(typeof t!="string")throw"The BlockList watchVariable has to be a string"},Sj=e=>{var t;return!((t=e.list)!=null&&t.length)||!e.watchVariable},_j=(e,t)=>e instanceof FormData?e.get(t):e[t],Bw=(e,t)=>{if(Sj(e))return!1;wj(e.list,e.watchVariable);const n=_j(t,e.watchVariable);return typeof n!="string"?!1:e.list.includes(n)},Uw=()=>new wo(403,"Forbidden"),kj=(e,t)=>{if(typeof e!="number"||e<0)throw"The LimitRate throttle has to be a positive number";if(t&&typeof t!="string")throw"The LimitRate ID has to be a non-empty string"},Tj=async(e,t,n)=>{const r=Number(await n.get(e)||0);return t-Date.now()+r},$w=async(e,t,n)=>{if(!t.throttle||!n)return!1;kj(t.throttle,t.id);const r=t.id||e;return await Tj(r,t.throttle,n)>0?!0:(await n.set(r,Date.now().toString()),!1)},Ww=()=>new wo(429,"Too Many Requests"),Cj=async(e,t,n,r)=>{const s=hh(r),i=s.publicKey||Ue.publicKey,o=s.blockHeadless||Ue.blockHeadless,a=s.storageProvider||Ue.storageProvider,l={...Ue.blockList,...s.blockList},u={...Ue.limitRate,...s.limitRate};return o&&Fw(navigator)?Promise.reject(zw()):(Iw(i,e,t),xj(n),n&&Bw(l,n)?Promise.reject(Uw()):await $w(location.pathname,u,a)?Promise.reject(Ww()):Dw("/api/v1.0/email/send",JSON.stringify({lib_version:"4.4.1",user_id:i,service_id:e,template_id:t,template_params:n}),{"Content-type":"application/json"}))},Ej=e=>{if(!e||e.nodeName!=="FORM")throw"The 3rd parameter is expected to be the HTML form element or the style selector of the form"},bj=e=>typeof e=="string"?document.querySelector(e):e,Pj=async(e,t,n,r)=>{const s=hh(r),i=s.publicKey||Ue.publicKey,o=s.blockHeadless||Ue.blockHeadless,a=Ue.storageProvider||s.storageProvider,l={...Ue.blockList,...s.blockList},u={...Ue.limitRate,...s.limitRate};if(o&&Fw(navigator))return Promise.reject(zw());const c=bj(n);Iw(i,e,t),Ej(c);const d=new FormData(c);return Bw(l,d)?Promise.reject(Uw()):await $w(location.pathname,u,a)?Promise.reject(Ww()):(d.append("lib_version","4.4.1"),d.append("service_id",e),d.append("template_id",t),d.append("user_id",i),Dw("/api/v1.0/email/send-form",d))},Rj={init:yj,send:Cj,sendForm:Pj,EmailJSResponseStatus:wo},Aj=1,Nj=1e6;let Zu=0;function jj(){return Zu=(Zu+1)%Number.MAX_SAFE_INTEGER,Zu.toString()}const Ku=new Map,Pg=e=>{if(Ku.has(e))return;const t=setTimeout(()=>{Ku.delete(e),Si({type:"REMOVE_TOAST",toastId:e})},Nj);Ku.set(e,t)},Mj=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Aj)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
75return n?Pg(n):e.toasts.forEach(r=>{Pg(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},pa=[];let ma={toasts:[]};function Si(e){ma=Mj(ma,e),pa.forEach(t=>{t(ma)})}function Lj({...e}){const t=jj(),n=s=>Si({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>Si({type:"DISMISS_TOAST",toastId:t});return Si({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function Hw(){const[e,t]=y.useState(ma);return y.useEffect(()=>(pa.push(t),()=>{const n=pa.indexOf(t);n>-1&&pa.splice(n,1)}),[e]),{...e,toast:Lj,dismiss:n=>Si({type:"DISMISS_TOAST",toastId:n})}}const Oj=Wo.object({user_name:Wo.string().min(2),user_email:Wo.string().email(),message:Wo.string().min(2,{message:"Message must be at least 2 characters."})}),Vj=()=>{const e=qA({resolver:nN(Oj),defaultValues:{user_name:"",user_email:"",message:""}}),{toast:t}=Hw(),n=y.useRef(null);function r(){Rj.sendForm("service_c2m4fah","template_04joolu",n.current,"Ykse8WDLb-kEaKb0B").then(()=>{t({title:"Appreciate it!",variant:"destructive"}),e.reset()},s=>{console.log("FAILED...",s.text),t({title:"Sigh! Server Error",variant:"destructive"}),e.reset()})}return w.jsxs(RA,{className:"border-none",children:[w.jsx(AA,{className:"bg-dark-2 flex flex-col h-full",children:w.jsx(DA,{...e,children:w.jsxs("form",{ref:n,onSubmit:e.handleSubmit(r),className:"space-y-8 flex-grow flex flex-col",children:[w.jsx(Hu,{control:e.control,name:"message",render:({field:s})=>w.jsx(fa,{className:"flex-grow flex flex-col",children:w.jsx(ha,{className:"flex-grow flex flex-col",children:w.jsx(Vw,{...s,placeholder:"Type here...",className:"bg-dark-2 flex-grow border-none text-2xl resize-none cursor-none"})})})}),w.jsxs("div",{className:"flex justify-center gap-10 items-center",children:[w.jsx(Hu,{control:e.control,name:"user_name",render:({field:s})=>w.jsxs(fa,{className:"w-full",children:[w.jsx(ha,{className:"w-full",children:w.jsx(Ed,{...s,placeholder:"Name",className:"bg-dark-2 flex-grow border border-dark-4 text-xl resize-none w-full cursor-none"})}),w.jsx(Cd,{})]})}),w.jsx(Hu,{control:e.control,name:"user_email",render:({field:s})=>w.jsxs(fa,{className:"w-full",children:[w.jsx(ha,{className:"w-full",children:w.jsx(Ed,{...s,placeholder:"Email",className:"bg-dark-2 w-full flex-grow border border-dark-4 text-xl resize-none cursor-none"})}),w.jsx(Cd,{})]})})]}),w.jsx(Rw,{type:"submit",className:"bg-dark-2 w-max border border-dark-5 rounded-full text-lg p-7 absolute bottom-4 right-5 cursor-none",children:"Send!"})]})})}),w.jsx(NA,{className:"gap-4 bg-dark-2",children:w.jsx(MA,{})})]})},Dj=({children:e,className:t,shimmerWidth:n=100})=>w.jsx("p",{style:{"--shimmer-width":`${n}px`,"--shimmer-color":De},className:he("mx-auto max-w-md text-neutral-400/70","animate-shimmer bg-clip-text bg-no-repeat [background-position:0_0] [background-size:var(--shimmer-width)_100%] [transition:background-position_1s_cubic-bezier(.6,.6,0,1)_infinite]","bg-gradient-to-r from-transparent via-50% to-transparent  via-[var(--shimmer-color)]",t),children:e});/**
76 * @license lucide-react v0.411.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const Ij=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Zw=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/**
81 * @license lucide-react v0.411.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */var Fj={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
86 * @license lucide-react v0.411.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const zj=y.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:o,...a},l)=>y.createElement("svg",{ref:l,...Fj,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Zw("lucide",s),...a},[...o.map(([u,c])=>y.createElement(u,c)),...Array.isArray(i)?i:[i]]));/**
91 * @license lucide-react v0.411.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const Kw=(e,t)=>{const n=y.forwardRef(({className:r,...s},i)=>y.createElement(zj,{ref:i,iconNode:t,className:Zw(`lucide-${Ij(e)}`,r),...s}));return n.displayName=`${e}`,n};/**
96 * @license lucide-react v0.411.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const Bj=Kw("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
101 * @license lucide-react v0.411.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const Uj=Kw("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
105],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),$j=({text:e,className:t})=>{const n=y.useRef(null),{scrollYProgress:r}=Zx({target:n}),s=e.split(" "),i=$i(r,[.8,1],[0,1]),o=$i(r,[.8,1],[250,0]);return w.jsx("div",{ref:n,className:he("relative z-50 min-h-[195vh] max-sm:min-h-[168vh] ",t),style:{"--color":De},children:w.jsxs("div",{className:"sticky top-5 max-sm:top-10 mx-auto flex flex-col h-[81%] max-w-5xl bg-transparent md:px-[1rem] py-[7rem]",children:[w.jsxs("div",{className:"w-full flex flex-col items-center justify-center",children:[w.jsx("h1",{className:"inline-block text-6xl max-md:text-3xl",children:"i'm"}),w.jsx("h1",{className:" text-9xl max-xl:text-8xl max-sm:text-7xl [color:var(--color)]",children:ik})]}),w.jsx("p",{className:"flex flex-wrap p-5 lg:w-[750px] text-2xl text-transparent md:p-8 sm:text-3xl md:text-3xl lg:p-10 lg:text-4xl xl:text-5xl",children:s.map((a,l)=>{const u=l/s.length,c=u+1/s.length;return w.jsx(Wj,{progress:r,range:[u,c],children:a},l)})}),w.jsx("div",{className:"flex items-center px-5 justify-start",children:w.jsxs(bA,{children:[w.jsx(pt.button,{style:{opacity:i,x:o},transition:{type:"spring",stiffness:300,damping:10},className:"",children:w.jsx(PA,{className:"group/modal-btn   cursor-none  p-0",children:w.jsx("div",{className:"z-10 flexitems-center justify-center",children:w.jsx("div",{className:he("group rounded-full text-base text-white transition-all ease-in border border-zinc-600/70 hover:cursor-pointer  bg-neutral-950 hover:bg-neutral-800"),children:w.jsxs(Dj,{className:"inline-flex items-center justify-center px-4 py-4 transition ease-out hover:[color:var(--color)] hover:duration-300 lg:text-3xl md:text-2xl",children:[w.jsx("button",{children:"👋 Say hi!"}),w.jsx(Bj,{className:"ml-1 size-5 transition-transform duration-300 ease-in-out group-hover:translate-x-0.5"})]})})})})}),w.jsx(Vj,{})]})})]})})},Wj=({children:e,progress:t,range:n})=>{const r=$i(t,n,[0,1]);return w.jsxs("span",{className:"xl:lg-3 relative mx-1 lg:mx-2.5",children:[w.jsx("p",{className:"absolute opacity-30",children:e}),w.jsx(pt.span,{style:{opacity:r},className:"text-white",children:e})]})},Hj=()=>w.jsx("div",{className:"md:w-[90%] lg:w-[65%] mx-auto  ",children:w.jsxs("div",{className:"flex flex-col p-5 items-center justify-center w-full",children:[w.jsxs("div",{className:"relative h-[100vh]  flex flex-col items-center justify-center w-full text-9xl max-xl:text-6xl max-sm:text-5xl",children:[w.jsx("h1",{className:"inline-block",children:w.jsx($T,{items:["I Think","I Code","I Ship"]})}),w.jsx("span",{className:"absolute bottom-2 right-2",children:" "})]}),w.jsx("div",{className:"z-10 md:w-[600px] sm:w-[70%] flex items-center justify-center rounded-lg relative ",children:w.jsx($j,{text:ok})})]})}),Zj=({className:e,size:t=900,duration:n=20,anchor:r=90,borderWidth:s=1.5,colorFrom:i=De,colorTo:o=De,delay:a=0})=>w.jsx("div",{style:{"--size":t,"--duration":n,"--anchor":r,"--border-width":s,"--color-from":i,"--color-to":o,"--delay":`-${a}s`},className:he(" max-sm:hidden pointer-events-none absolute inset-0 rounded-[inherit] [border:calc(var(--border-width)*1px)_solid_transparent]","![mask-clip:padding-box,border-box] ![mask-composite:intersect] [mask:linear-gradient(transparent,transparent),linear-gradient(white,white)]","after:absolute after:aspect-square after:w-[calc(var(--size)*1px)] after:animate-border-beam after:[animation-delay:var(--delay)] after:[background:linear-gradient(to_left,var(--color-from),var(--color-to),transparent)] after:[offset-anchor:calc(var(--anchor)*1%)_50%] after:[offset-path:rect(0_auto_auto_0_round_calc(var(--size)*1px))]",e)}),Kj=({children:e,className:t})=>w.jsx("div",{className:he("grid w-full auto-rows-[22rem] grid-cols-3 gap-4",t),children:e}),Gj=({name:e,className:t,background:n,description:r,href:s,cta:i})=>(Ga(0),Ga(0),w.jsxs(ia,{to:s,target:"_blank",style:{"--theme":De},className:he("group relative col-span-3 flex flex-col justify-between overflow-hidden rounded-md transition ease-in-out","bg-dark-2  border-dark-4  cursor-none max-sm:border-2 max-sm:border-solid [border:var(--theme)]","cursor-none",t),children:[w.jsx(Zj,{borderWidth:3.5}),w.jsx("div",{children:w.jsx("img",{className:"absolute opacity-100 hover:blur-xl p-1 md:p-2 object-cover h-full w-full ",src:n})}),w.jsxs("div",{className:"pointer-events-none z-1 flex transform-gpu flex-col gap-1 max-sm:px-6 p-6 max-sm:py-2 transition-all duration-300 group-hover:items-center group-hover:justify-center group-hover:h-full ",children:[w.jsx("h1",{className:"xl:text-5xl text-3xl group-hover:text-white [color:var(--theme)] max-sm:text-2xl font-bold ",children:e}),w.jsx("p",{className:"max-w-lg text-base text-white max-sm:hidden",children:r})]}),w.jsx("div",{className:he("pointer-events-none absolute bottom-0 flex w-full translate-y-10 transform-gpu flex-row items-center p-4 opacity-0 transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100")}),w.jsx("div",{className:"pointer-events-none absolute inset-0 transform-gpu transition-all duration-300 group-hover:bg-black/[.03] group-hover:dark:bg-neutral-800/10"})]},e)),Yj=e=>{const[t,n]=y.useState(0),r=y.useRef();return y.useEffect(()=>{const s=new IntersectionObserver(([i])=>{n(i.intersectionRatio)},e);return r.current&&s.observe(r.current),()=>{r.current&&s.unobserve(r.current)}},[r,e]),[r,t]};function Xj(){const[e,t]=Yj({threshold:[.05,.2,.4,.55,.8,1]}),n=()=>!t||t===0||t>=.3?"blur-none":t>=.2?"blur-sm":t>=.05?"blur-md":"blur-lg";return w.jsxs("div",{className:"w-full md:w-[98%] mx-auto  max-sm:w-[98%] ",children:[w.jsx("div",{className:"md:w-[90%] lg:w-[65%] mx-auto max-md:px-5 ",children:w.jsx("h1",{className:"text-7xl max-xl:text-6xl max-sm:text-5xl m-5 xl:mt-32",children:"Projects"})}),w.jsx("div",{ref:e,className:`transition-all duration-500 ease-in-out ${n()}`,children:w.jsx(Kj,{className:"grid-cols-2 grid-rows-8 h-[1000px] md:grid-rows-6 md:grid-cols-5 md:h-[1200px] lg:grid-rows-7 lg:grid-cols-6 lg:h-[1400px] gap-2",children:ak.map(r=>w.jsx(Gj,{...r},r.name))})})]})}function Gu({className:e,reverse:t,pauseOnHover:n=!1,children:r,vertical:s=!1,repeat:i=4,...o}
105){return w.jsx("div",{...o,className:he("group flex overflow-hidden p-2 [--duration:40s] [--gap:1rem] [gap:var(--gap)]",{"flex-row":!s,"flex-col":s},e),children:Array(i).fill(0).map((a,l)=>w.jsx("div",{className:he("flex shrink-0 justify-around [gap:var(--gap)]",{"animate-marquee flex-row":!s,"animate-marquee-vertical flex-col":s,"group-hover:[animation-play-state:paused]":n,"[animation-direction:reverse]":t}),children:r},l))})}const Qj=bf.slice(0,6),qj=bf.slice(6,12),Jj=bf.slice(12,18),Yu=({src:e,title:t})=>w.jsx("figure",{className:he("relative cursor-pointer overflow-hidden rounded-xl   "),children:w.jsxs("div",{className:"flex flex-col justify-center items-center gap-2 h-full w-[250px] max-sm:w-[110px] max-lg:w-[160px] max-xl:w-[210px] cursor-none",children:[w.jsx("img",{className:"max-sm:w-16 max-lg:w-20",width:"102",height:"102",alt:"",src:e}),w.jsx("div",{className:"flex flex-col",children:w.jsx("figcaption",{className:"text-2xl font-medium dark:text-white",children:t})})]})});function eM(){return w.jsxs("div",{className:"mt-36",children:[w.jsx("div",{className:"md:w-[90%] lg:w-[65%] mx-auto max-md:px-5  ",children:w.jsx("h1",{className:"text-7xl max-xl:text-6xl max-sm:text-5xl m-5 xl:mt-32",children:"Skills"})}),w.jsxs("div",{className:"relative flex min-h-[500px] w-full flex-col items-center  overflow-hidden rounded-lg  bg-dark-2 md:shadow-xl",children:[w.jsx(Gu,{pauseOnHover:!0,className:"[--duration:35s] w-full h-full  py-7 max-sm:py-4",children:Qj.map(e=>w.jsx(Yu,{...e},e.src))}),w.jsx(Gu,{reverse:!0,pauseOnHover:!0,className:"[--duration:35s] h-full w-full py-7 max-sm:py-4",children:qj.map(e=>w.jsx(Yu,{...e},e.src))}),w.jsx(Gu,{pauseOnHover:!0,className:"[--duration:35s] h-full  w-full py-7 max-sm:py-4",children:Jj.map(e=>w.jsx(Yu,{...e},e.src))})]})]})}const Gt=({children:e,width:t="fit-content",boxColor:n,duration:r,triggerInViewport:s=!0})=>{const i=fg(),o=fg(),a=y.useRef(null),[l,u]=y.useState(!1);return y.useEffect(()=>{const c=()=>{const d=a.current;if(!d)return;const f=d.getBoundingClientRect(),g=window.innerHeight,x=window.innerWidth,v=f.top>=-150&&f.left>=0&&f.bottom<=g-120&&f.right<=x;u(!!(s&&v))};return window.addEventListener("scroll",c),window.addEventListener("resize",c),c(),()=>{window.removeEventListener("scroll",c),window.removeEventListener("resize",c)}},[s]),y.useEffect(()=>{l?(o.start("visible"),i.start("visible")):(o.start("hidden"),i.start("hidden"))},[l,i,o]),w.jsxs("div",{ref:a,style:{position:"relative",width:t,overflow:"hidden"},children:[w.jsx(pt.div,{variants:{hidden:{opacity:0,y:75},visible:{opacity:1,y:0}},initial:"hidden",animate:i,transition:{duration:r||.5,delay:.25},children:e}),w.jsx(pt.div,{variants:{hidden:{left:0},visible:{left:"100%"}},className:"rounded-full",initial:"hidden",animate:o,transition:{duration:r||.5,ease:"easeIn"},style:{position:"absolute",top:4,bottom:4,left:0,right:0,zIndex:20,background:n||"#5046e6"}})]})},tM=()=>w.jsx("div",{className:"mt-36 max-sm:mt-2 h-full flex max-md:px-5 md:w-[90%] lg:w-[65%] mx-auto  ",children:w.jsxs("div",{className:"",children:[w.jsxs("section",{className:"m-5 ",children:[w.jsx(Gt,{boxColor:De,delay:2,children:w.jsx("h1",{className:"text-7xl max-xl:text-6xl max-sm:text-5xl my-7",children:"Education"})}),w.jsxs("ol",{className:"flex flex-col gap-2 justify-center",children:[w.jsxs("li",{children:[w.jsx(Gt,{boxColor:De,children:w.jsx("p",{className:"text-5xl max-xl:text-4xl max-sm:text-3xl  mb-2",children:Su.name})}),w.jsx(Gt,{boxColor:De,children:w.jsxs("p",{className:"text-4xl max-xl:text-2xl max-sm:text-xl  ",children:[" ",Su.branch]})}),w.jsx(Gt,{boxColor:De,children:w.jsx("p",{className:"text-3xl max-xl:text-xl max-sm:text-lg  mb-5",children:Su.year})})]}),w.jsxs("li",{children:[w.jsx(Gt,{boxColor:De,children:w.jsx("p",{className:"text-5xl max-xl:text-4xl max-sm:text-3xl mb-2 ",children:Mp.name})}),w.jsx(Gt,{boxColor:De,children:w.jsx("p",{className:"text-3xl max-xl:text-xl max-sm:text-lg  ",children:Mp.year})})]})]})]}),w.jsxs("section",{className:"m-5 mt-14",children:[w.jsx("div",{className:"",children:w.jsx(Gt,{boxColor:De,children:w.jsx("h1",{className:"text-7xl max-xl:text-6xl max-sm:text-5xl mb-7 ",children:"Experience"})})}),w.jsx("ol",{children:w.jsxs("li",{children:[w.jsx(Gt,{boxColor:De,children:w.jsx("p",{className:"text-5xl max-xl:text-4xl max-sm:text-3xl my-2 ",children:_u.name})}),w.jsx(Gt,{boxColor:De,children:w.jsx("p",{className:"text-4xl max-xl:text-2xl max-sm:text-xl  ",children:_u.moreInfo})}),w.jsx(Gt,{boxColor:De,children:w.jsx("p",{className:"text-3xl max-xl:text-xl max-sm:text-lg  ",children:_u.year})})]})})]})]})}
105),nM=({children:e,className:t})=>{const n=y.useRef(null),{scrollYProgress:r}=Zx({target:n,offset:["start start","end start"]}),s=y.useRef(null),[i,o]=y.useState(0),a=()=>{s.current&&o(s.current.offsetHeight)};y.useEffect(()=>(a(),window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)),[]),y.useEffect(()=>{const c=new ResizeObserver(a);return s.current&&c.observe(s.current),()=>{s.current&&c.unobserve(s.current)}},[]);const l=ig($i(r,[0,.8],[50,i]),{stiffness:500,damping:90}),u=ig($i(r,[0,1],[50,i-200]),{stiffness:500,damping:90});return w.jsxs(pt.div,{ref:n,className:he("relative w-full mx-auto",t),children:[w.jsxs("div",{className:he("absolute lg:left-5 max-md:-left-3 -top-[4.5rem] h-full",t),children:[w.jsx(pt.div,{transition:{duration:.2,delay:.5},animate:{boxShadow:r.get()>0?"none":"rgba(0, 0, 0, 0.24) 0px 3px 8px"},className:"ml-[27px] h-4 w-full rounded-full border border-netural-200 shadow-sm flex items-center justify-center",children:w.jsx(pt.div,{transition:{duration:.2,delay:.3},animate:{backgroundColor:r.get()>0?"white":"var(--emerald-500)",borderColor:r.get()>0?"white":"var(--emerald-600)"},className:"h-2 w-2  rounded-full border border-neutral-300 bg-white"})}),w.jsxs("svg",{viewBox:`0 0 20 ${i}`,width:"20",height:i,className:" ml-4 block","aria-hidden":"true",children:[w.jsx(pt.path,{d:`M 1 0V -36 l 18 24 V ${i*.77} l -18 24V ${i}`,fill:"none",stroke:"#9091A0",strokeOpacity:"0.09",transition:{duration:10}}),w.jsx(pt.path,{d:`M 1 0V -36 l 18 24 V ${i*.77} l -18 24V ${i}`,fill:"none",stroke:"url(#gradient)",strokeWidth:"2",className:"motion-reduce:hidden",transition:{duration:10}}),w.jsx("defs",{children:w.jsxs(pt.linearGradient,{id:"gradient",gradientUnits:"userSpaceOnUse",x1:"0",x2:"0",y1:l,y2:u,children:[w.jsx("stop",{stopColor:"#F5F5F1",stopOpacity:"0"}),w.jsx("stop",{stopColor:"#F5F5F1"}),w.jsx("stop",{offset:"0.225",stopColor:De}),w.jsx("stop",{offset:"1",stopColor:De,stopOpacity:"0"})]})})]})]}),w.jsx("div",{ref:s,className:"",children:e})]})},rM=()=>w.jsxs(w.Fragment,{children:[w.jsx(sk,{}),w.jsx("main",{className:"min-h-screen w-full bg-dark-2 text-zinc-300 max-sm:p-1 max-sm:pt-14 max-sm:px-1 selection:bg-red-600",children:w.jsxs(nM,{children:[w.jsx(Hj,{}),w.jsx(Xj,{}),w.jsx(tM,{}),w.jsx(eM,{}),w.jsx(Ok,{})]})})]});function mt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function Gw(e,t=[]){let n=[];function r(i,o){const a=y.createContext(o),l=n.length;n=[...n,o];function u(d){const{scope:f,children:g,...x}=d,v=(f==null?void 0:f[e][l])||a,S=y.useMemo(()=>x,Object.values(x));return w.jsx(v.Provider,{value:S,children:g})}function c(d,f){const g=(f==null?void 0:f[e][l])||a,x=y.useContext(g);if(x)return x;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const s=()=>{const i=n.map(o=>y.createContext(o));return function(a){const l=(a==null?void 0:a[e])||i;return y.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return s.scopeName=e,[r,sM(s,...t)]}function sM(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const o=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(i)[`__scope${u}`];return{...a,...d}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function iM(e){const t=e+"CollectionProvider",[n,r]=Gw(t),[s,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=g=>{const{scope:x,children:v}=g,S=ie.useRef(null),p=ie.useRef(new Map).current;return w.jsx(s,{scope:x,itemMap:p,collectionRef:S,children:v})};o.displayName=t;const a=e+"CollectionSlot",l=ie.forwardRef((g,x)=>{const{scope:v,children:S}=g,p=i(a,v),h=Or(x,p.collectionRef);return w.jsx(Rs,{ref:h,children:S})});l.displayName=a;const u=e+"CollectionItemSlot",c="data-radix-collection-item",d=ie.forwardRef((g,x)=>{const{scope:v,children:S,...p}=g,h=ie.useRef(null),m=Or(x,h),k=i(u,v);return ie.useEffect(()=>(k.itemMap.set(h,{ref:h,...p}),()=>void k.itemMap.delete(h))),w.jsx(Rs,{[c]:"",ref:m,children:S})});d.displayName=u;function f(g){const x=i(e+"CollectionConsumer",g);return ie.useCallback(()=>{const S=x.collectionRef.current;if(!S)return[];const p=Array.from(S.querySelectorAll(`[${c}]`));return Array.from(x.itemMap.values()).sort((k,T)=>p.indexOf(k.ref.current)-p.indexOf(T.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:o,Slot:l,ItemSlot:d},f,r]}function Tn(e){const t=y.useRef(e);return y.useEffect(()=>{t.current=e}),y.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function oM(e,t=globalThis==null?void 0:globalThis.document){const n=Tn(e);y.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}
vendor: 6,064 bytes, line 105
105var aM="DismissableLayer",bd="dismissableLayer.update",lM="dismissableLayer.pointerDownOutside",uM="dismissableLayer.focusOutside",Rg,Yw=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Xw=y.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:o,onDismiss:a,...l}=e,u=y.useContext(Yw),[c,d]=y.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=y.useState({}),x=Or(t,R=>d(R)),v=Array.from(u.layers),[S]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),p=v.indexOf(S),h=c?v.indexOf(c):-1,m=u.layersWithOutsidePointerEventsDisabled.size>0,k=h>=p,T=dM(R=>{const P=R.target,$=[...u.branches].some(V=>V.contains(P));!k||$||(s==null||s(R),o==null||o(R),R.defaultPrevented||a==null||a())},f),b=fM(R=>{const P=R.target;[...u.branches].some(V=>V.contains(P))||(i==null||i(R),o==null||o(R),R.defaultPrevented||a==null||a())},f);return oM(R=>{h===u.layers.size-1&&(r==null||r(R),!R.defaultPrevented&&a&&(R.preventDefault(),a()))},f),y.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Rg=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Ag(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Rg)}},[c,f,n,u]),y.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Ag())},[c,u]),y.useEffect(()=>{const R=()=>g({});return document.addEventListener(bd,R),()=>document.removeEventListener(bd,R)},[]),w.jsx(Zt.div,{...l,ref:x,style:{pointerEvents:m?k?"auto":"none":void 0,...e.style},onFocusCapture:mt(e.onFocusCapture,b.onFocusCapture),onBlurCapture:mt(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:mt(e.onPointerDownCapture,T.onPointerDownCapture)})});Xw.displayName=aM;var cM="DismissableLayerBranch",Qw=y.forwardRef((e,t)=>{const n=y.useContext(Yw),r=y.useRef(null),s=Or(t,r);return y.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),w.jsx(Zt.div,{...e,ref:s})});Qw.displayName=cM;function dM(e,t=globalThis==null?void 0:globalThis.document){const n=Tn(e),r=y.useRef(!1),s=y.useRef(()=>{});return y.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){qw(lM,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=l,t.addEventListener("click",s.current,{once:!0})):l()}else t.removeEventListener("click",s.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",i),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function fM(e,t=globalThis==null?void 0:globalThis.document){const n=Tn(e),r=y.useRef(!1);return y.useEffect(()=>{const s=i=>{i.target&&!r.current&&qw(uM,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Ag(){const e=new CustomEvent(bd);document.dispatchEvent(e)}function qw(e,t,n,{discrete:r}){const s=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?Aw(s,i):s.dispatchEvent(i)}var hM=Xw,pM=Qw,ll=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{},mM="Portal",Jw=y.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[s,i]=y.useState(!1);ll(()=>i(!0),[]);const o=n||s&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?rk.createPortal(w.jsx(Zt.div,{...r,ref:t}),o):null});Jw.displayName=mM;function gM(e,t){return y.useReducer((n,r)=>t[n][r]??n,e)}var e1=e=>{const{present:t,children:n}=e,r=vM(t),s=typeof n=="function"?n({present:r.isPresent}):y.Children.only(n),i=Or(r.ref,yM(s));return typeof n=="function"||r.isPresent?y.cloneElement(s,{ref:i}):null};e1.displayName="Presence";function vM(e){const[t,n]=y.useState(),r=y.useRef({}),s=y.useRef(e),i=y.useRef("none"),o=e?"mounted":"unmounted",[a,l]=gM(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const u=Ho(r.current);i.current=a==="mounted"?u:"none"},[a]),ll(()=>{const u=r.current,c=s.current;if(c!==e){const f=i.current,g=Ho(u);e?l("MOUNT"):g==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==g?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,l]),ll(()=>{if(t){const u=d=>{const g=Ho(r.current).includes(d.animationName);d.target===t&&g&&uo.flushSync(()=>l("ANIMATION_END"))},c=d=>{d.target===t&&(i.current=Ho(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:y.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Ho(e){return(e==null?void 0:e.animationName)||"none"}function yM(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function xM({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,s]=wM({defaultProp:t,onChange:n}),i=e!==void 0,o=i?e:r,a=Tn(n),l=y.useCallback(u=>{if(i){const d=typeof u=="function"?u(e):u;d!==e&&a(d)}else s(u)},[i,e,s,a]);return[o,l]}function wM({defaultProp:e,onChange:t}){const n=y.useState(e),[r]=n,s=y.useRef(r),i=Tn(t);return y.useEffect(()=>{s.current!==r&&(i(r),s.current=r)},[r,s,i]),n}var SM="VisuallyHidden",ph=y.forwardRef((e,t)=>
105w.jsx(Zt.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));ph.displayName=SM;var mh="ToastProvider",[gh,_M,kM]=iM("Toast"),[t1,YM]=Gw("Toast",[kM]),[TM,Wl]=t1(mh),n1=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:i=50,children:o}=e,[a,l]=y.useState(null),[u,c]=y.useState(0),d=y.useRef(!1),f=y.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${mh}\`. Expected non-empty \`string\`.`),w.jsx(gh.Provider,{scope:t,children:w.jsx(TM,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:i,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:y.useCallback(()=>c(g=>g+1),[]),onToastRemove:y.useCallback(()=>c(g=>g-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:o})})};n1.displayName=mh;var r1="ToastViewport",CM=["F8"],Pd="toast.viewportPause",Rd="toast.viewportResume",s1=y.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=CM,label:s="Notifications ({hotkey})",...i}=e,o=Wl(r1,n),a=_M(n),l=y.useRef(null),u=y.useRef(null),c=y.useRef(null),d=y.useRef(null),f=Or(t,d,o.onViewportChange),g=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=o.toastCount>0;y.useEffect(()=>{const S=p=>{var m;r.every(k=>p[k]||p.code===k)&&((m=d.current)==null||m.focus())};return document.addEventListener("keydown",S),()=>document.removeEventListener("keydown",S)},[r]),y.useEffect(()=>{const S=l.current,p=d.current;if(x&&S&&p){const h=()=>{if(!o.isClosePausedRef.current){const b=new CustomEvent(Pd);p.dispatchEvent(b),o.isClosePausedRef.current=!0}},m=()=>{if(o.isClosePausedRef.current){const b=new CustomEvent(Rd);p.dispatchEvent(b),o.isClosePausedRef.current=!1}},k=b=>{!S.contains(b.relatedTarget)&&m()},T=()=>{S.contains(document.activeElement)||m()};return S.addEventListener("focusin",h),S.addEventListener("focusout",k),S.addEventListener("pointermove",h),S.addEventListener("pointerleave",T),window.addEventListener("blur",h),window.addEventListener("focus",m),()=>{S.removeEventListener("focusin",h),S.removeEventListener("focusout",k),S.removeEventListener("pointermove",h),S.removeEventListener("pointerleave",T),window.removeEventListener("blur",h),window.removeEventListener("focus",m)}}},[x,o.isClosePausedRef]);const v=y.useCallback(({tabbingDirection:S})=>{const h=a().map(m=>{const k=m.ref.current,T=[k,...IM(k)];return S==="forwards"?T:T.reverse()});return(S==="forwards"?h.reverse():h).flat()},[a]);return y.useEffect(()=>{const S=d.current;if(S){const p=h=>{var T,b,R;const m=h.altKey||h.ctrlKey||h.metaKey;if(h.key==="Tab"&&!m){const P=document.activeElement,$=h.shiftKey;if(h.target===S&&$){(T=u.current)==null||T.focus();return}const L=v({tabbingDirection:$?"backwards":"forwards"}),q=L.findIndex(B=>B===P);Xu(L.slice(q+1))?h.preventDefault():$?(b=u.current)==null||b.focus():(R=c.current)==null||R.focus()}};return S.addEventListener("keydown",p),()=>S.removeEventListener("keydown",p)}},[a,v]),w.jsxs(pM,{ref:l,role:"region","aria-label":s.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&w.jsx(Ad,{ref:u,onFocusFromOutsideViewport:()=>{const S=v({tabbingDirection:"forwards"});Xu(S)}}),w.jsx(gh.Slot,{scope:n,children:w.jsx(Zt.ol,{tabIndex:-1,...i,ref:f})}),x&&w.jsx(Ad,{ref:c,onFocusFromOutsideViewport:()=>{const S=v({tabbingDirection:"backwards"});Xu(S)}})]})});s1.displayName=r1;var i1="ToastFocusProxy",Ad=y.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,i=Wl(i1,n);return w.jsx(ph,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=i.viewport)!=null&&u.contains(a))&&r()}})});Ad.displayName=i1;var Hl="Toast",EM="toast.swipeStart",bM="toast.swipeMove",PM="toast.swipeCancel",RM="toast.swipeEnd",o1=y.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:i,...o}=e,[a=!0,l]=xM({prop:r,defaultProp:s,onChange:i});return w.jsx(e1,{present:n||a,children:w.jsx(jM,{open:a,...o,ref:t,onClose:()=>l(!1),onPause:Tn(e.onPause),onResume:Tn(e.onResume),onSwipeStart:mt(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:mt(e.onSwipeMove,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:mt(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:mt(e.onSwipeEnd,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});o1.displayName=Hl;var[AM,NM]=t1(Hl,{onClose(){}}),jM=y.forwardRef((e,t)=>
105{const{__scopeToast:n,type:r="foreground",duration:s,open:i,onClose:o,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:g,...x}=e,v=Wl(Hl,n),[S,p]=y.useState(null),h=Or(t,B=>p(B)),m=y.useRef(null),k=y.useRef(null),T=s||v.duration,b=y.useRef(0),R=y.useRef(T),P=y.useRef(0),{onToastAdd:$,onToastRemove:V}=v,ne=Tn(()=>{var K;(S==null?void 0:S.contains(document.activeElement))&&((K=v.viewport)==null||K.focus()),o()}),L=y.useCallback(B=>{!B||B===1/0||(window.clearTimeout(P.current),b.current=new Date().getTime(),P.current=window.setTimeout(ne,B))},[ne]);y.useEffect(()=>{const B=v.viewport;if(B){const K=()=>{L(R.current),u==null||u()},re=()=>{const pe=new Date().getTime()-b.current;R.current=R.current-pe,window.clearTimeout(P.current),l==null||l()};return B.addEventListener(Pd,re),B.addEventListener(Rd,K),()=>{B.removeEventListener(Pd,re),B.removeEventListener(Rd,K)}}},[v.viewport,T,l,u,L]),y.useEffect(()=>{i&&!v.isClosePausedRef.current&&L(T)},[i,T,v.isClosePausedRef,L]),y.useEffect(()=>($(),()=>V()),[$,V]);const q=y.useMemo(()=>S?h1(S):null,[S]);return v.viewport?w.jsxs(w.Fragment,{children:[q&&w.jsx(MM,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:q}),w.jsx(AM,{scope:n,onClose:ne,children:uo.createPortal(w.jsx(gh.ItemSlot,{scope:n,children:w.jsx(hM,{asChild:!0,onEscapeKeyDown:mt(a,()=>{v.isFocusedToastEscapeKeyDownRef.current||ne(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:w.jsx(Zt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":v.swipeDirection,...x,ref:h,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:mt(e.onKeyDown,B=>{B.key==="Escape"&&(a==null||a(B.nativeEvent),B.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,ne()))}),onPointerDown:mt(e.onPointerDown,B=>{B.button===0&&(m.current={x:B.clientX,y:B.clientY})}),onPointerMove:mt(e.onPointerMove,B=>{if(!m.current)return;const K=B.clientX-m.current.x,re=B.clientY-m.current.y,pe=!!k.current,M=["left","right"].includes(v.swipeDirection),W=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,Y=M?W(0,K):0,ue=M?0:W(0,re),ce=B.pointerType==="touch"?10:2,Nt={x:Y,y:ue},ct={originalEvent:B,delta:Nt};pe?(k.current=Nt,Zo(bM,d,ct,{discrete:!1})):Ng(Nt,v.swipeDirection,ce)?(k.current=Nt,Zo(EM,c,ct,{discrete:!1}),B.target.setPointerCapture(B.pointerId)):(Math.abs(K)>ce||Math.abs(re)>ce)&&(m.current=null)}),onPointerUp:mt(e.onPointerUp,B=>{const K=k.current,re=B.target;if(re.hasPointerCapture(B.pointerId)&&re.releasePointerCapture(B.pointerId),k.current=null,m.current=null,K){const pe=B.currentTarget,M={originalEvent:B,delta:K};Ng(K,v.swipeDirection,v.swipeThreshold)?Zo(RM,g,M,{discrete:!0}):Zo(PM,f,M,{discrete:!0}),pe.addEventListener("click",W=>W.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),MM=e=>{const{__scopeToast:t,children:n,...r}=e,s=Wl(Hl,t),[i,o]=y.useState(!1),[a,l]=y.useState(!1);return VM(()=>o(!0)),y.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:w.jsx(Jw,{asChild:!0,children:w.jsx(ph,{...r,children:i&&w.jsxs(w.Fragment,{children:[s.label," ",n]})})})},LM="ToastTitle",a1=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return w.jsx(Zt.div,{...r,ref:t})});a1.displayName=LM;var OM="ToastDescription",l1=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return w.jsx(Zt.div,{...r,ref:t})});l1.displayName=OM;var u1="ToastAction",c1=y.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?w.jsx(f1,{altText:n,asChild:!0,children:w.jsx(vh,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${u1}\`. Expected non-empty \`string\`.`),null)});c1.displayName=u1;var d1="ToastClose",vh=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=NM(d1,n);return w.jsx(f1,{asChild:!0,children:w.jsx(Zt.button,{type:"button",...r,ref:t,onClick:mt(e.onClick,s.onClose)})})});vh.displayName=d1;var f1=y.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return w.jsx(Zt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function h1(e){const t=[];
105return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),DM(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!s)if(i){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...h1(r))}}),t}function Zo(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?Aw(s,i):s.dispatchEvent(i)}var Ng=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),i=r>s;return t==="left"||t==="right"?i&&r>n:!i&&s>n};function VM(e=()=>{}){const t=Tn(e);ll(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function DM(e){return e.nodeType===e.ELEMENT_NODE}function IM(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Xu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var FM=n1,p1=s1,m1=o1,g1=a1,v1=l1,y1=c1,x1=vh;const zM=FM,w1=y.forwardRef(({className:e,...t},n)=>w.jsx(p1,{ref:n,className:he("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px] ",e),...t}));w1.displayName=p1.displayName;const BM=fh("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full ",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive  group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),S1=y.forwardRef(({className:e,variant:t,...n},r)=>w.jsx(m1,{ref:r,className:he(BM({variant:t}),e),...n}));S1.displayName=m1.displayName;const UM=y.forwardRef(({className:e,...t},n)=>w.jsx(y1,{ref:n,className:he("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));UM.displayName=y1.displayName;const _1=y.forwardRef(({className:e,...t},n)=>w.jsx(x1,{ref:n,className:he("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600 ",e),"toast-close":"",...t,children:w.jsx(Uj,{className:"h-4 w-4"})}));_1.displayName=x1.displayName;const k1=y.forwardRef(({className:e,...t},n)=>w.jsx(g1,{ref:n,className:he("text-sm font-semibold",e),...t}));k1.displayName=g1.displayName;const T1=y.forwardRef(({className:e,...t},n)=>w.jsx(v1,{ref:n,className:he("text-sm opacity-90",e),...t}));T1.displayName=v1.displayName;function $M(){const{toasts:e}=Hw();return w.jsxs(zM,{children:[e.map(function({id:t,title:n,description:r,action:s,...i}){return w.jsxs(S1,{...i,children:[w.jsxs("div",{className:"grid gap-1",children:[n&&w.jsx(k1,{children:n}),r&&w.jsx(T1,{children:r})]}),s,w.jsx(_1,{})]},t)}),w.jsx(w1,{})]})}
105document.documentElement.style.setProperty("--main-theme",De);Qu.createRoot(document.getElementById("root")).render(w.jsx(ie.StrictMode,{children:w.jsxs(Nk,{children:[w.jsx(rM,{}),w.jsx($M,{})]})}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.