vendor: 4,138 bytes, lines 1-9
1var Ap=e=>{throw TypeError(e)};var zu=(e,t,n)=>t.has(e)||Ap("Cannot "+n);var R=(e,t,n)=>(zu(e,t,"read from private field"),n?n.call(e):t.get(e)),ne=(e,t,n)=>t.has(e)?Ap("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),q=(e,t,n,r)=>(zu(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),$e=(e,t,n)=>(zu(e,t,"access private method"),n);var ca=(e,t,n,r)=>({set _(s){q(e,t,s,n)},get _(){return R(e,t,r)}});function MS(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 o=Object.getOwnPropertyDescriptor(r,s);o&&Object.defineProperty(e,s,o.get?o:{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 o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function L0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var I0={exports:{}},ql={},O0={exports:{}},ee={};/** 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 Ui=Symbol.for("react.element"),DS=Symbol.for("react.portal"),LS=Symbol.for("react.fragment"),IS=Symbol.for("react.strict_mode"),OS=Symbol.for("react.profiler"),VS=Symbol.for("react.provider"),FS=Symbol.for("react.context"),_S=Symbol.for("react.forward_ref"),BS=Symbol.for("react.suspense"),zS=Symbol.for("react.memo"),$S=Symbol.for("react.lazy"),Rp=Symbol.iterator;function WS(e){return e===null||typeof e!="object"?null:(e=Rp&&e[Rp]||e["@@iterator"],typeof e=="function"?e:null)}var V0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F0=Object.assign,_0={};function co(e,t,n){this.props=e,this.context=t,this.refs=_0,this.updater=n||V0}co.prototype.isReactComponent={};co.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")};co.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function B0(){}B0.prototype=co.prototype;function Cf(e,t,n){this.props=e,this.context=t,this.refs=_0,this.updater=n||V0}var Tf=Cf.prototype=new B0;Tf.constructor=Cf;F0(Tf,co.prototype);Tf.isPureReactComponent=!0;var Mp=Array.isArray,z0=Object.prototype.hasOwnProperty,kf={current:null},$0={key:!0,ref:!0,__self:!0,__source:!0};function W0(e,t,n){var r,s={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)z0.call(t,r)&&!$0.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:Ui,type:e,key:o,ref:i,props:s,_owner:kf.current}}function US(e,t){return{$$typeof:Ui,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Pf(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ui}function HS(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Dp=/\/+/g;function $u(e,t){return typeof e=="object"&&e!==null&&e.key!=null?HS(""+e.key):t.toString(36)}
vendor: 4,786 bytes, lines 9-17
9function za(e,t,n,r,s){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Ui:case DS:i=!0}}if(i)return i=e,s=s(i),e=r===""?"."+$u(i,0):r,Mp(s)?(n="",e!=null&&(n=e.replace(Dp,"$&/")+"/"),za(s,t,n,"",function(u){return u})):s!=null&&(Pf(s)&&(s=US(s,n+(!s.key||i&&i.key===s.key?"":(""+s.key).replace(Dp,"$&/")+"/")+e)),t.push(s)),1;if(i=0,r=r===""?".":r+":",Mp(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+$u(o,a);i+=za(o,t,n,l,s)}else if(l=WS(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+$u(o,a++),i+=za(o,t,n,l,s);else if(o==="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 i}function da(e,t,n){if(e==null)return e;var r=[],s=0;return za(e,r,"","",function(o){return t.call(n,o,s++)}),r}function KS(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 st={current:null},$a={transition:null},GS={ReactCurrentDispatcher:st,ReactCurrentBatchConfig:$a,ReactCurrentOwner:kf};function U0(){throw Error("act(...) is not supported in production builds of React.")}ee.Children={map:da,forEach:function(e,t,n){da(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return da(e,function(){t++}),t},toArray:function(e){return da(e,function(t){return t})||[]},only:function(e){if(!Pf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ee.Component=co;ee.Fragment=LS;ee.Profiler=OS;ee.PureComponent=Cf;ee.StrictMode=IS;ee.Suspense=BS;ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=GS;ee.act=U0;ee.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=F0({},e.props),s=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=kf.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)z0.call(t,l)&&!$0.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:Ui,type:e.type,key:s,ref:o,props:r,_owner:i}};ee.createContext=function(e){return e={$$typeof:FS,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:VS,_context:e},e.Consumer=e};ee.createElement=W0;ee.createFactory=function(e){var t=W0.bind(null,e);return t.type=e,t};ee.createRef=function(){return{current:null}};ee.forwardRef=function(e){return{$$typeof:_S,render:e}};ee.isValidElement=Pf;ee.lazy=function(e){return{$$typeof:$S,_payload:{_status:-1,_result:e},_init:KS}};ee.memo=function(e,t){return{$$typeof:zS,type:e,compare:t===void 0?null:t}};ee.startTransition=function(e){var t=$a.transition;$a.transition={};try{e()}finally{$a.transition=t}};ee.unstable_act=U0;ee.useCallback=function(e,t){return st.current.useCallback(e,t)};ee.useContext=function(e){return st.current.useContext(e)};ee.useDebugValue=function(){};ee.useDeferredValue=function(e){return st.current.useDeferredValue(e)};ee.useEffect=function(e,t){return st.current.useEffect(e,t)};ee.useId=function(){return st.current.useId()};ee.useImperativeHandle=function(e,t,n){return st.current.useImperativeHandle(e,t,n)};ee.useInsertionEffect=function(e,t){return st.current.useInsertionEffect(e,t)};ee.useLayoutEffect=function(e,t){return st.current.useLayoutEffect(e,t)};ee.useMemo=function(e,t){return st.current.useMemo(e,t)};ee.useReducer=function(e,t,n){return st.current.useReducer(e,t,n)};ee.useRef=function(e){return st.current.useRef(e)};ee.useState=function(e){return st.current.useState(e)};ee.useSyncExternalStore=function(e,t,n){return st.current.useSyncExternalStore(e,t,n)};ee.useTransition=function(){return st.current.useTransition()};ee.version="18.3.1";O0.exports=ee;var b=O0.exports;const O=L0(b),Nf=MS({__proto__:null,default:O},[b]);/** 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 YS=b,XS=Symbol.for("react.element"),QS=Symbol.for("react.fragment"),qS=Object.prototype.hasOwnProperty,ZS=YS.__SECRET_INT
vendor: 8,821 bytes, lines 17-33
17ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,JS={key:!0,ref:!0,__self:!0,__source:!0};function H0(e,t,n){var r,s={},o=null,i=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)qS.call(t,r)&&!JS.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:XS,type:e,key:o,ref:i,props:s,_owner:ZS.current}}ql.Fragment=QS;ql.jsx=H0;ql.jsxs=H0;I0.exports=ql;var p=I0.exports,K0={exports:{}},kt={},G0={exports:{}},Y0={};/** 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(N,A){var V=N.length;N.push(A);e:for(;0<V;){var W=V-1>>>1,z=N[W];if(0<s(z,A))N[W]=A,N[V]=z,V=W;else break e}}function n(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var A=N[0],V=N.pop();if(V!==A){N[0]=V;e:for(var W=0,z=N.length,X=z>>>1;W<X;){var G=2*(W+1)-1,oe=N[G],de=G+1,Y=N[de];if(0>s(oe,V))de<z&&0>s(Y,oe)?(N[W]=Y,N[de]=V,W=de):(N[W]=oe,N[G]=V,W=G);else if(de<z&&0>s(Y,V))N[W]=Y,N[de]=V,W=de;else break e}}return A}function s(N,A){var V=N.sortIndex-A.sortIndex;return V!==0?V:N.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var l=[],u=[],c=1,d=null,f=3,h=!1,y=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(N){for(var A=n(u);A!==null;){if(A.callback===null)r(u);else if(A.startTime<=N)r(u),A.sortIndex=A.expirationTime,t(l,A);else break;A=n(u)}}function S(N){if(v=!1,x(N),!y)if(n(l)!==null)y=!0,F(E);else{var A=n(u);A!==null&&H(S,A.startTime-N)}}function E(N,A){y=!1,v&&(v=!1,m(k),k=-1),h=!0;var V=f;try{for(x(A),d=n(l);d!==null&&(!(d.expirationTime>A)||N&&!M());){var W=d.callback;if(typeof W=="function"){d.callback=null,f=d.priorityLevel;var z=W(d.expirationTime<=A);A=e.unstable_now(),typeof z=="function"?d.callback=z:d===n(l)&&r(l),x(A)}else r(l);d=n(l)}if(d!==null)var X=!0;else{var G=n(u);G!==null&&H(S,G.startTime-A),X=!1}return X}finally{d=null,f=V,h=!1}}var C=!1,T=null,k=-1,P=5,j=-1;function M(){return!(e.unstable_now()-j<P)}function D(){if(T!==null){var N=e.unstable_now();j=N;var A=!0;try{A=T(!0,N)}finally{A?B():(C=!1,T=null)}}else C=!1}var B;if(typeof g=="function")B=function(){g(D)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,K=L.port2;L.port1.onmessage=D,B=function(){K.postMessage(null)}}else B=function(){w(D,0)};function F(N){T=N,C||(C=!0,B())}function H(N,A){k=w(function(){N(e.unstable_now())},A)}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(N){N.callback=null},e.unstable_continueExecution=function(){y||h||(y=!0,F(E))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(N){switch(f){case 1:case 2:case 3:var A=3;break;default:A=f}var V=f;f=A;try{return N()}finally{f=V}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,A){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var V=f;f=N;try{return A()}finally{f=V}},e.unstable_scheduleCallback=function(N,A,V){var W=e.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?W+V:W):V=W,N){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=V+z,N={id:c++,callback:A,priorityLevel:N,startTime:V,expirationTime:z,sortIndex:-1},V>W?(N.sortIndex=V,t(u,N),n(l)===null&&N===n(u)&&(v?(m(k),k=-1):v=!0,H(S,V-W))):(N.sortIndex=z,t(l,N),y||h||(y=!0,F(E))),N},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(N){var A=f;return function(){var V=f;f=A;try{return N.apply(this,arguments)}finally{f=V}}}})(Y0);G0.exports=Y0;var e2=G0.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 t2=b,Tt=e2;function I(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 X0=new Set,ci={};function fs(e,t){Zs(e,t),Zs(e+"Capture",t)}function Zs(e,t){for(ci[e]=t,e=0;e<t.length;e++)X0.add(t[e])}var On=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_c=Object.prototype.hasOwnProperty,n2=/^[: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]*$/,Lp={},Ip={};function r2(e){return _c.call(Ip,e)?!0:_c.call(Lp,e)?!1:n2.test(e)?Ip[e]=!0:(Lp[e]=!0,!1)}function s2(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 o2(e,t,n,r){if(t===null||typeof t>"u"||s2(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 ot(e,t,n,r,s,o,i){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=o,this.removeEmptyString=i}var He={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){He[e]=new ot(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 ot(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){He[e]=new ot(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){He[e]=new ot(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 ot(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){He[e]=new ot(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){He[e]=new ot(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){He[e]=new ot(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){He[e]=new ot(e,5,!1,e.toLowerCase(),null,!1,!1)});var jf=/[\-:]([a-z])/g;function Af(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
33-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(jf,Af);He[t]=new ot(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(jf,Af);He[t]=new ot(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(jf,Af);He[t]=new ot(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){He[e]=new ot(e,1,!1,e.toLowerCase(),null,!1,!1)});He.xlinkHref=new ot("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){He[e]=new ot(e,1,!1,e.toLowerCase(),null,!0,!0)});function Rf(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")&&(o2(t,n,s,r)&&(n=null),r||s===null?r2(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 $n=t2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fa=Symbol.for("react.element"),ws=Symbol.for("react.portal"),bs=Symbol.for("react.fragment"),Mf=Symbol.for("react.strict_mode"),Bc=Symbol.for("react.profiler"),Q0=Symbol.for("react.provider"),q0=Symbol.for("react.context"),Df=Symbol.for("react.forward_ref"),zc=Symbol.for("react.suspense"),$c=Symbol.for("react.suspense_list"),Lf=Symbol.for("react.memo"),nr=Symbol.for("react.lazy"),Z0=Symbol.for("react.offscreen"),Op=Symbol.iterator;function jo(e){return e===null||typeof e!="object"?null:(e=Op&&e[Op]||e["@@iterator"],typeof e=="function"?e:null)}var Te=Object.assign,Wu;function Bo(e){if(Wu===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Wu=t&&t[1]||""}return` 34`+Wu+e}var Uu=!1;function Hu(e,t){if(!e||Uu)return"";Uu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(` 35`),o=r.stack.split(` 36`),i=s.length-1,a=o.length-1;1<=i&&0<=a&&s[i]!==o[a];)a--;for(;1<=i&&0<=a;i--,a--)if(s[i]!==o[a]){if(i!==1||a!==1)do if(i--,a--,0>a||s[i]!==o[a]){var l=` 37`+s[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=a);break}}}finally{Uu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Bo(e):""}function i2(e){switch(e.tag){case 5:return Bo(e.type);case 16:return Bo("Lazy");case 13:return Bo("Suspense");case 19:return Bo("SuspenseList");case 0:case 2:case 15:return e=Hu(e.type,!1),e;case 11:return e=Hu(e.type.render,!1),e;case 1:return e=Hu(e.type,!0),e;default:return""}}function Wc(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 bs:return"Fragment";case ws:return"Portal";case Bc:return"Profiler";case Mf:return"StrictMode";case zc:return"Suspense";case $c:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case q0:return(e.displayName||"Context")+".Consumer";case Q0:return(e._context.displayName||"Context")+".Provider";case Df:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lf:return t=e.displayName||null,t!==null?t:Wc(e.type)||"Memo";case nr:t=e._payload,e=e._init;try{return Wc(e(t))}catch{}}return null}function a2(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 Wc(t);case 8:return t===Mf?"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 Cr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function J0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function l2(e){var t=J0(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,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ha(e){e._valueTracker||(e._valueTracker=l2(e))}function ev(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=J0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function cl(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 Uc(e,t){var n=t.checked;return Te({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Vp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Cr(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 tv(e,t){t=t.checked,t!=null&&Rf(e,"checked",t,!1)}function Hc(e,t){tv(e,t);var n=Cr(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")?Kc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Kc(e,t.type,Cr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Fp(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 Kc(e,t,n){(t!=="number"||cl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var zo=Array.isArray;function Is(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=""+Cr(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 Gc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(I(91));return Te({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function _p(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(I(92));if(zo(n)){if(1<n.length)throw Error(I(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Cr(n)}}function nv(e,t){var n=Cr(t.value),r=Cr(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 Bp(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function rv(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 Yc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?rv(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var pa,sv=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(pa=pa||document.createElement("div"),pa.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=pa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function di(e,t){if(t){var n=e.firstChild;
vendor: 9,070 bytes, line 37
37if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Go={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},u2=["Webkit","ms","Moz","O"];Object.keys(Go).forEach(function(e){u2.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Go[t]=Go[e]})});function ov(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Go.hasOwnProperty(e)&&Go[e]?(""+t).trim():t+"px"}function iv(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=ov(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var c2=Te({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 Xc(e,t){if(t){if(c2[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(I(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(I(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(I(61))}if(t.style!=null&&typeof t.style!="object")throw Error(I(62))}}function Qc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var qc=null;function If(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zc=null,Os=null,Vs=null;function zp(e){if(e=Gi(e)){if(typeof Zc!="function")throw Error(I(280));var t=e.stateNode;t&&(t=nu(t),Zc(e.stateNode,e.type,t))}}function av(e){Os?Vs?Vs.push(e):Vs=[e]:Os=e}function lv(){if(Os){var e=Os,t=Vs;if(Vs=Os=null,zp(e),t)for(e=0;e<t.length;e++)zp(t[e])}}function uv(e,t){return e(t)}function cv(){}var Ku=!1;function dv(e,t,n){if(Ku)return e(t,n);Ku=!0;try{return uv(e,t,n)}finally{Ku=!1,(Os!==null||Vs!==null)&&(cv(),lv())}}function fi(e,t){var n=e.stateNode;if(n===null)return null;var r=nu(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(I(231,t,typeof n));return n}var Jc=!1;if(On)try{var Ao={};Object.defineProperty(Ao,"passive",{get:function(){Jc=!0}}),window.addEventListener("test",Ao,Ao),window.removeEventListener("test",Ao,Ao)}catch{Jc=!1}function d2(e,t,n,r,s,o,i,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Yo=!1,dl=null,fl=!1,ed=null,f2={onError:function(e){Yo=!0,dl=e}};function h2(e,t,n,r,s,o,i,a,l){Yo=!1,dl=null,d2.apply(f2,arguments)}function p2(e,t,n,r,s,o,i,a,l){if(h2.apply(this,arguments),Yo){if(Yo){var u=dl;Yo=!1,dl=null}else throw Error(I(198));fl||(fl=!0,ed=u)}}function hs(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 fv(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 $p(e){if(hs(e)!==e)throw Error(I(188))}function m2(e){var t=e.alternate;if(!t){if(t=hs(e),t===null)throw Error(I(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var o=s.alternate;if(o===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===o.child){for(o=s.child;o;){if(o===n)return $p(s),e;if(o===r)return $p(s),t;o=o.sibling}throw Error(I(188))}if(n.return!==r.return)n=s,r=o;else{for(var i=!1,a=s.child;a;){if(a===n){i=!0,n=s,r=o;break}if(a===r){i=!0,r=s,n=o;break}a=a.sibling}if(!i){for(a=o.child;a;){if(a===n){i=!0,n=o,r=s;break}if(a===r){i=!0,r=o,n=s;break}a=a.sibling}if(!i)throw Error(I(189))}}if(n.alternate!==r)throw Error(I(190))}if(n.tag!==3)throw Error(I(188));return n.stateNode.current===n?e:t}function hv(e){return e=m2(e),e!==null?pv(e):null}function pv(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=pv(e);if(t!==null)return t;e=e.sibling}return null}var mv=Tt.unstable_scheduleCallback,Wp=Tt.unstable_cancelCallback,g2=Tt.unstable_shouldYield,y2=Tt.unstable_requestPaint,je=Tt.unstable_now,v2=Tt.unstable_getCurrentPriorityLevel,Of=Tt.unstable_ImmediatePriority,gv=Tt.unstable_UserBlockingPriority,hl=Tt.unstable_NormalPriority,x2=Tt.unstable_LowPriority,yv=Tt.unstable_IdlePriority,Zl=null,wn=null;function w2(e){if(wn&&typeof wn.onCommitFiberRoot=="function")try{wn.onCommitFiberRoot(Zl,e,void 0,(e.current.flags&128)===128)}catch{}}var en=Math.clz32?Math.clz32:E2,b2=Math.log,S2=Math.LN2;function E2(e){return e>>>=0,e===0?32:31-(b2(e)/S2|0)|0}var ma=64,ga=4194304;function $o(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 pl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~s;a!==0?r=$o(a):(o&=i,o!==0&&(r=$o(o)))}else i=n&~s,i!==0?r=$o(i):o!==0&&(r=$o(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,o=t&-t,s>=o||s===16&&(o&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-en(t),s=1<<n,r|=e[n],t&=~s;return r}function C2(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 T2(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-en(o),a=1<<i,l=s[i];l===-1?(!(a&n)||a&r)&&(s[i]=C2(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function td(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function vv(){var e=ma;return ma<<=1,!(ma&4194240)&&(ma=64),e}function Gu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Hi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-en(t),e[t]=n}function k2(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-en(n),o=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~o}}function Vf(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-en(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var ue=0;function xv(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var wv,Ff,bv,Sv,Ev,nd=!1,ya=[],gr=null,yr=null,vr=null,hi=new Map,pi=new Map,sr=[],P2="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 Up(e,t){switch(e){case"focusin":case"focusout":gr=null;break;case"dragenter":case"dragleave":yr=null;break;case"mouseover":case"mouseout":vr=null;break;case"pointerover":case"pointerout":hi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pi.delete(t.pointerId)}}function Ro(e,t,n,r,s,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[s]},t!==null&&(t=Gi(t),t!==null&&Ff(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function N2(e,t,n,r,s){switch(t){case"focusin":return gr=Ro(gr,e,t,n,r,s),!0;case"dragenter":return yr=Ro(yr,e,t,n,r,s),!0;case"mouseover":return vr=Ro(vr,e,t,n,r,s),!0;case"pointerover":var o=s.pointerId;
vendor: 11,502 bytes, line 37
37return hi.set(o,Ro(hi.get(o)||null,e,t,n,r,s)),!0;case"gotpointercapture":return o=s.pointerId,pi.set(o,Ro(pi.get(o)||null,e,t,n,r,s)),!0}return!1}function Cv(e){var t=Wr(e.target);if(t!==null){var n=hs(t);if(n!==null){if(t=n.tag,t===13){if(t=fv(n),t!==null){e.blockedOn=t,Ev(e.priority,function(){bv(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 Wa(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=rd(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);qc=r,n.target.dispatchEvent(r),qc=null}else return t=Gi(n),t!==null&&Ff(t),e.blockedOn=n,!1;t.shift()}return!0}function Hp(e,t,n){Wa(e)&&n.delete(t)}function j2(){nd=!1,gr!==null&&Wa(gr)&&(gr=null),yr!==null&&Wa(yr)&&(yr=null),vr!==null&&Wa(vr)&&(vr=null),hi.forEach(Hp),pi.forEach(Hp)}function Mo(e,t){e.blockedOn===t&&(e.blockedOn=null,nd||(nd=!0,Tt.unstable_scheduleCallback(Tt.unstable_NormalPriority,j2)))}function mi(e){function t(s){return Mo(s,e)}if(0<ya.length){Mo(ya[0],e);for(var n=1;n<ya.length;n++){var r=ya[n];r.blockedOn===e&&(r.blockedOn=null)}}for(gr!==null&&Mo(gr,e),yr!==null&&Mo(yr,e),vr!==null&&Mo(vr,e),hi.forEach(t),pi.forEach(t),n=0;n<sr.length;n++)r=sr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<sr.length&&(n=sr[0],n.blockedOn===null);)Cv(n),n.blockedOn===null&&sr.shift()}var Fs=$n.ReactCurrentBatchConfig,ml=!0;function A2(e,t,n,r){var s=ue,o=Fs.transition;Fs.transition=null;try{ue=1,_f(e,t,n,r)}finally{ue=s,Fs.transition=o}}function R2(e,t,n,r){var s=ue,o=Fs.transition;Fs.transition=null;try{ue=4,_f(e,t,n,r)}finally{ue=s,Fs.transition=o}}function _f(e,t,n,r){if(ml){var s=rd(e,t,n,r);if(s===null)rc(e,t,r,gl,n),Up(e,r);else if(N2(s,e,t,n,r))r.stopPropagation();else if(Up(e,r),t&4&&-1<P2.indexOf(e)){for(;s!==null;){var o=Gi(s);if(o!==null&&wv(o),o=rd(e,t,n,r),o===null&&rc(e,t,r,gl,n),o===s)break;s=o}s!==null&&r.stopPropagation()}else rc(e,t,r,null,n)}}var gl=null;function rd(e,t,n,r){if(gl=null,e=If(r),e=Wr(e),e!==null)if(t=hs(e),t===null)e=null;else if(n=t.tag,n===13){if(e=fv(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 gl=e,null}function Tv(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(v2()){case Of:return 1;case gv:return 4;case hl:case x2:return 16;case yv:return 536870912;default:return 16}default:return 16}}var fr=null,Bf=null,Ua=null;function kv(){if(Ua)return Ua;var e,t=Bf,n=t.length,r,s="value"in fr?fr.value:fr.textContent,o=s.length;for(e=0;e<n&&t[e]===s[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===s[o-r];r++);return Ua=s.slice(e,1<r?1-r:void 0)}function Ha(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 va(){return!0}function Kp(){return!1}function Pt(e){function t(n,r,s,o,i){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=o,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?va:Kp,this.isPropagationStopped=Kp,this}return Te(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=va)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=va)},persist:function(){},isPersistent:va}),t}var fo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zf=Pt(fo),Ki=Te({},fo,{view:0,detail:0}),M2=Pt(Ki),Yu,Xu,Do,Jl=Te({},Ki,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$f,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!==Do&&(Do&&e.type==="mousemove"?(Yu=e.screenX-Do.screenX,Xu=e.screenY-Do.screenY):Xu=Yu=0,Do=e),Yu)},movementY:function(e){return"movementY"in e?e.movementY:Xu}}),Gp=Pt(Jl),D2=Te({},Jl,{dataTransfer:0}),L2=Pt(D2),I2=Te({},Ki,{relatedTarget:0}),Qu=Pt(I2),O2=Te({},fo,{animationName:0,elapsedTime:0,pseudoElement:0}),V2=Pt(O2),F2=Te({},fo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_2=Pt(F2),B2=Te({},fo,{data:0}),Yp=Pt(B2),z2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$2={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"},W2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function U2(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=W2[e])?!!t[e]:!1}function $f(){return U2}var H2=Te({},Ki,{key:function(e){if(e.key){var t=z2[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ha(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?$2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$f,charCode:function(e){return e.type==="keypress"?Ha(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ha(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),K2=Pt(H2),G2=Te({},Jl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xp=Pt(G2),Y2=Te({},Ki,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$f}),X2=Pt(Y2),Q2=Te({},fo,{propertyName:0,elapsedTime:0,pseudoElement:0}),q2=Pt(Q2),Z2=Te({},Jl,{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}),J2=Pt(Z2),eE=[9,13,27,32],Wf=On&&"CompositionEvent"in window,Xo=null;On&&"documentMode"in document&&(Xo=document.documentMode);var tE=On&&"TextEvent"in window&&!Xo,Pv=On&&(!Wf||Xo&&8<Xo&&11>=Xo),Qp=" ",qp=!1;function Nv(e,t){switch(e){case"keyup":return eE.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ss=!1;function nE(e,t){switch(e){case"compositionend":return jv(t);case"keypress":return t.which!==32?null:(qp=!0,Qp);case"textInput":return e=t.data,e===Qp&&qp?null:e;default:return null}}function rE(e,t){if(Ss)return e==="compositionend"||!Wf&&Nv(e,t)?(e=kv(),Ua=Bf=fr=null,Ss=!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 Pv&&t.locale!=="ko"?null:t.data;default:return null}}var sE={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 Zp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!sE[e.type]:t==="textarea"}function Av(e,t,n,r){av(r),t=yl(t,"onChange"),0<t.length&&(n=new zf("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Qo=null,gi=null;function oE(e){zv(e,0)}function eu(e){var t=Ts(e);if(ev(t))return e}function iE(e,t){if(e==="change")return t}var Rv=!1;if(On){var qu;if(On){var Zu="oninput"in document;if(!Zu){var Jp=document.createElement("div");Jp.setAttribute("oninput","return;"),Zu=typeof Jp.oninput=="function"}qu=Zu}else qu=!1;Rv=qu&&(!document.documentMode||9<document.documentMode)}function em(){Qo&&(Qo.detachEvent("onpropertychange",Mv),gi=Qo=null)}function Mv(e){if(e.propertyName==="value"&&eu(gi)){var t=[];Av(t,gi,e,If(e)),dv(oE,t)}}function aE(e,t,n){e==="focusin"?(em(),Qo=t,gi=n,Qo.attachEvent("onpropertychange",Mv)):e==="focusout"&&em()}function lE(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return eu(gi)}function uE(e,t){if(e==="click")return eu(t)}function cE(e,t){if(e==="input"||e==="change")return eu(t)}function dE(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var sn=typeof Object.is=="function"?Object.is:dE;function yi(e,t){if(sn(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(!_c.call(t,s)||!sn(e[s],t[s]))return!1}return!0}function tm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nm(e,t){var n=tm(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=tm(n)}}function Dv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Dv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Lv(){for(var e=window,t=cl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=cl(e.document)}return t}function Uf(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 fE(e){var t=Lv(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Dv(n.ownerDocument.documentElement,n)){if(r!==null&&Uf(n)){if
vendor: 5,626 bytes, line 37
37(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,o=Math.min(r.start,s);r=r.end===void 0?o:Math.min(r.end,s),!e.extend&&o>r&&(s=r,r=o,o=s),s=nm(n,o);var i=nm(n,r);s&&i&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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 hE=On&&"documentMode"in document&&11>=document.documentMode,Es=null,sd=null,qo=null,od=!1;function rm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;od||Es==null||Es!==cl(r)||(r=Es,"selectionStart"in r&&Uf(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}),qo&&yi(qo,r)||(qo=r,r=yl(sd,"onSelect"),0<r.length&&(t=new zf("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Es)))}function xa(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Cs={animationend:xa("Animation","AnimationEnd"),animationiteration:xa("Animation","AnimationIteration"),animationstart:xa("Animation","AnimationStart"),transitionend:xa("Transition","TransitionEnd")},Ju={},Iv={};On&&(Iv=document.createElement("div").style,"AnimationEvent"in window||(delete Cs.animationend.animation,delete Cs.animationiteration.animation,delete Cs.animationstart.animation),"TransitionEvent"in window||delete Cs.transitionend.transition);function tu(e){if(Ju[e])return Ju[e];if(!Cs[e])return e;var t=Cs[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Iv)return Ju[e]=t[n];return e}var Ov=tu("animationend"),Vv=tu("animationiteration"),Fv=tu("animationstart"),_v=tu("transitionend"),Bv=new Map,sm="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 Rr(e,t){Bv.set(e,t),fs(t,[e])}for(var ec=0;ec<sm.length;ec++){var tc=sm[ec],pE=tc.toLowerCase(),mE=tc[0].toUpperCase()+tc.slice(1);Rr(pE,"on"+mE)}Rr(Ov,"onAnimationEnd");Rr(Vv,"onAnimationIteration");Rr(Fv,"onAnimationStart");Rr("dblclick","onDoubleClick");Rr("focusin","onFocus");Rr("focusout","onBlur");Rr(_v,"onTransitionEnd");Zs("onMouseEnter",["mouseout","mouseover"]);Zs("onMouseLeave",["mouseout","mouseover"]);Zs("onPointerEnter",["pointerout","pointerover"]);Zs("onPointerLeave",["pointerout","pointerover"]);fs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));fs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));fs("onBeforeInput",["compositionend","keypress","textInput","paste"]);fs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));fs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));fs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wo="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(" "),gE=new Set("cancel close invalid load scroll toggle".split(" ").concat(Wo));function om(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,p2(r,t,void 0,e),e.currentTarget=null}function zv(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 o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var a=r[i],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==o&&s.isPropagationStopped())break e;om(s,a,u),o=l}else for(i=0;i<r.length;i++){if(a=r[i],l=a.instance,u=a.currentTarget,a=a.listener,l!==o&&s.isPropagationStopped())break e;om(s,a,u),o=l}}}if(fl)throw e=ed,fl=!1,ed=null,e}function ye(e,t){var n=t[cd];n===void 0&&(n=t[cd]=new Set);var r=e+"__bubble";n.has(r)||($v(t,e,2,!1),n.add(r))}function nc(e,t,n){var r=0;t&&(r|=4),$v(n,e,r,t)}var wa="_reactListening"+Math.random().toString(36).slice(2);function vi(e){if(!e[wa]){e[wa]=!0,X0.forEach(function(n){n!=="selectionchange"&&(gE.has(n)||nc(n,!1,e),nc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[wa]||(t[wa]=!0,nc("selectionchange",!1,t))}}function $v(e,t,n,r){switch(Tv(t)){case 1:var s=A2;break;case 4:s=R2;break;default:s=_f}n=s.bind(null,t,n,e),s=void 0,!Jc||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,098 bytes, line 37
37function rc(e,t,n,r,s){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var a=r.stateNode.containerInfo;if(a===s||a.nodeType===8&&a.parentNode===s)break;if(i===4)for(i=r.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===s||l.nodeType===8&&l.parentNode===s))return;i=i.return}for(;a!==null;){if(i=Wr(a),i===null)return;if(l=i.tag,l===5||l===6){r=o=i;continue e}a=a.parentNode}}r=r.return}dv(function(){var u=o,c=If(n),d=[];e:{var f=Bv.get(e);if(f!==void 0){var h=zf,y=e;switch(e){case"keypress":if(Ha(n)===0)break e;case"keydown":case"keyup":h=K2;break;case"focusin":y="focus",h=Qu;break;case"focusout":y="blur",h=Qu;break;case"beforeblur":case"afterblur":h=Qu;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":h=Gp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=L2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=X2;break;case Ov:case Vv:case Fv:h=V2;break;case _v:h=q2;break;case"scroll":h=M2;break;case"wheel":h=J2;break;case"copy":case"cut":case"paste":h=_2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Xp}var v=(t&4)!==0,w=!v&&e==="scroll",m=v?f!==null?f+"Capture":null:f;v=[];for(var g=u,x;g!==null;){x=g;var S=x.stateNode;if(x.tag===5&&S!==null&&(x=S,m!==null&&(S=fi(g,m),S!=null&&v.push(xi(g,S,x)))),w)break;g=g.return}0<v.length&&(f=new h(f,y,null,n,c),d.push({event:f,listeners:v}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&n!==qc&&(y=n.relatedTarget||n.fromElement)&&(Wr(y)||y[Vn]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(y=n.relatedTarget||n.toElement,h=u,y=y?Wr(y):null,y!==null&&(w=hs(y),y!==w||y.tag!==5&&y.tag!==6)&&(y=null)):(h=null,y=u),h!==y)){if(v=Gp,S="onMouseLeave",m="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(v=Xp,S="onPointerLeave",m="onPointerEnter",g="pointer"),w=h==null?f:Ts(h),x=y==null?f:Ts(y),f=new v(S,g+"leave",h,n,c),f.target=w,f.relatedTarget=x,S=null,Wr(c)===u&&(v=new v(m,g+"enter",y,n,c),v.target=x,v.relatedTarget=w,S=v),w=S,h&&y)t:{for(v=h,m=y,g=0,x=v;x;x=ys(x))g++;for(x=0,S=m;S;S=ys(S))x++;for(;0<g-x;)v=ys(v),g--;for(;0<x-g;)m=ys(m),x--;for(;g--;){if(v===m||m!==null&&v===m.alternate)break t;v=ys(v),m=ys(m)}v=null}else v=null;h!==null&&im(d,f,h,v,!1),y!==null&&w!==null&&im(d,w,y,v,!0)}}e:{if(f=u?Ts(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var E=iE;else if(Zp(f))if(Rv)E=cE;else{E=lE;var C=aE}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(E=uE);if(E&&(E=E(e,u))){Av(d,E,n,c);break e}C&&C(e,f,u),e==="focusout"&&(C=f._wrapperState)&&C.controlled&&f.type==="number"&&Kc(f,"number",f.value)}switch(C=u?Ts(u):window,e){case"focusin":(Zp(C)||C.contentEditable==="true")&&(Es=C,sd=u,qo=null);break;case"focusout":qo=sd=Es=null;break;case"mousedown":od=!0;break;case"contextmenu":case"mouseup":case"dragend":od=!1,rm(d,n,c);break;case"selectionchange":if(hE)break;case"keydown":case"keyup":rm(d,n,c)}var T;if(Wf)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else Ss?Nv(e,n)&&(k="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(k="onCompositionStart");k&&(Pv&&n.locale!=="ko"&&(Ss||k!=="onCompositionStart"?k==="onCompositionEnd"&&Ss&&(T=kv()):(fr=c,Bf="value"in fr?fr.value:fr.textContent,Ss=!0)),C=yl(u,k),0<C.length&&(k=new Yp(k,e,null,n,c),d.push({event:k,listeners:C}),T?k.data=T:(T=jv(n),T!==null&&(k.data=T)))),(T=tE?nE(e,n):rE(e,n))&&(u=yl(u,"onBeforeInput"),0<u.length&&(c=new Yp("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=T))}zv(d,t)}
vendor: 6,160 bytes, lines 37-38
37)}function xi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function yl(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,o=s.stateNode;s.tag===5&&o!==null&&(s=o,o=fi(e,n),o!=null&&r.unshift(xi(e,o,s)),o=fi(e,t),o!=null&&r.push(xi(e,o,s))),e=e.return}return r}function ys(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function im(e,t,n,r,s){for(var o=t._reactName,i=[];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=fi(n,o),l!=null&&i.unshift(xi(n,l,a))):s||(l=fi(n,o),l!=null&&i.push(xi(n,l,a)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var yE=/\r\n?/g,vE=/\u0000|\uFFFD/g;function am(e){return(typeof e=="string"?e:""+e).replace(yE,` 38`).replace(vE,"")}function ba(e,t,n){if(t=am(t),am(e)!==t&&n)throw Error(I(425))}function vl(){}var id=null,ad=null;function ld(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 ud=typeof setTimeout=="function"?setTimeout:void 0,xE=typeof clearTimeout=="function"?clearTimeout:void 0,lm=typeof Promise=="function"?Promise:void 0,wE=typeof queueMicrotask=="function"?queueMicrotask:typeof lm<"u"?function(e){return lm.resolve(null).then(e).catch(bE)}:ud;function bE(e){setTimeout(function(){throw e})}function sc(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),mi(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);mi(t)}function xr(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 um(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 ho=Math.random().toString(36).slice(2),vn="__reactFiber$"+ho,wi="__reactProps$"+ho,Vn="__reactContainer$"+ho,cd="__reactEvents$"+ho,SE="__reactListeners$"+ho,EE="__reactHandles$"+ho;function Wr(e){var t=e[vn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Vn]||n[vn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=um(e);e!==null;){if(n=e[vn])return n;e=um(e)}return t}e=n,n=e.parentNode}return null}function Gi(e){return e=e[vn]||e[Vn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ts(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(I(33))}function nu(e){return e[wi]||null}var dd=[],ks=-1;function Mr(e){return{current:e}}function ve(e){0>ks||(e.current=dd[ks],dd[ks]=null,ks--)}function he(e,t){ks++,dd[ks]=e.current,e.current=t}var Tr={},Qe=Mr(Tr),ct=Mr(!1),ss=Tr;function Js(e,t){var n=e.type.contextTypes;if(!n)return Tr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},o;for(o in n)s[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function dt(e){return e=e.childContextTypes,e!=null}function xl(){ve(ct),ve(Qe)}function cm(e,t,n){if(Qe.current!==Tr)throw Error(I(168));he(Qe,t),he(ct,n)}function Wv(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(I(108,a2(e)||"Unknown",s));return Te({},n,r)}function wl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tr,ss=Qe.current,he(Qe,e),he(ct,ct.current),!0}function dm(e,t,n){var r=e.stateNode;if(!r)throw Error(I(169));n?(e=Wv(e,t,ss),r.__reactInternalMemoizedMergedChildContext=e,ve(ct),ve(Qe),he(Qe,e)):ve(ct),he(ct,n)}var An=null,ru=!1,oc=!1;function Uv(e){An===null?An=[e]:An.push(e)}function CE(e){ru=!0,Uv(e)}function Dr(){if(!oc&&An!==null){oc=!0;var e=0,t=ue;try{var n=An;for(ue=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}An=null,ru=!1}catch(s){throw An!==null&&(An=An.slice(e+1)),mv(Of,Dr),s}finally{ue=t,oc=!1}}return null}var Ps=[],Ns=0,bl=null,Sl=0,jt=[],At=0,os=null,Mn=1,Dn="";function _r(e,t){Ps[Ns++]=Sl,Ps[Ns++]=bl,bl=e,Sl=t}function Hv(e,t,n){jt[At++]=Mn,jt[At++]=Dn,jt[At++]=os,os=e;var r=Mn;e=Dn;var s=32-en(r)-1;r&=~(1<<s),n+=1;var o=32-en(t)+s;if(30<o){var i=s-s%5;o=(r&(1<<i)-1).toString(32),r>>=i,s-=i,Mn=1<<32-en(t)+s|n<<s|r,Dn=o+e}else Mn=1<<o|n<<s|r,Dn=e}function Hf(e){e.return!==null&&(_r(e,1),Hv(e,1,0))}function Kf(e){for(;e===bl;)bl=Ps[--Ns],Ps[Ns]=null,Sl=Ps[--Ns],Ps[Ns]=null;for(;e===os;)os=jt[--At],jt[At]=null,Dn=jt[--At],jt[At]=null,Mn=jt[--At],jt[At]=null}var Et=null,St=null,we=!1,Jt=null;function Kv(e,t){var n=Rt(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 fm(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,Et=e,St=xr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Et=e,St=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=os!==null?{id:Mn,overflow:Dn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Rt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Et=e,St=null,!0):!1;default:return!1}}function fd(e){return(e.mode&1)!==0&&(e.flags&128)===0}function hd(e){if(we){var t=St;if(t){var n=t;if(!fm(e,t)){if(fd(e))throw Error(I(418));t=xr(n.nextSibling);var r=Et;t&&fm(e,t)?Kv(r,n):(e.flags=e.flags&-4097|2,we=!1,Et=e)}}else{if(fd(e))throw Error(I(418));e.flags=e.flags&-4097|2,we=!1,Et=e}}}function hm(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Et=e}function Sa(e){if(e!==Et)return!1;if(!we)return hm(e),we=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ld(e.type,e.memoizedProps)),t&&(t=St)){if(fd(e))throw Gv(),Error(I(418));for(;t;)Kv(e,t),t=xr(t.nextSibling)}if(hm(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(I(317)
vendor: 15,201 bytes, line 38
38);e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){St=xr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}St=null}}else St=Et?xr(e.stateNode.nextSibling):null;return!0}function Gv(){for(var e=St;e;)e=xr(e.nextSibling)}function eo(){St=Et=null,we=!1}function Gf(e){Jt===null?Jt=[e]:Jt.push(e)}var TE=$n.ReactCurrentBatchConfig;function Lo(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(I(309));var r=n.stateNode}if(!r)throw Error(I(147,e));var s=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(i){var a=s.refs;i===null?delete a[o]:a[o]=i},t._stringRef=o,t)}if(typeof e!="string")throw Error(I(284));if(!n._owner)throw Error(I(290,e))}return e}function Ea(e,t){throw e=Object.prototype.toString.call(t),Error(I(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function pm(e){var t=e._init;return t(e._payload)}function Yv(e){function t(m,g){if(e){var x=m.deletions;x===null?(m.deletions=[g],m.flags|=16):x.push(g)}}function n(m,g){if(!e)return null;for(;g!==null;)t(m,g),g=g.sibling;return null}function r(m,g){for(m=new Map;g!==null;)g.key!==null?m.set(g.key,g):m.set(g.index,g),g=g.sibling;return m}function s(m,g){return m=Er(m,g),m.index=0,m.sibling=null,m}function o(m,g,x){return m.index=x,e?(x=m.alternate,x!==null?(x=x.index,x<g?(m.flags|=2,g):x):(m.flags|=2,g)):(m.flags|=1048576,g)}function i(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,g,x,S){return g===null||g.tag!==6?(g=fc(x,m.mode,S),g.return=m,g):(g=s(g,x),g.return=m,g)}function l(m,g,x,S){var E=x.type;return E===bs?c(m,g,x.props.children,S,x.key):g!==null&&(g.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===nr&&pm(E)===g.type)?(S=s(g,x.props),S.ref=Lo(m,g,x),S.return=m,S):(S=Za(x.type,x.key,x.props,null,m.mode,S),S.ref=Lo(m,g,x),S.return=m,S)}function u(m,g,x,S){return g===null||g.tag!==4||g.stateNode.containerInfo!==x.containerInfo||g.stateNode.implementation!==x.implementation?(g=hc(x,m.mode,S),g.return=m,g):(g=s(g,x.children||[]),g.return=m,g)}function c(m,g,x,S,E){return g===null||g.tag!==7?(g=ts(x,m.mode,S,E),g.return=m,g):(g=s(g,x),g.return=m,g)}function d(m,g,x){if(typeof g=="string"&&g!==""||typeof g=="number")return g=fc(""+g,m.mode,x),g.return=m,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case fa:return x=Za(g.type,g.key,g.props,null,m.mode,x),x.ref=Lo(m,null,g),x.return=m,x;case ws:return g=hc(g,m.mode,x),g.return=m,g;case nr:var S=g._init;return d(m,S(g._payload),x)}if(zo(g)||jo(g))return g=ts(g,m.mode,x,null),g.return=m,g;Ea(m,g)}return null}function f(m,g,x,S){var E=g!==null?g.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return E!==null?null:a(m,g,""+x,S);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case fa:return x.key===E?l(m,g,x,S):null;case ws:return x.key===E?u(m,g,x,S):null;case nr:return E=x._init,f(m,g,E(x._payload),S)}if(zo(x)||jo(x))return E!==null?null:c(m,g,x,S,null);Ea(m,x)}return null}function h(m,g,x,S,E){if(typeof S=="string"&&S!==""||typeof S=="number")return m=m.get(x)||null,a(g,m,""+S,E);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case fa:return m=m.get(S.key===null?x:S.key)||null,l(g,m,S,E);case ws:return m=m.get(S.key===null?x:S.key)||null,u(g,m,S,E);case nr:var C=S._init;return h(m,g,x,C(S._payload),E)}if(zo(S)||jo(S))return m=m.get(x)||null,c(g,m,S,E,null);Ea(g,S)}return null}function y(m,g,x,S){for(var E=null,C=null,T=g,k=g=0,P=null;T!==null&&k<x.length;k++){T.index>k?(P=T,T=null):P=T.sibling;var j=f(m,T,x[k],S);if(j===null){T===null&&(T=P);break}e&&T&&j.alternate===null&&t(m,T),g=o(j,g,k),C===null?E=j:C.sibling=j,C=j,T=P}if(k===x.length)return n(m,T),we&&_r(m,k),E;if(T===null){for(;k<x.length;k++)T=d(m,x[k],S),T!==null&&(g=o(T,g,k),C===null?E=T:C.sibling=T,C=T);return we&&_r(m,k),E}for(T=r(m,T);k<x.length;k++)P=h(T,m,k,x[k],S),P!==null&&(e&&P.alternate!==null&&T.delete(P.key===null?k:P.key),g=o(P,g,k),C===null?E=P:C.sibling=P,C=P);return e&&T.forEach(function(M){return t(m,M)}),we&&_r(m,k),E}function v(m,g,x,S){var E=jo(x);if(typeof E!="function")throw Error(I(150));if(x=E.call(x),x==null)throw Error(I(151));for(var C=E=null,T=g,k=g=0,P=null,j=x.next();T!==null&&!j.done;k++,j=x.next()){T.index>k?(P=T,T=null):P=T.sibling;var M=f(m,T,j.value,S);if(M===null){T===null&&(T=P);break}e&&T&&M.alternate===null&&t(m,T),g=o(M,g,k),C===null?E=M:C.sibling=M,C=M,T=P}if(j.done)return n(m,T),we&&_r(m,k),E;if(T===null){for(;!j.done;k++,j=x.next())j=d(m,j.value,S),j!==null&&(g=o(j,g,k),C===null?E=j:C.sibling=j,C=j);return we&&_r(m,k),E}for(T=r(m,T);!j.done;k++,j=x.next())j=h(T,m,k,j.value,S),j!==null&&(e&&j.alternate!==null&&T.delete(j.key===null?k:j.key),g=o(j,g,k),C===null?E=j:C.sibling=j,C=j);return e&&T.forEach(function(D){return t(m,D)}),we&&_r(m,k),E}function w(m,g,x,S){if(typeof x=="object"&&x!==null&&x.type===bs&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case fa:e:{for(var E=x.key,C=g;C!==null;){if(C.key===E){if(E=x.type,E===bs){if(C.tag===7){n(m,C.sibling),g=s(C,x.props.children),g.return=m,m=g;break e}}else if(C.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===nr&&pm(E)===C.type){n(m,C.sibling),g=s(C,x.props),g.ref=Lo(m,C,x),g.return=m,m=g;break e}n(m,C);break}else t(m,C);C=C.sibling}x.type===bs?(g=ts(x.props.children,m.mode,S,x.key),g.return=m,m=g):(S=Za(x.type,x.key,x.props,null,m.mode,S),S.ref=Lo(m,g,x),S.return=m,m=S)}return i(m);case ws:e:{for(C=x.key;g!==null;){if(g.key===C)if(g.tag===4&&g.stateNode.containerInfo===x.containerInfo&&g.stateNode.implementation===x.implementation){n(m,g.sibling),g=s(g,x.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=hc(x,m.mode,S),g.return=m,m=g}return i(m);case nr:return C=x._init,w(m,g,C(x._payload),S)}if(zo(x))return y(m,g,x,S);if(jo(x))return v(m,g,x,S);Ea(m,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,g!==null&&g.tag===6?(n(m,g.sibling),g=s(g,x),g.return=m,m=g):(n(m,g),g=fc(x,m.mode,S),g.return=m,m=g),i(m)):n(m,g)}return w}var to=Yv(!0),Xv=Yv(!1),El=Mr(null),Cl=null,js=null,Yf=null;function Xf(){Yf=js=Cl=null}function Qf(e){var t=El.current;ve(El),e._currentValue=t}function pd(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 _s(e,t){Cl=e,Yf=js=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ut=!0),e.firstContext=null)}function It(e){var t=e._currentValue;if(Yf!==e)if(e={context:e,memoizedValue:t,next:null},js===null){if(Cl===null)throw Error(I(308));js=e,Cl.dependencies={lanes:0,firstContext:e}}else js=js.next=e;return t}var Ur=null;function qf(e){Ur===null?Ur=[e]:Ur.push(e)}function Qv(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,qf(t)):(n.next=s.next,s.next=n),t.interleaved=n,Fn(e,r)}function Fn(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 rr=!1;function Zf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qv(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 Ln(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function wr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,se&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,Fn(e,n)}return s=r.interleaved,s===null?(t.next=t,qf(r)):(t.next=s.next,s.next=t),r.interleaved=t,Fn(e,n)}function Ka(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,Vf(e,n)}}function mm(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?s=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?s=o=t:o=o.next=t}else s=o=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Tl(e,t,n,r){var s=e.updateQueue;rr=!1;var o=s.firstBaseUpdate,i=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var l=a,u=l.next;l.next=null,i===null?o=u:i.next=u,i=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==i&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(o!==null){var d=s.baseState;i=0,c=u=l=null,a=o;do{var f=a.lane,h=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,v=a;switch(f=t,h=n,v.tag){case 1:if(y=v.payload,typeof y=="function"){d=y.call(h,d,f);break e}d=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=v.payload,f=typeof y=="function"?y.call(h,d,f):y,f==null)break e;d=Te({},d,f);break e;case 2:rr=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=s.effects,f===null?s.effects=[a]:f.push(a))}else h={eventTime:h,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=h,l=d):c=c.next=h,i|=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 i|=s.lane,s=s.next;while(s!==t)}else o===null&&(s.shared.lanes=0);as|=i,e.lanes=i,e.memoizedState=d}}function gm(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(I(191,s));s.call(r)}}}var Yi={},bn=Mr(Yi),bi=Mr(Yi),Si=Mr(Yi);function Hr(e){if(e===Yi)throw Error(I(174));return e}function Jf(e,t){switch(he(Si,t),he(bi,e),he(bn,Yi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Yc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Yc(t,e)}ve(bn),he(bn,t)}function no(){ve(bn),ve(bi),ve(Si)}function Zv(e){Hr(Si.current);var t=Hr(bn.current),n=Yc(t,e.type);t!==n&&(he(bi,e),he(bn,n))}function eh(e){bi.current===e&&(ve(bn),ve(bi))}var be=Mr(0);function kl(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 ic=[];function th(){for(var e=0;e<ic.length;e++)ic[e]._workInProgressVersionPrimary=null;ic.length=0}var Ga=$n.ReactCurrentDispatcher,ac=$n.ReactCurrentBatchConfig,is=0,Ce=null,Ie=null,Be=null,Pl=!1,Zo=!1,Ei=0,kE=0;function Ke(){throw Error(I(321))}function nh(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sn(e[n],t[n]))return!1;return!0}function rh(e,t,n,r,s,o){if(is=o,Ce=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ga.current=e===null||e.memoizedState===null?AE:RE,e=n(r,s),Zo){o=0;do{if(Zo=!1,Ei=0,25<=o)throw Error(I(301));o+=1,Be=Ie=null,t.updateQueue=null,Ga.current=ME,e=n(r,s)}while(Zo)}if(Ga.current=Nl,t=Ie!==null&&Ie.next!==null,is=0,Be=Ie=Ce=null,Pl=!1,t)throw Error(I(300));return e}function sh(){var e=Ei!==0;return Ei=0,e}function fn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Be===null?Ce.memoizedState=Be=e:Be=Be.next=e,Be}function Ot(){if(Ie===null){var e=Ce.alternate;e=e!==null?e.memoizedState:null}else e=Ie.next;var t=Be===null?Ce.memoizedState:Be.next;if(t!==null)Be=t,Ie=e;else{if(e===null)throw Error(I(310));Ie=e,e={memoizedState:Ie.memoizedState,baseState:Ie.baseState,baseQueue:Ie.baseQueue,queue:Ie.queue,next:null},Be===null?Ce.memoizedState=Be=e:Be=Be.next=e}return Be}function Ci(e,t){return typeof t=="function"?t(e):t}function lc(e){var t=Ot(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=Ie,s=r.baseQueue,o=n.pending;if(o!==null){if(s!==null){var i=s.next;s.next=o.next,o.next=i}r.baseQueue=s=o,n.pending=null}if(s!==null){o=s.next,r=r.baseState;var a=i=null,l=null,u=o;do{var c=u.lane;if((is&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,i=r):l=l.next=d,Ce.lanes|=c,as|=c}u=u.next}while(u!==null&&u!==o);l===null?i=r:l.next=a,sn(r,t.memoizedState)||(ut=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do o=s.lane,Ce.lanes|=o,as|=o,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function uc(e){var t=Ot(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,o=t.memoizedState;if(s!==null){n.pending=null;var i=s=s.next;do o=e(o,i.action),i=i.next;while(i!==s);sn(o,t.memoizedState)||(ut=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Jv(){}function ex(e,t){var n=Ce,r=Ot(),s=t(),o=!sn(r.memoizedState,s);if(o&&(r.memoizedState=s,ut=!0),r=r.queue,oh(rx.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Be!==null&&Be.memoizedState.tag&1){if(n.flags|=2048,Ti(9,nx.bind(null,n,r,s,t),void 0,null),ze===null)throw Error(I(349));is&30||tx(n,t,s)}return s}function tx(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ce.updateQueue,t===null?(t={lastEffect:null,stores:null},Ce.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function nx(e,t,n,r){t.value=n,t.getSnapshot=r,sx(t)&&ox(e)}function rx(e,t,n){return n(function(){sx(t)&&ox(e)})}function sx(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sn(e,n)}catch{return!0}}function ox(e){var t=Fn(e,1);t!==null&&tn(t,e,1,-1)}function ym(e){var t=fn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ci,lastRenderedState:e},t.queue=e,e=e.dispatch=jE.bind(null,Ce,e),[t.memoizedState,e]}function Ti(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ce.updateQueue,t===null?(t={lastEffect:null,stores:null},Ce.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 ix(){return Ot().memoizedState}function Ya(e,t,n,r){var s=fn();Ce.flags|=e,s.memoizedState=Ti(1|t,n,void 0,r===void 0?null:r)}function su(e,t,n,r){var s=Ot();r=r===void 0?null:r;var o=void 0;if(Ie!==null){var i=Ie.memoizedState;
vendor: 4,457 bytes, line 38
38if(o=i.destroy,r!==null&&nh(r,i.deps)){s.memoizedState=Ti(t,n,o,r);return}}Ce.flags|=e,s.memoizedState=Ti(1|t,n,o,r)}function vm(e,t){return Ya(8390656,8,e,t)}function oh(e,t){return su(2048,8,e,t)}function ax(e,t){return su(4,2,e,t)}function lx(e,t){return su(4,4,e,t)}function ux(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 cx(e,t,n){return n=n!=null?n.concat([e]):null,su(4,4,ux.bind(null,t,e),n)}function ih(){}function dx(e,t){var n=Ot();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&nh(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function fx(e,t){var n=Ot();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&nh(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function hx(e,t,n){return is&21?(sn(n,t)||(n=vv(),Ce.lanes|=n,as|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ut=!0),e.memoizedState=n)}function PE(e,t){var n=ue;ue=n!==0&&4>n?n:4,e(!0);var r=ac.transition;ac.transition={};try{e(!1),t()}finally{ue=n,ac.transition=r}}function px(){return Ot().memoizedState}function NE(e,t,n){var r=Sr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},mx(e))gx(t,n);else if(n=Qv(e,t,n,r),n!==null){var s=rt();tn(n,e,r,s),yx(n,t,r)}}function jE(e,t,n){var r=Sr(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(mx(e))gx(t,s);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,a=o(i,n);if(s.hasEagerState=!0,s.eagerState=a,sn(a,i)){var l=t.interleaved;l===null?(s.next=s,qf(t)):(s.next=l.next,l.next=s),t.interleaved=s;return}}catch{}finally{}n=Qv(e,t,s,r),n!==null&&(s=rt(),tn(n,e,r,s),yx(n,t,r))}}function mx(e){var t=e.alternate;return e===Ce||t!==null&&t===Ce}function gx(e,t){Zo=Pl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function yx(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Vf(e,n)}}var Nl={readContext:It,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useInsertionEffect:Ke,useLayoutEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useMutableSource:Ke,useSyncExternalStore:Ke,useId:Ke,unstable_isNewReconciler:!1},AE={readContext:It,useCallback:function(e,t){return fn().memoizedState=[e,t===void 0?null:t],e},useContext:It,useEffect:vm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ya(4194308,4,ux.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ya(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ya(4,2,e,t)},useMemo:function(e,t){var n=fn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=fn();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=NE.bind(null,Ce,e),[r.memoizedState,e]},useRef:function(e){var t=fn();return e={current:e},t.memoizedState=e},useState:ym,useDebugValue:ih,useDeferredValue:function(e){return fn().memoizedState=e},useTransition:function(){var e=ym(!1),t=e[0];return e=PE.bind(null,e[1]),fn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ce,s=fn();if(we){if(n===void 0)throw Error(I(407));n=n()}else{if(n=t(),ze===null)throw Error(I(349));is&30||tx(r,t,n)}s.memoizedState=n;var o={value:n,getSnapshot:t};return s.queue=o,vm(rx.bind(null,r,o,e),[e]),r.flags|=2048,Ti(9,nx.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=fn(),t=ze.identifierPrefix;if(we){var n=Dn,r=Mn;n=(r&~(1<<32-en(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ei++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=kE++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},RE={readContext:It,useCallback:dx,useContext:It,useEffect:oh,useImperativeHandle:cx,useInsertionEffect:ax,useLayoutEffect:lx,useMemo:fx,useReducer:lc,useRef:ix,useState:function(){return lc(Ci)},useDebugValue:ih,useDeferredValue:function(e){var t=Ot();return hx(t,Ie.memoizedState,e)},useTransition:function(){var e=lc(Ci)[0],t=Ot().memoizedState;return[e,t]},useMutableSource:Jv,useSyncExternalStore:ex,useId:px,unstable_isNewReconciler:!1},ME={readContext:It,useCallback:dx,useContext:It,useEffect:oh,useImperativeHandle:cx,useInsertionEffect:ax,useLayoutEffect:lx,useMemo:fx,useReducer:uc,useRef
vendor: 4,086 bytes, lines 38-40
38:ix,useState:function(){return uc(Ci)},useDebugValue:ih,useDeferredValue:function(e){var t=Ot();return Ie===null?t.memoizedState=e:hx(t,Ie.memoizedState,e)},useTransition:function(){var e=uc(Ci)[0],t=Ot().memoizedState;return[e,t]},useMutableSource:Jv,useSyncExternalStore:ex,useId:px,unstable_isNewReconciler:!1};function Xt(e,t){if(e&&e.defaultProps){t=Te({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function md(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Te({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ou={isMounted:function(e){return(e=e._reactInternals)?hs(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=rt(),s=Sr(e),o=Ln(r,s);o.payload=t,n!=null&&(o.callback=n),t=wr(e,o,s),t!==null&&(tn(t,e,s,r),Ka(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=rt(),s=Sr(e),o=Ln(r,s);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=wr(e,o,s),t!==null&&(tn(t,e,s,r),Ka(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=rt(),r=Sr(e),s=Ln(n,r);s.tag=2,t!=null&&(s.callback=t),t=wr(e,s,r),t!==null&&(tn(t,e,r,n),Ka(t,e,r))}};function xm(e,t,n,r,s,o,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,i):t.prototype&&t.prototype.isPureReactComponent?!yi(n,r)||!yi(s,o):!0}function vx(e,t,n){var r=!1,s=Tr,o=t.contextType;return typeof o=="object"&&o!==null?o=It(o):(s=dt(t)?ss:Qe.current,r=t.contextTypes,o=(r=r!=null)?Js(e,s):Tr),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ou,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=o),t}function wm(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&&ou.enqueueReplaceState(t,t.state,null)}function gd(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},Zf(e);var o=t.contextType;typeof o=="object"&&o!==null?s.context=It(o):(o=dt(t)?ss:Qe.current,s.context=Js(e,o)),s.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(md(e,t,o,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&&ou.enqueueReplaceState(s,s.state,null),Tl(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function ro(e,t){try{var n="",r=t;do n+=i2(r),r=r.return;while(r);var s=n}catch(o){s=` 39Error generating stack: `+o.message+` 40`+o.stack}return{value:e,source:t,stack:s,digest:null}}function cc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function yd(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var DE=typeof WeakMap=="function"?WeakMap:Map;function xx(e,t,n){n=Ln(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Al||(Al=!0,Pd=r),yd(e,t)},n}function wx(e,t,n){n=Ln(-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(){yd(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){yd(e,t),typeof r!="function"&&(br===null?br=new Set([this]):br.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function bm(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new DE;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=GE.bind(null,e,t,n),t.then(e,e))}function Sm(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}
vendor: 9,904 bytes, line 40
40function Em(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=Ln(-1,1),t.tag=2,wr(n,t,1))),n.lanes|=1),e)}var LE=$n.ReactCurrentOwner,ut=!1;function Je(e,t,n,r){t.child=e===null?Xv(t,null,n,r):to(t,e.child,n,r)}function Cm(e,t,n,r,s){n=n.render;var o=t.ref;return _s(t,s),r=rh(e,t,n,r,o,s),n=sh(),e!==null&&!ut?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,_n(e,t,s)):(we&&n&&Hf(t),t.flags|=1,Je(e,t,r,s),t.child)}function Tm(e,t,n,r,s){if(e===null){var o=n.type;return typeof o=="function"&&!ph(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,bx(e,t,o,r,s)):(e=Za(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&s)){var i=o.memoizedProps;if(n=n.compare,n=n!==null?n:yi,n(i,r)&&e.ref===t.ref)return _n(e,t,s)}return t.flags|=1,e=Er(o,r),e.ref=t.ref,e.return=t,t.child=e}function bx(e,t,n,r,s){if(e!==null){var o=e.memoizedProps;if(yi(o,r)&&e.ref===t.ref)if(ut=!1,t.pendingProps=r=o,(e.lanes&s)!==0)e.flags&131072&&(ut=!0);else return t.lanes=e.lanes,_n(e,t,s)}return vd(e,t,n,r,s)}function Sx(e,t,n){var r=t.pendingProps,s=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},he(Rs,xt),xt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,he(Rs,xt),xt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,he(Rs,xt),xt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,he(Rs,xt),xt|=r;return Je(e,t,s,n),t.child}function Ex(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function vd(e,t,n,r,s){var o=dt(n)?ss:Qe.current;return o=Js(t,o),_s(t,s),n=rh(e,t,n,r,o,s),r=sh(),e!==null&&!ut?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,_n(e,t,s)):(we&&r&&Hf(t),t.flags|=1,Je(e,t,n,s),t.child)}function km(e,t,n,r,s){if(dt(n)){var o=!0;wl(t)}else o=!1;if(_s(t,s),t.stateNode===null)Xa(e,t),vx(t,n,r),gd(t,n,r,s),r=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var l=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=It(u):(u=dt(n)?ss:Qe.current,u=Js(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||l!==u)&&wm(t,i,r,u),rr=!1;var f=t.memoizedState;i.state=f,Tl(t,r,i,s),l=t.memoizedState,a!==r||f!==l||ct.current||rr?(typeof c=="function"&&(md(t,n,c,r),l=t.memoizedState),(a=rr||xm(t,n,a,r,f,l,u))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=u,r=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,qv(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Xt(t.type,a),i.props=u,d=t.pendingProps,f=i.context,l=n.contextType,typeof l=="object"&&l!==null?l=It(l):(l=dt(n)?ss:Qe.current,l=Js(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==d||f!==l)&&wm(t,i,r,l),rr=!1,f=t.memoizedState,i.state=f,Tl(t,r,i,s);var y=t.memoizedState;a!==d||f!==y||ct.current||rr?(typeof h=="function"&&(md(t,n,h,r),y=t.memoizedState),(u=rr||xm(t,n,u,r,f,y,l)||!1)?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,y,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,y,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),i.props=r,i.state=y,i.context=l,r=u):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return xd(e,t,n,r,o,s)}function xd(e,t,n,r,s,o){Ex(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return s&&dm(t,n,!1),_n(e,t,o);r=t.stateNode,LE.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=to(t,e.child,null,o),t.child=to(t,null,a,o)):Je(e,t,a,o),t.memoizedState=r.state,s&&dm(t,n,!0),t.child}function Cx(e){var t=e.stateNode;t.pendingContext?cm(e,t.pendingContext,t.pendingContext!==t.context):t.context&&cm(e,t.context,!1),Jf(e,t.containerInfo)}function Pm(e,t,n,r,s){return eo(),Gf(s),t.flags|=256,Je(e,t,n,r),t.child}var wd={dehydrated:null,treeContext:null,retryLane:0};function bd(e){return{baseLanes:e,cachePool:null,transitions:null}}function Tx(e,t,n){var r=t.pendingProps,s=be.current,o=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(s&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),he(be,s&1),e===null)return hd(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):(i=r.children,e=r.fallback,o?(r=t.mode,o=t.child,i={mode:"hidden",children:i},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=lu(i,r,0,null),e=ts(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=bd(n),t.memoizedState=wd,e):ah(t,i));if(s=e.memoizedState,s!==null&&(a=s.dehydrated,a!==null))return IE(e,t,i,r,a,s,n);if(o){o=r.fallback,i=t.mode,s=e.child,a=s.sibling;var l={mode:"hidden",children:r.children};return!(i&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Er(s,l),r.subtreeFlags=s.subtreeFlags&14680064),a!==null?o=Er(a,o):(o=ts(o,i,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,i=e.child.memoizedState,i=i===null?bd(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~n,t.memoizedState=wd,r}return o=e.child,e=o.sibling,r=Er(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ah(e,t){return t=lu({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ca(e,t,n,r){return r!==null&&Gf(r),to(t,e.child,null,n),e=ah(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function IE(e,t,n,r,s,o,i){if(n)return t.flags&256?(t.flags&=-257,r=cc(Error(I(422))),Ca(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,s=t.mode,r=lu({mode:"visible",children:r.children},s,0,null),o=ts(o,s,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&to(t,e.child,null,i),t.child.memoizedState=bd(i),t.memoizedState=wd,o);if(!(t.mode&1))return Ca(e,t,i,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(I(419)),r=cc(o,r,void 0),Ca(e,t,i,r)}if(a=(i&e.childLanes)!==0,ut||a){if(r=ze,r!==null){switch(i&-i){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|i)?0:s,s!==0&&s!==o.retryLane&&(o.retryLane=s,Fn(e,s),tn(r,e,s,-1))}return hh(),r=cc(Error(I(421))),Ca(e,t,i,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=YE.bind(null,e),s._reactRetry=t,null):(e=o.treeContext,St=xr(s.nextSibling),Et=t,we=!0,Jt=null,e!==null&&(jt[At++]=Mn,jt[At++]=Dn,jt[At++]=os,Mn=e.id,Dn=e.overflow,os=t),t=ah(t,r.children),t.flags|=4096,t)}function Nm(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),pd(e.return,t,n)}function dc(e,t,n,r,s){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=s)}function kx(e,t,n){var r=t.pendingProps,s=r.revealOrder,o=r.tail;if(Je(e,t,r.children,n),r=be.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&&Nm(e,n,t);else if(e.tag===19)Nm(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(he(be,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&&kl(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),dc(t,!1,s,n,o);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&kl(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}dc(t,!0,n,null,o);break;case"together":dc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Xa(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}
vendor: 4,086 bytes, line 40
40function _n(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),as|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(I(153));if(t.child!==null){for(e=t.child,n=Er(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Er(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function OE(e,t,n){switch(t.tag){case 3:Cx(t),eo();break;case 5:Zv(t);break;case 1:dt(t.type)&&wl(t);break;case 4:Jf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;he(El,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(he(be,be.current&1),t.flags|=128,null):n&t.child.childLanes?Tx(e,t,n):(he(be,be.current&1),e=_n(e,t,n),e!==null?e.sibling:null);he(be,be.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return kx(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),he(be,be.current),r)break;return null;case 22:case 23:return t.lanes=0,Sx(e,t,n)}return _n(e,t,n)}var Px,Sd,Nx,jx;Px=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}};Sd=function(){};Nx=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,Hr(bn.current);var o=null;switch(n){case"input":s=Uc(e,s),r=Uc(e,r),o=[];break;case"select":s=Te({},s,{value:void 0}),r=Te({},r,{value:void 0}),o=[];break;case"textarea":s=Gc(e,s),r=Gc(e,r),o=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=vl)}Xc(n,r);var i;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var a=s[u];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ci.hasOwnProperty(u)?o||(o=[]):(o=o||[]).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(i in a)!a.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in l)l.hasOwnProperty(i)&&a[i]!==l[i]&&(n||(n={}),n[i]=l[i])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ci.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ye("scroll",e),o||a===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};jx=function(e,t,n,r){n!==r&&(t.flags|=4)};function Io(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 Ge(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 VE(e,t,n){var r=t.pendingProps;switch(Kf(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ge(t),null;case 1:return dt(t.type)&&xl(),Ge(t),null;case 3:return r=t.stateNode,no(),ve(ct),ve(Qe),th(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Sa(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Jt!==null&&(Ad(Jt),Jt=null))),Sd(e,t),Ge(t),null;case 5:eh(t);var s=Hr(Si.current);
vendor: 29,713 bytes, line 40
40if(n=t.type,e!==null&&t.stateNode!=null)Nx(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(I(166));return Ge(t),null}if(e=Hr(bn.current),Sa(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[vn]=t,r[wi]=o,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<Wo.length;s++)ye(Wo[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":Vp(r,o),ye("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},ye("invalid",r);break;case"textarea":_p(r,o),ye("invalid",r)}Xc(n,o),s=null;for(var i in o)if(o.hasOwnProperty(i)){var a=o[i];i==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&ba(r.textContent,a,e),s=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&ba(r.textContent,a,e),s=["children",""+a]):ci.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&ye("scroll",r)}switch(n){case"input":ha(r),Fp(r,o,!0);break;case"textarea":ha(r),Bp(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=vl)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=rv(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[vn]=t,e[wi]=r,Px(e,t,!1,!1),t.stateNode=e;e:{switch(i=Qc(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<Wo.length;s++)ye(Wo[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":Vp(e,r),s=Uc(e,r),ye("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=Te({},r,{value:void 0}),ye("invalid",e);break;case"textarea":_p(e,r),s=Gc(e,r),ye("invalid",e);break;default:s=r}Xc(n,s),a=s;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?iv(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&sv(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&di(e,l):typeof l=="number"&&di(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(ci.hasOwnProperty(o)?l!=null&&o==="onScroll"&&ye("scroll",e):l!=null&&Rf(e,o,l,i))}switch(n){case"input":ha(e),Fp(e,r,!1);break;case"textarea":ha(e),Bp(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Cr(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Is(e,!!r.multiple,o,!1):r.defaultValue!=null&&Is(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=vl)}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 Ge(t),null;case 6:if(e&&t.stateNode!=null)jx(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(I(166));if(n=Hr(Si.current),Hr(bn.current),Sa(t)){if(r=t.stateNode,n=t.memoizedProps,r[vn]=t,(o=r.nodeValue!==n)&&(e=Et,e!==null))switch(e.tag){case 3:ba(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ba(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[vn]=t,t.stateNode=r}return Ge(t),null;case 13:if(ve(be),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(we&&St!==null&&t.mode&1&&!(t.flags&128))Gv(),eo(),t.flags|=98560,o=!1;else if(o=Sa(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(I(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(I(317));o[vn]=t}else eo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ge(t),o=!1}else Jt!==null&&(Ad(Jt),Jt=null),o=!0;if(!o)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||be.current&1?Ve===0&&(Ve=3):hh())),t.updateQueue!==null&&(t.flags|=4),Ge(t),null);case 4:return no(),Sd(e,t),e===null&&vi(t.stateNode.containerInfo),Ge(t),null;case 10:return Qf(t.type._context),Ge(t),null;case 17:return dt(t.type)&&xl(),Ge(t),null;case 19:if(ve(be),o=t.memoizedState,o===null)return Ge(t),null;if(r=(t.flags&128)!==0,i=o.rendering,i===null)if(r)Io(o,!1);else{if(Ve!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=kl(e),i!==null){for(t.flags|=128,Io(o,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,i=o.alternate,i===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return he(be,be.current&1|2),t.child}e=e.sibling}o.tail!==null&&je()>so&&(t.flags|=128,r=!0,Io(o,!1),t.lanes=4194304)}else{if(!r)if(e=kl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Io(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!we)return Ge(t),null}else 2*je()-o.renderingStartTime>so&&n!==1073741824&&(t.flags|=128,r=!0,Io(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=je(),t.sibling=null,n=be.current,he(be,r?n&1|2:n&1),t):(Ge(t),null);case 22:case 23:return fh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?xt&1073741824&&(Ge(t),t.subtreeFlags&6&&(t.flags|=8192)):Ge(t),null;case 24:return null;case 25:return null}throw Error(I(156,t.tag))}function FE(e,t){switch(Kf(t),t.tag){case 1:return dt(t.type)&&xl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return no(),ve(ct),ve(Qe),th(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return eh(t),null;case 13:if(ve(be),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(I(340));eo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ve(be),null;case 4:return no(),null;case 10:return Qf(t.type._context),null;case 22:case 23:return fh(),null;case 24:return null;default:return null}}var Ta=!1,Xe=!1,_E=typeof WeakSet=="function"?WeakSet:Set,_=null;function As(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ne(e,t,r)}else n.current=null}function Ed(e,t,n){try{n()}catch(r){Ne(e,t,r)}}var jm=!1;function BE(e,t){if(id=ml,e=Lv(),Uf(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,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var h;d!==n||s!==0&&d.nodeType!==3||(a=i+s),d!==o||r!==0&&d.nodeType!==3||(l=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++u===s&&(a=i),f===o&&++c===r&&(l=i),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ad={focusedElem:e,selectionRange:n},ml=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,w=y.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?v:Xt(t.type,v),w);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(I(163))}}catch(S){Ne(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return y=jm,jm=!1,y}function Jo(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 o=s.destroy;s.destroy=void 0,o!==void 0&&Ed(t,n,o)}s=s.next}while(s!==r)}}function iu(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 Cd(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 Ax(e){var t=e.alternate;t!==null&&(e.alternate=null,Ax(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[vn],delete t[wi],delete t[cd],delete t[SE],delete t[EE])),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 Rx(e){return e.tag===5||e.tag===3||e.tag===4}function Am(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Rx(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 Td(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=vl));else if(r!==4&&(e=e.child,e!==null))for(Td(e,t,n),e=e.sibling;e!==null;)Td(e,t,n),e=e.sibling}function kd(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(kd(e,t,n),e=e.sibling;e!==null;)kd(e,t,n),e=e.sibling}var We=null,Zt=!1;function Xn(e,t,n){for(n=n.child;n!==null;)Mx(e,t,n),n=n.sibling}function Mx(e,t,n){if(wn&&typeof wn.onCommitFiberUnmount=="function")try{wn.onCommitFiberUnmount(Zl,n)}catch{}switch(n.tag){case 5:Xe||As(n,t);case 6:var r=We,s=Zt;We=null,Xn(e,t,n),We=r,Zt=s,We!==null&&(Zt?(e=We,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):We.removeChild(n.stateNode));break;case 18:We!==null&&(Zt?(e=We,n=n.stateNode,e.nodeType===8?sc(e.parentNode,n):e.nodeType===1&&sc(e,n),mi(e)):sc(We,n.stateNode));break;case 4:r=We,s=Zt,We=n.stateNode.containerInfo,Zt=!0,Xn(e,t,n),We=r,Zt=s;break;case 0:case 11:case 14:case 15:if(!Xe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var o=s,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Ed(n,t,i),s=s.next}while(s!==r)}Xn(e,t,n);break;case 1:if(!Xe&&(As(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ne(n,t,a)}Xn(e,t,n);break;case 21:Xn(e,t,n);break;case 22:n.mode&1?(Xe=(r=Xe)||n.memoizedState!==null,Xn(e,t,n),Xe=r):Xn(e,t,n);break;default:Xn(e,t,n)}}function Rm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new _E),t.forEach(function(r){var s=XE.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function Ht(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var o=e,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:We=a.stateNode,Zt=!1;break e;case 3:We=a.stateNode.containerInfo,Zt=!0;break e;case 4:We=a.stateNode.containerInfo,Zt=!0;break e}a=a.return}if(We===null)throw Error(I(160));Mx(o,i,s),We=null,Zt=!1;var l=s.alternate;l!==null&&(l.return=null),s.return=null}catch(u){Ne(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Dx(t,e),t=t.sibling}function Dx(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ht(t,e),dn(e),r&4){try{Jo(3,e,e.return),iu(3,e)}catch(v){Ne(e,e.return,v)}try{Jo(5,e,e.return)}catch(v){Ne(e,e.return,v)}}break;case 1:Ht(t,e),dn(e),r&512&&n!==null&&As(n,n.return);break;case 5:if(Ht(t,e),dn(e),r&512&&n!==null&&As(n,n.return),e.flags&32){var s=e.stateNode;try{di(s,"")}catch(v){Ne(e,e.return,v)}}if(r&4&&(s=e.stateNode,s!=null)){var o=e.memoizedProps,i=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&tv(s,o),Qc(a,i);var u=Qc(a,o);for(i=0;i<l.length;i+=2){var c=l[i],d=l[i+1];c==="style"?iv(s,d):c==="dangerouslySetInnerHTML"?sv(s,d):c==="children"?di(s,d):Rf(s,c,d,u)}switch(a){case"input":Hc(s,o);break;case"textarea":nv(s,o);break;case"select":var f=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!o.multiple;var h=o.value;h!=null?Is(s,!!o.multiple,h,!1):f!==!!o.multiple&&(o.defaultValue!=null?Is(s,!!o.multiple,o.defaultValue,!0):Is(s,!!o.multiple,o.multiple?[]:"",!1))}s[wi]=o}catch(v){Ne(e,e.return,v)}}break;case 6:if(Ht(t,e),dn(e),r&4){if(e.stateNode===null)throw Error(I(162));s=e.stateNode,o=e.memoizedProps;try{s.nodeValue=o}catch(v){Ne(e,e.return,v)}}break;case 3:if(Ht(t,e),dn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{mi(t.containerInfo)}catch(v){Ne(e,e.return,v)}break;case 4:Ht(t,e),dn(e);break;case 13:Ht(t,e),dn(e),s=e.child,s.flags&8192&&(o=s.memoizedState!==null,s.stateNode.isHidden=o,!o||s.alternate!==null&&s.alternate.memoizedState!==null||(ch=je())),r&4&&Rm(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Xe=(u=Xe)||c,Ht(t,e),Xe=u):Ht(t,e),dn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(_=e,c=e.child;c!==null;){for(d=_=c;_!==null;){switch(f=_,h=f.child,f.tag){case 0:case 11:case 14:case 15:Jo(4,f,f.return);break;case 1:As(f,f.return);var y=f.stateNode;if(typeof y.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(v){Ne(r,n,v)}}break;case 5:As(f,f.return);break;case 22:if(f.memoizedState!==null){Dm(d);continue}}h!==null?(h.return=f,_=h):Dm(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{s=d.stateNode,u?(o=s.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=d.stateNode,l=d.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=ov("display",i))}catch(v){Ne(e,e.return,v)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(v){Ne(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:Ht(t,e),dn(e),r&4&&Rm(e);break;case 21:break;default:Ht(t,e),dn(e)}}function dn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Rx(n)){var r=n;break e}n=n.return}throw Error(I(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(di(s,""),r.flags&=-33);var o=Am(e);kd(e,o,s);break;case 3:case 4:var i=r.stateNode.containerInfo,a=Am(e);Td(e,a,i);break;default:throw Error(I(161))}}catch(l){Ne(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function zE(e,t,n){_=e,Lx(e)}function Lx(e,t,n){for(var r=(e.mode&1)!==0;_!==null;){var s=_,o=s.child;if(s.tag===22&&r){var i=s.memoizedState!==null||Ta;if(!i){var a=s.alternate,l=a!==null&&a.memoizedState!==null||Xe;a=Ta;var u=Xe;if(Ta=i,(Xe=l)&&!u)for(_=s;_!==null;)i=_,l=i.child,i.tag===22&&i.memoizedState!==null?Lm(s):l!==null?(l.return=i,_=l):Lm(s);for(;o!==null;)_=o,Lx(o),o=o.sibling;_=s,Ta=a,Xe=u}Mm(e)}else s.subtreeFlags&8772&&o!==null?(o.return=s,_=o):Mm(e)}}function Mm(e){for(;_!==null;){var t=_;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Xe||iu(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Xe)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:Xt(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&gm(t,o,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}gm(t,i,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&&mi(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(I(163))}Xe||t.flags&512&&Cd(t)}catch(f){Ne(t,t.return,f)}}if(t===e){_=null;break}if(n=t.sibling,n!==null){n.return=t.return,_=n;break}_=t.return}}function Dm(e){for(;_!==null;){var t=_;if(t===e){_=null;break}var n=t.sibling;if(n!==null){n.return=t.return,_=n;break}_=t.return}}function Lm(e){for(;_!==null;){var t=_;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{iu(4,t)}catch(l){Ne(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(l){Ne(t,s,l)}}var o=t.return;try{Cd(t)}catch(l){Ne(t,o,l)}break;case 5:var i=t.return;try{Cd(t)}catch(l){Ne(t,i,l)}}}catch(l){Ne(t,t.return,l)}if(t===e){_=null;break}var a=t.sibling;if(a!==null){a.return=t.return,_=a;break}_=t.return}}var $E=Math.ceil,jl=$n.ReactCurrentDispatcher,lh=$n.ReactCurrentOwner,Lt=$n.ReactCurrentBatchConfig,se=0,ze=null,De=null,Ue=0,xt=0,Rs=Mr(0),Ve=0,ki=null,as=0,au=0,uh=0,ei=null,lt=null,ch=0,so=1/0,jn=null,Al=!1,Pd=null,br=null,ka=!1,hr=null,Rl=0,ti=0,Nd=null,Qa=-1,qa=0;function rt(){return se&6?je():Qa!==-1?Qa:Qa=je()}function Sr(e){return e.mode&1?se&2&&Ue!==0?Ue&-Ue:TE.transition!==null?(qa===0&&(qa=vv()),qa):(e=ue,e!==0||(e=window.event,e=e===void 0?16:Tv(e.type)),e):1}function tn(e,t,n,r){if(50<ti)throw ti=0,Nd=null,Error(I(185));Hi(e,n,r),(!(se&2)||e!==ze)&&(e===ze&&(!(se&2)&&(au|=n),Ve===4&&or(e,Ue)),ft(e,r),n===1&&se===0&&!(t.mode&1)&&(so=je()+500,ru&&Dr()))}function ft(e,t){var n=e.callbackNode;T2(e,t);var r=pl(e,e===ze?Ue:0);if(r===0)n!==null&&Wp(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Wp(n),t===1)e.tag===0?CE(Im.bind(null,e)):Uv(Im.bind(null,e)),wE(function(){!(se&6)&&Dr()}),n=null;else{switch(xv(r)){case 1:n=Of;break;case 4:n=gv;break;case 16:n=hl;break;case 536870912:n=yv;break;default:n=hl}n=$x(n,Ix.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ix(e,t){if(Qa=-1,qa=0,se&6)throw Error(I(327));var n=e.callbackNode;if(Bs()&&e.callbackNode!==n)return null;var r=pl(e,e===ze?Ue:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ml(e,r);else{t=r;var s=se;se|=2;var o=Vx();(ze!==e||Ue!==t)&&(jn=null,so=je()+500,es(e,t));do try{HE();break}catch(a){Ox(e,a)}while(!0);Xf(),jl.current=o,se=s,De!==null?t=0:(ze=null,Ue=0,t=Ve)}if(t!==0){if(t===2&&(s=td(e),s!==0&&(r=s,t=jd(e,s))),t===1)throw n=ki,es(e,0),or(e,r),ft(e,je()),n;if(t===6)or(e,r);else{if(s=e.current.alternate,!(r&30)&&!WE(s)&&(t=Ml(e,r),t===2&&(o=td(e),o!==0&&(r=o,t=jd(e,o))),t===1))throw n=ki,es(e,0),or(e,r),ft(e,je()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(I(345));case 2:Br(e,lt,jn);break;case 3:if(or(e,r),(r&130023424)===r&&(t=ch+500-je(),10<t)){if(pl(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){rt(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=ud(Br.bind(null,e,lt,jn),t);break}Br(e,lt,jn);break;case 4:if(or(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var i=31-en(r);o=1<<i,i=t[i],i>s&&(s=i),r&=~o}if(r=s,r=je()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$E(r/1960))-r,10<r){e.timeoutHandle=ud(Br.bind(null,e,lt,jn),r);break}Br(e,lt,jn);break;case 5:Br(e,lt,jn);break;default:throw Error(I(329))}}}return ft(e,je()),e.callbackNode===n?Ix.bind(null,e):null}function jd(e,t){var n=ei;return e.current.memoizedState.isDehydrated&&(es(e,t).flags|=256),e=Ml(e,t),e!==2&&(t=lt,lt=n,t!==null&&Ad(t)),e}function Ad(e){lt===null?lt=e:lt.push.apply(lt,e)}function WE(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],o=s.getSnapshot;s=s.value;try{if(!sn(o(),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 or(e,t){for(t&=~uh,t&=~au,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-en(t),r=1<<n;e[n]=-1,t&=~r}}function Im(e){if(se&6)throw Error(I(327));Bs();var t=pl(e,0);if(!(t&1))return ft(e,je()),null;var n=Ml(e,t);if(e.tag!==0&&n===2){var r=td(e);r!==0&&(t=r,n=jd(e,r))}if(n===1)throw n=ki,es(e,0),or(e,t),ft(e,je()),n;if(n===6)throw Error(I(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Br(e,lt,jn),ft(e,je()),null}function dh(e,t){var n=se;se|=1;try{return e(t)}finally{se=n,se===0&&(so=je()+500,ru&&Dr())}}function ls(e){hr!==null&&hr.tag===0&&!(se&6)&&Bs();var t=se;se|=1;var n=Lt.transition,r=ue;try{if(Lt.transition=null,ue=1,e)return e()}finally{ue=r,Lt.transition=n,se=t,!(se&6)&&Dr()}}function fh(){xt=Rs.current,ve(Rs)}function es(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,xE(n)),De!==null)for(n=De.return;n!==null;){var r=n;switch(Kf(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&xl();break;case 3:no(),ve(ct),ve(Qe),th();break;case 5:eh(r);break;case 4:no();break;case 13:ve(be);break;case 19:ve(be);break;case 10:Qf(r.type._context);break;case 22:case 23:fh()}n=n.return}if(ze=e,De=e=Er(e.current,null),Ue=xt=t,Ve=0,ki=null,uh=au=as=0,lt=ei=null,Ur!==null){for(t=0;t<Ur.length;t++)if(n=Ur[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,o=n.pending;if(o!==null){var i=o.next;o.next=s,r.next=i}n.pending=r}Ur=null}return e}function Ox(e,t){do{var n=De;try{if(Xf(),Ga.current=Nl,Pl){for(var r=Ce.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}Pl=!1}if(is=0,Be=Ie=Ce=null,Zo=!1,Ei=0,lh.current=null,n===null||n.return===null){Ve=1,ki=t,De=null;break}e:{var o=e,i=n.return,a=n,l=t;if(t=Ue,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 h=Sm(i);if(h!==null){h.flags&=-257,Em(h,i,a,o,t),h.mode&1&&bm(o,u,t),t=h,l=u;var y=t.updateQueue;if(y===null){var v=new Set;v.add(l),t.updateQueue=v}else y.add(l);break e}else{if(!(t&1)){bm(o,u,t),hh();break e}l=Error(I(426))}}else if(we&&a.mode&1){var w=Sm(i);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Em(w,i,a,o,t),Gf(ro(l,a));break e}}o=l=ro(l,a),Ve!==4&&(Ve=2),ei===null?ei=[o]:ei.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var m=xx(o,l,t);mm(o,m);break e;case 1:a=l;var g=o.type,x=o.stateNode;if(!(o.flags&128)&&(typeof g.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(br===null||!br.has(x)))){o.flags|=65536,t&=-t,o.lanes|=t;var S=wx(o,a,t);mm(o,S);break e}}o=o.return}while(o!==null)}_x(n)}catch(E){t=E,De===n&&n!==null&&(De=n=n.return);continue}break}while(!0)}function Vx(){var e=jl.current;return jl.current=Nl,e===null?Nl:e}function hh(){(Ve===0||Ve===3||Ve===2)&&(Ve=4),ze===null||!(as&268435455)&&!(au&268435455)||or(ze,Ue)}function Ml(e,t){var n=se;se|=2;var r=Vx();(ze!==e||Ue!==t)&&(jn=null,es(e,t));do try{UE();break}catch(s){Ox(e,s)}while(!0);if(Xf(),se=n,jl.current=r,De!==null)throw Error(I(261));return ze=null,Ue=0,Ve}function UE(){for(;De!==null;)Fx(De)}function HE(){for(;De!==null&&!g2();)Fx(De)}function Fx(e){var t=zx(e.alternate,e,xt);e.memoizedProps=e.pendingProps,t===null?_x(e):De=t,lh.current=null}function _x(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=FE(n,t),n!==null){n.flags&=32767,De=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ve=6,De=null;return}}else if(n=VE(n,t,xt),n!==null){De=n;return}if(t=t.sibling,t!==null){De=t;return}De=t=e}while(t!==null);Ve===0&&(Ve=5)}function Br(e,t,n){var r=ue,s=Lt.transition;try{Lt.transition=null,ue=1,KE(e,t,n,r)}finally{Lt.transition=s,ue=r}return null}function KE(e,t,n,r){do Bs();while(hr!==null);if(se&6)throw Error(I(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(I(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(k2(e,o),e===ze&&(De=ze=null,Ue=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ka||(ka=!0,$x(hl,function(){return Bs(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Lt.transition,Lt.transition=null;var i=ue;ue=1;var a=se;se|=4,lh.current=null,BE(e,n),Dx(n,e),fE(ad),ml=!!id,ad=id=null,e.current=n,zE(n),y2(),se=a,ue=i,Lt.transition=o}else e.current=n;if(ka&&(ka=!1,hr=e,Rl=s),o=e.pendingLanes,o===0&&(br=null),w2(n.stateNode),ft(e,je()),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(Al)throw Al=!1,e=Pd,Pd=null,e;return Rl&1&&e.tag!==0&&Bs(),o=e.pendingLanes,o&1?e===Nd?ti++:(ti=0,Nd=e):ti=0,Dr(),null}function Bs(){if(hr!==null){var e=xv(Rl),t=Lt.transition,n=ue;try{if(Lt.transition=null,ue=16>e?16:e,hr===null)var r=!1;else{if(e=hr,hr=null,Rl=0,se&6)throw Error(I(331));var s=se;for(se|=4,_=e.current;_!==null;){var o=_,i=o.child;if(_.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(_=u;_!==null;){var c=_;switch(c.tag){case 0:case 11:case 15:Jo(8,c,o)}var d=c.child;if(d!==null)d.return=c,_=d;else for(;_!==null;){c=_;var f=c.sibling,h=c.return;if(Ax(c),c===u){_=null;break}if(f!==null){f.return=h,_=f;break}_=h}}}var y=o.alternate;if(y!==null){var v=y.child;if(v!==null){y.child=null;do{var w=v.sibling;v.sibling=null,v=w}while(v!==null)}}_=o}}if(o.subtreeFlags&2064&&i!==null)i.return=o,_=i;else e:for(;_!==null;){if(o=_,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Jo(9,o,o.return)}var m=o.sibling;if(m!==null){m.return=o.return,_=m;break e}_=o.return}}var g=e.current;for(_=g;_!==null;){i=_;var x=i.child;if(i.subtreeFlags&2064&&x!==null)x.return=i,_=x;else e:for(i=g;_!==null;){if(a=_,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:iu(9,a)}}catch(E){Ne(a,a.return,E)}if(a===i){_=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,_=S;break e}_=a.return}}if(se=s,Dr(),wn&&typeof wn.onPostCommitFiberRoot=="function")try{wn.onPostCommitFiberRoot(Zl,e)}catch{}r=!0}return r}finally{ue=n,Lt.transition=t}}return!1}function Om(e,t,n){t=ro(n,t),t=xx(e,t,1),e=wr(e,t,1),t=rt(),e!==null&&(Hi(e,1,t),ft(e,t))}function Ne(e,t,n){if(e.tag===3)Om(e,e,n);else for(;t!==null;){if(t.tag===3){Om(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(br===null||!br.has(r))){e=ro(n,e),e=wx(t,e,1),t=wr(t,e,1),e=rt(),t!==null&&(Hi(t,1,e),ft(t,e));break}}t=t.return}}function GE(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=rt(),e.pingedLanes|=e.suspendedLanes&n,ze===e&&(Ue&n)===n&&(Ve===4||Ve===3&&(Ue&130023424)===Ue&&500>je()-ch?es(e,0):uh|=n),ft(e,t)}function Bx(e,t){t===0&&(e.mode&1?(t=ga,ga<<=1,!(ga&130023424)&&(ga=4194304)):t=1);var n=rt();e=Fn(e,t),e!==null&&(Hi(e,t,n),ft(e,n))}function YE(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Bx(e,n)}function XE(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(I(314))}r!==null&&r.delete(t),Bx(e,n)}var zx;zx=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ct.current)ut=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ut=!1,OE(e,t,n);ut=!!(e.flags&131072)}else ut=!1,we&&t.flags&1048576&&Hv(t,Sl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Xa(e,t),e=t.pendingProps;var s=Js(t,Qe.current);_s(t,n),s=rh(null,t,r,e,s,n);var o=sh();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,dt(r)?(o=!0,wl(t)):o=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Zf(t),s.updater=ou,t.stateNode=s,s._reactInternals=t,gd(t,r,e,n),t=xd(null,t,r,!0,o,n)):(t.tag=0,we&&o&&Hf(t),Je(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Xa(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=qE(r),e=Xt(r,e),s){case 0:t=vd(null,t,r,e,n);break e;case 1:t=km(null,t,r,e,n);break e;case 11:t=Cm(null,t,r,e,n);break e;case 14:t=Tm(null,t,r,Xt(r.type,e),n);break e}throw Error(I(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Xt(r,s),vd(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Xt(r,s),km(e,t,r,s,n);case 3:e:{if(Cx(t),e===null)throw Error(I(387));
vendor: 4,674 bytes, line 40
40r=t.pendingProps,o=t.memoizedState,s=o.element,qv(e,t),Tl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){s=ro(Error(I(423)),t),t=Pm(e,t,r,n,s);break e}else if(r!==s){s=ro(Error(I(424)),t),t=Pm(e,t,r,n,s);break e}else for(St=xr(t.stateNode.containerInfo.firstChild),Et=t,we=!0,Jt=null,n=Xv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(eo(),r===s){t=_n(e,t,n);break e}Je(e,t,r,n)}t=t.child}return t;case 5:return Zv(t),e===null&&hd(t),r=t.type,s=t.pendingProps,o=e!==null?e.memoizedProps:null,i=s.children,ld(r,s)?i=null:o!==null&&ld(r,o)&&(t.flags|=32),Ex(e,t),Je(e,t,i,n),t.child;case 6:return e===null&&hd(t),null;case 13:return Tx(e,t,n);case 4:return Jf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=to(t,null,r,n):Je(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Xt(r,s),Cm(e,t,r,s,n);case 7:return Je(e,t,t.pendingProps,n),t.child;case 8:return Je(e,t,t.pendingProps.children,n),t.child;case 12:return Je(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,o=t.memoizedProps,i=s.value,he(El,r._currentValue),r._currentValue=i,o!==null)if(sn(o.value,i)){if(o.children===s.children&&!ct.current){t=_n(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){i=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=Ln(-1,n&-n),l.tag=2;var u=o.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}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),pd(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(I(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),pd(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}Je(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,_s(t,n),s=It(s),r=r(s),t.flags|=1,Je(e,t,r,n),t.child;case 14:return r=t.type,s=Xt(r,t.pendingProps),s=Xt(r.type,s),Tm(e,t,r,s,n);case 15:return bx(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Xt(r,s),Xa(e,t),t.tag=1,dt(r)?(e=!0,wl(t)):e=!1,_s(t,n),vx(t,r,s),gd(t,r,s,n),xd(null,t,r,!0,e,n);case 19:return kx(e,t,n);case 22:return Sx(e,t,n)}throw Error(I(156,t.tag))};function $x(e,t){return mv(e,t)}function QE(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 Rt(e,t,n,r){return new QE(e,t,n,r)}function ph(e){return e=e.prototype,!(!e||!e.isReactComponent)}function qE(e){if(typeof e=="function")return ph(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Df)return 11;if(e===Lf)return 14}return 2}function Er(e,t){var n=e.alternate;return n===null?(n=Rt(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 Za(e,t,n,r,s,o){var i=2;if(r=e,typeof e=="function")ph(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case bs:return ts(n.children,s,o,t);case Mf:i=8,s|=8;break;case Bc:return e=Rt(12,n,t,s|2),e.elementType=Bc,e.lanes=o,e;case zc:return e=Rt(13,n,t,s),e.elementType=zc,e.lanes=o,e;case $c:return e=Rt(19,n,t,s),e.elementType=$c,e.lanes=o,e;case Z0:return lu(n,s,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Q0:i=10;break e;case q0:i=9;break e;case Df:i=11;break e;case Lf:i=14;break e;case nr:i=16,r=null;break e}throw Error(I(130,e==null?e:typeof e,""))}return t=Rt(i,n,t,s),t.elementType=e,t.type=r,t.lanes=o,t}function ts(e,t,n,r){return e=Rt(7,e,r,t),e.lanes=n,e}function lu(e,t,n,r){return e=Rt(22,e,r,t),e.elementType=Z0,e.lanes=n,e.stateNode={isHidden:!1},e}
vendor: 5,691 bytes, line 40
40function fc(e,t,n){return e=Rt(6,e,null,t),e.lanes=n,e}function hc(e,t,n){return t=Rt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ZE(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=Gu(0),this.expirationTimes=Gu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gu(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function mh(e,t,n,r,s,o,i,a,l){return e=new ZE(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Rt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zf(o),e}function JE(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ws,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Wx(e){if(!e)return Tr;e=e._reactInternals;e:{if(hs(e)!==e||e.tag!==1)throw Error(I(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(dt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(I(171))}if(e.tag===1){var n=e.type;if(dt(n))return Wv(e,n,t)}return t}function Ux(e,t,n,r,s,o,i,a,l){return e=mh(n,r,!0,e,s,o,i,a,l),e.context=Wx(null),n=e.current,r=rt(),s=Sr(n),o=Ln(r,s),o.callback=t??null,wr(n,o,s),e.current.lanes=s,Hi(e,s,r),ft(e,r),e}function uu(e,t,n,r){var s=t.current,o=rt(),i=Sr(s);return n=Wx(n),t.context===null?t.context=n:t.pendingContext=n,t=Ln(o,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=wr(s,t,i),e!==null&&(tn(e,s,i,o),Ka(e,s,i)),i}function Dl(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 Vm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function gh(e,t){Vm(e,t),(e=e.alternate)&&Vm(e,t)}function eC(){return null}var Hx=typeof reportError=="function"?reportError:function(e){console.error(e)};function yh(e){this._internalRoot=e}cu.prototype.render=yh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(I(409));uu(e,t,null,null)};cu.prototype.unmount=yh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ls(function(){uu(null,e,null,null)}),t[Vn]=null}};function cu(e){this._internalRoot=e}cu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Sv();e={blockedOn:null,target:e,priority:t};for(var n=0;n<sr.length&&t!==0&&t<sr[n].priority;n++);sr.splice(n,0,e),n===0&&Cv(e)}};function vh(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function du(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Fm(){}function tC(e,t,n,r,s){if(s){if(typeof r=="function"){var o=r;r=function(){var u=Dl(i);o.call(u)}}var i=Ux(t,r,e,0,null,!1,!1,"",Fm);return e._reactRootContainer=i,e[Vn]=i.current,vi(e.nodeType===8?e.parentNode:e),ls(),i}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var a=r;r=function(){var u=Dl(l);a.call(u)}}var l=mh(e,0,!1,null,null,!1,!1,"",Fm);return e._reactRootContainer=l,e[Vn]=l.current,vi(e.nodeType===8?e.parentNode:e),ls(function(){uu(t,l,n,r)}),l}function fu(e,t,n,r,s){var o=n._reactRootContainer;if(o){var i=o;if(typeof s=="function"){var a=s;s=function(){var l=Dl(i);a.call(l)}}uu(t,i,e,s)}else i=tC(n,t,e,s,r);return Dl(i)}wv=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=$o(t.pendingLanes);n!==0&&(Vf(t,n|1),ft(t,je()),!(se&6)&&(so=je()+500,Dr()))}break;case 13:ls(function(){var r=Fn(e,1);if(r!==null){var s=rt();tn(r,e,1,s)}}),gh(e,1)}};Ff=function(e){if(e.tag===13){var t=Fn(e,134217728);if(t!==null){var n=rt();tn(t,e,134217728,n)}gh(e,134217728)}};bv=function(e){if(e.tag===13){var t=Sr(e),n=Fn(e,t);if(n!==null){var r=rt();tn(n,e,t,r)}gh(e,t)}};Sv=function(){return ue};Ev=function(e,t){var n=ue;try{return ue=e,t()}finally{ue=n}};Zc=function(e,t,n){switch(t){case"input":if(Hc(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=nu(r);if(!s)throw Error(I(90));ev(r),Hc(r,s)}}}break;case"textarea":nv(e,n);break;case"select":t=n.value,t!=null&&Is(e,!!n.multiple,t,!1)}};uv=dh;cv=ls;var nC={usingClientEntryPoint:!1,Events:[Gi,Ts,nu,av,lv,dh]},Oo={findFiberByHostInstance:Wr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},rC={bundleType:Oo.bundleType,version:Oo.version,rendererPackageName:Oo.rendererPackageName,rendererConfig:Oo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:$n.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=hv(e),e===null?null:e.stateNode},findFiberByHostInstance:Oo.findFiberByHostInstance||eC,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 Pa=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Pa.isDisabled&&Pa.supportsFiber)try{Zl=Pa.inject(rC),wn=Pa}catch{}}kt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nC;kt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!vh(t))throw Error(I(200));return JE(e,t,null,n)};kt.createRoot=function(e,t){if(!vh(e))throw Error(I(299));var n=!1,r="",s=Hx;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=mh(e,1,!1,null,null,n,!1,r,s),e[Vn]=t.current,vi(e.nodeType===8?e.parentNode:e),new yh(t)};kt.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(I(188)):(e=Object.keys(e).join(","),Error(I(268,e)));return e=hv(t),e=e===null?null:e.stateNode,e};kt.flushSync=function(e){return ls(e)};kt.hydrate=function(e,t,n){if(!du(t))throw Error(I(200));return fu(null,e,t,!0,n)};kt.hydrateRoot=function(e,t,n){if(!vh(e))throw Error(I(405));var r=n!=null&&n.hydratedSources||null,s=!1,o="",i=Hx;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Ux(t,null,e,1,n??null,s,!1,o,i),e[Vn]=t.current,vi(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 cu(t)};kt.render=function(e,t,n){if(!du(t))throw Error(I(200));return fu(null,e,t,!1,n)};kt.unmountComponentAtNode=function(e){if(!du(e))throw Error(I(40));return e._reactRootContainer?(ls(function(){fu(null,null,e,!1,function(){e._reactRootContainer=null,e[Vn]=null})}),!0):!1};kt.unstable_batchedUpdates=dh;kt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!du(n))throw Error(I(200));if(e==null||e._reactInternals===void 0)throw Error(I(38));return fu(e,t,n,!1,r)};kt.version="18.3.1-next-f1338f8080-20240426";function Kx(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Kx)}catch(e){console.error(e)}}Kx(),K0.exports=kt;var Xi=K0.exports;const Gx=L0(Xi);var Yx,_m=Xi;Yx=_m.createRoot,_m.hydrateRoot;const sC=1,oC=1e6;let pc=0;function iC(){return pc=(pc+1)%Number.MAX_SAFE_INTEGER,pc.toString()}const mc=new Map,Bm=e=>{if(mc.has(e))return;const t=setTimeout(()=>{mc.delete(e),ni({type:"REMOVE_TOAST",toastId:e})},oC);mc.set(e,t)},aC=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,sC)};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;return n?Bm(n):e.toasts.forEach(r=>{Bm(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)}}},Ja=[];let el={toasts:[]};function ni(e){el=aC(el,e),Ja.forEach(t=>{t(el)})}function lC({...e}){const t=iC(),n=s=>ni({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>ni({type:"DISMISS_TOAST",toastId:t});return ni({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function uC(){const[e,t]=b.useState(el);return b.useEffect(()=>(Ja.push(t),()=>{const n=Ja.indexOf(t);n>-1&&Ja.splice(n,1)}),[e]),{...e,toast:lC,dismiss:n=>ni({type:"DISMISS_TOAST",toastId:n})}}function Oe(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 zm(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function hu(...e){return t=>{let n=!1;const r=e.map(s=>{const o=zm(s,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let s=0;s<r.length;s++){const o=r[s];typeof o=="function"?o():zm(e[s],null)}}}}function on(...e){return b.useCallback(hu(...e),e)}function pu(e,t=[]){let n=[];function r(o,i){const a=b.createContext(i),l=n.length;n=[...n,i];const u=d=>{var m;const{scope:f,children:h,...y}=d,v=((m=f==null?void 0:f[e])==null?void 0:m[l])||a,w=b.useMemo(()=>y,Object.values(y));return p.jsx(v.Provider,{value:w,children:h})};u.displayName=o+"Provider";function c(d,f){var v;const h=((v=f==null?void 0:f[e])==null?void 0:v[l])||a,y=b.useContext(h);if(y)return y;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${o}\``)}return[u,c]}const s=()=>{const o=n.map(i=>b.createContext(i));return function(a){const l=(a==null?void 0:a[e])||o;return b.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return s.scopeName=e,[r,cC(s,...t)]}function cC(...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(o){const i=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(o)[`__scope${u}`];return{...a,...d}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function $m(e){const t=dC(e),n=b.forwardRef((r,s)=>{const{children:o,...i}=r,a=b.Children.toArray(o),l=a.find(hC);if(l){const u=l.props.children,c=a.map(d=>d===l?b.Children.count(u)>1?b.Children.only(null):b.isValidElement(u)?u.props.children:null:d);return p.jsx(t,{...i,ref:s,children:b.isValidElement(u)?b.cloneElement(u,void 0,c):null})}return p.jsx(t,{...i,ref:s,children:o})});return n.displayName=`${e}.Slot`,n}function dC(e){const t=b.forwardRef((n,r)=>{const{children:s,...o}=n;if(b.isValidElement(s)){const i=mC(s),a=pC(o,s.props);return s.type!==b.Fragment&&(a.ref=r?hu(r,i):i),b.cloneElement(s,a)}return b.Children.count(s)>1?b.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var fC=Symbol("radix.slottable");function hC(e){return b.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===fC}function pC(e,t){const n={...t};for(const r in t){const s=e[r],o=t[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...a)=>{const l=o(...a);return s(...a),l}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}
vendor: 10,734 bytes, line 40
40:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function mC(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 gC(e){const t=e+"CollectionProvider",[n,r]=pu(t),[s,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=v=>{const{scope:w,children:m}=v,g=O.useRef(null),x=O.useRef(new Map).current;return p.jsx(s,{scope:w,itemMap:x,collectionRef:g,children:m})};i.displayName=t;const a=e+"CollectionSlot",l=$m(a),u=O.forwardRef((v,w)=>{const{scope:m,children:g}=v,x=o(a,m),S=on(w,x.collectionRef);return p.jsx(l,{ref:S,children:g})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",f=$m(c),h=O.forwardRef((v,w)=>{const{scope:m,children:g,...x}=v,S=O.useRef(null),E=on(w,S),C=o(c,m);return O.useEffect(()=>(C.itemMap.set(S,{ref:S,...x}),()=>void C.itemMap.delete(S))),p.jsx(f,{[d]:"",ref:E,children:g})});h.displayName=c;function y(v){const w=o(e+"CollectionConsumer",v);return O.useCallback(()=>{const g=w.collectionRef.current;if(!g)return[];const x=Array.from(g.querySelectorAll(`[${d}]`));return Array.from(w.itemMap.values()).sort((C,T)=>x.indexOf(C.ref.current)-x.indexOf(T.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:i,Slot:u,ItemSlot:h},y,r]}function yC(e){const t=vC(e),n=b.forwardRef((r,s)=>{const{children:o,...i}=r,a=b.Children.toArray(o),l=a.find(wC);if(l){const u=l.props.children,c=a.map(d=>d===l?b.Children.count(u)>1?b.Children.only(null):b.isValidElement(u)?u.props.children:null:d);return p.jsx(t,{...i,ref:s,children:b.isValidElement(u)?b.cloneElement(u,void 0,c):null})}return p.jsx(t,{...i,ref:s,children:o})});return n.displayName=`${e}.Slot`,n}function vC(e){const t=b.forwardRef((n,r)=>{const{children:s,...o}=n;if(b.isValidElement(s)){const i=SC(s),a=bC(o,s.props);return s.type!==b.Fragment&&(a.ref=r?hu(r,i):i),b.cloneElement(s,a)}return b.Children.count(s)>1?b.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var xC=Symbol("radix.slottable");function wC(e){return b.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===xC}function bC(e,t){const n={...t};for(const r in t){const s=e[r],o=t[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...a)=>{const l=o(...a);return s(...a),l}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function SC(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)}var EC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],gt=EC.reduce((e,t)=>{const n=yC(`Primitive.${t}`),r=b.forwardRef((s,o)=>{const{asChild:i,...a}=s,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...a,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Xx(e,t){e&&Xi.flushSync(()=>e.dispatchEvent(t))}function kr(e){const t=b.useRef(e);return b.useEffect(()=>{t.current=e}),b.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function CC(e,t=globalThis==null?void 0:globalThis.document){const n=kr(e);b.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var TC="DismissableLayer",Rd="dismissableLayer.update",kC="dismissableLayer.pointerDownOutside",PC="dismissableLayer.focusOutside",Wm,Qx=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),xh=b.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:o,onInteractOutside:i,onDismiss:a,...l}=e,u=b.useContext(Qx),[c,d]=b.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=b.useState({}),y=on(t,T=>d(T)),v=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=v.indexOf(w),g=c?v.indexOf(c):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,S=g>=m,E=jC(T=>{const k=T.target,P=[...u.branches].some(j=>j.contains(k));!S||P||(s==null||s(T),i==null||i(T),T.defaultPrevented||a==null||a())},f),C=AC(T=>{const k=T.target;[...u.branches].some(j=>j.contains(k))||(o==null||o(T),i==null||i(T),T.defaultPrevented||a==null||a())},f);return CC(T=>{g===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},f),b.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Wm=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Um(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Wm)}},[c,f,n,u]),b.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Um())},[c,u]),b.useEffect(()=>{const T=()=>h({});return document.addEventListener(Rd,T),()=>document.removeEventListener(Rd,T)},[]),p.jsx(gt.div,{...l,ref:y,style:{pointerEvents:x?S?"auto":"none":void 0,...e.style},onFocusCapture:Oe(e.onFocusCapture,C.onFocusCapture),onBlurCapture:Oe(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Oe(e.onPointerDownCapture,E.onPointerDownCapture)})});xh.displayName=TC;var NC="DismissableLayerBranch",qx=b.forwardRef((e,t)=>{const n=b.useContext(Qx),r=b.useRef(null),s=on(t,r);return b.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),p.jsx(gt.div,{...e,ref:s})});qx.displayName=NC;function jC(e,t=globalThis==null?void 0:globalThis.document){const n=kr(e),r=b.useRef(!1),s=b.useRef(()=>{});return b.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let l=function(){Zx(kC,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},i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function AC(e,t=globalThis==null?void 0:globalThis.document){const n=kr(e),r=b.useRef(!1);return b.useEffect(()=>{const s=o=>{o.target&&!r.current&&Zx(PC,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Um(){const e=new CustomEvent(Rd);document.dispatchEvent(e)}function Zx(e,t,n,{discrete:r}){const s=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?Xx(s,o):s.dispatchEvent(o)}var RC=xh,MC=qx,Pr=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},DC="Portal",Jx=b.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[s,o]=b.useState(!1);Pr(()=>o(!0),[]);const i=n||s&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?Gx.createPortal(p.jsx(gt.div,{...r,ref:t}),i):null});Jx.displayName=DC;function LC(e,t){return b.useReducer((n,r)=>t[n][r]??n,e)}var wh=e=>{const{present:t,children:n}=e,r=IC(t),s=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),o=on(r.ref,OC(s));return typeof n=="function"||r.isPresent?b.cloneElement(s,{ref:o}):null};wh.displayName="Presence";function IC(e){const[t,n]=b.useState(),r=b.useRef(null),s=b.useRef(e),o=b.useRef("none"),i=e?"mounted":"unmounted",[a,l]=LC(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const u=Na(r.current);o.current=a==="mounted"?u:"none"},[a]),Pr(()=>{const u=r.current,c=s.current;if(c!==e){const f=o.current,h=Na(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==h?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,l]),Pr(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=h=>{const v=Na(r.current).includes(CSS.escape(h.animationName));if(h.target===t&&v&&(l("ANIMATION_END"),!s.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},f=h=>{h.target===t&&(o.current=Na(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:b.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Na(e){return(e==null?void 0:e.animationName)||"none"}function OC(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)}var VC=Nf[" useInsertionEffect ".trim().toString()]||Pr;function FC({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[s,o,i]=_C({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:s;{const c=b.useRef(e!==void 0);b.useEffect(()=>{const d=c.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=a},[a,r])}const u=b.useCallback(c=>{var d;if(a){const f=BC(c)?c(e):c;f!==e&&((d=i.current)==null||d.call(i,f))}else o(c)},[a,e,o,i]);return[l,u]}function _C({defaultProp:e,onChange:t}){const[n,r]=b.useState(e),s=b.useRef(n),o=b.useRef(t);return VC(()=>{o.current=t},[t]),b.useEffect(()=>{var i;s.current!==n&&((i=o.current)==null||i.call(o,n),s.current=n)},[n,s]),[n,r,o]}function BC(e){return typeof e=="function"}var zC=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),$C="VisuallyHidden",mu=b.forwardRef((e,t)=>
40p.jsx(gt.span,{...e,ref:t,style:{...zC,...e.style}}));mu.displayName=$C;var WC=mu,bh="ToastProvider",[Sh,UC,HC]=gC("Toast"),[ew]=pu("Toast",[HC]),[KC,gu]=ew(bh),tw=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:o=50,children:i}=e,[a,l]=b.useState(null),[u,c]=b.useState(0),d=b.useRef(!1),f=b.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${bh}\`. Expected non-empty \`string\`.`),p.jsx(Sh.Provider,{scope:t,children:p.jsx(KC,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:o,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:b.useCallback(()=>c(h=>h+1),[]),onToastRemove:b.useCallback(()=>c(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:i})})};tw.displayName=bh;var nw="ToastViewport",GC=["F8"],Md="toast.viewportPause",Dd="toast.viewportResume",rw=b.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=GC,label:s="Notifications ({hotkey})",...o}=e,i=gu(nw,n),a=UC(n),l=b.useRef(null),u=b.useRef(null),c=b.useRef(null),d=b.useRef(null),f=on(t,d,i.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),y=i.toastCount>0;b.useEffect(()=>{const w=m=>{var x;r.length!==0&&r.every(S=>m[S]||m.code===S)&&((x=d.current)==null||x.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),b.useEffect(()=>{const w=l.current,m=d.current;if(y&&w&&m){const g=()=>{if(!i.isClosePausedRef.current){const C=new CustomEvent(Md);m.dispatchEvent(C),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const C=new CustomEvent(Dd);m.dispatchEvent(C),i.isClosePausedRef.current=!1}},S=C=>{!w.contains(C.relatedTarget)&&x()},E=()=>{w.contains(document.activeElement)||x()};return w.addEventListener("focusin",g),w.addEventListener("focusout",S),w.addEventListener("pointermove",g),w.addEventListener("pointerleave",E),window.addEventListener("blur",g),window.addEventListener("focus",x),()=>{w.removeEventListener("focusin",g),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",g),w.removeEventListener("pointerleave",E),window.removeEventListener("blur",g),window.removeEventListener("focus",x)}}},[y,i.isClosePausedRef]);const v=b.useCallback(({tabbingDirection:w})=>{const g=a().map(x=>{const S=x.ref.current,E=[S,...iT(S)];return w==="forwards"?E:E.reverse()});return(w==="forwards"?g.reverse():g).flat()},[a]);return b.useEffect(()=>{const w=d.current;if(w){const m=g=>{var E,C,T;const x=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!x){const k=document.activeElement,P=g.shiftKey;if(g.target===w&&P){(E=u.current)==null||E.focus();return}const D=v({tabbingDirection:P?"backwards":"forwards"}),B=D.findIndex(L=>L===k);gc(D.slice(B+1))?g.preventDefault():P?(C=u.current)==null||C.focus():(T=c.current)==null||T.focus()}};return w.addEventListener("keydown",m),()=>w.removeEventListener("keydown",m)}},[a,v]),p.jsxs(MC,{ref:l,role:"region","aria-label":s.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:y?void 0:"none"},children:[y&&p.jsx(Ld,{ref:u,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"forwards"});gc(w)}}),p.jsx(Sh.Slot,{scope:n,children:p.jsx(gt.ol,{tabIndex:-1,...o,ref:f})}),y&&p.jsx(Ld,{ref:c,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"backwards"});gc(w)}})]})});rw.displayName=nw;var sw="ToastFocusProxy",Ld=b.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,o=gu(sw,n);return p.jsx(mu,{tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const a=i.relatedTarget;!((u=o.viewport)!=null&&u.contains(a))&&r()}})});Ld.displayName=sw;var Qi="Toast",YC="toast.swipeStart",XC="toast.swipeMove",QC="toast.swipeCancel",qC="toast.swipeEnd",ow=b.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:o,...i}=e,[a,l]=FC({prop:r,defaultProp:s??!0,onChange:o,caller:Qi});return p.jsx(wh,{present:n||a,children:p.jsx(eT,{open:a,...i,ref:t,onClose:()=>l(!1),onPause:kr(e.onPause),onResume:kr(e.onResume),onSwipeStart:Oe(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Oe(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:Oe(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:Oe(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)})})})});ow.displayName=Qi;var[ZC,JC]=ew(Qi,{onClose(){}}),eT=b.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:s,open:o,onClose:i,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:h,...y}=e,v=gu(Qi,n),[w,m]=b.useState(null),g=on(t,L=>m(L)),x=b.useRef(null),S=b.useRef(null),E=s||v.duration,C=b.useRef(0),T=b.useRef(E),k=b.useRef(0),{onToastAdd:P,onToastRemove:j}=v,M=kr(()=>{var K;(w==null?void 0:w.contains(document.activeElement))&&((K=v.viewport)==null||K.focus()),i()}),D=b.useCallback(L=>{!L||L===1/0||(window.clearTimeout(k.current),C.current=new Date().getTime(),k.current=window.setTimeout(M,L))},[M]);b.useEffect(()=>{const L=v.viewport;if(L){const K=()=>{D(T.current),u==null||u()},F=()=>{const H=new Date().getTime()-C.current;T.current=T.current-H,window.clearTimeout(k.current),l==null||l()};return L.addEventListener(Md,F),L.addEventListener(Dd,K),()=>{L.removeEventListener(Md,F),L.removeEventListener(Dd,K)}}},[v.viewport,E,l,u,D]),b.useEffect(()=>{o&&!v.isClosePausedRef.current&&D(E)},[o,E,v.isClosePausedRef,D]),b.useEffect(()=>(P(),()=>j()),[P,j]);const B=b.useMemo(()=>w?fw(w):null,[w]);return v.viewport?p.jsxs(p.Fragment,{children:[B&&p.jsx(tT,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:B}),p.jsx(ZC,{scope:n,onClose:M,children:Xi.createPortal(p.jsx(Sh.ItemSlot,{scope:n,children:p.jsx(RC,{asChild:!0,onEscapeKeyDown:Oe(a,()=>{v.isFocusedToastEscapeKeyDownRef.current||M(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:p.jsx(gt.li,{tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":v.swipeDirection,...y,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Oe(e.onKeyDown,L=>{L.key==="Escape"&&(a==null||a(L.nativeEvent),L.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,M()))}),onPointerDown:Oe(e.onPointerDown,L=>{L.button===0&&(x.current={x:L.clientX,y:L.clientY})}),onPointerMove:Oe(e.onPointerMove,L=>{if(!x.current)return;const K=L.clientX-x.current.x,F=L.clientY-x.current.y,H=!!S.current,N=["left","right"].includes(v.swipeDirection),A=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,V=N?A(0,K):0,W=N?0:A(0,F),z=L.pointerType==="touch"?10:2,X={x:V,y:W},G={originalEvent:L,delta:X};H?(S.current=X,ja(XC,d,G,{discrete:!1})):Hm(X,v.swipeDirection,z)?(S.current=X,ja(YC,c,G,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(K)>z||Math.abs(F)>z)&&(x.current=null)}),onPointerUp:Oe(e.onPointerUp,L=>{const K=S.current,F=L.target;if(F.hasPointerCapture(L.pointerId)&&F.releasePointerCapture(L.pointerId),S.current=null,x.current=null,K){const H=L.currentTarget,N={originalEvent:L,delta:K};Hm(K,v.swipeDirection,v.swipeThreshold)?ja(qC,h,N,{discrete:!0}):ja(QC,f,N,{discrete:!0}),H.addEventListener("click",A=>A.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),tT=e=>{const{__scopeToast:t,children:n,...r}=e,s=gu(Qi,t),[o,i]=b.useState(!1),[a,l]=b.useState(!1);return sT(()=>i(!0)),b.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:p.jsx(Jx,{asChild:!0,children:p.jsx(mu,{...r,children:o&&p.jsxs(p.Fragment,{children:[s.label," ",n]})})})},nT="ToastTitle",iw=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return p.jsx(gt.div,{...r,ref:t})});iw.displayName=nT;var rT="ToastDescription",aw=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return p.jsx(gt.div,{...r,ref:t})});aw.displayName=rT;var lw="ToastAction",uw=b.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?p.jsx(dw,{altText:n,asChild:!0,children:p.jsx(Eh,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${lw}\`. Expected non-empty \`string\`.`),null)});uw.displayName=lw;var cw="ToastClose",Eh=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=JC(cw,n);return p.jsx(dw,{asChild:!0,children:p.jsx(gt.button,{type:"button",...r,ref:t,onClick:Oe(e.onClick,s.onClose)})})});Eh.displayName=cw;var dw=b.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return p.jsx(gt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function fw(e){const t=[];
vendor: 6,804 bytes, lines 40-100
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),oT(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!s)if(o){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...fw(r))}}),t}function ja(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?Xx(s,o):s.dispatchEvent(o)}var Hm=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),o=r>s;return t==="left"||t==="right"?o&&r>n:!o&&s>n};function sT(e=()=>{}){const t=kr(e);Pr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function oT(e){return e.nodeType===e.ELEMENT_NODE}function iT(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 gc(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var aT=tw,hw=rw,pw=ow,mw=iw,gw=aw,yw=uw,vw=Eh;function xw(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=xw(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ww(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=xw(e))&&(r&&(r+=" "),r+=t);return r}const Km=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Gm=ww,bw=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Gm(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:o}=t,i=Object.keys(s).map(u=>{const c=n==null?void 0:n[u],d=o==null?void 0:o[u];if(c===null)return null;const f=Km(c)||Km(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,...h}=c;return Object.entries(h).every(y=>{let[v,w]=y;return Array.isArray(w)?w.includes({...o,...a}[v]):{...o,...a}[v]===w})?[...u,d,f]:u},[]);return Gm(e,i,l,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.462.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const lT=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Sw=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 46 * @license lucide-react v0.462.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var uT={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"};/** 51 * @license lucide-react v0.462.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const cT=b.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:o,iconNode:i,...a},l)=>b.createElement("svg",{ref:l,...uT,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Sw("lucide",s),...a},[...i.map(([u,c])=>b.createElement(u,c)),...Array.isArray(o)?o:[o]]));/** 56 * @license lucide-react v0.462.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const Lr=(e,t)=>{const n=b.forwardRef(({className:r,...s},o)=>b.createElement(cT,{ref:o,iconNode:t,className:Sw(`lucide-${lT(e)}`,r),...s}));return n.displayName=`${e}`,n};/** 61 * @license lucide-react v0.462.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const dT=Lr("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 66 * @license lucide-react v0.462.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const oo=Lr("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 71 * @license lucide-react v0.462.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const Ch=Lr("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** 76 * @license lucide-react v0.462.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 Th=Lr("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 81 * @license lucide-react v0.462.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 */const fT=Lr("GitFork",[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]]);/** 86 * @license lucide-react v0.462.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 hT=Lr("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);/** 91 * @license lucide-react v0.462.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 pT=Lr("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/** 96 * @license lucide-react v0.462.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 mT=Lr("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,916 bytes, line 100
100],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),kh="-",gT=e=>{const t=vT(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const a=i.split(kh);return a[0]===""&&a.length!==1&&a.shift(),Ew(a,t)||yT(i)},getConflictingClassGroupIds:(i,a)=>{const l=n[i]||[];return a&&r[i]?[...l,...r[i]]:l}}},Ew=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?Ew(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const o=e.join(kh);return(i=t.validators.find(({validator:a})=>a(o)))==null?void 0:i.classGroupId},Ym=/^\[(.+)\]$/,yT=e=>{if(Ym.test(e)){const t=Ym.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},vT=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return wT(Object.entries(e.classGroups),n).forEach(([o,i])=>{Id(i,r,o,t)}),r},Id=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const o=s===""?t:Xm(t,s);o.classGroupId=n;return}if(typeof s=="function"){if(xT(s)){Id(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([o,i])=>{Id(i,Xm(t,o),n,r)})})},Xm=(e,t)=>{let n=e;return t.split(kh).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},xT=e=>e.isThemeGetter,wT=(e,t)=>t?e.map(([n,r])=>{const s=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>[t+i,a])):o);return[n,s]}):e,bT=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let i=n.get(o);if(i!==void 0)return i;if((i=r.get(o))!==void 0)return s(o,i),i},set(o,i){n.has(o)?n.set(o,i):s(o,i)}}},Cw="!",ST=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],o=t.length,i=a=>{const l=[];let u=0,c=0,d;for(let w=0;w<a.length;w++){let m=a[w];if(u===0){if(m===s&&(r||a.slice(w,w+o)===t)){l.push(a.slice(c,w)),c=w+o;continue}if(m==="/"){d=w;continue}}m==="["?u++:m==="]"&&u--}const f=l.length===0?a:a.substring(c),h=f.startsWith(Cw),y=h?f.substring(1):f,v=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:y,maybePostfixModifierPosition:v}};return n?a=>n({className:a,parseClassName:i}):i},ET=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},CT=e=>({cache:bT(e.cacheSize),parseClassName:ST(e),...gT(e)}),TT=/\s+/,kT=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(TT);let a="";for(let l=i.length-1;l>=0;l-=1){const u=i[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:h}=n(u);let y=!!h,v=r(y?f.substring(0,h):f);if(!v){if(!y){a=u+(a.length>0?" "+a:a);continue}if(v=r(f),!v){a=u+(a.length>0?" "+a:a);continue}y=!1}const w=ET(c).join(":"),m=d?w+Cw:w,g=m+v;if(o.includes(g))continue;o.push(g);const x=s(v,y);for(let S=0;S<x.length;++S){const E=x[S];o.push(m+E)}a=u+(a.length>0?" "+a:a)}return a};function PT(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Tw(t))&&(r&&(r+=" "),r+=n);return r}const Tw=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Tw(e[r]))&&(n&&(n+=" "),n+=t);return n};function NT(e,...t){let n,r,s,o=i;function i(l){const u=t.reduce((c,d)=>d(c),e());return n=CT(u),r=n.cache.get,s=n.cache.set,o=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=kT(l,n);return s(l,c),c}return function(){return o(PT.apply(null,arguments))}}const ge=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},kw=/^\[(?:([a-z-]+):)?(.+)\]$/i,jT=/^\d+\/\d+$/,AT=new Set(["px","full","screen"]),RT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,MT=/\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$/,DT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,LT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,IT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Pn=e=>zs(e)||AT.has(e)||jT.test(e),Qn=e=>po(e,"length",WT),zs=e=>!!e&&!Number.isNaN(Number(e)),yc=e=>po(e,"number",zs),Vo=e=>!!e&&Number.isInteger(Number(e)),OT=e=>e.endsWith("%")&&zs(e.slice(0,-1)),J=e=>kw.test(e),qn=e=>RT.test(e),VT=new Set(["length","size","percentage"]),FT=e=>po(e,VT,Pw),_T=e=>po(e,"position",Pw),BT=new Set(["image","url"]),zT=e=>po(e,BT,HT),$T=e=>po(e,"",UT),Fo=()=>!0,po=(e,t,n)=>{const r=kw.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},WT=e=>MT.test(e)&&!DT.test(e),Pw=()=>!1,UT=e=>LT.test(e),HT=e=>IT.test(e),KT=()=>{const e=ge("colors"),t=ge("spacing"),n=ge("blur"),r=ge("brightness"),s=ge("borderColor"),o=ge("borderRadius"),i=ge("borderSpacing"),a=ge("borderWidth"),l=ge("contrast"),u=ge("grayscale"),c=ge("hueRotate"),d=ge("invert"),f=ge("gap"),h=ge("gradientColorStops"),y=ge("gradientColorStopPositions"),v=ge("inset"),w=ge("margin"),m=ge("opacity"),g=ge("padding"),x=ge("saturate"),S=ge("scale"),E=ge("sepia"),C=ge("skew"),T=ge("space"),k=ge("translate"),P=()=>["auto","contain","none"],j=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto",J,t],D=()=>[J,t],B=()=>["",Pn,Qn],L=()=>["auto",zs,J],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",J],V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[zs,J];return{cacheSize:500,separator:":",theme:{colors:[Fo],spacing:[Pn,Qn],blur:["none","",qn,J],brightness:W(),borderColor:[e],borderRadius:["n
100one","","full",qn,J],borderSpacing:D(),borderWidth:B(),contrast:W(),grayscale:A(),hueRotate:W(),invert:A(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[OT,Qn],inset:M(),margin:M(),opacity:W(),padding:D(),saturate:W(),scale:W(),sepia:A(),skew:W(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",J]}],container:["container"],columns:[{columns:[qn]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"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(),J]}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],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",Vo,J]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",J]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",Vo,J]}],"grid-cols":[{"grid-cols":[Fo]}],"col-start-end":[{col:["auto",{span:["full",Vo,J]},J]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[Fo]}],"row-start-end":[{row:["auto",{span:[Vo,J]},J]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",J]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",J]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",J,t]}],"min-w":[{"min-w":[J,t,"min","max","fit"]}],"max-w":[{"max-w":[J,t,"none","full","min","max","fit","prose",{screen:[qn]},qn]}],h:[{h:[J,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[J,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[J,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[J,t,"auto","min","max","fit"]}],"font-size":[{text:["base",qn,Qn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",yc]}],"font-family":[{font:[Fo]}],"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-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",J]}],"line-clamp":[{"line-clamp":["none",zs,yc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Pn,J]}],"list-image":[{"list-image":["none",J]}],"list-style-type":[{list:["none","disc","decimal",J]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Pn,Qn]}],"underline-offset":[{"underline-offset":["auto",Pn,J]}],"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:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",J]}],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",J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),_T]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",FT]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},zT]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}
vendor: 5,172 bytes, line 100
100],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"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":[m]}],"border-style":[{border:[...F(),"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":[m]}],"divide-style":[{divide:F()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[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:["",...F()]}],"outline-offset":[{"outline-offset":[Pn,J]}],"outline-w":[{outline:[Pn,Qn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[Pn,Qn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",qn,$T]}],"shadow-color":[{shadow:[Fo]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...H(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",qn,J]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[x]}],sepia:[{sepia:[E]}],"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":[m]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",J]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",J]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",J]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[Vo,J]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",J]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","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",J]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"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"]}
vendor: 4,646 bytes, line 100
100],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",J]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Pn,Qn,yc]}],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-s","border-color-e","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"]}}},GT=NT(KT);function le(...e){return GT(ww(e))}const YT=aT,Nw=b.forwardRef(({className:e,...t},n)=>p.jsx(hw,{ref:n,className:le("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}));Nw.displayName=hw.displayName;const XT=bw("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"}}),jw=b.forwardRef(({className:e,variant:t,...n},r)=>p.jsx(pw,{ref:r,className:le(XT({variant:t}),e),...n}));jw.displayName=pw.displayName;const QT=b.forwardRef(({className:e,...t},n)=>p.jsx(yw,{ref:n,className:le("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 group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));QT.displayName=yw.displayName;const Aw=b.forwardRef(({className:e,...t},n)=>p.jsx(vw,{ref:n,className:le("absolute right-2 top-2 rounded-md p-1 text-foreground
100/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:p.jsx(mT,{className:"h-4 w-4"})}));Aw.displayName=vw.displayName;const Rw=b.forwardRef(({className:e,...t},n)=>p.jsx(mw,{ref:n,className:le("text-sm font-semibold",e),...t}));Rw.displayName=mw.displayName;const Mw=b.forwardRef(({className:e,...t},n)=>p.jsx(gw,{ref:n,className:le("text-sm opacity-90",e),...t}));Mw.displayName=gw.displayName;function qT(){const{toasts:e}=uC();return p.jsxs(YT,{children:[e.map(function({id:t,title:n,description:r,action:s,...o}){return p.jsxs(jw,{...o,children:[p.jsxs("div",{className:"grid gap-1",children:[n&&p.jsx(Rw,{children:n}),r&&p.jsx(Mw,{children:r})]}),s,p.jsx(Aw,{})]},t)}),p.jsx(Nw,{})]})}var Qm=["light","dark"],ZT="(prefers-color-scheme: dark)",JT=b.createContext(void 0),ek={setTheme:e=>{},themes:[]},tk=()=>{var e;return(e=b.useContext(JT))!=null?e:ek};b.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:s,defaultTheme:o,value:i,attrs:a,nonce:l})=>{let u=o==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(y=>`'${y}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=s?Qm.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(y,v=!1,w=!0)=>{let m=i?i[y]:y,g=v?y+"|| ''":`'${m}'`,x="";return s&&w&&!v&&Qm.includes(y)&&(x+=`d.style.colorScheme = '${y}';`),n==="class"?v||m?x+=`c.add(${g})`:x+="null":m&&(x+=`d[s](n,${g})`),x},h=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${ZT}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${f(i?"x[e]":"e",!0)}}${u?"":"else{"+f(o,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${f(i?"x[e]":"e",!0)}}else{${f(o,!1,!1)};}${d}}catch(t){}}();`;return b.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})});var nk=e=>{switch(e){case"success":return ok;case"info":return ak;case"warning":return ik;case"error":return lk;default:return null}},rk=Array(12).fill(0),sk=({visible:e,className:t})=>O.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},O.createElement("div",{className:"sonner-spinner"},rk.map((n,r)=>O.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),ok=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),ik=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),ak=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),lk=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),uk=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},O.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),O.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),ck=()=>{let[e,t]=O.useState(document.hidden);return O.useEffect(()=>{let n=()=>{t(document.hidden)};
100return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Od=1,dk=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,s=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Od++,o=this.toasts.find(a=>a.id===s),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),o?this.toasts=this.toasts.map(a=>a.id===s?(this.publish({...a,...e,id:s,title:n}),{...a,...e,id:s,dismissible:i,title:n}):a):this.addToast({title:n,...r,dismissible:i,id:s}),s},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
100this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),s=n!==void 0,o,i=r.then(async l=>{if(o=["resolve",l],O.isValidElement(l))s=!1,this.create({id:n,type:"default",message:l});else if(hk(l)&&!l.ok){s=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){s=!1;let u=typeof t.success=="function"?await t.success(l):t.success,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async l=>{if(o=["reject",l],t.error!==void 0){s=!1;let u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var l;s&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>i.then(()=>o[0]==="reject"?u(o[1]):l(o[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Od++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},at=new dk,fk=(e,t)=>{let n=(t==null?void 0:t.id)||Od++;return at.addToast({title:e,...t,id:n}),n},hk=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",pk=fk,mk=()=>at.toasts,gk=()=>at.getActiveToasts();Object.assign(pk,{success:at.success,info:at.info,warning:at.warning,error:at.error,custom:at.custom,message:at.message,promise:at.promise,dismiss:at.dismiss,loading:at.loading},{getHistory:mk,getToasts:gk});function yk(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}yk(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
100left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
100:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
100--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 101`);function Aa(e){return e.label!==void 0}var vk=3,xk="32px",wk="16px",qm=4e3,bk=356,Sk=14,Ek=20,Ck=200;function Kt(...e){return e.filter(Boolean).join(" ")}function Tk(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var kk=e=>{var t,n,r,s,o,i,a,l,u,c,d;let{invert:f,toast:h,unstyled:y,interacting:v,setHeights:w,visibleToasts:m,heights:g,index:x,toasts:S,expanded:E,removeToast:C,defaultRichColors:T,closeButton:k,style:P,cancelButtonStyle:j,actionButtonStyle:M,className:D="",descriptionClassName:B="",duration:L,position:K,gap:F,loadingIcon:H,expandByDefault:N,classNames:A,icons:V,
vendor: 8,263 bytes, line 101
101closeButtonAriaLabel:W="Close toast",pauseWhenPageIsHidden:z}=e,[X,G]=O.useState(null),[oe,de]=O.useState(null),[Y,ce]=O.useState(!1),[xe,Ae]=O.useState(!1),[ie,U]=O.useState(!1),[te,me]=O.useState(!1),[Le,qe]=O.useState(!1),[yt,vt]=O.useState(0),[Ze,cn]=O.useState(0),Ft=O.useRef(h.duration||L||qm),ps=O.useRef(null),_t=O.useRef(null),oa=x===0,ia=x+1<=m,it=h.type,kn=h.dismissible!==!1,Vu=h.className||"",ko=h.descriptionClassName||"",Bt=O.useMemo(()=>g.findIndex(Q=>Q.toastId===h.id)||0,[g,h.id]),Po=O.useMemo(()=>{var Q;return(Q=h.closeButton)!=null?Q:k},[h.closeButton,k]),ms=O.useMemo(()=>h.duration||L||qm,[h.duration,L]),Un=O.useRef(0),Hn=O.useRef(0),aa=O.useRef(0),Kn=O.useRef(null),[Fu,_u]=K.split("-"),No=O.useMemo(()=>g.reduce((Q,ae,fe)=>fe>=Bt?Q:Q+ae.height,0),[g,Bt]),la=ck(),ua=h.invert||f,gs=it==="loading";Hn.current=O.useMemo(()=>Bt*F+No,[Bt,No]),O.useEffect(()=>{Ft.current=ms},[ms]),O.useEffect(()=>{ce(!0)},[]),O.useEffect(()=>{let Q=_t.current;if(Q){let ae=Q.getBoundingClientRect().height;return cn(ae),w(fe=>[{toastId:h.id,height:ae,position:h.position},...fe]),()=>w(fe=>fe.filter($t=>$t.toastId!==h.id))}},[w,h.id]),O.useLayoutEffect(()=>{if(!Y)return;let Q=_t.current,ae=Q.style.height;Q.style.height="auto";let fe=Q.getBoundingClientRect().height;Q.style.height=ae,cn(fe),w($t=>$t.find(Wt=>Wt.toastId===h.id)?$t.map(Wt=>Wt.toastId===h.id?{...Wt,height:fe}:Wt):[{toastId:h.id,height:fe,position:h.position},...$t])},[Y,h.title,h.description,w,h.id]);let zt=O.useCallback(()=>{Ae(!0),vt(Hn.current),w(Q=>Q.filter(ae=>ae.toastId!==h.id)),setTimeout(()=>{C(h)},Ck)},[h,C,w,Hn]);O.useEffect(()=>{if(h.promise&&it==="loading"||h.duration===1/0||h.type==="loading")return;let Q;return E||v||z&&la?(()=>{if(aa.current<Un.current){let ae=new Date().getTime()-Un.current;Ft.current=Ft.current-ae}aa.current=new Date().getTime()})():Ft.current!==1/0&&(Un.current=new Date().getTime(),Q=setTimeout(()=>{var ae;(ae=h.onAutoClose)==null||ae.call(h,h),zt()},Ft.current)),()=>clearTimeout(Q)},[E,v,h,it,z,la,zt]),O.useEffect(()=>{h.delete&&zt()},[zt,h.delete]);function Bu(){var Q,ae,fe;return V!=null&&V.loading?O.createElement("div",{className:Kt(A==null?void 0:A.loader,(Q=h==null?void 0:h.classNames)==null?void 0:Q.loader,"sonner-loader"),"data-visible":it==="loading"},V.loading):H?O.createElement("div",{className:Kt(A==null?void 0:A.loader,(ae=h==null?void 0:h.classNames)==null?void 0:ae.loader,"sonner-loader"),"data-visible":it==="loading"},H):O.createElement(sk,{className:Kt(A==null?void 0:A.loader,(fe=h==null?void 0:h.classNames)==null?void 0:fe.loader),visible:it==="loading"})}return O.createElement("li",{tabIndex:0,ref:_t,className:Kt(D,Vu,A==null?void 0:A.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,A==null?void 0:A.default,A==null?void 0:A[it],(n=h==null?void 0:h.classNames)==null?void 0:n[it]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:T,"data-styled":!(h.jsx||h.unstyled||y),"data-mounted":Y,"data-promise":!!h.promise,"data-swiped":Le,"data-removed":xe,"data-visible":ia,"data-y-position":Fu,"data-x-position":_u,"data-index":x,"data-front":oa,"data-swiping":ie,"data-dismissible":kn,"data-type":it,"data-invert":ua,"data-swipe-out":te,"data-swipe-direction":oe,"data-expanded":!!(E||N&&Y),style:{"--index":x,"--toasts-before":x,"--z-index":S.length-x,"--offset":`${xe?yt:Hn.current}px`,"--initial-height":N?"auto":`${Ze}px`,...P,...h.style},onDragEnd:()=>{U(!1),G(null),Kn.current=null},onPointerDown:Q=>{gs||!kn||(ps.current=new Date,vt(Hn.current),Q.target.setPointerCapture(Q.pointerId),Q.target.tagName!=="BUTTON"&&(U(!0),Kn.current={x:Q.clientX,y:Q.clientY}))},onPointerUp:()=>{var Q,ae,fe,$t;if(te||!kn)return;Kn.current=null;let Wt=Number(((Q=_t.current)==null?void 0:Q.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Gn=Number(((ae=_t.current)==null?void 0:ae.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Or=new Date().getTime()-((fe=ps.current)==null?void 0:fe.getTime()),Ut=X==="x"?Wt:Gn,Yn=Math.abs(Ut)/Or;if(Math.abs(Ut)>=Ek||Yn>.11){vt(Hn.current),($t=h.onDismiss)==null||$t.call(h,h),de(X==="x"?Wt>0?"right":"left":Gn>0?"down":"up"),zt(),me(!0),qe(!1);return}U(!1),G(null)},onPointerMove:Q=>{var ae,fe,$t,Wt;if(!Kn.current||!kn||((ae=window.getSelection())==null?void 0:ae.toString().length)>0)return;let Gn=Q.clientY-Kn.current.y,Or=Q.clientX-Kn.current.x,Ut=(fe=e.swipeDirections)!=null?fe:Tk(K);!X&&(Math.abs(Or)>1||Math.abs(Gn)>1)&&G(Math.abs(Or)>Math.abs(Gn)?"x":"y");let Yn={x:0,y:0};X==="y"?(Ut.includes("top")||Ut.includes("bottom"))&&(Ut.includes("top")&&Gn<0||Ut.includes("bottom")&&Gn>0)&&(Yn.y=Gn):X==="x"&&(Ut.includes("left")||Ut.includes("right"))&&(Ut.includes("left")&&Or<0||Ut.includes("right")&&Or>0)&&(Yn.x=Or),(Math.abs(Yn.x)>0||Math.abs(Yn.y)>0)&&qe(!0),($t=_t.current)==null||$t.style.setProperty("--swipe-amount-x",`${Yn.x}px`),(Wt=_t.current)==null||Wt.style.setProperty("--swipe-amount-y",`${Yn.y}px`)}},Po&&!h.jsx?O.createElement("button",{"aria-label":W,"data-disabled":gs,"data-close-button":!0,onClick:gs||!kn?()=>{}:()=>{var Q;zt(),(Q=h.onDismiss)==null||Q.call(h,h)},className:Kt(A==null?void 0:A.closeButton,(s=h==null?void 0:h.classNames)==null?void 0:s.closeButton)},(o=V==null?void 0:V.close)!=null?o:uk):null,h.jsx||b.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:O.createElement(O.Fragment,null,it||h.icon||h.promise?O.createElement("div",{"data-icon":"",className:Kt(A==null?void 0:A.icon,(i=h==null?void 0:h.classNames)==null?void 0:i.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||Bu():null,h.type!=="loading"?h.icon||(V==null?void 0:V[it])||nk(it):null):null,O.createElement("div",{"data-content":"",className:Kt(A==null?void 0:A.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},O.createElement("div",{"data-title":"",className:Kt(A==null?void 0:A.title,(l=h==null?void 0:h.classNames)==null?void 0:l.title)},typeof h.title=="function"?h.title():h.title),h.description?O.createElement("div",{"data-description":"",className:Kt(B,ko,A==null?void 0:A.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),b.isValidElement(h.cancel)?h.cancel:h.cancel&&Aa(h.cancel)?O.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||j,onClick:Q=>{var ae,fe;Aa(h.cancel)&&kn&&((fe=(ae=h.cancel).onClick)==null||fe.call(ae,Q),zt())},className:Kt(A==null?void 0:A.cancelButton,(c=h==null?void 0:h.classNames)==null?void 0:c.cancelButton)},h.cancel.label):null,b.isValidElement(h.action)?h.action:h.action&&Aa(h.action)?O.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||M,onClick:Q=>{var ae,fe;Aa(h.action)&&((fe=(ae=h.action).onClick)==null||fe.call(ae,Q),!Q.defaultPrevented&&zt())},className:Kt(A==null?void 0:A.actionButton,(d=h==null?void 0:h.classNames)==null?void 0:d.actionButton)},h.action.label):null))};function Zm(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Pk(e,t){let n={};return[e,t].forEach((r,s)=>{let o=s===1,i=o?"--mobile-offset":"--offset",a=o?wk:xk;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${i}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${i}-${u}`]=a:n[`${i}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var Nk=b.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:o,closeButton:i,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:f,style:h,visibleToasts:y=vk,toastOptions:v,dir:w=Zm(),gap:m=Sk,loadingIcon:g,icons:x,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:E}=e,[C,T]=O.useState([]),k=O.useMemo(()=>Array.from(new Set([r].concat(C.filter(z=>z.position).map(z=>z.position)))),[C,r]),[P,j]=O.useState([]),[M,D]=O.useState(!1),[B,L]=O.useState(!1),[K,F]=O.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
101k":"light"),H=O.useRef(null),N=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),A=O.useRef(null),V=O.useRef(!1),W=O.useCallback(z=>{T(X=>{var G;return(G=X.find(oe=>oe.id===z.id))!=null&&G.delete||at.dismiss(z.id),X.filter(({id:oe})=>oe!==z.id)})},[]);return O.useEffect(()=>at.subscribe(z=>{if(z.dismiss){T(X=>X.map(G=>G.id===z.id?{...G,delete:!0}:G));return}setTimeout(()=>{Gx.flushSync(()=>{T(X=>{let G=X.findIndex(oe=>oe.id===z.id);return G!==-1?[...X.slice(0,G),{...X[G],...z},...X.slice(G+1)]:[z,...X]})})})}),[]),O.useEffect(()=>{if(c!=="system"){F(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?F("dark"):F("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:X})=>{F(X?"dark":"light")})}catch{z.addListener(({matches:G})=>{try{F(G?"dark":"light")}catch(oe){console.error(oe)}})}},[c]),O.useEffect(()=>{C.length<=1&&D(!1)},[C]),O.useEffect(()=>{let z=X=>{var G,oe;s.every(de=>X[de]||X.code===de)&&(D(!0),(G=H.current)==null||G.focus()),X.code==="Escape"&&(document.activeElement===H.current||(oe=H.current)!=null&&oe.contains(document.activeElement))&&D(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[s]),O.useEffect(()=>{if(H.current)return()=>{A.current&&(A.current.focus({preventScroll:!0}),A.current=null,V.current=!1)}},[H.current]),O.createElement("section",{ref:t,"aria-label":`${S} ${N}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},k.map((z,X)=>{var G;let[oe,de]=z.split("-");return C.length?O.createElement("ol",{key:z,dir:w==="auto"?Zm():w,tabIndex:-1,ref:H,className:a,"data-sonner-toaster":!0,"data-theme":K,"data-y-position":oe,"data-lifted":M&&C.length>1&&!o,"data-x-position":de,style:{"--front-toast-height":`${((G=P[0])==null?void 0:G.height)||0}px`,"--width":`${bk}px`,"--gap":`${m}px`,...h,...Pk(l,u)},onBlur:Y=>{V.current&&!Y.currentTarget.contains(Y.relatedTarget)&&(V.current=!1,A.current&&(A.current.focus({preventScroll:!0}),A.current=null))},onFocus:Y=>{Y.target instanceof HTMLElement&&Y.target.dataset.dismissible==="false"||V.current||(V.current=!0,A.current=Y.relatedTarget)},onMouseEnter:()=>D(!0),onMouseMove:()=>D(!0),onMouseLeave:()=>{B||D(!1)},onDragEnd:()=>D(!1),onPointerDown:Y=>{Y.target instanceof HTMLElement&&Y.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},C.filter(Y=>!Y.position&&X===0||Y.position===z).map((Y,ce)=>{var xe,Ae;return O.createElement(kk,{key:Y.id,icons:x,index:ce,toast:Y,defaultRichColors:d,duration:(xe=v==null?void 0:v.duration)!=null?xe:f,className:v==null?void 0:v.className,descriptionClassName:v==null?void 0:v.descriptionClassName,invert:n,visibleToasts:y,closeButton:(Ae=v==null?void 0:v.closeButton)!=null?Ae:i,interacting:B,position:z,style:v==null?void 0:v.style,unstyled:v==null?void 0:v.unstyled,classNames:v==null?void 0:v.classNames,cancelButtonStyle:v==null?void 0:v.cancelButtonStyle,actionButtonStyle:v==null?void 0:v.actionButtonStyle,removeToast:W,toasts:C.filter(ie=>ie.position==Y.position),heights:P.filter(ie=>ie.position==Y.position),setHeights:j,expandByDefault:o,gap:m,loadingIcon:g,expanded:M,pauseWhenPageIsHidden:E,swipeDirections:e.swipeDirections})})):null}))});const jk=({...e})=>{const{theme:t="system"}=tk();return p.jsx(Nk,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},Ak=["top","right","bottom","left"],Nr=Math.min,bt=Math.max,Ll=Math.round,Ra=Math.floor,Sn=e=>({x:e,y:e}),Rk={left:"right",right:"left",bottom:"top",top:"bottom"};function Vd(e,t,n){return bt(e,Nr(t,n))}function Bn(e,t){return typeof e=="function"?e(t):e}function zn(e){return e.split("-")[0]}function mo(e){return e.split("-")[1]}function Ph(e){return e==="x"?"y":"x"}function Nh(e){return e==="y"?"height":"width"}function xn(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function jh(e){return Ph(xn(e))}function Mk(e,t,n){n===void 0&&(n=!1);const r=mo(e),s=jh(e),o=Nh(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=Il(i)),[i,Il(i)]}function Dk(e){const t=Il(e);return[Fd(e),t,Fd(t)]}function Fd(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Jm=["left","right"],eg=["right","left"],Lk=["top","bottom"],Ik=["bottom","top"];
vendor: 10,288 bytes, line 101
101function Ok(e,t,n){switch(e){case"top":case"bottom":return n?t?eg:Jm:t?Jm:eg;case"left":case"right":return t?Lk:Ik;default:return[]}}function Vk(e,t,n,r){const s=mo(e);let o=Ok(zn(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(Fd)))),o}function Il(e){const t=zn(e);return Rk[t]+e.slice(t.length)}function Fk(e){return{top:0,right:0,bottom:0,left:0,...e}}function Dw(e){return typeof e!="number"?Fk(e):{top:e,right:e,bottom:e,left:e}}function Ol(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function tg(e,t,n){let{reference:r,floating:s}=e;const o=xn(t),i=jh(t),a=Nh(i),l=zn(t),u=o==="y",c=r.x+r.width/2-s.width/2,d=r.y+r.height/2-s.height/2,f=r[a]/2-s[a]/2;let h;switch(l){case"top":h={x:c,y:r.y-s.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-s.width,y:d};break;default:h={x:r.x,y:r.y}}switch(mo(t)){case"start":h[i]-=f*(n&&u?-1:1);break;case"end":h[i]+=f*(n&&u?-1:1);break}return h}async function _k(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=Bn(t,e),y=Dw(h),w=a[f?d==="floating"?"reference":"floating":d],m=Ol(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(w)))==null||n?w:w.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),g=d==="floating"?{x:r,y:s,width:i.floating.width,height:i.floating.height}:i.reference,x=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),S=await(o.isElement==null?void 0:o.isElement(x))?await(o.getScale==null?void 0:o.getScale(x))||{x:1,y:1}:{x:1,y:1},E=Ol(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:x,strategy:l}):g);return{top:(m.top-E.top+y.top)/S.y,bottom:(E.bottom-m.bottom+y.bottom)/S.y,left:(m.left-E.left+y.left)/S.x,right:(E.right-m.right+y.right)/S.x}}const Bk=50,zk=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=i.detectOverflow?i:{...i,detectOverflow:_k},l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:c,y:d}=tg(u,r,l),f=r,h=0;const y={};for(let v=0;v<o.length;v++){const w=o[v];if(!w)continue;const{name:m,fn:g}=w,{x,y:S,data:E,reset:C}=await g({x:c,y:d,initialPlacement:r,placement:f,strategy:s,middlewareData:y,rects:u,platform:a,elements:{reference:e,floating:t}});c=x??c,d=S??d,y[m]={...y[m],...E},C&&h<Bk&&(h++,typeof C=="object"&&(C.placement&&(f=C.placement),C.rects&&(u=C.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):C.rects),{x:c,y:d}=tg(u,f,l)),v=-1)}return{x:c,y:d,placement:f,strategy:s,middlewareData:y}},$k=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=Bn(e,t)||{};if(u==null)return{};const d=Dw(c),f={x:n,y:r},h=jh(s),y=Nh(h),v=await i.getDimensions(u),w=h==="y",m=w?"top":"left",g=w?"bottom":"right",x=w?"clientHeight":"clientWidth",S=o.reference[y]+o.reference[h]-f[h]-o.floating[y],E=f[h]-o.reference[h],C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let T=C?C[x]:0;(!T||!await(i.isElement==null?void 0:i.isElement(C)))&&(T=a.floating[x]||o.floating[y]);const k=S/2-E/2,P=T/2-v[y]/2-1,j=Nr(d[m],P),M=Nr(d[g],P),D=j,B=T-v[y]-M,L=T/2-v[y]/2+k,K=Vd(D,L,B),F=!l.arrow&&mo(s)!=null&&L!==K&&o.reference[y]/2-(L<D?j:M)-v[y]/2<0,H=F?L<D?L-D:L-B:0;return{[h]:f[h]+H,data:{[h]:K,centerOffset:L-K-H,...F&&{alignmentOffset:H}},reset:F}}}),Wk=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:i,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...w}=Bn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const m=zn(s),g=xn(a),x=zn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),E=f||(x||!v?[Il(a)]:Dk(a)),C=y!=="none";!f&&C&&E.push(...Vk(a,v,y,S));const T=[a,...E],k=await l.detectOverflow(t,w),P=[];let j=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&P.push(k[m]),d){const L=Mk(s,i,S);P.push(k[L[0]],k[L[1]])}if(j=[...j,{placement:s,overflows:P}],!P.every(L=>L<=0)){var M,D;const L=(((M=o.flip)==null?void 0:M.index)||0)+1,K=T[L];if(K&&(!(d==="alignment"?g!==xn(K):!1)||j.every(N=>xn(N.placement)===g?N.overflows[0]>0:!0)))return{data:{index:L,overflows:j},reset:{placement:K}};let F=(D=j.filter(H=>H.overflows[0]<=0).sort((H,N)=>H.overflows[1]-N.overflows[1])[0])==null?void 0:D.placement;if(!F)switch(h){case"bestFit":{var B;const H=(B=j.filter(N=>{if(C){const A=xn(N.placement);return A===g||A==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(A=>A>0).reduce((A,V)=>A+V,0)]).sort((N,A)=>N[1]-A[1])[0])==null?void 0:B[0];H&&(F=H);break}case"initialPlacement":F=a;break}if(s!==F)return{reset:{placement:F}}}return{}}}};function ng(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function rg(e){return Ak.some(t=>e[t]>=0)}const Uk=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:s="referenceHidden",...o}=Bn(e,t);switch(s){case"referenceHidden":{const i=await r.detectOverflow(t,{...o,elementContext:"reference"}),a=ng(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:rg(a)}}}case"escaped":{const i=await r.detectOverflow(t,{...o,altBoundary:!0}),a=ng(i,n.floating);return{data:{escapedOffsets:a,escaped:rg(a)}}}default:return{}}}}},Lw=new Set(["left","top"]);async function Hk(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=zn(n),a=mo(n),l=xn(n)==="y",u=Lw.has(i)?-1:1,c=o&&l?-1:1,d=Bn(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:y}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof y=="number"&&(h=a==="end"?y*-1:y),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}const Kk=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:i,middlewareData:a}=t,l=await Hk(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+l.x,y:o+l.y,data:{...l,placement:i}}}}},Gk=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s,platform:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:m=>{let{x:g,y:x}=m;return{x:g,y:x}}},...u}=Bn(e,t),c={x:n,y:r},d=await o.detectOverflow(t,u),f=xn(zn(s)),h=Ph(f);let y=c[h],v=c[f];if(i){const m=h==="y"?"top":"left",g=h==="y"?"bottom":"right",x=y+d[m],S=y-d[g];y=Vd(x,y,S)}if(a){const m=f==="y"?"top":"left",g=f==="y"?"bottom":"right",x=v+d[m],S=v-d[g];v=Vd(x,v,S)}const w=l.fn({...t,[h]:y,[f]:v});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[h]:i,[f]:a}}}}}},Yk=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:o,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=Bn(e,t),c={x:n,y:r},d=xn(s),f=Ph(d);let h=c[f],y=c[d];const v=Bn(a,t),w=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const x=f==="y"?"height":"width",S=o.reference[f]-o.floating[x]+w.mainAxis,E=o.reference[f]+o.reference[x]-w.mainAxis;h<S?h=S:h>E&&(h=E)}if(u){var m,g;const x=f==="y"?"width":"height",S=Lw.has(zn(s)),E=o.reference[d]-o.floating[x]+(S&&((m=i.offset)==null?void 0:m[d])||0)+(S?0:w.crossAxis),C=o.reference[d]+o.reference[x]+(S?0:((g=i.offset)==null?void 0:g[d])||0)-(S?w.crossAxis:0);y<E?y=E:y>C&&(y=C)}return{[f]:h,[d]:y}}}},Xk=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:i,elements:a}=t,{apply:l=()=>{},...u}=Bn(e,t),c=await i.detectOverflow(t,u),d=zn(s),f=mo(s),h=xn(s)==="y",{width:y,height:v}=o.floating;let w,m;d==="top"||d==="bottom"?(w=d,m=f===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(m=d,w=f==="end"?"top":"bottom");const g=v-c.top-c.bottom,x=y-c.left-c.right,S=Nr(v-c[w],g),E=Nr(y-c[m],x),C=!t.middlewareData.shift;let T=S,k=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(k=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=g),C&&!f){const j=bt(c.left,0),M=bt(c.right,0),D=bt(c.top,0),B=bt(c.bottom,0);h?k=y-2*(j!==0||M!==0?j+M:bt(c.left,c.right)):T=v-2*(D!==0||B!==0?D+B:bt(c.top,c.bottom))}await l({...t,availableWidth:k,availableHeight:T});const P=await i.getDimensions(a.floating);return y!==P.width||v!==P.height?{reset:{rects:!0}}:{}}}};function yu(){return typeof window<"u"}function go(e){return Iw(e)?(e.nodeName||"").toLowerCase():"#document"}function Ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Tn(e){var t;return(t=(Iw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Iw(e){return yu()?e instanceof Node||e instanceof Ct(e).Node:!1}function an(e){return yu()?e instanceof Element||e instanceof Ct(e).Element:!1}function Wn(e){return yu()?e instanceof HTMLElement||e instanceof Ct(e).HTMLElement:!1}function sg(e){return!yu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ct(e).ShadowRoot}function qi(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=ln(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&s!=="inline"&&s!=="contents"}function Qk(e){return/^(table|td|th)$/.test(go(e))}function vu(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const qk=/transform|translate|scale|rotate|perspective|filter/,Zk=/paint|layout|strict|content/,Vr=e=>!!e&&e!=="none";let vc;function Ah(e){const t=an(e)?ln(e):e;return Vr(t.transform)||Vr(t.translate)||Vr(t.scale)||Vr(t.rotate)||Vr(t.perspective)||!Rh()&&(Vr(t.backdropFilter)||Vr(t.filter))||qk.test(t.willChange||"")||Zk.test(t.contain||"")}function Jk(e){let t=jr(e);for(;Wn(t)&&!io(t);){if(Ah(t))return t;if(vu(t))return null;t=jr(t)}return null}
101function Rh(){return vc==null&&(vc=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),vc}function io(e){return/^(html|body|#document)$/.test(go(e))}function ln(e){return Ct(e).getComputedStyle(e)}function xu(e){return an(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function jr(e){if(go(e)==="html")return e;const t=e.assignedSlot||e.parentNode||sg(e)&&e.host||Tn(e);return sg(t)?t.host:t}function Ow(e){const t=jr(e);return io(t)?e.ownerDocument?e.ownerDocument.body:e.body:Wn(t)&&qi(t)?t:Ow(t)}function Pi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=Ow(e),o=s===((r=e.ownerDocument)==null?void 0:r.body),i=Ct(s);if(o){const a=_d(i);return t.concat(i,i.visualViewport||[],qi(s)?s:[],a&&n?Pi(a):[])}else return t.concat(s,Pi(s,[],n))}function _d(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Vw(e){const t=ln(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=Wn(e),o=s?e.offsetWidth:n,i=s?e.offsetHeight:r,a=Ll(n)!==o||Ll(r)!==i;return a&&(n=o,r=i),{width:n,height:r,$:a}}function Mh(e){return an(e)?e:e.contextElement}function $s(e){const t=Mh(e);if(!Wn(t))return Sn(1);
vendor: 14,586 bytes, line 101
101const n=t.getBoundingClientRect(),{width:r,height:s,$:o}=Vw(t);let i=(o?Ll(n.width):n.width)/r,a=(o?Ll(n.height):n.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const eP=Sn(0);function Fw(e){const t=Ct(e);return!Rh()||!t.visualViewport?eP:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function tP(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ct(e)?!1:t}function us(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=Mh(e);let i=Sn(1);t&&(r?an(r)&&(i=$s(r)):i=$s(e));const a=tP(o,n,r)?Fw(o):Sn(0);let l=(s.left+a.x)/i.x,u=(s.top+a.y)/i.y,c=s.width/i.x,d=s.height/i.y;if(o){const f=Ct(o),h=r&&an(r)?Ct(r):r;let y=f,v=_d(y);for(;v&&r&&h!==y;){const w=$s(v),m=v.getBoundingClientRect(),g=ln(v),x=m.left+(v.clientLeft+parseFloat(g.paddingLeft))*w.x,S=m.top+(v.clientTop+parseFloat(g.paddingTop))*w.y;l*=w.x,u*=w.y,c*=w.x,d*=w.y,l+=x,u+=S,y=Ct(v),v=_d(y)}}return Ol({width:c,height:d,x:l,y:u})}function wu(e,t){const n=xu(e).scrollLeft;return t?t.left+n:us(Tn(e)).left+n}function _w(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-wu(e,n),s=n.top+t.scrollTop;return{x:r,y:s}}function nP(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const o=s==="fixed",i=Tn(r),a=t?vu(t.floating):!1;if(r===i||a&&o)return n;let l={scrollLeft:0,scrollTop:0},u=Sn(1);const c=Sn(0),d=Wn(r);if((d||!d&&!o)&&((go(r)!=="body"||qi(i))&&(l=xu(r)),d)){const h=us(r);u=$s(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const f=i&&!d&&!o?_w(i,l):Sn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:n.y*u.y-l.scrollTop*u.y+c.y+f.y}}function rP(e){return Array.from(e.getClientRects())}function sP(e){const t=Tn(e),n=xu(e),r=e.ownerDocument.body,s=bt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=bt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+wu(e);const a=-n.scrollTop;return ln(r).direction==="rtl"&&(i+=bt(t.clientWidth,r.clientWidth)-s),{width:s,height:o,x:i,y:a}}const og=25;function oP(e,t){const n=Ct(e),r=Tn(e),s=n.visualViewport;let o=r.clientWidth,i=r.clientHeight,a=0,l=0;if(s){o=s.width,i=s.height;const c=Rh();(!c||c&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}const u=wu(r);if(u<=0){const c=r.ownerDocument,d=c.body,f=getComputedStyle(d),h=c.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,y=Math.abs(r.clientWidth-d.clientWidth-h);y<=og&&(o-=y)}else u<=og&&(o+=u);return{width:o,height:i,x:a,y:l}}function iP(e,t){const n=us(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,o=Wn(e)?$s(e):Sn(1),i=e.clientWidth*o.x,a=e.clientHeight*o.y,l=s*o.x,u=r*o.y;return{width:i,height:a,x:l,y:u}}function ig(e,t,n){let r;if(t==="viewport")r=oP(e,n);else if(t==="document")r=sP(Tn(e));else if(an(t))r=iP(t,n);else{const s=Fw(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Ol(r)}function Bw(e,t){const n=jr(e);return n===t||!an(n)||io(n)?!1:ln(n).position==="fixed"||Bw(n,t)}function aP(e,t){const n=t.get(e);if(n)return n;let r=Pi(e,[],!1).filter(a=>an(a)&&go(a)!=="body"),s=null;const o=ln(e).position==="fixed";let i=o?jr(e):e;for(;an(i)&&!io(i);){const a=ln(i),l=Ah(i);!l&&a.position==="fixed"&&(s=null),(o?!l&&!s:!l&&a.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||qi(i)&&!l&&Bw(e,i))?r=r.filter(c=>c!==i):s=a,i=jr(i)}return t.set(e,r),r}function lP(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const i=[...n==="clippingAncestors"?vu(t)?[]:aP(t,this._c):[].concat(n),r],a=ig(t,i[0],s);let l=a.top,u=a.right,c=a.bottom,d=a.left;for(let f=1;f<i.length;f++){const h=ig(t,i[f],s);l=bt(h.top,l),u=Nr(h.right,u),c=Nr(h.bottom,c),d=bt(h.left,d)}return{width:u-d,height:c-l,x:d,y:l}}function uP(e){const{width:t,height:n}=Vw(e);return{width:t,height:n}}function cP(e,t,n){const r=Wn(t),s=Tn(t),o=n==="fixed",i=us(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=Sn(0);function u(){l.x=wu(s)}if(r||!r&&!o)if((go(t)!=="body"||qi(s))&&(a=xu(t)),r){const h=us(t,!0,o,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else s&&u();o&&!r&&s&&u();const c=s&&!r&&!o?_w(s,a):Sn(0),d=i.left+a.scrollLeft-l.x-c.x,f=i.top+a.scrollTop-l.y-c.y;return{x:d,y:f,width:i.width,height:i.height}}function xc(e){return ln(e).position==="static"}function ag(e,t){if(!Wn(e)||ln(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Tn(e)===n&&(n=n.ownerDocument.body),n}function zw(e,t){const n=Ct(e);if(vu(e))return n;if(!Wn(e)){let s=jr(e);for(;s&&!io(s);){if(an(s)&&!xc(s))return s;s=jr(s)}return n}let r=ag(e,t);for(;r&&Qk(r)&&xc(r);)r=ag(r,t);return r&&io(r)&&xc(r)&&!Ah(r)?n:r||Jk(e)||n}const dP=async function(e){const t=this.getOffsetParent||zw,n=this.getDimensions,r=await n(e.floating);return{reference:cP(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function fP(e){return ln(e).direction==="rtl"}const hP={convertOffsetParentRelativeRectToViewportRelativeRect:nP,getDocumentElement:Tn,getClippingRect:lP,getOffsetParent:zw,getElementRects:dP,getClientRects:rP,getDimensions:uP,getScale:$s,isElement:an,isRTL:fP};function $w(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function pP(e,t){let n=null,r;const s=Tn(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:h}=u;if(a||t(),!f||!h)return;const y=Ra(d),v=Ra(s.clientWidth-(c+f)),w=Ra(s.clientHeight-(d+h)),m=Ra(c),x={rootMargin:-y+"px "+-v+"px "+-w+"px "+-m+"px",threshold:bt(0,Nr(1,l))||1};let S=!0;function E(C){const T=C[0].intersectionRatio;if(T!==l){if(!S)return i();T?i(!1,T):r=setTimeout(()=>{i(!1,1e-7)},1e3)}T===1&&!$w(u,e.getBoundingClientRect())&&i(),S=!1}try{n=new IntersectionObserver(E,{...x,root:s.ownerDocument})}catch{n=new IntersectionObserver(E,x)}n.observe(e)}return i(!0),o}function mP(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Mh(e),c=s||o?[...u?Pi(u):[],...t?Pi(t):[]]:[];c.forEach(m=>{s&&m.addEventListener("scroll",n,{passive:!0}),o&&m.addEventListener("resize",n)});const d=u&&a?pP(u,n):null;let f=-1,h=null;i&&(h=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&h&&t&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var x;(x=h)==null||x.observe(t)})),n()}),u&&!l&&h.observe(u),t&&h.observe(t));let y,v=l?us(e):null;l&&w();function w(){const m=us(e);v&&!$w(v,m)&&n(),v=m,y=requestAnimationFrame(w)}return n(),()=>{var m;c.forEach(g=>{s&&g.removeEventListener("scroll",n),o&&g.removeEventListener("resize",n)}),d==null||d(),(m=h)==null||m.disconnect(),h=null,l&&cancelAnimationFrame(y)}}const gP=Kk,yP=Gk,vP=Wk,xP=Xk,wP=Uk,lg=$k,bP=Yk,SP=(e,t,n)=>{const r=new Map,s={platform:hP,...n},o={...s.platform,_c:r};return zk(e,t,{...s,platform:o})};var EP=typeof document<"u",CP=function(){},tl=EP?b.useLayoutEffect:CP;function Vl(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Vl(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const o=s[r];if(!(o==="_owner"&&e.$$typeof)&&!Vl(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function Ww(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ug(e,t){const n=Ww(e);return Math.round(t*n)/n}function wc(e){const t=b.useRef(e);return tl(()=>{t.current=e}),t}function TP(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:o,floating:i}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=b.useState(r);Vl(f,r)||h(r);const[y,v]=b.useState(null),[w,m]=b.useState(null),g=b.useCallback(N=>{N!==C.current&&(C.current=N,v(N))},[]),x=b.useCallback(N=>{N!==T.current&&(T.current=N,m(N))},[]),S=o||y,E=i||w,C=b.useRef(null),T=b.useRef(null),k=b.useRef(c),P=l!=null,j=wc(l),M=wc(s),D=wc(u),B=b.useCallback(()=>{if(!C.current||!T.current)return;const N={placement:t,strategy:n,middleware:f};M.current&&(N.platform=M.current),SP(C.current,T.current,N).then(A=>{const V={...A,isPositioned:D.current!==!1};L.current&&!Vl(k.current,V)&&(k.current=V,Xi.flushSync(()=>{d(V)}))})},[f,t,n,M,D]);tl(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,d(N=>({...N,isPositioned:!1})))},[u]);const L=b.useRef(!1);tl(()=>(L.current=!0,()=>{L.current=!1}),[]),tl(()=>{if(S&&(C.current=S),E&&(T.current=E),S&&E){if(j.current)return j.current(S,E,B);B()}},[S,E,B,j,P]);const K=b.useMemo(()=>({reference:C,floating:T,setReference:g,setFloating:x}),[g,x]),F=b.useMemo(()=>({reference:S,floating:E}),[S,E]),H=b.useMemo(()=>{const N={position:n,left:0,top:0};if(!F.floating)return N;const A=ug(F.floating,c.x),V=ug(F.floating,c.y);return a?{...N,transform:"translate("+A+"px, "+V+"px)",...Ww(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:A,top:V}},[n,a,F.floating,c.x,c.y]);return b.useMemo(()=>({...c,update:B,refs:K,elements:F,floatingStyles:H}),[c,B,K,F,H])}const kP=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?lg({element:r.current,padding:s}).fn(n):{}:r?lg({element:r,padding:s}).fn(n):{}}}},PP=(e,t)=>{const n=gP(e);return{name:n.name,fn:n.fn,options:[e,t]}},NP=(e,t)=>{const n=yP(e);return{name:n.name,fn:n.fn,options:[e,t]}},jP=(e,t)=>({fn:bP(e).fn,options:[e,t]}),AP=(e,t)=>{const n=vP(e);return{name:n.name,fn:n.fn,options:[e,t]}},RP=(e,t)=>{const n=xP(e);return{name:n.name,fn:n.fn,options:[e,t]}},MP=(e,t)=>{const n=wP(e);return{name:n.name,fn:n.fn,options:[e,t]}},DP=(e,t)=>{const n=kP(e);return{name:n.name,fn:n.fn,options:[e,t]}};var LP="Arrow",Uw=b.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...o}=e;return p.jsx(gt.svg,{...o,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});Uw.displayName=LP;var IP=Uw;function OP(e){const[t,n]=b.useState(void 0);return Pr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const o=s[0];let i,a;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,a=u.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Hw="Popper",[Kw,Gw]=pu(Hw),[O4,Yw]=Kw(Hw),Xw="PopperAnchor",Qw=b.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,o=Yw(Xw,n),i=b.useRef(null),a=on(t,i),l=b.useRef(null);return b.useEffect(()=>{const u=l.current;l.current=(r==null?void 0:r.current)||i.current,u!==l.current&&o.onAnchorChange(l.current)}),r?null:p.jsx(gt.div,{...s,ref:a})});Qw.displayName=Xw;var Dh="PopperContent",[VP,FP]=Kw(Dh),qw=b.forwardRef((e,t)=>{var Y,ce,xe,Ae,ie,U;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:o="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:h="optimized",onPlaced:y,...v}=e,w=Yw(Dh,n),[m,g]=b.useState(null),x=on(t,te=>g(te)),[S,E]=b.useState(null),C=OP(S),T=(C==null?void 0:C.width)??0,k=(C==null?void 0:C.height)??0,P=r+(o!=="center"?"-"+o:""),j=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},M=Array.isArray(u)?u:[u],D=M.length>0,B={padding:j,boundary:M.filter(BP),altBoundary:D},{refs:L,floatingStyles:K,placement:F,isPositioned:H,middlewareData:N}=TP({strategy:"fixed",placement:P,whileElementsMounted:(...te)=>mP(...te,{animationFrame:h==="always"}),elements:{reference:w.anchor},middleware:[PP({mainAxis:s+k,alignmentAxis:i}),l&&NP({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?jP():void 0,...B}),l&&AP({...B}),RP({...B,apply:({elements:te,rects:me,availableWidth:Le,availableHeight:qe})=>{const{width:yt,height:vt}=me.reference,Ze=te.floating.style;Ze.setProperty("--radix-popper-available-width",`${Le}px`),Ze.setProperty("--radix-popper-available-height",`${qe}px`),Ze.setProperty("--radix-popper-anchor-width",`${yt}px`),Ze.setProperty("--radix-popper-anchor-height",`${vt}px`)}}),S&&DP({element:S,padding:a}),zP({arrowWidth:T,arrowHeight:k}),f&&MP({strategy:"referenceHidden",...B})]}),[A,V]=e1(F),W=kr(y);Pr(()=>{H&&(W==null||W())},[H,W]);const z=(Y=N.arrow)==null?void 0:Y.x,X=(ce=N.arrow)==null?void 0:ce.y,G=((xe=N.arrow)==null?void 0:xe.centerOffset)!==0,[oe,de]=b.useState();return Pr(()=>{m&&de(window.getComputedStyle(m).zIndex)},[m]),p.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:H?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:oe,"--radix-popper-transform-origin":[(Ae=N.transformOrigin)==null?void 0:Ae.x,(ie=N.transformOrigin)==null?void 0:ie.y].join(" "),...((U=N.hide)==null?void 0:U.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p.jsx(VP,{scope:n,placedSide:A,onArrowChange:E,arrowX:z,arrowY:X,shouldHideArrow:G,children:p.jsx(gt.div,{"data-side":A,"data-align":V,...v,ref:x,style:{...v.style,animation:H?void 0:"none"}})})})});qw.displayName=Dh;var Zw="PopperArrow",_P={top:"bottom",right:"left",bottom:"top",left:"right"},Jw=b.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,o=FP(Zw,r),i=_P[o.placedSide];return p.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:p.jsx(IP,{...s,ref:n,style:{...s.style,display:"block"}})})});Jw.displayName=Zw;function BP(e){return e!==null}var zP=e=>({name:"transformOrigin",options:e,fn(t){var w,m,g;const{placement:n,rects:r,middlewareData:s}=t,i=((w=s.arrow)==null?void 0:w.centerOffset)!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[u,c]=e1(n),d={start:"0%",center:"50%",end:"100%"}
vendor: 4,919 bytes, line 101
101[c],f=(((m=s.arrow)==null?void 0:m.x)??0)+a/2,h=(((g=s.arrow)==null?void 0:g.y)??0)+l/2;let y="",v="";return u==="bottom"?(y=i?d:`${f}px`,v=`${-l}px`):u==="top"?(y=i?d:`${f}px`,v=`${r.floating.height+l}px`):u==="right"?(y=`${-l}px`,v=i?d:`${h}px`):u==="left"&&(y=`${r.floating.width+l}px`,v=i?d:`${h}px`),{data:{x:y,y:v}}}});function e1(e){const[t,n="center"]=e.split("-");return[t,n]}var $P=Qw,WP=qw,UP=Jw,HP=Symbol("radix.slottable");function KP(e){const t=({children:n})=>p.jsx(p.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=HP,t}var[bu]=pu("Tooltip",[Gw]),Lh=Gw(),t1="TooltipProvider",GP=700,cg="tooltip.open",[YP,n1]=bu(t1),r1=e=>{const{__scopeTooltip:t,delayDuration:n=GP,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:o}=e,i=b.useRef(!0),a=b.useRef(!1),l=b.useRef(0);return b.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),p.jsx(YP,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:b.useCallback(()=>{window.clearTimeout(l.current),i.current=!1},[]),onClose:b.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:b.useCallback(u=>{a.current=u},[]),disableHoverableContent:s,children:o})};r1.displayName=t1;var s1="Tooltip",[V4,Su]=bu(s1),Bd="TooltipTrigger",XP=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Su(Bd,n),o=n1(Bd,n),i=Lh(n),a=b.useRef(null),l=on(t,a,s.onTriggerChange),u=b.useRef(!1),c=b.useRef(!1),d=b.useCallback(()=>u.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),p.jsx($P,{asChild:!0,...i,children:p.jsx(gt.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:l,onPointerMove:Oe(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!o.isPointerInTransitRef.current&&(s.onTriggerEnter(),c.current=!0)}),onPointerLeave:Oe(e.onPointerLeave,()=>{s.onTriggerLeave(),c.current=!1}),onPointerDown:Oe(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Oe(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:Oe(e.onBlur,s.onClose),onClick:Oe(e.onClick,s.onClose)})})});XP.displayName=Bd;var QP="TooltipPortal",[F4,qP]=bu(QP,{forceMount:void 0}),ao="TooltipContent",o1=b.forwardRef((e,t)=>{const n=qP(ao,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...o}=e,i=Su(ao,e.__scopeTooltip);return p.jsx(wh,{present:r||i.open,children:i.disableHoverableContent?p.jsx(i1,{side:s,...o,ref:t}):p.jsx(ZP,{side:s,...o,ref:t})})}),ZP=b.forwardRef((e,t)=>{const n=Su(ao,e.__scopeTooltip),r=n1(ao,e.__scopeTooltip),s=b.useRef(null),o=on(t,s),[i,a]=b.useState(null),{trigger:l,onClose:u}=n,c=s.current,{onPointerInTransitChange:d}=r,f=b.useCallback(()=>{a(null),d(!1)},[d]),h=b.useCallback((y,v)=>{const w=y.currentTarget,m={x:y.clientX,y:y.clientY},g=rN(m,w.getBoundingClientRect()),x=sN(m,g),S=oN(v.getBoundingClientRect()),E=aN([...x,...S]);a(E),d(!0)},[d]);return b.useEffect(()=>()=>f(),[f]),b.useEffect(()=>{if(l&&c){const y=w=>h(w,c),v=w=>h(w,l);return l.addEventListener("pointerleave",y),c.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",y),c.removeEventListener("pointerleave",v)}}},[l,c,h,f]),b.useEffect(()=>{if(i){const y=v=>{const w=v.target,m={x:v.clientX,y:v.clientY},g=(l==null?void 0:l.contains(w))||(c==null?void 0:c.contains(w)),x=!iN(m,i);g?f():x&&(f(),u())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[l,c,i,u,f]),p.jsx(i1,{...e,ref:o})}),[JP,eN]=bu(s1,{isInside:!1}),tN=KP("TooltipContent"),i1=b.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:o,onPointerDownOutside:i,...a}=e,l=Su(ao,n),u=Lh(n),{onClose:c}=l;return b.useEffect(()=>(document.addEventListener(cg,c),()=>document.removeEventListener(cg,c)),[c]),b.useEffect(()=>{if(l.trigger){const d=f=>{const h=f.target;h!=null&&h.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),p.jsx(xh,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:p.jsxs(WP,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[p.jsx(tN,{children:r}),p.jsx(JP,{scope:n,isInside:!0,children:p.jsx(WC,{id:l.contentId,role:"tooltip",children:s||r})})]})})});o1.displayName=ao;var a1="TooltipArrow",nN=b.forwardRef((e,t)=>
101{const{__scopeTooltip:n,...r}=e,s=Lh(n);return eN(a1,n).isInside?null:p.jsx(UP,{...s,...r,ref:t})});nN.displayName=a1;function rN(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,s,o)){case o:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function sN(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function oN(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function iN(e,t){const{x:n,y:r}=e;let s=!1;for(let o=0,i=t.length-1;o<t.length;i=o++){const a=t[o],l=t[i],u=a.x,c=a.y,d=l.x,f=l.y;c>r!=f>r&&n<(d-u)*(r-c)/(f-c)+u&&(s=!s)}return s}function aN(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),lN(t)}function lN(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const o=t[t.length-1],i=t[t.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const o=n[n.length-1],i=n[n.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.x))n.pop();else break}n.push(s)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var uN=r1,l1=o1;const cN=uN,dN=b.forwardRef(({className:e,sideOffset:t=4,...n},r)=>p.jsx(l1,{ref:r,sideOffset:t,className:le("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));dN.displayName=l1.displayName;var Eu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Yr,ir,Us,T0,fN=(T0=class extends Eu{constructor(){super();ne(this,Yr);ne(this,ir);ne(this,Us);q(this,Us,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){R(this,ir)||this.setEventListener(R(this,Us))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,ir))==null||t.call(this),q(this,ir,void 0))}setEventListener(t){var n;q(this,Us,t),(n=R(this,ir))==null||n.call(this),q(this,ir,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){R(this,Yr)!==t&&(q(this,Yr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof R(this,Yr)=="boolean"?R(this,Yr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Yr=new WeakMap,ir=new WeakMap,Us=new WeakMap,T0),u1=new fN,hN={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},ar,Ef,k0,pN=(k0=class{constructor(){ne(this,ar,hN);ne(this,Ef,!1)}setTimeoutProvider(e){q(this,ar,e)}setTimeout(e,t){return R(this,ar).setTimeout(e,t)}clearTimeout(e){R(this,ar).clearTimeout(e)}setInterval(e,t){return R(this,ar).setInterval(e,t)}clearInterval(e){R(this,ar).clearInterval(e)}},ar=new WeakMap,Ef=new WeakMap,k0),zd=new pN;function mN(e){setTimeout(e,0)}var gN=typeof window>"u"||"Deno"in globalThis;function Qt(){}function yN(e,t){return typeof e=="function"?e(t):e}function vN(e){return typeof e=="number"&&e>=0&&e!==1/0}function xN(e,t){return Math.max(e+(t||0)-Date.now(),0)}function $d(e,t){return typeof e=="function"?e(t):e}function wN(e,t){return typeof e=="function"?e(t):e}function dg(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:o,queryKey:i,stale:a}=e;if(i){if(r){if(t.queryHash!==Ih(i,t.options))return!1}else if(!ji(t.queryKey,i))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||s&&s!==t.state.fetchStatus||o&&!o(t))}function fg(e,t){const{exact:n,status:r,predicate:s,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Ni(t.options.mutationKey)!==Ni(o))return!1}else if(!ji(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Ih(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ni)(e)}function Ni(e){return JSON.stringify(e,(t,n)=>Wd(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function ji(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>ji(e[n],t[n])):!1}var bN=Object.prototype.hasOwnProperty;function c1(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=hg(e)&&hg(t);if(!r&&!(Wd(e)&&Wd(t)))return t;const o=(r?e:Object.keys(e)).length,i=r?t:Object.keys(t),a=i.length,l=r?new Array(a):{};let u=0;for(let c=0;c<a;c++){const d=r?c:i[c],f=e[d],h=t[d];if(f===h){l[d]=f,(r?c<o:bN.call(e,d))&&u++;continue}if(f===null||h===null||typeof f!="object"||typeof h!="object"){l[d]=h;continue}const y=c1(f,h,n+1);
101l[d]=y,y===f&&u++}return o===a&&u===o?e:l}function hg(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Wd(e){if(!pg(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!pg(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function pg(e){return Object.prototype.toString.call(e)==="[object Object]"}function SN(e){return new Promise(t=>{zd.setTimeout(t,e)})}function EN(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?c1(e,t):t}function CN(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function TN(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Oh=Symbol();function d1(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Oh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function kN(e,t,n){let r=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??(s=t()),r||(r=!0,s.aborted?n():s.addEventListener("abort",n,{once:!0})),s)}),e}var f1=(()=>{let e=()=>gN;return{isServer(){return e()},setIsServer(t){e=t}}})();function PN(){let e,t;const n=new Promise((s,o)=>{e=s,t=o});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}var NN=mN;function jN(){let e=[],t=0,n=a=>{a()},r=a=>{a()},s=NN;const o=a=>{t?e.push(a):s(()=>{n(a)})},i=()=>{const a=e;e=[],a.length&&s(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||i()}return l},batchCalls:a=>(...l)=>{o(()=>{a(...l)})},schedule:o,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{s=a}}}var et=jN(),Hs,lr,Ks,P0,AN=(P0=class extends Eu{constructor(){super();ne(this,Hs,!0);ne(this,lr);ne(this,Ks);q(this,Ks,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){R(this,lr)||this.setEventListener(R(this,Ks))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,lr))==null||t.call(this),q(this,lr,void 0))}setEventListener(t){var n;q(this,Ks,t),(n=R(this,lr))==null||n.call(this),q(this,lr,t(this.setOnline.bind(this)))}setOnline(t){R(this,Hs)!==t&&(q(this,Hs,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return R(this,Hs)}},Hs=new WeakMap,lr=new WeakMap,Ks=new WeakMap,P0),Fl=new AN;function RN(e){return Math.min(1e3*2**e,3e4)}function h1(e){return(e??"online")==="online"?Fl.isOnline():!0}var Ud=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function p1(e){let t=!1,n=0,r;const s=PN(),o=()=>s.status!=="pending",i=v=>{var w;if(!o()){const m=new Ud(v);f(m),(w=e.onCancel)==null||w.call(e,m)}},a=()=>{t=!0},l=()=>{t=!1},u=()=>u1.isFocused()&&(e.networkMode==="always"||Fl.isOnline())&&e.canRun(),c=()=>h1(e.networkMode)&&e.canRun(),d=v=>{o()||(r==null||r(),s.resolve(v))},f=v=>{o()||(r==null||r(),s.reject(v))},h=()=>new Promise(v=>{var w;r=m=>{(o()||u())&&v(m)},(w=e.onPause)==null||w.call(e)}).then(()=>{var v;r=void 0,o()||(v=e.onContinue)==null||v.call(e)}),y=()=>{if(o())return;let v;const w=n===0?e.initialPromise:void 0;try{v=w??e.fn()}catch(m){v=Promise.reject(m)}Promise.resolve(v).then(d).catch(m=>{var C;if(o())return;const g=e.retry??(f1.isServer()?0:3),x=e.retryDelay??RN,S=typeof x=="function"?x(n,m):x,E=g===!0||typeof g=="number"&&n<g||typeof g=="function"&&g(n,m);if(t||!E){f(m);return}n++,(C=e.onFail)==null||C.call(e,n,m),SN(S).then(()=>u()?void 0:h()).then(()=>{t?f(m):y()})})};return{promise:s,status:()=>s.status,cancel:i,continue:()=>(r==null||r(),s),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?y():h().then(y),s)}}var Xr,N0,m1=(N0=class{constructor(){ne(this,Xr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),vN(this.gcTime)&&q(this,Xr,zd.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(f1.isServer()?1/0:5*60*1e3))}clearGcTimeout(){R(this,Xr)&&(zd.clearTimeout(R(this,Xr)),q(this,Xr,void 0))}},Xr=new WeakMap,N0),Qr,Gs,Nt,qr,Fe,zi,Zr,wt,g1,Nn,j0,MN=(j0=class extends m1{constructor(t){super();ne(this,wt);ne(this,Qr);ne(this,Gs);ne(this,Nt);ne(this,qr);ne(this,Fe);ne(this,zi);ne(this,Zr);q(this,Zr,!1),q(this,zi,t.defaultOptions),this.setOptions(t.options),this.observers=[],q(this,qr,t.client),q(this,Nt,R(this,qr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,q(this,Qr,gg(this.options)),this.state=t.state??R(this,Qr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=R(this,Fe))==null?void 0:t.promise}setOptions(t){if(this.options={...R(this,zi),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=gg(this.options);n.data!==void 0&&(this.setState(mg(n.data,n.dataUpdatedAt)),q(this,Qr,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,Nt).remove(this)}setData(t,n){const r=EN(this.state.data,t,this.options);return $e(this,wt,Nn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){$e(this,wt,Nn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=R(this,Fe))==null?void 0:r.promise;return(s=R(this,Fe))==null||s.cancel(t),n?n.then(Qt).catch(Qt):Prom
101ise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return R(this,Qr)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>wN(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Oh||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>$d(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!xN(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,Fe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,Fe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),R(this,Nt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(R(this,Fe)&&(R(this,Zr)||$e(this,wt,g1).call(this)?R(this,Fe).cancel({revert:!0}):R(this,Fe).cancelRetry()),this.scheduleGc()),R(this,Nt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||$e(this,wt,Nn).call(this,{type:"invalidate"})}async fetch(t,n){var l,u,c,d,f,h,y,v,w,m,g,x;if(this.state.fetchStatus!=="idle"&&((l=R(this,Fe))==null?void 0:l.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(R(this,Fe))return R(this,Fe).continueRetry(),R(this,Fe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const S=this.observers.find(E=>E.options.queryFn);S&&this.setOptions(S.options)}const r=new AbortController,s=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>(q(this,Zr,!0),r.signal)})},o=()=>{const S=d1(this.options,n),C=(()=>{const T={client:R(this,qr),queryKey:this.queryKey,meta:this.meta};return s(T),T})();return q(this,Zr,!1),this.options.persister?this.options.persister(S,C,this):S(C)},a=(()=>{const S={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:R(this,qr),state:this.state,fetchFn:o};return s(S),S})();(u=this.options.behavior)==null||u.onFetch(a,this),q(this,Gs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&$e(this,wt,Nn).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta}),q(this,Fe,p1({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,onCancel:S=>{S instanceof Ud&&S.revert&&this.setState({...R(this,Gs),fetchStatus:"idle"}),r.abort()},onFail:(S,E)=>{$e(this,wt,Nn).call(this,{type:"failed",failureCount:S,error:E})},onPause:()=>{$e(this,wt,Nn).call(this,{type:"pause"})},onContinue:()=>{$e(this,wt,Nn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}));try{const S=await R(this,Fe).start();if(S===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(S),(h=(f=R(this,Nt).config).onSuccess)==null||h.call(f,S,this),(v=(y=R(this,Nt).config).onSettled)==null||v.call(y,S,this.state.error,this),S}catch(S){if(S instanceof Ud){if(S.silent)return R(this,Fe).promise;if(S.revert){if(this.state.data===void 0)throw S;return this.state.data}}throw $e(this,wt,Nn).call(this,{type:"error",error:S}),(m=(w=R(this,Nt).config).onError)==null||m.call(w,S,this),(x=(g=R(this,Nt).config).onSettled)==null||x.call(g,this.state.data,S,this),S}finally{this.scheduleGc()}}},Qr=new WeakMap,Gs=new WeakMap,Nt=new WeakMap,qr=new WeakMap,Fe=new WeakMap,zi=new WeakMap,Zr=new WeakMap,wt=new WeakSet,g1=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},Nn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...DN(r.data,this.options),fetchMeta:t.meta??null};case"success":const s={...r,...mg(t.data,t.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return q(this,Gs,t.manual?s:void 0),s;case"error":const o=t.error;
101return{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),et.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),R(this,Nt).notify({query:this,type:"updated",action:t})})},j0);function DN(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:h1(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function mg(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function gg(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}function yg(e){return{onFetch:(t,n)=>{var c,d,f,h,y;const r=t.options,s=(f=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,o=((h=t.state.data)==null?void 0:h.pages)||[],i=((y=t.state.data)==null?void 0:y.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let v=!1;const w=x=>{kN(x,()=>t.signal,()=>v=!0)},m=d1(t.options,t.fetchOptions),g=async(x,S,E)=>{if(v)return Promise.reject();if(S==null&&x.pages.length)return Promise.resolve(x);const T=(()=>{const M={client:t.client,queryKey:t.queryKey,pageParam:S,direction:E?"backward":"forward",meta:t.options.meta};return w(M),M})(),k=await m(T),{maxPages:P}=t.options,j=E?TN:CN;return{pages:j(x.pages,k,P),pageParams:j(x.pageParams,S,P)}};if(s&&o.length){const x=s==="backward",S=x?LN:vg,E={pages:o,pageParams:i},C=S(r,E);a=await g(E,C,x)}else{const x=e??o.length;do{const S=l===0?i[0]??r.initialPageParam:vg(r,a);if(l>0&&S==null)break;a=await g(a,S),l++}while(l<x)}return a};t.options.persister?t.fetchFn=()=>{var v,w;return(w=(v=t.options).persister)==null?void 0:w.call(v,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function vg(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function LN(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var $i,pn,Ye,Jr,mn,Jn,A0,IN=(A0=class extends m1{constructor(t){super();ne(this,mn);ne(this,$i);ne(this,pn);ne(this,Ye);ne(this,Jr);q(this,$i,t.client),this.mutationId=t.mutationId,q(this,Ye,t.mutationCache),q(this,pn,[]),this.state=t.state||ON(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){R(this,pn).includes(t)||(R(this,pn).push(t),this.clearGcTimeout(),R(this,Ye).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){q(this,pn,R(this,pn).filter(n=>n!==t)),this.scheduleGc(),R(this,Ye).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){R(this,pn).length||(this.state.status==="pending"?this.scheduleGc():R(this,Ye).remove(this))}continue(){var t;return((t=R(this,Jr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,a,l,u,c,d,f,h,y,v,w,m,g,x,S,E,C,T;const n=()=>{$e(this,mn,Jn).call(this,{type:"continue"})},r={client:R(this,$i),meta:this.options.meta,mutationKey:this.options.mutationKey};q(this,Jr,p1({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(k,P)=>{$e(this,mn,Jn).call(this,{type:"failed",failureCount:k,error:P})},onPause:()=>{$e(this,mn,Jn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,Ye).canRun(this)}));const s=this.state.status==="pending",o=!R(this,Jr).canStart();try{if(s)n();else{$e(this,mn,Jn).call(this,{type:"pending",variables:t,isPaused:o}),R(this,Ye).config.onMutate&&await R(this,Ye).config.onMutate(t,this,r);const P=await((a=(i=this.options).onMutate)==null?void 0:a.call(i,t,r));P!==this.state.context&&$e(this,mn,Jn).call(this,{type:"pending",context:P,variables:t,isPaused:o})}const k=await R(this,Jr).start();return await((u=(l=R(this,Ye).config).onSuccess)==null?void 0:u.call(l,k,t,this.state.context,this,r)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,k,t,this.state.context,r)),await((h=(f=R(this,Ye).config).onSettled)==null?void 0:h.call(f,k,null,this.state.variables,this.state.context,this,r)),await((v=(y=this.options).onSettled)==null?void 0:v.call(y,k,null,t,this.state.context,r)),$e(this,mn,Jn).call(this,{type:"success",data:k}),k}catch(k){try{await((m=(w=R(this,Ye).config).onError)==null?void 0:m.call(w,k,t,this.state.context,this,r))}catch(P){Promise.reject(P)}try{await((x=(g=this.options).onError)==null?void 0:x.call(g,k,t,this.state.context,r))}catch(P){Promise.reject(P)}
101try{await((E=(S=R(this,Ye).config).onSettled)==null?void 0:E.call(S,void 0,k,this.state.variables,this.state.context,this,r))}catch(P){Promise.reject(P)}try{await((T=(C=this.options).onSettled)==null?void 0:T.call(C,void 0,k,t,this.state.context,r))}catch(P){Promise.reject(P)}throw $e(this,mn,Jn).call(this,{type:"error",error:k}),k}finally{R(this,Ye).runNext(this)}}},$i=new WeakMap,pn=new WeakMap,Ye=new WeakMap,Jr=new WeakMap,mn=new WeakSet,Jn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),et.batch(()=>{R(this,pn).forEach(r=>{r.onMutationUpdate(t)}),R(this,Ye).notify({mutation:this,type:"updated",action:t})})},A0);function ON(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Rn,qt,Wi,R0,VN=(R0=class extends Eu{constructor(t={}){super();ne(this,Rn);ne(this,qt);ne(this,Wi);this.config=t,q(this,Rn,new Set),q(this,qt,new Map),q(this,Wi,0)}build(t,n,r){const s=new IN({client:t,mutationCache:this,mutationId:++ca(this,Wi)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){R(this,Rn).add(t);const n=Ma(t);if(typeof n=="string"){const r=R(this,qt).get(n);r?r.push(t):R(this,qt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(R(this,Rn).delete(t)){const n=Ma(t);if(typeof n=="string"){const r=R(this,qt).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&R(this,qt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ma(t);if(typeof n=="string"){const r=R(this,qt).get(n),s=r==null?void 0:r.find(o=>o.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=Ma(t);if(typeof n=="string"){const s=(r=R(this,qt).get(n))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){et.batch(()=>{R(this,Rn).forEach(t=>{this.notify({type:"removed",mutation:t})}),R(this,Rn).clear(),R(this,qt).clear()})}getAll(){return Array.from(R(this,Rn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>fg(n,r))}findAll(t={}){return this.getAll().filter(n=>fg(t,n))}notify(t){et.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return et.batch(()=>Promise.all(t.map(n=>n.continue().catch(Qt))))}},Rn=new WeakMap,qt=new WeakMap,Wi=new WeakMap,R0);function Ma(e){var t;return(t=e.options.scope)==null?void 0:t.id}var gn,M0,FN=(M0=class extends Eu{constructor(t={}){super();ne(this,gn);this.config=t,q(this,gn,new Map)}build(t,n,r){const s=n.queryKey,o=n.queryHash??Ih(s,n);let i=this.get(o);return i||(i=new MN({client:t,queryKey:s,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(i)),i}add(t){R(this,gn).has(t.queryHash)||(R(this,gn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=R(this,gn).get(t.queryHash);n&&(t.destroy(),n===t&&R(this,gn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){et.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return R(this,gn).get(t)}getAll(){return[...R(this,gn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>dg(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>dg(t,r)):n}notify(t){et.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){et.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){et.batch(()=>
vendor: 6,913 bytes, lines 101-110
101{this.getAll().forEach(t=>{t.onOnline()})})}},gn=new WeakMap,M0),ke,ur,cr,Ys,Xs,dr,Qs,qs,D0,_N=(D0=class{constructor(e={}){ne(this,ke);ne(this,ur);ne(this,cr);ne(this,Ys);ne(this,Xs);ne(this,dr);ne(this,Qs);ne(this,qs);q(this,ke,e.queryCache||new FN),q(this,ur,e.mutationCache||new VN),q(this,cr,e.defaultOptions||{}),q(this,Ys,new Map),q(this,Xs,new Map),q(this,dr,0)}mount(){ca(this,dr)._++,R(this,dr)===1&&(q(this,Qs,u1.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,ke).onFocus())})),q(this,qs,Fl.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,ke).onOnline())})))}unmount(){var e,t;ca(this,dr)._--,R(this,dr)===0&&((e=R(this,Qs))==null||e.call(this),q(this,Qs,void 0),(t=R(this,qs))==null||t.call(this),q(this,qs,void 0))}isFetching(e){return R(this,ke).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return R(this,ur).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,ke).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=R(this,ke).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime($d(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return R(this,ke).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=R(this,ke).get(r.queryHash),o=s==null?void 0:s.state.data,i=yN(t,o);if(i!==void 0)return R(this,ke).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return et.batch(()=>R(this,ke).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,ke).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=R(this,ke);et.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=R(this,ke);return et.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=et.batch(()=>R(this,ke).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(Qt).catch(Qt)}invalidateQueries(e,t={}){return et.batch(()=>(R(this,ke).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=et.batch(()=>R(this,ke).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let o=s.fetch(void 0,n);return n.throwOnError||(o=o.catch(Qt)),s.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Qt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=R(this,ke).build(this,t);return n.isStaleByTime($d(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Qt).catch(Qt)}fetchInfiniteQuery(e){return e.behavior=yg(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Qt).catch(Qt)}ensureInfiniteQueryData(e){return e.behavior=yg(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Fl.isOnline()?R(this,ur).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,ke)}getMutationCache(){return R(this,ur)}getDefaultOptions(){return R(this,cr)}setDefaultOptions(e){q(this,cr,e)}setQueryDefaults(e,t){R(this,Ys).set(Ni(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...R(this,Ys).values()],n={};return t.forEach(r=>{ji(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){R(this,Xs).set(Ni(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...R(this,Xs).values()],n={};return t.forEach(r=>{ji(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...R(this,cr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Ih(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Oh&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...R(this,cr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){R(this,ke).clear(),R(this,ur).clear()}},ke=new WeakMap,ur=new WeakMap,cr=new WeakMap,Ys=new WeakMap,Xs=new WeakMap,dr=new WeakMap,Qs=new WeakMap,qs=new WeakMap,D0),BN=b.createContext(void 0),zN=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),p.jsx(BN.Provider,{value:e,children:t}));/** 102 * @remix-run/router v1.23.2 103 * 104 * Copyright (c) Remix Software Inc. 105 * 106 * This source code is licensed under the MIT license found in the 107 * LICENSE.md file in the root directory of this source tree. 108 * 109 * @license MIT 110 */function _l(){return _l=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},_l.apply(this,arguments)}var pr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(pr||(pr={}));const xg="popstate";function $N(e){e===void 0&&(e={});function t(r,s){let{pathname:o,search:i,hash:a}=r.location;return Hd("",{pathname:o,search:i,hash:a},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:v1(s)}return UN(t,n,null,e)}function mt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function y1(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function WN(){return Math.random().toString(36).substr(2,8)}function wg(e,t){return{usr:e.state,key:e.key,idx:t}}function Hd(e,t,n,r){return n===void 0&&(n=null),_l({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Cu(t):t,{state:n,key:t&&t.key||r||WN()})}function v1(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 Cu(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 UN(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:o=!1}=r,i=s.history,a=pr.Pop,l=null,u=c();u==null&&(u=0,i.replaceState(_l({},i.state,{idx:u}),""));function c(){return(i.state||{idx:null}).idx}function d(){a=pr.Pop;let w=c(),m=w==null?null:w-u;u=w,l&&l({action:a,location:v.location,delta:m})}function f(w,m){a=pr.Push;let g=Hd(v.location,w,m);u=c()+1;let x=wg(g,u),S=v.createHref(g);try{i.pushState(x,"",S)}
vendor: 3,212 bytes, line 110
110catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;s.location.assign(S)}o&&l&&l({action:a,location:v.location,delta:1})}function h(w,m){a=pr.Replace;let g=Hd(v.location,w,m);u=c();let x=wg(g,u),S=v.createHref(g);i.replaceState(x,"",S),o&&l&&l({action:a,location:v.location,delta:0})}function y(w){let m=s.location.origin!=="null"?s.location.origin:s.location.href,g=typeof w=="string"?w:v1(w);return g=g.replace(/ $/,"%20"),mt(m,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,m)}let v={get action(){return a},get location(){return e(s,i)},listen(w){if(l)throw new Error("A history only accepts one active listener");return s.addEventListener(xg,d),l=w,()=>{s.removeEventListener(xg,d),l=null}},createHref(w){return t(s,w)},createURL:y,encodeLocation(w){let m=y(w);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:h,go(w){return i.go(w)}};return v}var bg;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(bg||(bg={}));function HN(e,t,n){return n===void 0&&(n="/"),KN(e,t,n)}function KN(e,t,n,r){let s=typeof t=="string"?Cu(t):t,o=b1(s.pathname||"/",n);if(o==null)return null;let i=x1(e);GN(i);let a=null;for(let l=0;a==null&&l<i.length;++l){let u=oj(o);a=nj(i[l],u)}return a}function x1(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(o,i,a)=>{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};l.relativePath.startsWith("/")&&(mt(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Ws([r,l.relativePath]),c=n.concat(l);o.children&&o.children.length>0&&(mt(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),x1(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:ej(u,o.index),routesMeta:c})};return e.forEach((o,i)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))s(o,i);else for(let l of w1(o.path))s(o,i,l)}),t}function w1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return s?[o,""]:[o];let i=w1(r.join("/")),a=[];return a.push(...i.map(l=>l===""?o:[o,l].join("/"))),s&&a.push(...i),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function GN(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:tj(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const YN=/^:[\w-]+$/,XN=3,QN=2,qN=1,ZN=10,JN=-2,Sg=e=>e==="*";function ej(e,t){let n=e.split("/"),r=n.length;return n.some(Sg)&&(r+=JN),t&&(r+=QN),n.filter(s=>!Sg(s)).reduce((s,o)=>s+(YN.test(o)?XN:o===""?qN:ZN),r)}function tj(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function nj(e,t,n){let{routesMeta:r}=e,s={},o="/",i=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=o==="/"?t:t.slice(o.length)||"/",d=rj({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),f=l.route;if(!d)return null;
vendor: 4,131 bytes, lines 110-119
110Object.assign(s,d.params),i.push({params:s,pathname:Ws([o,d.pathname]),pathnameBase:ij(Ws([o,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(o=Ws([o,d.pathnameBase]))}return i}function rj(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=sj(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let o=s[0],i=o.replace(/(.)\/+$/,"$1"),a=s.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:f,isOptional:h}=c;if(f==="*"){let v=a[d]||"";i=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const y=a[d];return h&&!y?u[f]=void 0:u[f]=(y||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:i,pattern:e}}function sj(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),y1(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function oj(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return y1(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function b1(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const Ws=e=>e.join("/").replace(/\/\/+/g,"/"),ij=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function aj(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const S1=["post","put","patch","delete"];new Set(S1);const lj=["get",...S1];new Set(lj);/** 111 * React Router v6.30.3 112 * 113 * Copyright (c) Remix Software Inc. 114 * 115 * This source code is licensed under the MIT license found in the 116 * LICENSE.md file in the root directory of this source tree. 117 * 118 * @license MIT 119 */function Bl(){return Bl=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},Bl.apply(this,arguments)}const uj=b.createContext(null),cj=b.createContext(null),E1=b.createContext(null),Tu=b.createContext(null),ku=b.createContext({outlet:null,matches:[],isDataRoute:!1}),C1=b.createContext(null);function Vh(){return b.useContext(Tu)!=null}function T1(){return Vh()||mt(!1),b.useContext(Tu).location}function dj(e,t){return fj(e,t)}function fj(e,t,n,r){Vh()||mt(!1);let{navigator:s}=b.useContext(E1),{matches:o}=b.useContext(ku),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let u=T1(),c;if(t){var d;let w=typeof t=="string"?Cu(t):t;l==="/"||(d=w.pathname)!=null&&d.startsWith(l)||mt(!1),c=w}else c=u;let f=c.pathname||"/",h=f;if(l!=="/"){let w=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let y=HN(e,{pathname:h}),v=yj(y&&y.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:Ws([l,s.encodeLocation?s.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:Ws([l,s.encodeLocation?s.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,n,r);return t&&v?b.createElement(Tu.Provider,{value:{location:Bl({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:pr.Pop}},v):v}function hj(){let e=bj(),t=aj(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application
119Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:s},n):null,null)}const pj=b.createElement(hj,null);class mj extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?b.createElement(ku.Provider,{value:this.props.routeContext},b.createElement(C1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function gj(e){let{routeContext:t,match:n,children:r}=e,s=b.useContext(uj);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(ku.Provider,{value:t},r)}function yj(e,t,n,r){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=(s=n)==null?void 0:s.errors;if(a!=null){let c=i.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||mt(!1),i=i.slice(0,Math.min(i.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<i.length;c++){let d=i[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:f,errors:h}=n,y=d.route.loader&&f[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||y){l=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((c,d,f)=>{let h,y=!1,v=null,w=null;n&&(h=a&&d.route.id?a[d.route.id]:void 0,v=d.route.errorElement||pj,l&&(u<0&&f===0?(Sj("route-fallback"),y=!0,w=null):u===f&&(y=!0,w=d.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,f+1)),g=()=>{let x;return h?x=v:y?x=w:d.route.Component?x=b.createElement(d.route.Component,null):d.route.element?x=d.route.element:x=c,b.createElement(gj,{match:d,routeContext:{outlet:c,matches:m,isDataRoute:n!=null},children:x})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(mj,{location:n.location,revalidation:n.revalidation,component:v,error:h,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var k1=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}(k1||{});function vj(e){let t=b.useContext(cj);return t||mt(!1),t}function xj(e){let t=b.useContext(ku);return t||mt(!1),t}function wj(e){let t=xj(),n=t.matches[t.matches.length-1];return n.route.id||mt(!1),n.route.id}function bj(){var e;let t=b.useContext(C1),n=vj(k1.UseRouteError),r=wj();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}const Eg={};function Sj(e,t,n){Eg[e]||(Eg[e]=!0)}function Ej(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function nl(e){mt(!1)}function Cj(e){let{basename:t="/",children:n=null,location:r,navigationType:s=pr.Pop,navigator:o,static:i=!1,future:a}=e;Vh()&&mt(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:o,static:i,future:Bl({v7_relativeSplatPath:!1},a)}),[l,a,o,i]);typeof r=="string"&&(r=Cu(r));let{pathname:c="/",search:d="",hash:f="",state:h=null,key:y="default"}=r,v=b.useMemo(()=>{let w=b1(c,l);return w==null?null:{location:{pathname:w,search:d,hash:f,state:h,key:y},navigationType:s}},[l,c,d,f,h,y,s]);return v==null?null:b.createElement(E1.Provider,{value:u},b.createElement(Tu.Provider,{children:n,value:v}))}function Tj(e){let{children:t,location:n}=e;return dj(Kd(t),n)}new Promise(()=>{});
119function Kd(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,s)=>{if(!b.isValidElement(r))return;let o=[...t,s];if(r.type===b.Fragment){n.push.apply(n,Kd(r.props.children,o));return}r.type!==nl&&mt(!1),!r.props.index||!r.props.children||mt(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=Kd(r.props.children,o)),n.push(i)}),n}/** 120 * React Router DOM v6.30.3 121 * 122 * Copyright (c) Remix Software Inc. 123 * 124 * This source code is licensed under the MIT license found in the 125 * LICENSE.md file in the root directory of this source tree. 126 * 127 * @license MIT 128 */const kj="6";try{window.__reactRouterVersion=kj}catch{}const Pj="startTransition",Cg=Nf[Pj];function Nj(e){let{basename:t,children:n,future:r,window:s}=e,o=b.useRef();o.current==null&&(o.current=$N({window:s,v5Compat:!0}));let i=o.current,[a,l]=b.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},c=b.useCallback(d=>{u&&Cg?Cg(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>i.listen(c),[i,c]),b.useEffect(()=>Ej(r),[r]),b.createElement(Cj,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:i,future:r})}var Tg;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Tg||(Tg={}));var kg;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(kg||(kg={}));const Fh=b.createContext({});function Cn(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const jj=typeof window<"u",Zi=jj?b.useLayoutEffect:b.useEffect,Pu=b.createContext(null);function _h(e,t){e.indexOf(t)===-1&&e.push(t)}function lo(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const un=(e,t,n)=>n>t?t:n<e?e:n;let Ai=()=>{};const Ar={},P1=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function N1(e){return typeof e=="object"&&e!==null}const j1=e=>/^0[^.\s]+$/u.test(e);function A1(e){let t;return()=>(t===void 0&&(t=e()),t)}const ht=e=>e,Aj=(e,t)=>n=>t(e(n)),Ji=(...e)=>e.reduce(Aj),cs=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Bh{constructor(){this.subscriptions=[]}add(t){return _h(this.subscriptions,t),()=>lo(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 o=0;o<s;o++){const i=this.subscriptions[o];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const pt=e=>e*1e3,Mt=e=>e/1e3;function zh(e,t){return t?e*(1e3/t):0}const Rj=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e},R1=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Mj=1e-7,Dj=12;function Lj(e,t,n,r,s){let o,i,a=0;do i=t+(n-t)/2,o=R1(i,r,s)-e,o>0?n=i:t=i;while(Math.abs(o)>Mj&&++a<Dj);return i}function ea(e,t,n,r){if(e===t&&n===r)return ht;const s=o=>Lj(o,0,1,e,n);return o=>o===0||o===1?o:R1(s(o),t,r)}const M1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,D1=e=>t=>1-e(1-t),L1=ea(.33,1.53,.69,.99),$h=D1(L1),I1=M1($h),O1=e=>e>=1?1:(e*=2)<1?.5*$h(e):.5*(2-Math.pow(2,-10*(e-1))),Wh=e=>1-Math.sin(Math.acos(e)),V1=D1(Wh),F1=M1(Wh),Ij=ea(.42,0,1,1),Oj=ea(0,0,.58,1),_1=ea(.42,0,.58,1),B1=e=>Array.isArray(e)&&typeof e[0]!="number";function z1(e,t){return B1(e)?e[Rj(0,e.length,t)]:e}const $1=e=>Array.isArray(e)&&typeof e[0]=="number",Vj={linear:ht,easeIn:Ij,easeInOut:_1,easeOut:Oj,circIn:Wh,circInOut:F1,circOut:V1,backIn:$h,backInOut:I1,backOut:L1,anticipate:O1},Fj=e=>typeof e=="string",Gd=e=>{if($1(e)){Ai(e.length===4);const[t,n,r,s]=e;return ea(t,n,r,s)}else if(Fj(e))return Vj[e];return e},Da=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function _j(e,t){let n=new Set,r=new Set,s=!1,o=!1;const i=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(c){i.has(c)&&(u.schedule(c),e()),c(a)}const u={schedule:(c,d=!1,f=!1)=>{const y=f&&s?n:r;return d&&i.add(c),y.add(c),c},cancel:c=>{r.delete(c),i.delete(c)},process:c=>{if(a=c,s){o=!0;return}s=!0;const d=n;
vendor: 26,697 bytes, line 128
128n=r,r=d,n.forEach(l),n.clear(),s=!1,o&&(o=!1,u.process(c))}};return u}const Bj=40;function W1(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,i=Da.reduce((x,S)=>(x[S]=_j(o),x),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:h,postRender:y}=i,v=()=>{const x=Ar.useManualTiming,S=x?s.timestamp:performance.now();n=!1,x||(s.delta=r?1e3/60:Math.max(Math.min(S-s.timestamp,Bj),1)),s.timestamp=S,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),c.process(s),d.process(s),f.process(s),h.process(s),y.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(v))},w=()=>{n=!0,r=!0,s.isProcessing||e(v)};return{schedule:Da.reduce((x,S)=>{const E=i[S];return x[S]=(C,T=!1,k=!1)=>(n||w(),E.schedule(C,T,k)),x},{}),cancel:x=>{for(let S=0;S<Da.length;S++)i[Da[S]].cancel(x)},state:s,steps:i}}const{schedule:re,cancel:Vt,state:_e,steps:bc}=W1(typeof requestAnimationFrame<"u"?requestAnimationFrame:ht,!0);let rl;function zj(){rl=void 0}const tt={now:()=>(rl===void 0&&tt.set(_e.isProcessing||Ar.useManualTiming?_e.timestamp:performance.now()),rl),set:e=>{rl=e,queueMicrotask(zj)}},U1=e=>t=>typeof t=="string"&&t.startsWith(e),H1=U1("--"),$j=U1("var(--"),Uh=e=>$j(e)?Wj.test(e.split("/*")[0].trim()):!1,Wj=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Pg(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const yo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ri={...yo,transform:e=>un(0,1,e)},La={...yo,default:1},ri=e=>Math.round(e*1e5)/1e5,Hh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Uj(e){return e==null}const Hj=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Kh=(e,t)=>n=>!!(typeof n=="string"&&Hj.test(n)&&n.startsWith(e)||t&&!Uj(n)&&Object.prototype.hasOwnProperty.call(n,t)),K1=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,o,i,a]=r.match(Hh);return{[e]:parseFloat(s),[t]:parseFloat(o),[n]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}},Kj=e=>un(0,255,e),Sc={...yo,transform:e=>Math.round(Kj(e))},Kr={test:Kh("rgb","red"),parse:K1("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Sc.transform(e)+", "+Sc.transform(t)+", "+Sc.transform(n)+", "+ri(Ri.transform(r))+")"};function Gj(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 Yd={test:Kh("#"),parse:Gj,transform:Kr.transform},ta=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),er=ta("deg"),En=ta("%"),$=ta("px"),Yj=ta("vh"),Xj=ta("vw"),Ng={...En,parse:e=>En.parse(e)/100,transform:e=>En.transform(e*100)},Ms={test:Kh("hsl","hue"),parse:K1("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+En.transform(ri(t))+", "+En.transform(ri(n))+", "+ri(Ri.transform(r))+")"},Me={test:e=>Kr.test(e)||Yd.test(e)||Ms.test(e),parse:e=>Kr.test(e)?Kr.parse(e):Ms.test(e)?Ms.parse(e):Yd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Kr.transform(e):Ms.transform(e),getAnimatableNone:e=>{const t=Me.parse(e);return t.alpha=0,Me.transform(t)}},Qj=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function qj(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Hh))==null?void 0:t.length)||0)+(((n=e.match(Qj))==null?void 0:n.length)||0)>0}const G1="number",Y1="color",Zj="var",Jj="var(",jg="${}",eA=/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 uo(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let o=0;const a=t.replace(eA,l=>(Me.test(l)?(r.color.push(o),s.push(Y1),n.push(Me.parse(l))):l.startsWith(Jj)?(r.var.push(o),s.push(Zj),n.push(l)):(r.number.push(o),s.push(G1),n.push(parseFloat(l))),++o,jg)).split(jg);return{values:n,split:a,indexes:r,types:s}}function tA(e){return uo(e).values}function X1({split:e,types:t}){const n=e.length;return r=>{let s="";for(let o=0;o<n;o++)if(s+=e[o],r[o]!==void 0){const i=t[o];i===G1?s+=ri(r[o]):i===Y1?s+=Me.transform(r[o]):s+=r[o]}return s}}function nA(e){return X1(uo(e))}const rA=e=>typeof e=="number"?0:Me.test(e)?Me.getAnimatableNone(e):e,sA=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:rA(e);function oA(e){const t=uo(e);return X1(t)(t.values.map((r,s)=>sA(r,t.split[s])))}const nn={test:qj,parse:tA,createTransformer:nA,getAnimatableNone:oA};function Ec(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 iA({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,o=0,i=0;if(!t)s=o=i=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;s=Ec(l,a,e+1/3),o=Ec(l,a,e),i=Ec(l,a,e-1/3)}return{red:Math.round(s*255),green:Math.round(o*255),blue:Math.round(i*255),alpha:r}}function zl(e,t){return n=>n>0?t:e}const pe=(e,t,n)=>e+(t-e)*n,Cc=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},aA=[Yd,Kr,Ms],lA=e=>aA.find(t=>t.test(e));function Ag(e){const t=lA(e);if(!t)return!1;let n=t.parse(e);return t===Ms&&(n=iA(n)),n}const Rg=(e,t)=>{const n=Ag(e),r=Ag(t);if(!n||!r)return zl(e,t);const s={...n};return o=>(s.red=Cc(n.red,r.red,o),s.green=Cc(n.green,r.green,o),s.blue=Cc(n.blue,r.blue,o),s.alpha=pe(n.alpha,r.alpha,o),Kr.transform(s))},Xd=new Set(["none","hidden"]);function uA(e,t){return Xd.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function cA(e,t){return n=>pe(e,t,n)}function Gh(e){return typeof e=="number"?cA:typeof e=="string"?Uh(e)?zl:Me.test(e)?Rg:hA:Array.isArray(e)?Q1:typeof e=="object"?Me.test(e)?Rg:dA:zl}function Q1(e,t){const n=[...e],r=n.length,s=e.map((o,i)=>Gh(o)(o,t[i]));return o=>{for(let i=0;i<r;i++)n[i]=s[i](o);return n}}function dA(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Gh(e[s])(e[s],t[s]));return s=>{for(const o in r)n[o]=r[o](s);return n}}function fA(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],i=e.indexes[o][r[o]],a=e.values[i]??0;n[s]=a,r[o]++}return n}const hA=(e,t)=>{const n=nn.createTransformer(t),r=uo(e),s=uo(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?Xd.has(e)&&!s.values.length||Xd.has(t)&&!r.values.length?uA(e,t):Ji(Q1(fA(r,s),s.values),n):zl(e,t)};function q1(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?pe(e,t,n):Gh(e)(e,t)}const pA=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>re.update(t,n),stop:()=>Vt(t),now:()=>_e.isProcessing?_e.timestamp:tt.now()}},Z1=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let o=0;o<s;o++)r+=Math.round(e(o/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},$l=2e4;function Yh(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<$l;)t+=n,r=e.next(t);return t>=$l?1/0:t}function J1(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(Yh(r),$l);return{type:"keyframes",ease:o=>r.next(s*o).value/t,duration:Mt(s)}}const Pe={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Qd(e,t){return e*Math.sqrt(1-t*t)}const mA=12;function gA(e,t,n){let r=n;for(let s=1;s<mA;s++)r=r-e(r)/t(r);return r}const Tc=.001;function yA({duration:e=Pe.duration,bounce:t=Pe.bounce,velocity:n=Pe.velocity,mass:r=Pe.mass}){let s,o,i=1-t;i=un(Pe.minDamping,Pe.maxDamping,i),e=un(Pe.minDuration,Pe.maxDuration,Mt(e)),i<1?(s=u=>{const c=u*i,d=c*e,f=c-n,h=Qd(u,i),y=Math.exp(-d);return Tc-f/h*y},o=u=>{const d=u*i*e,f=d*n+n,h=Math.pow(i,2)*Math.pow(u,2)*e,y=Math.exp(-d),v=Qd(Math.pow(u,2),i);return(-s(u)+Tc>0?-1:1)*((f-h)*y)/v}):(s=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Tc+c*d},o=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=gA(s,o,a);if(e=pt(e),isNaN(l))return{stiffness:Pe.stiffness,damping:Pe.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:i*2*Math.sqrt(r*u),duration:e}}}const vA=["duration","bounce"],xA=["stiffness","damping","mass"];function Mg(e,t){return t.some(n=>e[n]!==void 0)}function wA(e){let t={velocity:Pe.velocity,stiffness:Pe.stiffness,damping:Pe.damping,mass:Pe.mass,isResolvedFromDuration:!1,...e};if(!Mg(e,xA)&&Mg(e,vA))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,o=2*un(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:Pe.mass,stiffness:s,damping:o}}else{const n=yA({...e,velocity:0});t={...t,...n,mass:Pe.mass},t.isResolvedFromDuration=!0}return t}function Mi(e=Pe.visualDuration,t=Pe.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const o=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:h}=wA({...n,velocity:-Mt(n.velocity||0)}),y=f||0,v=u/(2*Math.sqrt(l*c)),w=i-o,m=Mt(Math.sqrt(l/c)),g=Math.abs(w)<5;r||(r=g?Pe.restSpeed.granular:Pe.restSpeed.default),s||(s=g?Pe.restDelta.granular:Pe.restDelta.default);let x,S,E,C,T,k;if(v<1)E=Qd(m,v),C=(y+v*m*w)/E,x=j=>{const M=Math.exp(-v*m*j);return i-M*(C*Math.sin(E*j)+w*Math.cos(E*j))},T=v*m*C+w*E,k=v*m*w-C*E,S=j=>Math.exp(-v*m*j)*(T*Math.sin(E*j)+k*Math.cos(E*j));else if(v===1){x=M=>i-Math.exp(-m*M)*(w+(y+m*w)*M);const j=y+m*w;S=M=>Math.exp(-m*M)*(m*j*M-y)}else{const j=m*Math.sqrt(v*v-1);x=L=>{const K=Math.exp(-v*m*L),F=Math.min(j*L,300);return i-K*((y+v*m*w)*Math.sinh(F)+j*w*Math.cosh(F))/j};const M=(y+v*m*w)/j,D=v*m*M-w*j,B=v*m*w-M*j;S=L=>{const K=Math.exp(-v*m*L),F=Math.min(j*L,300);return K*(D*Math.sinh(F)+B*Math.cosh(F))}}const P={calculatedDuration:h&&d||null,velocity:j=>pt(S(j)),next:j=>{if(!h&&v<1){const D=Math.exp(-v*m*j),B=Math.sin(E*j),L=Math.cos(E*j),K=i-D*(C*B+w*L),F=pt(D*(T*B+k*L));return a.done=Math.abs(F)<=r&&Math.abs(i-K)<=s,a.value=a.done?i:K,a}const M=x(j);if(h)a.done=j>=d;else{const D=pt(S(j));a.done=Math.abs(D)<=r&&Math.abs(i-M)<=s}return a.value=a.done?i:M,a},toString:()=>{const j=Math.min(Yh(P),$l),M=Z1(D=>P.next(j*D).value,j,30);return j+"ms "+M},toTransition:()=>{}};return P}Mi.applyToOptions=e=>{const t=J1(e,100,Mi);return e.ease=t.ease,e.duration=pt(t.duration),e.type="keyframes",e};const bA=5;function eb(e,t,n){const r=Math.max(t-bA,0);return zh(n-e(r),t-r)}function qd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:i,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},h=k=>a!==void 0&&k<a||l!==void 0&&k>l,y=k=>a===void 0?l:l===void 0||Math.abs(a-k)<Math.abs(l-k)?a:l;let v=n*t;const w=d+v,m=i===void 0?w:i(w);m!==w&&(v=m-d);const g=k=>-v*Math.exp(-k/r),x=k=>m+g(k),S=k=>{const P=g(k),j=x(k);f.done=Math.abs(P)<=u,f.value=f.done?m:j};let E,C;const T=k=>{h(f.value)&&(E=k,C=Mi({keyframes:[f.value,y(f.value)],velocity:eb(x,k,f.value),damping:s,stiffness:o,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:k=>{let P=!1;return!C&&E===void 0&&(P=!0,S(k),T(k)),E!==void 0&&k>=E?C.next(k-E):(!P&&S(k),f)}}}function SA(e,t,n){const r=[],s=n||Ar.mix||q1,o=e.length-1;for(let i=0;i<o;i++){let a=s(e[i],e[i+1]);if(t){const l=Array.isArray(t)?t[i]||ht:t;a=Ji(l,a)}r.push(a)}return r}function Xh(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const o=e.length;if(Ai(o===t.length),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const i=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=SA(t,r,s),l=a.length,u=c=>{if(i&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);const f=cs(e[d],e[d+1],c);return a[d](f)};return n?c=>u(un(e[0],e[o-1],c)):u}function tb(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=cs(0,t,r);e.push(pe(n,1,s))}}function Qh(e){const t=[0];return tb(t,e.length-1),t}function EA(e,t){return e.map(n=>n*t)}function CA(e,t){return e.map(()=>t||_1).splice(0,e.length-1)}function si({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=B1(r)?r.map(Gd):Gd(r),o={done:!1,value:t[0]},i=EA(n&&n.length===t.length?n:Qh(t),e),a=Xh(i,t,{ease:Array.isArray(s)?s:CA(t,s)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const TA=e=>e!==null;function Nu(e,{repeat:t,repeatType:n="loop"},r,s=1){const o=e.filter(TA),a=s<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!a||r===void 0?o[a]:r}const kA={decay:qd,inertia:qd,tween:si,keyframes:si,spring:Mi};function nb(e){typeof e.type=="string"&&(e.type=kA[e.type])}class qh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const PA=e=>e/100;class Di extends qh{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,s;const{motionValue:n}=this.options;n&&n.updatedAt!==tt.now()&&this.tick(tt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(s=(r=this.options).onStop)==null||s.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;nb(t);const{type:n=si,repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:i=0}=t;let{keyframes:a}=t;const l=n||si;l!==si&&typeof a[0]!="number"&&(this.mixKeyframes=Ji(PA,q1(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-i})),u.calculatedDuration===null&&(u.calculatedDuration=Yh(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:o,mirroredGenerator:i,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:d,repeatType:f,repeatDelay:h,type:y,onUpdate:v,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const m=this.currentTime-u*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?m<0:m>s;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let x=this.currentTime,S=r;if(d){const k=Math.min(this.currentTime,s)/a;let P=Math.floor(k),j=k%1;!j&&k>=1&&(j=1),j===1&&P--,P=Math.min(P,d+1),!!(P%2)&&(f==="reverse"?(j=1-j,h&&(j-=h/a)):f==="mirror"&&(S=i)),x=un(0,1,j)*a}let E;g?(this.delayState.value=c[0],E=this.delayState):E=S.next(x),o&&!g&&(E.value=o(E.value));let{done:C}=E;!g&&l!==null&&(C=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return T&&y!==qd&&(E.value=Nu(c,this.options,w,this.speed)),v&&v(E.value),T&&this.finish(),E}then(t,n){return this.finished.then(t,n)}get duration(){return Mt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Mt(t)}get time(){return Mt(this.currentTime)}set time(t){t=pt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return eb(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(tt.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=Mt(this.currentTime))}play(){var s,o;if(this.isStopped)return;const{driver:t=pA,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),(o=(s=this.options).onPlay)==null||o.call(s);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function NA(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Gr=e=>e*180/Math.PI,Zd=e=>{const t=Gr(Math.atan2(e[1],e[0]));return Jd(t)},jA={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Zd,rotateZ:Zd,skewX:e=>Gr(Math.atan(e[1])),skewY:e=>Gr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Jd=e=>(e=e%360,e<0&&(e+=360),e),Dg=Zd,Lg=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Ig=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),AA={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Lg,scaleY:Ig,scale:e=>(Lg(e)+Ig(e))/2,rotateX:e=>Jd(Gr(Math.atan2(e[6],e[5]))),rotateY:e=>Jd(Gr(Math.atan2(-e[2],e[0]))),rotateZ:Dg,rotate:Dg,skewX:e=>Gr(Math.atan(e[4])),skewY:e=>Gr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ef(e){return e.includes("scale")?1:0}function tf(e,t){if(!e||e==="none")return ef(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=AA,s=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=jA,s=a}if(!s)return ef(t);const o=r[t],i=s[1].split(",").map(MA);return typeof o=="function"?o(i):i[o]}const RA=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return tf(n,t)};function MA(e){return parseFloat(e.trim())}const vo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],xo=new Set(vo),Og=e=>e===yo||e===$,DA=new Set(["x","y","z"]),LA=vo.filter(e=>!DA.has(e));function IA(e){const t=[];return LA.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const mr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-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:(e,{transform:t})=>tf(t,"x"),y:(e,{transform:t})=>tf(t,"y")};mr.translateX=mr.x;mr.translateY=mr.y;const ns=new Set;let nf=!1,rf=!1,sf=!1;function rb(){if(rf){const e=Array.from(ns).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=IA(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(([o,i])=>{var a;(a=r.getValue(o))==null||a.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}rf=!1,nf=!1,ns.forEach(e=>e.complete(sf)),ns.clear()}function sb(){ns.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(rf=!0)})}function OA(){sf=!0,sb(),rb(),sf=!1}class Zh{constructor(t,n,r,s,o,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=o,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(ns.add(this),nf||(nf=!0,re.read(sb),re.resolveKeyframes(rb))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const o=s==null?void 0:s.get(),i=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const a=r.readValue(n,i);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=i),s&&o===void 0&&s.set(t[0])}NA(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),ns.delete(this)}cancel(){this.state==="scheduled"&&(ns.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const VA=e=>e.startsWith("--");function ob(e,t,n){VA(t)?e.style.setProperty(t,n):e.style[t]=n}const FA={};function Jh(e,t){const n=A1(e);return()=>FA[t]??n()}const ep=Jh(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),ib=Jh(()=>window.ViewTimeline!==void 0,"viewTimeline"),ab=Jh(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Uo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Vg={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Uo([0,.65,.55,1]),circOut:Uo([.55,0,1,.45]),backIn:Uo([.31,.01,.66,-.59]),backOut:Uo([.33,1.53,.69,.99])};function lb(e,t){if(e)return typeof e=="function"?ab()?Z1(e,t):"ease-out":$1(e)?Uo(e):Array.isArray(e)?e.map(n=>lb(n,t)||Vg.easeOut):Vg[e]}function _A(e,t,n,{delay:r=0,duration:s=300,repeat:o=0,repeatType:i="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=lb(a,s);Array.isArray(d)&&(c.easing=d);const f={delay:r,duration:s,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:i==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),e.animate(c,f)}function tp(e){return typeof e=="function"&&"applyToOptions"in e}function BA({type:e,...t}){return tp(e)&&ab()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class ub extends qh{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:o,allowFlatten:i=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!o,this.allowFlatten=i,this.options=t,Ai(typeof t.type!="string");const u=BA(t);this.animation=_A(n,r,s,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=Nu(s,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(c),ob(n,r,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,s;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((s=(r=this.animation).commitStyles)==null||s.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return Mt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Mt(t)}get time(){return Mt(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=pt(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:s}){var o;return this.allowFlatten&&((o=this.animation.effect)==null||o.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&ep()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),ht):s(this)}}const cb={anticipate:O1,backInOut:I1,circInOut:F1};function zA(e){return e in cb}function $A(e){typeof e.ease=="string"&&zA(e.ease)&&(e.ease=cb[e.ease])}const kc=10;class WA extends ub{constructor(t){$A(t),nb(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:o,...i}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Di({...i,autoplay:!1}),l=Math.max(kc,tt.now()-this.startTime),u=un(0,kc,l-kc),c=a.sample(l).value,{name:d}=this.options;o&&d&&ob(o,d,c),n.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}const Fg=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(nn.test(e)||e==="0")&&!e.startsWith("url("));function UA(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 HA(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],i=Fg(s,t),a=Fg(o,t);return!i||!a?!1:UA(e)||(n==="spring"||tp(n))&&r}function of(e){e.duration=0,e.type="keyframes"}const db=new Set(["opacity","clipPath","filter","transform"]),KA=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function GA(e){for(let t=0;t<e.length;
128t++)if(typeof e[t]=="string"&&KA.test(e[t]))return!0;return!1}const YA=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),XA=A1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function QA(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:o,type:i,keyframes:a}=e;if(!(((d=t==null?void 0:t.owner)==null?void 0:d.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:c}=t.owner.getProps();return XA()&&n&&(db.has(n)||YA.has(n)&&GA(a))&&(n!=="transform"||!c)&&!u&&!r&&s!=="mirror"&&o!==0&&i!=="inertia"}const qA=40;class ZA extends qh{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:i="loop",keyframes:a,name:l,motionValue:u,element:c,...d}){var y;super(),this.stop=()=>{var v,w;this._animation&&(this._animation.stop(),(v=this.stopTimeline)==null||v.call(this)),(w=this.keyframeResolver)==null||w.cancel()},this.createdAt=tt.now();const f={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:o,repeatType:i,name:l,motionValue:u,element:c,...d},h=(c==null?void 0:c.KeyframeResolver)||Zh;this.keyframeResolver=new h(a,(v,w,m)=>this.onKeyframesResolved(v,w,f,!m),l,u,c),(y=this.keyframeResolver)==null||y.scheduleResolve()}onKeyframesResolved(t,n,r,s){var m,g;this.keyframeResolver=void 0;const{name:o,type:i,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=tt.now();let d=!0;HA(t,o,i,a)||(d=!1,(Ar.instantAnimations||!l)&&(c==null||c(Nu(t,r,n))),t[0]=t[t.length-1],of(r),r.repeat=0);const h={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>qA?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},y=d&&!u&&QA(h),v=(g=(m=h.motionValue)==null?void 0:m.owner)==null?void 0:g.current;let w;if(y)try{w=new WA({...h,element:v})}catch{w=new Di(h)}else w=new Di(h);w.finished.then(()=>{this.notifyFinished()}).catch(ht),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),OA()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}class JA{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}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=>r.attachTimeline(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 state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return _g(this.animations,"duration")}get iterationDuration(){return _g(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(n=>n[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function _g(e,t){let n=0;for(let r=0;r<e.length;r++){const s=e[r][t];s!==null&&s>n&&(n=s)}return n}class eR extends JA{then(t,n){return this.finished.finally(t).then(()=>{})}}function fb(e,t,n,r=0,s=1){const o=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),i=e.size,a=(i-1)*r;return typeof n=="function"?n(o,i):s===1?o*r:a-o*r}const tR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function nR(e){const t=tR.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}function hb(e,t,n=1){const[r,s]=nR(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const i=o.trim();return P1(i)?parseFloat(i):i}return Uh(s)?hb(s,t,n+1):s}const rR={type:"spring",stiffness:500,damping:25,restSpeed:10},sR=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),oR={type:"keyframes",duration:.8},iR={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},aR=(e,{keyframes:t})=>t.length>2?oR:xo.has(e)?e.startsWith("scale")?sR(t[1]):rR:iR;function pb(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function np(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?pb(n,e):n}const lR=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function uR(e){for(const t in e)if(!lR.has(t))return!0;return!1}const rp=(e,t,n,r={},s,o)=>i=>{const a=np(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-pt(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{i(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:s};uR(a)||Object.assign(c,aR(e,c)),c.duration&&(c.duration=pt(c.duration)),c.repeatDelay&&(c.repeatDelay=pt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(of(c),c.delay===0&&(
vendor: 10,084 bytes, line 128
128d=!0)),(Ar.instantAnimations||Ar.skipAnimations||s!=null&&s.shouldSkipAnimations)&&(d=!0,of(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!o&&t.get()!==void 0){const f=Nu(c.keyframes,a);if(f!==void 0){re.update(()=>{c.onUpdate(f),c.onComplete()});return}}return a.isSync?new Di(c):new ZA(c)};function Bg(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function sp(e,t,n,r){if(typeof t=="function"){const[s,o]=Bg(r);t=t(n!==void 0?n:e.custom,s,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,o]=Bg(r);t=t(n!==void 0?n:e.custom,s,o)}return t}function rs(e,t,n){const r=e.getProps();return sp(r,t,n!==void 0?n:r.custom,e)}const mb=new Set(["width","height","top","left","right","bottom",...vo]),zg=30,cR=e=>!isNaN(parseFloat(e)),oi={current:void 0};class dR{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var o;const s=tt.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((o=this.events.change)==null||o.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=tt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=cR(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 Bh);const r=this.events[t].add(n);return t==="change"?()=>{r(),re.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){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}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()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return oi.current&&oi.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=tt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>zg)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,zg);return zh(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(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Dt(e,t){return new dR(e,t)}const af=e=>Array.isArray(e);function fR(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Dt(n))}function hR(e){return af(e)?e[e.length-1]||0:e}function op(e,t){const n=rs(e,t);let{transitionEnd:r={},transition:s={},...o}=n||{};o={...o,...r};for(const i in o){const a=hR(o[i]);fR(e,i,a)}}const Ee=e=>!!(e&&e.getVelocity);function pR(e){return!!(Ee(e)&&e.add)}function lf(e,t){const n=e.getValue("willChange");if(pR(n))return n.add(t);if(!n&&Ar.WillChange){const r=new Ar.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function ip(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const mR="framerAppearId",gb="data-"+ip(mR);function yb(e){return e.props[gb]}function gR({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function ap(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:o,transitionEnd:i,...a}=t;const l=e.getDefaultTransition();o=o?pb(o,l):l;const u=o==null?void 0:o.reduceMotion;r&&(o=r);const c=[],d=s&&e.animationState&&e.animationState.getState()[s];for(const f in a){const h=e.getValue(f,e.latestValues[f]??null),y=a[f];if(y===void 0||d&&gR(d,f))continue;const v={delay:n,...np(o||{},f)},w=h.get();if(w!==void 0&&!h.isAnimating()&&!Array.isArray(y)&&y===w&&!v.velocity){re.update(()=>h.set(y));continue}let m=!1;if(window.MotionHandoffAnimation){const S=yb(e);if(S){const E=window.MotionHandoffAnimation(S,f,re);E!==null&&(v.startTime=E,m=!0)}}lf(e,f);const g=u??e.shouldReduceMotion;h.start(rp(f,h,y,g&&mb.has(f)?{type:!1}:v,e,m));const x=h.animation;x&&c.push(x)}if(i){const f=()=>re.update(()=>{i&&op(e,i)});c.length?Promise.all(c).then(f):f()}return c}function uf(e,t,n={}){var l;const r=rs(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const o=r?()=>Promise.all(ap(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=s;return yR(e,t,u,c,d,f,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[u,c]=a==="beforeChildren"?[o,i]:[i,o];return u().then(()=>c())}else return Promise.all([o(),i(n.delay)])}function yR(e,t,n=0,r=0,s=0,o=1,i){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(uf(l,t,{...i,delay:n+(typeof r=="function"?0:r)+fb(e.variantChildren,l,r,s,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function vb(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(o=>uf(e,o,n));r=Promise.all(s)}else if(typeof t=="string")r=uf(e,t,n);else{const s=typeof t=="function"?rs(e,t,n.custom):t;r=Promise.all(ap(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const vR={test:e=>e==="auto",parse:e=>e},xb=e=>t=>t.test(e),wb=[yo,$,En,er,Xj,Yj,vR],$g=e=>wb.find(xb(e));function xR(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||j1(e):!0}const wR=new Set(["brightness","contrast","saturate","opacity"]);function bR(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Hh)||[];if(!r)return e;const s=n.replace(r,"");let o=wR.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+s+")"}const SR=/\b([a-z-]*)\(.*?\)/gu,cf={...nn,getAnimatableNone:e=>{const t=e.match(SR);return t?t.map(bR).join(" "):e}},df={...nn,getAnimatableNone:e=>{const t=nn.parse(e);return nn.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Wg={...yo,transform:Math.round},ER={rotate:er,rotateX:er,rotateY:er,rotateZ:er,scale:La,scaleX:La,scaleY:La,scaleZ:La,skew:er,skewX:er,skewY:er,distance:$,translateX:$,translateY:$,translateZ:$,x:$,y:$,z:$,perspective:$,transformPerspective:$,opacity:Ri,originX:Ng,originY:Ng,originZ:$},lp={borderWidth:$,borderTopWidth:$,borderRightWidth:$,borderBottomWidth:$,borderLeftWidth:$,borderRadius:$,borderTopLeftRadius:$,borderTopRightRadius:$,borderBottomRightRadius:$,borderBottomLeftRadius:$,width:$,maxWidth:$,height:$,maxHeight:$,top:$,right:$,bottom:$,left:$,inset:$,insetBlock:$,insetBlockStart:$,insetBlockEnd:$,insetInline:$,insetInlineStart:$,insetInlineEnd:$,padding:$,paddingTop:$,paddingRight:$,paddingBottom:$,paddingLeft:$,paddingBlock:$,paddingBlockStart:$,paddingBlockEnd:$,paddingInline:$,paddingInlineStart:$,paddingInlineEnd:$,margin:$,marginTop:$,marginRight:$,marginBottom:$,marginLeft:$,marginBlock:$,marginBlockStart:$,marginBlockEnd:$,marginInline:$,marginInlineStart:$,marginInlineEnd:$,fontSize:$,backgroundPositionX:$,backgroundPositionY:$,...ER,zIndex:Wg,fillOpacity:Ri,strokeOpacity:Ri,numOctaves:Wg},CR={...lp,color:Me,backgroundColor:Me,outlineColor:Me,fill:Me,stroke:Me,borderColor:Me,borderTopColor:Me,borderRightColor:Me,borderBottomColor:Me,borderLeftColor:Me,filter:cf,WebkitFilter:cf,mask:df,WebkitMask:df},bb=e=>CR[e],TR=new Set([cf,df]);function Sb(e,t){let n=bb(e);return TR.has(n)||(n=nn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const kR=new Set(["auto","none","0"]);function PR(e,t,n){let r=0,s;for(;r<e.length&&!s;){const o=e[r];typeof o=="string"&&!kR.has(o)&&uo(o).values.length&&(s=e[r]),r++}if(s&&n)for(const o of t)e[o]=Sb(n,s)}class NR extends Zh{constructor(t,n,r,s,o){super(t,n,r,s,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="string"&&(d=d.trim(),Uh(d))){const f=hb(d,n.current);f!==void 0&&(t[c]=f),c===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!mb.has(r)||t.length!==2)return;const[s,o]=t,i=$g(s),a=$g(o),l=Pg(s),u=Pg(o);if(l!==u&&mr[r]){this.needsMeasurement=!0;return}if(i!==a)if(Og(i)&&Og(a))for(let c=0;c<t.length;c++){const d=t[c];typeof d=="string"&&(t[c]=parseFloat(d))}else mr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||xR(t[s]))&&r.push(s);r.length&&PR(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=mr[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 a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,i=r[o];r[o]=mr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEac
128h(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function ju(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;t&&(r=t.current);const s=(n==null?void 0:n[e])??r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(r=>r!=null)}const Eb=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function ii(e){return N1(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:up}=W1(queueMicrotask,!1),Yt={x:!1,y:!1};function Cb(){return Yt.x||Yt.y}function jR(e){return e==="x"||e==="y"?Yt[e]?null:(Yt[e]=!0,()=>{Yt[e]=!1}):Yt.x||Yt.y?null:(Yt.x=Yt.y=!0,()=>{Yt.x=Yt.y=!1})}function Tb(e,t){const n=ju(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function AR(e){return!(e.pointerType==="touch"||Cb())}function RR(e,t,n={}){const[r,s,o]=Tb(e,n);return r.forEach(i=>{let a=!1,l=!1,u;const c=()=>{i.removeEventListener("pointerleave",y)},d=w=>{u&&(u(w),u=void 0),c()},f=w=>{a=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),l&&(l=!1,d(w))},h=()=>{a=!0,window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",f,s)},y=w=>{if(w.pointerType!=="touch"){if(a){l=!0;return}d(w)}},v=w=>{if(!AR(w))return;l=!1;const m=t(i,w);typeof m=="function"&&(u=m,i.addEventListener("pointerleave",y,s))};i.addEventListener("pointerenter",v,s),i.addEventListener("pointerdown",h,s)}),o}const kb=(e,t)=>t?e===t?!0:kb(e,t.parentElement):!1,cp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,MR=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function DR(e){return MR.has(e.tagName)||e.isContentEditable===!0}const LR=new Set(["INPUT","SELECT","TEXTAREA"]);function IR(e){return LR.has(e.tagName)||e.isContentEditable===!0}const sl=new WeakSet;function Ug(e){return t=>{t.key==="Enter"&&e(t)}}function Pc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const OR=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Ug(()=>{if(sl.has(n))return;Pc(n,"down");const s=Ug(()=>{Pc(n,"up")}),o=()=>Pc(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Hg(e){return cp(e)&&!Cb()}const Kg=new WeakSet;function VR(e,t,n={}){const[r,s,o]=Tb(e,n),i=a=>{const l=a.currentTarget;if(!Hg(a)||Kg.has(a))return;sl.add(l),n.stopPropagation&&Kg.add(a);const u=t(l,a),c=(h,y)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),sl.has(l)&&sl.delete(l),Hg(h)&&typeof u=="function"&&u(h,{success:y})},d=h=>{c(h,l===window||l===document||n.useGlobalTarget||kb(l,h.target))},f=h=>{c(h,!1)};window.addEventListener("pointerup",d,s),window.addEventListener("pointercancel",f,s)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",i,s),ii(a)&&(a.addEventListener("focus",u=>OR(u,s)),!DR(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function Au(e){return N1(e)&&"ownerSVGElement"in e}const ol=new WeakMap;let tr;const Pb=(e,t,n)=>(r,s)=>s&&s[0]?s[0][e+"Size"]:Au(r)&&"getBBox"in r?r.getBBox()[t]:r[n],FR=Pb("inline","width","offsetWidth"),_R=Pb("block","height","offsetHeight");function BR({target:e,borderBoxSize:t}){var n;(n=ol.get(e))==null||n.forEach(r=>{r(e,{get width(){return FR(e,t)},get height(){return _R(e,t)}})})}function zR(e){e.forEach(BR)}function $R(){typeof ResizeObserver>"u"||(tr=new ResizeObserver(zR))}function WR(e,t){tr||$R();const n=ju(e);return n.forEach(r=>{let s=ol.get(r);s||(s=new Set,ol.set(r,s)),s.add(t),tr==null||tr.observe(r)}),()=>{n.forEach(r=>{const s=ol.get(r);s==null||s.delete(t),s!=null&&s.size||tr==null||tr.unobserve(r)})}}const il=new Set;let Ds;function UR(){Ds=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};il.forEach(t=>t(e))},window.addEventListener("resize",Ds)}function HR(e){return il.add(e),Ds||UR(),()=>{il.delete(e),!il.size&&typeof Ds=="function"&&(window.removeEventListener("resize",Ds),Ds=void 0)}}function ff(e,t){return typeof e=="function"?HR(e):WR(e,t)}function Nb(e,t){let n;const r=()=>{const{currentTime:s}=t,i=(s===null?0:s.value)/100;n!==i&&e(i),n=i};return re.preUpdate(r,!0),()=>Vt(r)}function jb(e){return Au(e)&&e.tagName==="svg"}function KR(e,t){if(e==="first")return 0;{const n=t-1;return e==="last"?n:n/2}}function GR(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(s,o)=>{const i=typeof n=="number"?n:KR(n,o),a=Math.abs(i-s);let l=e*a;if(r){const u=o*e;l=Gd(r)(l/u)*u}return t+l}}function YR(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],s=e[1+n],o=e[2+n],i=e[3+n],a=Xh(s,o,i);return t?a(r):a}function XR(e,t,n={}){const r=e.get();let s=null,o=r,i;const a=typeof r=="string"?r.replace(/[\d.-]/g,""):void 0,l=()=>{s&&(s.stop(),s=null),e.animation=void 0},u=()=>{const d=Gg(e.get()),f=Gg(o);if(d===f){l();return}const h=s?s.getGeneratorVelocity():e.getVelocity();l(),s=new Di({keyframes:[d,f],velocity:h,type:"spring",restDelta:.001,restSpeed:.01,...n,onUp
vendor: 37,609 bytes, line 128
128date:i})},c=()=>{var d;u(),e.animation=s??void 0,(d=e.events.animationStart)==null||d.notify(),s==null||s.then(()=>{var f;e.animation=void 0,(f=e.events.animationComplete)==null||f.notify()})};if(e.attach((d,f)=>{o=d,i=h=>f(Nc(h,a)),re.postRender(c)},l),Ee(t)){let d=n.skipInitialAnimation===!0;const f=t.on("change",y=>{d?(d=!1,e.jump(Nc(y,a),!1)):e.set(Nc(y,a))}),h=e.on("destroy",f);return()=>{f(),h()}}return l}function Nc(e,t){return t?e+t:e}function Gg(e){return typeof e=="number"?e:parseFloat(e)}const QR=[...wb,Me,nn],qR=e=>QR.find(xb(e)),Yg=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ls=()=>({x:Yg(),y:Yg()}),Xg=()=>({min:0,max:0}),Re=()=>({x:Xg(),y:Xg()}),Li=new WeakMap;function Ru(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ii(e){return typeof e=="string"||Array.isArray(e)}const dp=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],fp=["initial",...dp];function Mu(e){return Ru(e.animate)||fp.some(t=>Ii(e[t]))}function Ab(e){return!!(Mu(e)||e.variants)}function ZR(e,t,n){for(const r in t){const s=t[r],o=n[r];if(Ee(s))e.addValue(r,s);else if(Ee(o))e.addValue(r,Dt(s,{owner:e}));else if(o!==s)if(e.hasValue(r)){const i=e.getValue(r);i.liveStyle===!0?i.jump(s):i.hasAnimated||i.set(s)}else{const i=e.getStaticValue(r);e.addValue(r,Dt(i!==void 0?i:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Wl={current:null},hp={current:!1},JR=typeof window<"u";function Rb(){if(hp.current=!0,!!JR)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Wl.current=e.matches;e.addEventListener("change",t),t()}else Wl.current=!1}const Qg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ul={};function Mb(e){Ul=e}function e5(){return Ul}class Db{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,skipAnimations:o,blockInitialAnimation:i,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Zh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=tt.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,re.render(this.render,!1,!0))};const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=o,this.options=l,this.blockInitialAnimation=!!i,this.isControllingVariants=Mu(n),this.isVariantNode=Ab(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const y=f[h];u[h]!==void 0&&Ee(y)&&y.set(u[h])}}mount(t){var n,r;if(this.hasBeenMounted)for(const s in this.initialValues)(n=this.values.get(s))==null||n.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=t,Li.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((s,o)=>this.bindToMotionValue(o,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(hp.current||Rb(),this.shouldReduceMotion=Wl.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),Vt(this.notifyUpdate),Vt(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&db.has(t)&&this.current instanceof HTMLElement){const{factory:i,keyframes:a,times:l,ease:u,duration:c}=n.accelerate,d=new ub({element:this.current,name:t,keyframes:a,times:l,ease:u,duration:pt(c)}),f=i(d);this.valueSubscriptions.set(t,()=>{f(),d.cancel()});return}const r=xo.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&re.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;typeof window<"u"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Ul){const n=Ul[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 o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Re()}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<Qg.length;r++){const s=Qg[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const o="on"+s,i=t[o];i&&(this.propEventSubscriptions[s]=this.on(s,i))}this.prevMotionValues=ZR(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}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=Dt(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(P1(r)||j1(r))?r=parseFloat(r):!qR(r)&&nn.test(n)&&(r=Sb(t,n)),this.setBaseTarget(t,Ee(r)?r.get():r)),Ee(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var o;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const i=sp(this.props,n,(o=this.presenceContext)==null?void 0:o.custom);i&&(r=i[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Ee(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Bh),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){up.render(this.render)}}class Lb extends Db{constructor(){super(...arguments),this.KeyframeResolver=NR}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ee(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Ir{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Ib({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function t5({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function n5(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 jc(e){return e===void 0||e===1}function hf({scale:e,scaleX:t,scaleY:n}){return!jc(e)||!jc(t)||!jc(n)}function zr(e){return hf(e)||Ob(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ob(e){return qg(e.x)||qg(e.y)}function qg(e){return e&&e!=="0%"}function Hl(e,t,n){const r=e-n,s=t*r;return n+s}function Zg(e,t,n,r,s){return s!==void 0&&(e=Hl(e,s,r)),Hl(e,n,r)+t}function pf(e,t=0,n=1,r,s){e.min=Zg(e.min,t,n,r,s),e.max=Zg(e.max,t,n,r,s)}function Vb(e,{x:t,y:n}){pf(e.x,t.translate,t.scale,t.originPoint),pf(e.y,n.translate,n.scale,n.originPoint)}const Jg=.999999999999,ey=1.0000000000001;function r5(e,t,n,r=!1){var a;const s=n.length;if(!s)return;t.x=t.y=1;let o,i;for(let l=0;l<s;l++){o=n[l],i=o.projectionDelta;const{visualElement:u}=o.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&(yn(e.x,-o.scroll.offset.x),yn(e.y,-o.scroll.offset.y)),i&&(t.x*=i.x.scale,t.y*=i.y.scale,Vb(e,i)),r&&zr(o.latestValues)&&al(e,o.latestValues,(a=o.layout)==null?void 0:a.layoutBox))}t.x<ey&&t.x>Jg&&(t.x=1),t.y<ey&&t.y>Jg&&(t.y=1)}function yn(e,t){e.min+=t,e.max+=t}function ty(e,t,n,r,s=.5){const o=pe(e.min,e.max,s);pf(e,t,n,o,r)}function ny(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function al(e,t,n){const r=n??e;ty(e.x,ny(t.x,r.x),t.scaleX,t.scale,t.originX),ty(e.y,ny(t.y,r.y),t.scaleY,t.scale,t.originY)}function Fb(e,t){return Ib(n5(e.getBoundingClientRect(),t))}function s5(e,t,n){const r=Fb(e,n),{scroll:s}=t;return s&&(yn(r.x,s.offset.x),yn(r.y,s.offset.y)),r}const o5={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},i5=vo.length;function a5(e,t,n){let r="",s=!0;for(let o=0;o<i5;o++){const i=vo[o],a=e[i];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(i.startsWith("scale")?1:0);else{const u=parseFloat(a);l=i.startsWith("scale")?u===1:u===0}if(!l||n){const u=Eb(a,lp[i]);if(!l){s=!1;const c=o5[i]||i;r+=`${c}(${u}) `}n&&(t[i]=u)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function pp(e,t,n){const{style:r,vars:s,transformOrigin:o}=e;let i=!1,a=!1;for(const l in t){const u=t[l];if(xo.has(l)){i=!0;continue}else if(H1(l)){s[l]=u;continue}else{const c=Eb(u,lp[l]);l.startsWith("origin")?(a=!0,o[l]=c):r[l]=c}}if(t.transform||(i||n?r.transform=a5(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=o;r.transformOrigin=`${l} ${u} ${c}`}}function _b(e,{style:t,vars:n},r,s){const o=e.style;let i;for(i in t)o[i]=t[i];s==null||s.applyProjectionStyles(o,r);for(i in n)o.setProperty(i,n[i])}function ry(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const _o={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if($.test(e))e=parseFloat(e);else return e;const n=ry(e,t.target.x),r=ry(e,t.target.y);return`${n}% ${r}%`}},l5={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=nn.parse(e);if(s.length>5)return r;const o=nn.createTransformer(e),i=typeof s[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;s[0+i]/=a,s[1+i]/=l;const u=pe(a,l,.5);return typeof s[2+i]=="number"&&(s[2+i]/=u),typeof s[3+i]=="number"&&(s[3+i]/=u),o(s)}},mf={borderRadius:{..._o,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:_o,borderTopRightRadius:_o,borderBottomLeftRadius:_o,borderBottomRightRadius:_o,boxShadow:l5};function Bb(e,{layout:t,layoutId:n}){return xo.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!mf[e]||e==="opacity")}function mp(e,t,n){var i;const r=e.style,s=t==null?void 0:t.style,o={};if(!r)return o;for(const a in r)(Ee(r[a])||s&&Ee(s[a])||Bb(a,e)||((i=n==null?void 0:n.getValue(a))==null?void 0:i.liveStyle)!==void 0)&&(o[a]=r[a]);return o}function u5(e){return window.getComputedStyle(e)}class zb extends Lb{constructor(){super(...arguments),this.type="html",this.renderInstance=_b}readValueFromInstance(t,n){var r;if(xo.has(n))return(r=this.projection)!=null&&r.isProjecting?ef(n):RA(t,n);{const s=u5(t),o=(H1(n)?s.getPropertyValue(n):s[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Fb(t,n)}build(t,n,r){pp(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return mp(t,n,r)}}function c5(e,t){return e in t}class d5 extends Db{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,n){if(c5(n,t)){const r=t[n];if(typeof r=="string"||typeof r=="number")return r}}getBaseTargetFromProps(){}removeValueFromRenderState(t,n){delete n.output[t]}measureInstanceViewportBox(){return Re()}build(t,n){Object.assign(t.output,n)}renderInstance(t,{output:n}){Object.assign(t,n)}sortInstanceNodePosition(){return 0}}const f5={offset:"stroke-dashoffset",array:"stroke-dasharray"},h5={offset:"strokeDashoffset",array:"strokeDasharray"};function p5(e,t,n=1,r=0,s=!0){e.pathLength=1;const o=s?f5:h5;e[o.offset]=`${-r}`,e[o.array]=`${t} ${n}`}const m5=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function $b(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:o=1,pathOffset:i=0,...a},l,u,c){if(pp(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete d.transformBox);for(const h of m5)d[h]!==void 0&&(f[h]=d[h],delete d[h]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),s!==void 0&&p5(d,s,o,i,!1)}const Wb=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"]),Ub=e=>typeof e=="string"&&e.toLowerCase()==="svg";function g5(e,t,n,r){_b(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(Wb.has(s)?s:ip(s),t.attrs[s])}function Hb(e,t,n){const r=mp(e,t,n);for(const s in e)if(Ee(e[s])||Ee(t[s])){const o=vo.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[o]=e[s]}return r}class Kb extends Lb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Re}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(xo.has(n)){const r=bb(n);return r&&r.default||0}return n=Wb.has(n)?n:ip(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Hb(t,n,r)}build(t,n,r){$b(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){g5(t,n,r,s)}mount(t){this.isSVGTag=Ub(t.tagName),super.mount(t)}}const y5=fp.length;function Gb(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Gb(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<y5;n++){const r=fp[n],s=e.props[r];(Ii(s)||s===!1)&&(t[r]=s)}return t}function Yb(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}const v5=[...dp].reverse(),x5=dp.length;function w5(e){return t=>Promise.all(t.map(({animation:n,options:r})=>vb(e,n,r)))}function b5(e){let t=w5(e),n=sy(),r=!0,s=!1;const o=u=>(c,d)=>{var h;const f=rs(e,d,u==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);if(f){const{transition:y,transitionEnd:v,...w}=f;c={...c,...w,...v}}return c};function i(u){t=u(e)}function a(u){const{props:c}=e,d=Gb(e.parent)||{},f=[],h=new Set;let y={},v=1/0;for(let m=0;m<x5;m++){const g=v5[m],x=n[g],S=c[g]!==void 0?c[g]:d[g],E=Ii(S),C=g===u?x.isActive:null;C===!1&&(v=m);let T=S===d[g]&&S!==c[g]&&E;if(T&&(r||s)&&e.manuallyAnimateOnMount&&(T=!1),x.protectedKeys={...y},!x.isActive&&C===null||!S&&!x.prevProp||Ru(S)||typeof S=="boolean")continue;if(g==="exit"&&x.isActive&&C!==!0){x.prevResolvedValues&&(y={...y,...x.prevResolvedValues});continue}const k=S5(x.prevProp,S);let P=k||g===u&&x.isActive&&!T&&E||m>v&&E,j=!1;const M=Array.isArray(S)?S:[S];let D=M.reduce(o(g),{});C===!1&&(D={});const{prevResolvedValues:B={}}=x,L={...B,...D},K=N=>{P=!0,h.has(N)&&(j=!0,h.delete(N)),x.needsAnimating[N]=!0;const A=e.getValue(N);A&&(A.liveStyle=!1)};for(const N in L){const A=D[N],V=B[N];if(y.hasOwnProperty(N))continue;let W=!1;af(A)&&af(V)?W=!Yb(A,V):W=A!==V,W?A!=null?K(N):h.add(N):A!==void 0&&h.has(N)?K(N):x.protectedKeys[N]=!0}x.prevProp=S,x.prevResolvedValues=D,x.isActive&&(y={...y,...D}),(r||s)&&e.blockInitialAnimation&&(P=!1);const F=T&&k;P&&(!F||j)&&f.push(...M.map(N=>{const A={type:g};if(typeof N=="string"&&(r||s)&&!F&&e.manuallyAnimateOnMount&&e.parent){const{parent:V}=e,W=rs(V,N);if(V.enteringChildren&&W){const{delayChildren:z}=W.transition||{};A.delay=fb(V.enteringChildren,e,z)}}return{animation:N,options:A}}))}if(h.size){const m={};if(typeof c.initial!="boolean"){const g=rs(e,Array.isArray(c.initial)?c.initial[0]:c.initial);g&&g.transition&&(m.transition=g.transition)}h.forEach(g=>{const x=e.getBaseTarget(g),S=e.getValue(g);S&&(S.liveStyle=!0),m[g]=x??null}),f.push({animation:m})}let w=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,s=!1,w?t(f):Promise.resolve()}function l(u,c){var f;if(n[u].isActive===c)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(h=>{var y;return(y=h.animationState)==null?void 0:y.setActive(u,c)}),n[u].isActive=c;const d=a(u);for(const h in n)n[h].protectedKeys={};return d}return{animateChanges:a,setActive:l,setAnimateFunction:i,getState:()=>n,reset:()=>{n=sy(),s=!0}}}function S5(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Yb(t,e):!1}function Fr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function sy(){return{animate:Fr(!0),whileInView:Fr(),whileHover:Fr(),whileTap:Fr(),whileDrag:Fr(),whileFocus:Fr(),exit:Fr()}}function gf(e,t){e.min=t.min,e.max=t.max}function Gt(e,t){gf(e.x,t.x),gf(e.y,t.y)}function oy(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const Xb=1e-4,E5=1-Xb,C5=1+Xb,Qb=.01,T5=0-Qb,k5=0+Qb;function nt(e){return e.max-e.min}function P5(e,t,n){return Math.abs(e-t)<=n}function iy(e,t,n,r=.5){e.origin=r,e.originPoint=pe(t.min,t.max,e.origin),e.scale=nt(n)/nt(t),e.translate=pe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=E5&&e.scale<=C5||isNaN(e.scale))&&(e.scale=1),(e.translate>=T5&&e.translate<=k5||isNaN(e.translate))&&(e.translate=0)}function ai(e,t,n,r){iy(e.x,t.x,n.x,r?r.originX:void 0),iy(e.y,t.y,n.y,r?r.originY:void 0)}function ay(e,t,n,r=0){const s=r?pe(n.min,n.max,r):n.min;e.min=s+t.min,e.max=e.min+nt(t)}function N5(e,t,n,r){ay(e.x,t.x,n.x,r==null?void 0:r.x),ay(e.y,t.y,n.y,r==null?void 0:r.y)}function ly(e,t,n,r=0){const s=r?pe(n.min,n.max,r):n.min;e.min=t.min-s,e.max=e.min+nt(t)}function Kl(e,t,n,r){ly(e.x,t.x,n.x,r==null?void 0:r.x),ly(e.y,t.y,n.y,r==null?void 0:r.y)}function uy(e,t,n,r,s){return e-=t,e=Hl(e,1/n,r),s!==void 0&&(e=Hl(e,1/s,r)),e}function j5(e,t=0,n=1,r=.5,s,o=e,i=e){if(En.test(t)&&(t=parseFloat(t),t=pe(i.min,i.max,t/100)-i.min),typeof t!="number")return;let a=pe(o.min,o.max,r);e===o&&(a-=t),e.min=uy(e.min,t,n,a,s),e.max=uy(e.max,t,n,a,s)}function cy(e,t,[n,r,s],o,i){j5(e,t[n],t[r],t[s],t.scale,o,i)}const A5=["x","scaleX","originX"],R5=["y","scaleY","originY"];function dy(e,t,n,r){cy(e.x,t,A5,n?n.x:void 0,r?r.x:void 0),cy(e.y,t,R5,n?n.y:void 0,r?r.y:void 0)}function fy(e){return e.translate===0&&e.scale===1}function qb(e){return fy(e.x)&&fy(e.y)}function hy(e,t){return e.min===t.min&&e.max===t.max}function M5(e,t){return hy(e.x,t.x)&&hy(e.y,t.y)}function py(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Zb(e,t){return py(e.x,t.x)&&py(e.y,t.y)}function my(e){return nt(e.x)/nt(e.y)}function gy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function hn(e){return[e("x"),e("y")]}function D5(e,t,n){let r="";const s=e.x.translate/t.x,o=e.y.translate/t.y,i=(n==null?void 0:n.z)||0;if((s||o||i)&&(r=`translate3d(${s}px, ${o}px, ${i}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:h,skewY:y}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),h&&(r+=`skewX(${h}deg) `),y&&(r+=`skewY(${y}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 Jb=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],L5=Jb.length,yy=e=>typeof e=="string"?parseFloat(e):e,vy=e=>typeof e=="number"||$.test(e);function I5(e,t,n,r,s,o){s?(e.opacity=pe(0,n.opacity??1,O5(r)),e.opacityExit=pe(t.opacity??1,0,V5(r))):o&&(e.opacity=pe(t.opacity??1,n.opacity??1,r));for(let i=0;i<L5;i++){const a=Jb[i];let l=xy(t,a),u=xy(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||vy(l)===vy(u)?(e[a]=Math.max(pe(yy(l),yy(u),r),0),(En.test(u)||En.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=pe(t.rotate||0,n.rotate||0,r))}function xy(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const O5=eS(0,.5,V1),V5=eS(.5,.95,ht);function eS(e,t,n){return r=>r<e?0:r>t?1:n(cs(e,t,r))}function tS(e,t,n){const r=Ee(e)?e:Dt(e);return r.start(rp("",r,t,n)),r.animation}function Oi(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const F5=(e,t)=>e.depth-t.depth;class _5{constructor(){this.children=[],this.isDirty=!1}add(t){_h(this.children,t),this.isDirty=!0}remove(t){lo(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(F5),this.isDirty=!1,this.children.forEach(t)}}function B5(e,t){const n=tt.now(),r=({timestamp:s})=>{const o=s-n;o>=t&&(Vt(r),e(o-t))};return re.setup(r,!0),()=>Vt(r)}function ll(e){return Ee(e)?e.get():e}class z5{constructor(){this.members=[]}add(t){_h(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const s=r.instance;(!s||s.isConnected===!1)&&!r.snapshot&&(lo(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(lo(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){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1&&((n=s.instance)==null?void 0:n.isConnected)!==!1)return this.promote(s),!0}return!1}promote(t,n){var s;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:o}=r.options,{layoutDependency:i}=t.options;(o===void 0||o!==i)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(s=t.root)!=null&&s.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,s,o,i;(r=(n=t.options).onExitComplete)==null||r.call(n),(i=(s=t.resumingFrom)==null?void 0:(o=s.options).onExitComplete)==null||i.call(o)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const ul={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ac=["","X","Y","Z"],$5=1e3;let W5=0;function Rc(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function nS(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=yb(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",re,!(s||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&nS(r)}function rS({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(i={},a=t==null?void 0:t()){this.id=W5++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(K5),this.nodes.forEach(Z5),this.nodes.forEach(J5),this.nodes.forEach(G5)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,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 _5)}addEventListener(i,a){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new Bh),this.eventHandlers.get(i).add(a)}notifyListeners(i,...a){const l=this.eventHandlers.get(i);l&&l.notify(...a)}hasListeners(i){return this.eventHandlers.has(i)}mount(i){if(this.instance)return;this.isSVG=Au(i)&&!jb(i),this.instance=i;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let c,d=0;const f=()=>this.root.updateBlockedByResize=!1;re.read(()=>{d=window.innerWidth}),e(i,()=>{const h=window.innerWidth;h!==d&&(d=h,this.root.updateBlockedByResize=!0,c&&c(),c=B5(f,250),ul.hasAnimatedSinceResize&&(ul.hasAnimatedSinceResize=!1,this.nodes.forEach(Sy)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||u.getDefaultTransition()||sM,{onLayoutAnimationStart:v,onLayoutAnimationComplete:w}=u.getProps(),m=!this.targetLayout||!Zb(this.targetLayout,h),g=!d&&f;if(this.options.layoutRoot||this.resumeFrom||g||d&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const x={...np(y,"layout"),onPlay:v,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(c,g)}else d||Sy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Vt(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(eM),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&nS(this),!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,(typeof d.latestValues.x=="string"||typeof d.latestValues.y=="string")&&(d.isLayoutDirty=!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(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(X5),this.nodes.forEach(wy);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(by);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Q5),this.nodes.forEach(q5),this.nodes.forEach(U5),this.nodes.forEach(H5)):this.nodes.forEach(by),this.clearAllSnapshots();const a=tt.now();_e.delta=un(0,1e3/60,a-_e.timestamp),_e.timestamp=a,_e.isProcessing=!0,bc.update.process(_e),bc.preRender.process(_e),bc.render.process(_e),_e.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,up.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Y5),this.sharedNodes.forEach(tM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,re.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){re.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!nt(this.snapshot.measuredBox.x)&&!nt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}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 i=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Re()),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,i?i.layoutBox:void 0)}updateScroll(i="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!s)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!qb(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;i&&this.instance&&(a||zr(this.latestValues)||c)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return i&&(l=this.removeTransform(l)),oM(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:i}=this.options;if(!i)return Re();const a=i.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(iM))){const{scroll:c}=this.root;c&&(yn(a.x,c.offset.x),yn(a.y,c.offset.y))}return a}removeElementScroll(i){var l;const a=Re();if(Gt(a,i),(l=this.scroll)!=null&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:d,options:f}=c;c!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&Gt(a,i),yn(a.x,d.offset.x),yn(a.y,d.offset.y))}return a}applyTransform(i,a=!1,l){var c,d;const u=l||Re();Gt(u,i);for(let f=0;f<this.path.length;f++){const h=this.path[f];!a&&h.options.layoutScroll&&h.scroll&&h!==h.root&&(yn(u.x,-h.scroll.offset.x),yn(u.y,-h.scroll.offset.y)),zr(h.latestValues)&&al(u,h.latestValues,(c=h.layout)==null?void 0:c.layoutBox)}return zr(this.latestValues)&&al(u,this.latestValues,(d=this.layout)==null?void 0:d.layoutBox),u}removeTransform(i){var l;const a=Re();Gt(a,i);for(let u=0;u<this.path.length;u++){const c=this.path[u];if(!zr(c.latestValues))continue;let d;c.instance&&(hf(c.latestValues)&&c.updateSnapshot(),d=Re(),Gt(d,c.measurePageBox())),dy(a,c.latestValues,(l=c.snapshot)==null?void 0:l.layoutBox,d)}return zr(this.latestValues)&&dy(a,this.latestValues),a}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.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!==_e.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){var h;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(i||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(h=this.parent)!=null&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:d}=this.options;if(!this.layout||!(c||d))return;this.resolvedRelativeTargetAt=_e.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Re(),this.targetWithTransforms=Re()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),N5(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Gt(this.target,this.layout.layoutBox),Vb(this.target,this.targetDelta)):Gt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||hf(this.parent.latestValues)||Ob(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(i,a,l){this.relativeParent=i,this.linkedParentVersion=i.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Re(),this.relativeTargetOrigin=Re(),Kl(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),Gt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var y;const i=this.getLead(),a=!!this.resumingFrom||this!==i;let l=!0;if((this.isProjectionDirty||(y=this.parent)!=null&&y.isProjectionDirty)&&
vendor: 5,333 bytes, line 128
128(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===_e.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;Gt(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;r5(this.layoutCorrected,this.treeScale,this.path,a),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=Re());const{target:h}=i;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(oy(this.prevProjectionDelta.x,this.projectionDelta.x),oy(this.prevProjectionDelta.y,this.projectionDelta.y)),ai(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!gy(this.projectionDelta.x,this.prevProjectionDelta.x)||!gy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),i){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ls(),this.projectionDelta=Ls(),this.projectionDeltaWithTransform=Ls()}setAnimationOrigin(i,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=Ls();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=Re(),h=l?l.source:void 0,y=this.layout?this.layout.source:void 0,v=h!==y,w=this.getStack(),m=!w||w.members.length<=1,g=!!(v&&!m&&this.options.crossfade===!0&&!this.path.some(rM));this.animationProgress=0;let x;this.mixTargetDelta=S=>{const E=S/1e3;Ey(d.x,i.x,E),Ey(d.y,i.y,E),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Kl(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),nM(this.relativeTarget,this.relativeTargetOrigin,f,E),x&&M5(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=Re()),Gt(x,this.relativeTarget)),v&&(this.animationValues=c,I5(c,u,this.latestValues,E,g,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(Vt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=re.update(()=>{ul.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Dt(0)),this.motionValue.jump(0,!1),this.currentAnimation=tS(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),i.onUpdate&&i.onUpdate(c)},onStop:()=>{},onComplete:()=>{i.onComplete&&i.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 i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta($5),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=i;if(!(!a||!l||!u)){if(this!==i&&this.layout&&u&&sS(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Re();const d=nt(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+d;const f=nt(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+f}Gt(a,l),al(a,c),ai(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(i,a){this.sharedNodes.has(i)||this.sharedNodes.set(i,new z5),this.sharedNodes.get(i).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 i=this.getStack();return i?i.lead===this:!0}getLead(){var a;const{layoutId:i}=this.options;return i?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:i}=this.options;return i?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),i&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}
vendor: 4,506 bytes, line 128
128resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let a=!1;const{latestValues:l}=i;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Rc("z",i,u,this.animationValues);for(let c=0;c<Ac.length;c++)Rc(`rotate${Ac[c]}`,i,u,this.animationValues),Rc(`skew${Ac[c]}`,i,u,this.animationValues);i.render();for(const c in u)i.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);i.scheduleRender()}applyProjectionStyles(i,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){i.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,i.visibility="",i.opacity="",i.pointerEvents=ll(a==null?void 0:a.pointerEvents)||"",i.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(i.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,i.pointerEvents=ll(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!zr(this.latestValues)&&(i.transform=l?l({},""):"none",this.hasProjected=!1);return}i.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=D5(this.projectionDeltaWithTransform,this.treeScale,c);l&&(d=l(c,d)),i.transform=d;const{x:f,y:h}=this.projectionDelta;i.transformOrigin=`${f.origin*100}% ${h.origin*100}% 0`,u.animationValues?i.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:i.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const y in mf){if(c[y]===void 0)continue;const{correct:v,applyTo:w,isCSSVariable:m}=mf[y],g=d==="none"?c[y]:v(c[y],u);if(w){const x=w.length;for(let S=0;S<x;S++)i[w[S]]=g}else m?this.options.visualElement.renderState.vars[y]=g:i[y]=g}this.options.layoutId&&(i.pointerEvents=u===this?ll(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>{var a;return(a=i.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(wy),this.root.sharedNodes.clear()}}}function U5(e){e.updateLayout()}function H5(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:s}=e.layout,{animationType:o}=e.options,i=t.source!==e.layout.source;if(o==="size")hn(d=>{const f=i?t.measuredBox[d]:t.layoutBox[d],h=nt(f);f.min=r[d].min,f.max=f.min+h});else if(o==="x"||o==="y"){const d=o==="x"?"y":"x";gf(i?t.measuredBox[d]:t.layoutBox[d],r[d])}else sS(o,t.layoutBox,r)&&hn(d=>{const f=i?t.measuredBox[d]:t.layoutBox[d],h=nt(r[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const a=Ls();ai(a,r,t.layoutBox);const l=Ls();i?ai(l,e.applyTransform(s,!0),t.measuredBox):ai(l,r,t.layoutBox);const u=!qb(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const y=e.options.layoutAnchor||void 0,v=Re();Kl(v,t.layoutBox,f.layoutBox,y);const w=Re();Kl(w,r,h.layoutBox,y),Zb(v,w)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=w,e.relativeTargetOrigin=v,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function K5(e){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 G5(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Y5(e){e.clearSnapshot()}function wy(e){e.clearMeasurements()}function X5(e){e.isLayoutDirty=!0,e.updateLayout()}function by(e){e.isLayoutDirty=!1}function Q5(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function q5(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Sy(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Z5(e){e.resolveTargetDelta()}function J5(e){e.calcProjection()}
128function eM(e){e.resetSkewAndRotation()}function tM(e){e.removeLeadSnapshot()}function Ey(e,t,n){e.translate=pe(t.translate,0,n),e.scale=pe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Cy(e,t,n,r){e.min=pe(t.min,n.min,r),e.max=pe(t.max,n.max,r)}function nM(e,t,n,r){Cy(e.x,t.x,n.x,r),Cy(e.y,t.y,n.y,r)}function rM(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const sM={duration:.45,ease:[.4,0,.1,1]},Ty=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ky=Ty("applewebkit/")&&!Ty("chrome/")?Math.round:ht;function Py(e){e.min=ky(e.min),e.max=ky(e.max)}function oM(e){Py(e.x),Py(e.y)}function sS(e,t,n){return e==="position"||e==="preserve-aspect"&&!P5(my(t),my(n),.2)}function iM(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const aM=rS({attachResizeListener:(e,t)=>Oi(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Mc={current:void 0},oS=rS({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Mc.current){const e=new aM({});e.mount(window),e.setOptions({layoutScroll:!0}),Mc.current=e}return Mc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),wo=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Ny(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function lM(...e){return t=>{let n=!1;const r=e.map(s=>{const o=Ny(s,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let s=0;s<r.length;s++){const o=r[s];typeof o=="function"?o():Ny(e[s],null)}}}}function uM(...e){return b.useCallback(lM(...e),e)}class cM extends b.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(ii(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,s=ii(r)&&r.offsetWidth||0,o=ii(r)&&r.offsetHeight||0,i=getComputedStyle(n),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=n.offsetTop,a.left=n.offsetLeft,a.right=s-a.width-a.left,a.bottom=o-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}}function dM({children:e,isPresent:t,anchorX:n,anchorY:r,root:s,pop:o}){var f;const i=b.useId(),a=b.useRef(null),l=b.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:u}=b.useContext(wo),c=((f=e.props)==null?void 0:f.ref)??(e==null?void 0:e.ref),d=uM(a,c);return b.useInsertionEffect(()=>{const{width:h,height:y,top:v,left:w,right:m,bottom:g}=l.current;if(t||o===!1||!a.current||!h||!y)return;const x=n==="left"?`left: ${w}`:`right: ${m}`,S=r==="bottom"?`bottom: ${g}`:`top: ${v}`;a.current.dataset.motionPopId=i;const E=document.createElement("style");u&&(E.nonce=u);const C=s??document.head;return C.appendChild(E),E.sheet&&E.sheet.insertRule(` 129 [data-motion-pop-id="${i}"] { 130 position: absolute !important; 131 width: ${h}px !important; 132 height: ${y}px !important; 133 ${x}px !important; 134 ${S}px !important; 135 } 136 `),()=>{var T;(T=a.current)==null||T.removeAttribute("data-motion-pop-id"),C.contains(E)&&C.removeChild(E)}},[t]),p.jsx(cM,{isPresent:t,childRef:a,sizeRef:l,pop:o,children:o===!1?e:b.cloneElement(e,{ref:d})})}const fM=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:s,presenceAffectsLayout:o,mode:i,anchorX:a,anchorY:l,root:u})=>{const c=Cn(hM),d=b.useId();let f=!0,h=b.useMemo(()=>(f=!1,{id:d,initial:t,isPresent:n,custom:s,onExitComplete:y=>{c.set(y,!0);for(const v of c.values())if(!v)return;r&&r()},register:y=>(c.set(y,!1),()=>c.delete(y))}),[n,c,r]);return o&&f&&(h={...h}),b.useMemo(()=>{c.forEach((y,v)=>c.set(v,!1))},[n]),b.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),e=p.jsx(dM,{pop:i==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:u,children:e}),p.jsx(Pu.Provider,{value:h,children:e})};function hM(){return new Map}function iS(e=!0){const t=b.useContext(Pu);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,o=b.useId();b.useEffect(()=>{if(e)return s(o)},[e]);const i=b.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,i]:[!0]}const Ia=e=>e.key||"";function jy(e){const t=[];
vendor: 4,503 bytes, line 136
136return b.Children.forEach(e,n=>{b.isValidElement(n)&&t.push(n)}),t}const pM=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:s=!0,mode:o="sync",propagate:i=!1,anchorX:a="left",anchorY:l="top",root:u})=>{const[c,d]=iS(i),f=b.useMemo(()=>jy(e),[e]),h=i&&!c?[]:f.map(Ia),y=b.useRef(!0),v=b.useRef(f),w=Cn(()=>new Map),m=b.useRef(new Set),[g,x]=b.useState(f),[S,E]=b.useState(f);Zi(()=>{y.current=!1,v.current=f;for(let k=0;k<S.length;k++){const P=Ia(S[k]);h.includes(P)?(w.delete(P),m.current.delete(P)):w.get(P)!==!0&&w.set(P,!1)}},[S,h.length,h.join("-")]);const C=[];if(f!==g){let k=[...f];for(let P=0;P<S.length;P++){const j=S[P],M=Ia(j);h.includes(M)||(k.splice(P,0,j),C.push(j))}return o==="wait"&&C.length&&(k=C),E(jy(k)),x(f),null}const{forceRender:T}=b.useContext(Fh);return p.jsx(p.Fragment,{children:S.map(k=>{const P=Ia(k),j=i&&!c?!1:f===S||h.includes(P),M=()=>{if(m.current.has(P))return;if(w.has(P))m.current.add(P),w.set(P,!0);else return;let D=!0;w.forEach(B=>{B||(D=!1)}),D&&(T==null||T(),E(v.current),i&&(d==null||d()),r&&r())};return p.jsx(fM,{isPresent:j,initial:!y.current||n?void 0:!1,custom:t,presenceAffectsLayout:s,mode:o,root:u,onExitComplete:j?void 0:M,anchorX:a,anchorY:l,children:k},P)})})},aS=b.createContext({strict:!1}),Ay={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"]};let Ry=!1;function mM(){if(Ry)return;const e={};for(const t in Ay)e[t]={isEnabled:n=>Ay[t].some(r=>!!n[r])};Mb(e),Ry=!0}function lS(){return mM(),e5()}function gM(e){const t=lS();for(const n in e)t[n]={...t[n],...e[n]};Mb(t)}const yM=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","propagate","ignoreStrict","viewport"]);function Gl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||yM.has(e)}let uS=e=>!Gl(e);function vM(e){typeof e=="function"&&(uS=t=>t.startsWith("on")?!Gl(t):e(t))}try{vM(require("@emotion/is-prop-valid").default)}catch{}function xM(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||Ee(e[s])||(uS(s)||n===!0&&Gl(s)||!t&&!Gl(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const Du=b.createContext({});function wM(e,t){if(Mu(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ii(n)?n:void 0,animate:Ii(r)?r:void 0}}return e.inherit!==!1?t:{}}function bM(e){const{initial:t,animate:n}=wM(e,b.useContext(Du));return b.useMemo(()=>({initial:t,animate:n}),[My(t),My(n)])}function My(e){return Array.isArray(e)?e.join(" "):e}const gp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function cS(e,t,n){for(const r in t)!Ee(t[r])&&!Bb(r,n)&&(e[r]=t[r])}function SM({transformTemplate:e},t){return b.useMemo(()=>{const n=gp();return pp(n,t,e),Object.assign({},n.vars,n.style)},[t])}function EM(e,t){const n=e.style||{},r={};return cS(r,n,e),Object.assign(r,SM(e,t)),r}function CM(e,t){const n={},r=EM(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 dS=()=>({...gp(),attrs:{}});function TM(e,t,n,r){const s=b.useMemo(()=>{const o=dS();return $b(o,t,Ub(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};cS(o,e.style,e),s.style={...o,...s.style}}return s}const kM=["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 yp(e){return typeof e!="string"||e.includes("-")?!1:!!(kM.indexOf(e)>-1||/[A-Z]/u.test(e))}function PM(e,t,n,{latestValues:r}
vendor: 22,689 bytes, line 136
136,s,o=!1,i){const l=(i??yp(e)?TM:CM)(t,r,s,e),u=xM(t,typeof e=="string",o),c=e!==b.Fragment?{...u,...l,ref:n}:{},{children:d}=t,f=b.useMemo(()=>Ee(d)?d.get():d,[d]);return b.createElement(e,{...c,children:f})}function NM({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:jM(n,r,s,e),renderState:t()}}function jM(e,t,n,r){const s={},o=r(e,{});for(const f in o)s[f]=ll(o[f]);let{initial:i,animate:a}=e;const l=Mu(e),u=Ab(e);t&&u&&!l&&e.inherit!==!1&&(i===void 0&&(i=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||i===!1;const d=c?a:i;if(d&&typeof d!="boolean"&&!Ru(d)){const f=Array.isArray(d)?d:[d];for(let h=0;h<f.length;h++){const y=sp(e,f[h]);if(y){const{transitionEnd:v,transition:w,...m}=y;for(const g in m){let x=m[g];if(Array.isArray(x)){const S=c?x.length-1:0;x=x[S]}x!==null&&(s[g]=x)}for(const g in v)s[g]=v[g]}}}return s}const fS=e=>(t,n)=>{const r=b.useContext(Du),s=b.useContext(Pu),o=()=>NM(e,t,r,s);return n?o():Cn(o)},AM=fS({scrapeMotionValuesFromProps:mp,createRenderState:gp}),RM=fS({scrapeMotionValuesFromProps:Hb,createRenderState:dS}),MM=Symbol.for("motionComponentSymbol");function DM(e,t,n){const r=b.useRef(n);b.useInsertionEffect(()=>{r.current=n});const s=b.useRef(null);return b.useCallback(o=>{var a;o&&((a=e.onMount)==null||a.call(e,o));const i=r.current;if(typeof i=="function")if(o){const l=i(o);typeof l=="function"&&(s.current=l)}else s.current?(s.current(),s.current=null):i(o);else i&&(i.current=o);t&&(o?t.mount(o):t.unmount())},[t])}const hS=b.createContext({});function xs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function LM(e,t,n,r,s,o){var x,S;const{visualElement:i}=b.useContext(Du),a=b.useContext(aS),l=b.useContext(Pu),u=b.useContext(wo),c=u.reducedMotion,d=u.skipAnimations,f=b.useRef(null),h=b.useRef(!1);r=r||a.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c,skipAnimations:d,isSVG:o}),h.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const y=f.current,v=b.useContext(hS);y&&!y.projection&&s&&(y.type==="html"||y.type==="svg")&&IM(f.current,n,s,v);const w=b.useRef(!1);b.useInsertionEffect(()=>{y&&w.current&&y.update(n,l)});const m=n[gb],g=b.useRef(!!m&&typeof window<"u"&&!((x=window.MotionHandoffIsComplete)!=null&&x.call(window,m))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,m)));return Zi(()=>{h.current=!0,y&&(w.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),g.current&&y.animationState&&y.animationState.animateChanges())}),b.useEffect(()=>{y&&(!g.current&&y.animationState&&y.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var E;(E=window.MotionHandoffMarkAsComplete)==null||E.call(window,m)}),g.current=!1),y.enteringChildren=void 0)}),y}function IM(e,t,n,r){const{layoutId:s,layout:o,drag:i,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:pS(e.parent)),e.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:!!i||a&&xs(a),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}function pS(e){if(e)return e.options.allowProjection!==!1?e.projection:pS(e.parent)}function Dc(e,{forwardMotionProps:t=!1,type:n}={},r,s){r&&gM(r);const o=n?n==="svg":yp(e),i=o?RM:AM;function a(u,c){let d;const f={...b.useContext(wo),...u,layoutId:OM(u)},{isStatic:h}=f,y=bM(u),v=i(u,h);if(!h&&typeof window<"u"){VM();const w=FM(f);d=w.MeasureLayout,y.visualElement=LM(e,v,f,s,w.ProjectionNode,o)}return p.jsxs(Du.Provider,{value:y,children:[d&&y.visualElement?p.jsx(d,{visualElement:y.visualElement,...f}):null,PM(e,u,DM(v,y.visualElement,c),v,h,t,o)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=b.forwardRef(a);return l[MM]=e,l}function OM({layoutId:e}){const t=b.useContext(Fh).id;return t&&e!==void 0?t+"-"+e:e}function VM(e,t){b.useContext(aS).strict}function FM(e){const t=lS(),{drag:n,layout:r}=t;if(!n&&!r)return{};const s={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}function _M(e,t){if(typeof Proxy>"u")return Dc;const n=new Map,r=(o,i)=>Dc(o,i,e,t),s=(o,i)=>r(o,i);return new Proxy(s,{get:(o,i)=>i==="create"?r:(n.has(i)||n.set(i,Dc(i,void 0,e,t)),n.get(i))})}const BM=(e,t)=>t.isSVG??yp(e)?new Kb(t):new zb(t,{allowProjection:e!==b.Fragment});class zM extends Ir{constructor(t){super(t),t.animationState||(t.animationState=b5(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ru(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.call(this)}}let $M=0;class WM extends Ir{constructor(){super(...arguments),this.id=$M++,this.isExitComplete=!1}update(){var o;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;if(t&&r===!1){if(this.isExitComplete){const{initial:i,custom:a}=this.node.getProps();if(typeof i=="string"){const l=rs(this.node,i,a);if(l){const{transition:u,transitionEnd:c,...d}=l;for(const f in d)(o=this.node.getValue(f))==null||o.jump(d[f])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const s=this.node.animationState.setActive("exit",!t);n&&!t&&s.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const UM={animation:{Feature:zM},exit:{Feature:WM}};function na(e){return{point:{x:e.pageX,y:e.pageY}}}const HM=e=>t=>cp(t)&&e(t,na(t));function li(e,t,n,r){return Oi(e,t,HM(n),r)}const mS=({current:e})=>e?e.ownerDocument.defaultView:null,Dy=(e,t)=>Math.abs(e-t);function KM(e,t){const n=Dy(e.x,t.x),r=Dy(e.y,t.y);return Math.sqrt(n**2+r**2)}const Ly=new Set(["auto","scroll"]);class gS{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:o=!1,distanceThreshold:i=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=h=>{this.handleScroll(h.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Oa(this.lastRawMoveEventInfo,this.transformPagePoint));const h=Lc(this.lastMoveEventInfo,this.history),y=this.startEvent!==null,v=KM(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!y&&!v)return;const{point:w}=h,{timestamp:m}=_e;this.history.push({...w,timestamp:m});const{onStart:g,onMove:x}=this.handlers;y||(g&&g(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,h)},this.handlePointerMove=(h,y)=>{this.lastMoveEvent=h,this.lastRawMoveEventInfo=y,this.lastMoveEventInfo=Oa(y,this.transformPagePoint),re.update(this.updatePoint,!0)},this.handlePointerUp=(h,y)=>{this.end();const{onEnd:v,onSessionEnd:w,resumeAnimation:m}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=Lc(h.type==="pointercancel"?this.lastMoveEventInfo:Oa(y,this.transformPagePoint),this.history);this.startEvent&&v&&v(h,g),w&&w(h,g)},!cp(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=i,this.contextWindow=s||window;const l=na(t),u=Oa(l,this.transformPagePoint),{point:c}=u,{timestamp:d}=_e;this.history=[{...c,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,Lc(u,this.history)),this.removeListeners=Ji(li(this.contextWindow,"pointermove",this.handlePointerMove),li(this.contextWindow,"pointerup",this.handlePointerUp),li(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(Ly.has(r.overflowX)||Ly.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,s=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},o={x:s.x-n.x,y:s.y-n.y};o.x===0&&o.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o.x,this.lastMoveEventInfo.point.y+=o.y):this.history.length>0&&(this.history[0].x-=o.x,this.history[0].y-=o.y),this.scrollPositions.set(t,s),re.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Vt(this.updatePoint)}}function Oa(e,t){return t?{point:t(e.point)}:e}function Iy(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Lc({point:e},t){return{point:e,delta:Iy(e,yS(t)),offset:Iy(e,GM(t)),velocity:YM(t,.1)}}function GM(e){return e[0]}function yS(e){return e[e.length-1]}function YM(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=yS(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>pt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&s.timestamp-r.timestamp>pt(t)*2&&(r=e[1]);const o=Mt(s.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const i={x:(s.x-r.x)/o,y:(s.y-r.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function XM(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?pe(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?pe(n,e,r.max):Math.min(e,n)),e}function Oy(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 QM(e,{top:t,left:n,bottom:r,right:s}){return{x:Oy(e.x,n,s),y:Oy(e.y,t,r)}}function Vy(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 qM(e,t){return{x:Vy(e.x,t.x),y:Vy(e.y,t.y)}}function ZM(e,t){let n=.5;const r=nt(e),s=nt(t);return s>r?n=cs(t.min,t.max-r,e.min):r>s&&(n=cs(e.min,e.max-s,t.min)),un(0,1,n)}function JM(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 yf=.35;function e3(e=yf){return e===!1?e=0:e===!0&&(e=yf),{x:Fy(e,"left","right"),y:Fy(e,"top","bottom")}}function Fy(e,t,n){return{min:_y(e,t),max:_y(e,n)}}function _y(e,t){return typeof e=="number"?e:e[t]||0}const t3=new WeakMap;class n3{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Re(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const o=d=>{n&&this.snapToCursor(na(d).point),this.stopAnimation()},i=(d,f)=>{const{drag:h,dragPropagation:y,onDragStart:v}=this.getProps();if(h&&!y&&(this.openDragLock&&this.openDragLock(),this.openDragLock=jR(h),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),hn(m=>{let g=this.getAxisMotionValue(m).get()||0;if(En.test(g)){const{projection:x}=this.visualElement;if(x&&x.layout){const S=x.layout.layoutBox[m];S&&(g=nt(S)*(parseFloat(g)/100))}}this.originPoint[m]=g}),v&&re.update(()=>v(d,f),!1,!0),lf(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},a=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f;const{dragPropagation:h,dragDirectionLock:y,onDirectionLock:v,onDrag:w}=this.getProps();if(!h&&!this.openDragLock)return;const{offset:m}=f;if(y&&this.currentDirection===null){this.currentDirection=s3(m),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",f.point,m),this.updateAxis("y",f.point,m),this.visualElement.render(),w&&re.update(()=>w(d,f),!1,!0)},l=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f,this.stop(d,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:d}=this.getProps();(d||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new gS(t,{onSessionStart:o,onStart:i,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:mS(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!s||!r)return;const{velocity:i}=s;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&re.postRender(()=>a(r,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:s}=this.getProps();if(!r||!Va(t,s,this.currentDirection))return;const o=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=XM(i,this.constraints[t],this.elastic[t])),o.set(i)}resolveConstraints(){var o;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(o=this.visualElement.projection)==null?void 0:o.layout,s=this.constraints;t&&xs(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=QM(r.layoutBox,t):this.constraints=!1,this.elastic=e3(n),s!==this.constraints&&!xs(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&hn(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=JM(r.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!xs(t))return!1;const r=t.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const o=s5(r,s.root,this.visualElement.getTransformPagePoint());let i=qM(s.layout.layoutBox,o);if(n){const a=n(t5(i));this.hasMutatedConstraints=!!a,a&&(i=Ib(a))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=hn(c=>{if(!Va(c,n,this.currentDirection))return;let d=l&&l[c]||{};(i===!0||i===c)&&(d={min:0,max:0});const f=s?200:1e6,h=s?40:1e7,y={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(c,y)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return lf(this.visualElement,t),r.start(rp(t,r,0,n,this.visualElement,!1))}stopAnimation(){hn(t=>this.getAxisMotionValue(t).stop())}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){hn(n=>{const{drag:r}=this.getProps();if(!Va(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,o=this.getAxisMotionValue(n);if(s&&s.layout){const{min:i,max:a}=s.layout.layoutBox[n],l=o.get()||0;o.set(t[n]-pe(i,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!xs(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};hn(i=>{const a=this.getAxisMotionValue(i);if(a&&this.constraints!==!1){const l=a.get();s[i]=ZM({min:l,max:l},this.constraints[i])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),hn(i=>{if(!Va(i,t,null))return;const a=this.getAxisMotionValue(i),{min:l,max:u}=this.constraints[i];a.set(pe(l,u,s[i]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;t3.set(this.visualElement,this);const t=this.visualElement.current,n=li(t,"pointerdown",u=>{const{drag:c,dragListener:d=!0}=this.getProps(),f=u.target,h=f!==t&&IR(f);c&&d&&!h&&this.start(u)});let r;const s=()=>{const{dragConstraints:u}=this.getProps();xs(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=r3(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:o}=this.visualElement,i=o.addEventListener("measure",s);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),re.read(s);const a=Oi(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(hn(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=u[d].translate,f.set(f.get()+u[d].translate))}),this.visualElement.render())});return()=>{a(),n(),i(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:i=yf,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function By(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function r3(e,t,n){const r=ff(e,By(n)),s=ff(t,By(n));return()=>{r(),s()}}function Va(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function s3(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class o3 extends Ir{constructor(t){super(t),this.removeGroupControls=ht,this.removeListeners=ht,this.controls=new n3(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ht}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Ic=e=>(t,n)=>{e&&re.update(()=>e(t,n),!1,!0)};class i3 extends Ir{constructor(){super(...arguments),this.removePointerDownListener=ht}onPointerDown(t){this.session=new gS(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:mS(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Ic(t),onStart:Ic(n),onMove:Ic(r),onEnd:(o,i)=>{delete this.session,s&&re.postRender(()=>s(o,i))}}}mount(){this.removePointerDownListener=li(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Oc=!1;class a3 extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:o}=t;o&&(n.group&&n.group.add(o),r&&r.register&&s&&r.register(o),Oc&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ul.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:o}=this.props,{projection:i}=r;return i&&(i.isPresent=o,t.layoutDependency!==n&&i.setOptions({...i.options,layoutDependency:n}),Oc=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==o?i.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?i.promote():i.relegate()||re.postRender(()=>{const a=i.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),up.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;Oc=!0,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 vS(e){const[t,n]=iS(),r=b.useContext(Fh);return p.jsx(a3,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(hS),isPresent:t,safeToRemove:n})}const l3={pan:{Feature:i3},drag:{Feature:o3,ProjectionNode:oS,MeasureLayout:vS}};function zy(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,o=r[s];o&&re.postRender(()=>o(t,na(t)))}class u3 extends Ir{mount(){const{current:t}=this.node;t&&(this.unmount=RR(t,(n,r)=>(zy(this.node,r,"Start"),s=>zy(this.node,s,"End"))))}unmount(){}}class c3 extends Ir{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=Ji(Oi(this.node.current,"focus",()=>this.onFocus()),Oi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function $y(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const s="onTap"+(n==="End"?"":n),o=r[s];o&&re.postRender(()=>o(t,na(t)))}class d3 extends Ir{mount(){const{current:t}=this.node;if(!t)return;
136const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=VR(t,(s,o)=>($y(this.node,o,"Start"),(i,{success:a})=>$y(this.node,i,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const vf=new WeakMap,Vc=new WeakMap,f3=e=>{const t=vf.get(e.target);t&&t(e)},h3=e=>{e.forEach(f3)};function p3({root:e,...t}){const n=e||document;Vc.has(n)||Vc.set(n,{});const r=Vc.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(h3,{root:e,...t})),r[s]}function m3(e,t,n){const r=p3(t);return vf.set(e,n),r.observe(e),()=>{vf.delete(e),r.unobserve(e)}}const g3={some:0,all:1};class y3 extends Ir{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var l;(l=this.stopObserver)==null||l.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:g3[s]},a=u=>{const{isIntersecting:c}=u;if(this.isInView===c||(this.isInView=c,o&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),h=c?d:f;h&&h(u)};this.stopObserver=m3(this.node.current,i,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(v3(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function v3({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const x3={inView:{Feature:y3},tap:{Feature:d3},focus:{Feature:c3},hover:{Feature:u3}},w3={layout:{ProjectionNode:oS,MeasureLayout:vS}},b3={...UM,...x3,...l3,...w3},Z=_M(b3,BM);function S3(e){return b.useEffect(()=>()=>e(),[])}function E3(e,t,n){b.useInsertionEffect(()=>e.on(t,n),[e,t,n])}function Yl(e){return typeof window>"u"?!1:e?ib():ep()}const C3=50,Wy=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),T3=()=>({time:0,x:Wy(),y:Wy()}),k3={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Uy(e,t,n,r){const s=n[t],{length:o,position:i}=k3[t],a=s.current,l=n.time;s.current=Math.abs(e[`scroll${i}`]),s.scrollLength=e[`scroll${o}`]-e[`client${o}`],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>C3?0:zh(s.current-a,u)}function P3(e,t,n){Uy(e,"x",t,n),Uy(e,"y",t,n),t.time=n}function N3(e,t){const n={x:0,y:0};let r=e;for(;r&&r!==t;)if(ii(r))n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const s=r.getBoundingClientRect();r=r.parentElement;const o=r.getBoundingClientRect();n.x+=s.left-o.left,n.y+=s.top-o.top}else if(r instanceof SVGGraphicsElement){const{x:s,y:o}=r.getBBox();n.x+=s,n.y+=o;let i=null,a=r.parentNode;for(;!i;)a.tagName==="svg"&&(i=a),a=r.parentNode;r=i}else break;return n}const xf={start:0,center:.5,end:1};function Hy(e,t,n=0){let r=0;if(e in xf&&(e=xf[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 j3=[0,0];function A3(e,t,n,r){let s=Array.isArray(e)?e:j3,o=0,i=0;return typeof e=="number"?s=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?s=e.split(" "):s=[e,xf[e]?e:"0"]),o=Hy(s[0],n,r),i=Hy(s[1],t),o-i}const Ho={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},R3={x:0,y:0};function M3(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function D3(e,t,n){const{offset:r=Ho.All}=n,{target:s=e,axis:o="y"}=n,i=o==="y"?"height":"width",a=s!==e?N3(s,e):R3,l=s===e?{width:e.scrollWidth,height:e.scrollHeight}:M3(s),u={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let c=!t[o].interpolate;const d=r.length;for(let f=0;f<d;
136f++){const h=A3(r[f],u[i],l[i],a[o]);!c&&h!==t[o].interpolatorOffsets[f]&&(c=!0),t[o].offset[f]=h}c&&(t[o].interpolate=Xh(t[o].offset,Qh(r),{clamp:!1}),t[o].interpolatorOffsets=[...t[o].offset]),t[o].progress=un(0,1,t[o].interpolate(t[o].current))}function L3(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 I3(e,t,n,r={}){return{measure:s=>{L3(e,r.target,n),P3(e,n,s),(r.offset||r.target)&&D3(e,n,r)},notify:()=>t(n)}}const vs=new WeakMap,Ky=new WeakMap,Fc=new WeakMap,Gy=new WeakMap,Fa=new WeakMap,Yy=e=>e===document.scrollingElement?window:e;function xS(e,{container:t=document.scrollingElement,trackContentSize:n=!1,...r}={}){if(!t)return ht;let s=Fc.get(t);s||(s=new Set,Fc.set(t,s));const o=T3(),i=I3(t,e,o,r);if(s.add(i),!vs.has(t)){const l=()=>{for(const f of s)f.measure(_e.timestamp);re.preUpdate(u)},u=()=>{for(const f of s)f.notify()},c=()=>re.read(l);vs.set(t,c);const d=Yy(t);window.addEventListener("resize",c),t!==document.documentElement&&Ky.set(t,ff(t,c)),d.addEventListener("scroll",c),c()}if(n&&!Fa.has(t)){const l=vs.get(t),u={width:t.scrollWidth,height:t.scrollHeight};Gy.set(t,u);const c=()=>{const f=t.scrollWidth,h=t.scrollHeight;(u.width!==f||u.height!==h)&&(l(),u.width=f,u.height=h)},d=re.read(c,!0);Fa.set(t,d)}const a=vs.get(t);return re.read(a,!1,!0),()=>{var d;Vt(a);const l=Fc.get(t);if(!l||(l.delete(i),l.size))return;const u=vs.get(t);vs.delete(t),u&&(Yy(t).removeEventListener("scroll",u),(d=Ky.get(t))==null||d(),window.removeEventListener("resize",u));const c=Fa.get(t);c&&(Vt(c),Fa.delete(t)),Gy.delete(t)}}const O3=[[Ho.Enter,"entry"],[Ho.Exit,"exit"],[Ho.Any,"cover"],[Ho.All,"contain"]],Xy={start:0,end:1};function V3(e){const t=e.trim().split(/\s+/);if(t.length!==2)return;const n=Xy[t[0]],r=Xy[t[1]];if(!(n===void 0||r===void 0))return[n,r]}function F3(e){if(e.length!==2)return;const t=[];for(const n of e)if(Array.isArray(n))t.push(n);else if(typeof n=="string"){const r=V3(n);if(!r)return;t.push(r)}else return;return t}function _3(e,t){const n=F3(e);if(!n)return!1;for(let r=0;r<2;r++){const s=n[r],o=t[r];if(s[0]!==o[0]||s[1]!==o[1])return!1}return!0}function vp(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(const[t,n]of O3)if(_3(e,t))return{rangeStart:`${n} 0%`,rangeEnd:`${n} 100%`}}const Qy=new Map;function qy(e){const t={value:0},n=xS(r=>
136{t.value=r[e.axis].progress*100},e);return{currentTime:t,cancel:n}}function wS({source:e,container:t,...n}){const{axis:r}=n;e&&(t=e);let s=Qy.get(t);s||(s=new Map,Qy.set(t,s));const o=n.target??"self";let i=s.get(o);i||(i={},s.set(o,i));const a=r+(n.offset??[]).join(",");return i[a]||(n.target&&Yl(n.target)?vp(n.offset)?i[a]=new ViewTimeline({subject:n.target,axis:r}):i[a]=qy({container:t,...n}):Yl()?i[a]=new ScrollTimeline({source:t,axis:r}):i[a]=qy({container:t,...n})),i[a]}function B3(e,t){const n=wS(t),r=t.target?vp(t.offset):void 0,s=t.target?Yl(t.target)&&!!r:Yl();return e.attachTimeline({timeline:s?n:void 0,...r&&s&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:o=>(o.pause(),Nb(i=>{o.time=o.iterationDuration*i},n))})}function z3(e){return e.length===2}function $3(e,t){return z3(e)?xS(n=>{e(n[t.axis].progress,n)},t):Nb(e,wS(t))}function bS(e,{axis:t="y",container:n=document.scrollingElement,...r}={}){if(!n)return ht;const s={axis:t,container:n,...r};return typeof e=="function"?$3(e,s):B3(e,s)}const W3=()=>({scrollX:Dt(0),scrollY:Dt(0),scrollXProgress:Dt(0),scrollYProgress:Dt(0)}),_a=e=>e?!e.current:!1;function Zy(e,t,n,r){return{factory:s=>bS(s,{...t,axis:e,container:(n==null?void 0:n.current)||void 0,target:(r==null?void 0:r.current)||void 0}),times:[0,1],keyframes:[0,1],ease:s=>s,duration:1}}function U3(e,t){return typeof window>"u"?!1:e?ib()&&!!vp(t):ep()}function H3({container:e,target:t,...n}={}){const r=Cn(W3);U3(t,n.offset)&&(r.scrollXProgress.accelerate=Zy("x",n,e,t),r.scrollYProgress.accelerate=Zy("y",n,e,t));const s=b.useRef(null),o=b.useRef(!1),i=b.useCallback(()=>(s.current=bS((a,{x:l,y:u})=>{r.scrollX.set(l.current),r.scrollXProgress.set(l.progress),r.scrollY.set(u.current),r.scrollYProgress.set(u.progress)},{...n,container:(e==null?void 0:e.current)||void 0,target:(t==null?void 0:t.current)||void 0}),()=>{var a;(a=s.current)==null||a.call(s)}),[e,t,JSON.stringify(n.offset)]);return Zi(()=>{if(o.current=!1,_a(e)||_a(t)){o.current=!0;return}else return i()},[i]),b.useEffect(()=>{if(o.current)return Ai(!_a(e)),Ai(!_a(t)),i()},[i]),r}function Vi(e){const t=Cn(()=>Dt(e)),{isStatic:n}=b.useContext(wo);if(n){const[,r]=b.useState(e);b.useEffect(()=>t.on("change",r),[])}return t}function xp(e,t){const n=Vi(t()),r=()=>n.set(t());return r(),Zi(()=>{const s=()=>re.preRender(r,!1,!0),o=e.map(i=>i.on("change",s));return()=>{o.forEach(i=>i()),Vt(r)}}),n}function K3(e,...t){const n=e.length;function r(){let s="";for(let o=0;o<n;o++){s+=e[o];const i=t[o];i&&(s+=Ee(i)?i.get():i)}return s}return xp(t.filter(Ee),r)}function G3(e){oi.current=[],e();const t=xp(oi.current,e);return oi.current=void 0,t}function $r(e,t,n,r){if(typeof e=="function")return G3(e);if(n!==void 0&&!Array.isArray(n)&&typeof t!="function")return Y3(e,t,n,r);const i=typeof t=="function"?t:YR(t,n,r),a=Array.isArray(e)?Jy(e,i):Jy([e],([u])=>i(u)),l=Array.isArray(e)?void 0:e.accelerate;return l&&!l.isTransformed&&typeof t!="function"&&Array.isArray(n)&&(r==null?void 0:r.clamp)!==!1&&(a.accelerate={...l,times:t,keyframes:n,isTransformed:!0}),a}function Jy(e,t){const n=Cn(()=>[]);return xp(e,()=>{n.length=0;const r=e.length;for(let s=0;s<r;s++)n[s]=e[s].get();return t(n)})}function Y3(e,t,n,r){const s=Cn(()=>Object.keys(n)),o=Cn(()=>({}));for(const i of s)o[i]=$r(e,t,n[i],r);return o}function X3(e,t={}){const{isStatic:n}=b.useContext(wo),r=()=>Ee(e)?e.get():e;if(n)return $r(r);const s=Vi(r());return b.useInsertionEffect(()=>XR(s,e,t),[s,JSON.stringify(t)]),s}function Ba(e,t={}){return X3(e,{type:"spring",...t})}function Q3(){!hp.current&&Rb();const[e]=b.useState(Wl.current);return e}function q3(){const e=Q3(),{reducedMotion:t}=b.useContext(wo);return t==="never"?!1:t==="always"?!0:e}function Z3(e){e.values.forEach(t=>t.stop())}function wf(e,t){[...t].reverse().forEach(r=>{const s=e.getVariant(r);s&&op(e,s),e.variantChildren&&e.variantChildren.forEach(o=>{wf(o,t)})})}function J3(e,t){if(Array.isArray(t))return wf(e,t);if(typeof t=="string")return wf(e,[t]);op(e,t)}function eD(){const e=new Set,t={subscribe(n){return e.add(n),()=>void e.delete(n)},start(n,r){const s=[];return e.forEach(o=>{s.push(vb(o,n,{transitionOverride:r}))}),Promise.all(s)},set(n){return e.forEach(r=>{J3(r,n)})},stop(){e.forEach(n=>{Z3(n)})},mount(){return()=>{t.stop()}}};return t}function wp(e){return typeof e=="object"&&!Array.isArray(e)}function SS(e,t,n,r){return e==null?[]:typeof e=="string"&&wp(t)?ju(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(s=>s!=null):[e]}function tD(e,t,n){return e*(t+1)}function e0(e,t,n,r){return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:t.startsWith("<")?Math.max(0,n+parseFloat(t.slice(1))):r.get(t)??e}function nD(e,t,n){for(let r=0;r<e.length;r++){const s=e[r];s.at>t&&s.at<n&&(lo(e,s),r--)}}function rD(e,t,n,r,s,o){nD(e,s,o);for(let i=0;i<t.length;i++)e.push({value:t[i],at:pe(s,o,r[i]),easing:z1(n,i)})}function sD(e,t){for(let n=0;n<e.length;n++)e[n]=e[n]/(t+1)}function oD(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const iD="easeInOut";function aD(e,{defaultTransition:t={},...n}={},r,s){const o=t.duration||.3,i=new Map,a=new Map,l={},u=new Map;let c=0,d=0,f=0;for(let h=0;h<e.length;h++){const y=e[h];if(typeof y=="string"){u.set(y,d);continue}else if(!Array.isArray(y)){u.set(y.name,e0(d,y.at,c,u));continue}let[v,w,m={}]=y;m.at!==void 0&&(d=e0(d,m.at,c,u));let g=0;const x=(S,E,C,T=0,k=0)=>
vendor: 2,328 bytes, line 136
136{const P=lD(S),{delay:j=0,times:M=Qh(P),type:D=t.type||"keyframes",repeat:B,repeatType:L,repeatDelay:K=0,...F}=E;let{ease:H=t.ease||"easeOut",duration:N}=E;const A=typeof j=="function"?j(T,k):j,V=P.length,W=tp(D)?D:s==null?void 0:s[D||"keyframes"];if(V<=2&&W){let oe=100;if(V===2&&dD(P)){const ce=P[1]-P[0];oe=Math.abs(ce)}const de={...t,...F};N!==void 0&&(de.duration=pt(N));const Y=J1(de,oe,W);H=Y.ease,N=Y.duration}N??(N=o);const z=d+A;M.length===1&&M[0]===0&&(M[1]=1);const X=M.length-P.length;if(X>0&&tb(M,X),P.length===1&&P.unshift(null),B){N=tD(N,B);const oe=[...P],de=[...M];H=Array.isArray(H)?[...H]:[H];const Y=[...H];for(let ce=0;ce<B;ce++){P.push(...oe);for(let xe=0;xe<oe.length;xe++)M.push(de[xe]+(ce+1)),H.push(xe===0?"linear":z1(Y,xe-1))}sD(M,B)}const G=z+N;rD(C,P,H,M,z,G),g=Math.max(A+N,g),f=Math.max(G,f)};if(Ee(v)){const S=t0(v,a);x(w,m,n0("default",S))}else{const S=SS(v,w,r,l),E=S.length;for(let C=0;C<E;C++){w=w,m=m;const T=S[C],k=t0(T,a);for(const P in w)x(w[P],uD(m,P),n0(P,k),C,E)}}c=d,d+=g}return a.forEach((h,y)=>{for(const v in h){const w=h[v];w.sort(oD);const m=[],g=[],x=[];for(let T=0;T<w.length;T++){const{at:k,value:P,easing:j}=w[T];m.push(P),g.push(cs(0,f,k)),x.push(j||"easeOut")}g[0]!==0&&(g.unshift(0),m.unshift(m[0]),x.unshift(iD)),g[g.length-1]!==1&&(g.push(1),m.push(null)),i.has(y)||i.set(y,{keyframes:{},transition:{}});const S=i.get(y);S.keyframes[v]=m;const{type:E,...C}=t;S.transition[v]={...C,duration:f,ease:x,times:g,...n}}}),i}function t0(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function n0(e,t){return t[e]||(t[e]=[]),t[e]}function lD(e){return Array.isArray(e)?e:[e]}function uD(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}const cD=e=>typeof e=="number",dD=e=>e.every(cD);function fD(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=Au(e)&&!jb(e)?new Kb(t):new zb(t);n.mount(e),Li.set(e,n)}function hD(e){const t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new d5(t);n.mount(e),Li.set(e,n)}function pD(e,t){return Ee(e)||typeof e=="number"||typeof e=="string"&&!wp(t)}function ES(e,t,n,r){const s=[];if(pD(e,t))s.push(tS(e,wp(t)&&t.default||t,n&&(n.default||n)));else{if(e==null)return s;const o=SS(e,t,r),i=o.length;for(let a=0;a<i;
136a++){const l=o[a],u=l instanceof Element?fD:hD;Li.has(l)||u(l);const c=Li.get(l),d={...n};"delay"in d&&typeof d.delay=="function"&&(d.delay=d.delay(a,i)),s.push(...ap(c,{...t,transition:d},{}))}}return s}function mD(e,t,n){const r=[],s=e.map(i=>{if(Array.isArray(i)&&typeof i[0]=="function"){const a=i[0],l=Dt(0);return l.on("change",a),i.length===1?[l,[0,1]]:i.length===2?[l,[0,1],i[1]]:[l,i[1],i[2]]}return i});return aD(s,t,n,{spring:Mi}).forEach(({keyframes:i,transition:a},l)=>{r.push(...ES(l,i,a))}),r}function gD(e){return Array.isArray(e)&&e.some(Array.isArray)}function CS(e={}){const{scope:t,reduceMotion:n}=e;function r(s,o,i){let a=[],l;if(gD(s)){const{onComplete:c,...d}=o||{};typeof c=="function"&&(l=c),a=mD(s,n!==void 0?{reduceMotion:n,...d}:d,t)}else{const{onComplete:c,...d}=i||{};typeof c=="function"&&(l=c),a=ES(s,o,n!==void 0?{reduceMotion:n,...d}:d,t)}const u=new eR(a);return l&&u.finished.then(l),t&&(t.animations.push(u),u.finished.then(()=>{lo(t.animations,u)})),u}return r}CS();function yD(){const e=Cn(()=>({current:null,animations:[]})),t=q3()??void 0,n=b.useMemo(()=>CS({scope:e,reduceMotion:t}),[e,t]);return S3(()=>{e.animations.forEach(r=>r.stop()),e.animations.length=0}),[e,n]}function vD(){const e=Cn(eD);return Zi(e.mount,[]),e}const bp=vD,xD={some:0,all:1};function wD(e,t,{root:n,margin:r,amount:s="some"}={}){const o=ju(e),i=new WeakMap,a=u=>{u.forEach(c=>{const d=i.get(c.target);if(c.isIntersecting!==!!d)if(c.isIntersecting){const f=t(c.target,c);typeof f=="function"?i.set(c.target,f):l.unobserve(c.target)}else typeof d=="function"&&(d(c),i.delete(c.target))})},l=new IntersectionObserver(a,{root:n,rootMargin:r,threshold:typeof s=="number"?s:xD[s]});return o.forEach(u=>l.observe(u)),()=>l.disconnect()}function Lu(e,{root:t,margin:n,amount:r,once:s=!1,initial:o=!1}={}){const[i,a]=b.useState(o);return b.useEffect(()=>{if(!e.current||s&&i)return;const l=()=>(a(!0),s?void 0:()=>a(!1)),u={root:t&&t.current||void 0,margin:n,amount:r};return wD(e.current,l,u)},[t,e,n,s,r]),i}const bD=({children:e,className:t})=>{const n=b.useRef(null),{scrollY:r}=H3(),[s,o]=b.useState(!1);return E3(r,"change",i=>{o(i>50)}),p.jsx("div",{ref:n,className:le("fixed inset-x-0 top-0 z-50 w-full",t),children:O.Children.map(e,i=>O.isValidElement(i)?O.cloneElement(i,{visible:s}):i)})},SD=({children:e,className:t,visible:n})=>p.jsx(Z.div,{animate:{backdropFilter:"blur(20px)",boxShadow:n?"0 4px 30px rgba(160, 76, 150, 0.08), 0 0 0 1px rgba(201, 190, 209, 0.12)":"none",width:n?"min(760px, 92%)":"100%",y:n?12:0,borderRadius:n?"9999px":"0px",background:n?"rgba(255, 255, 255, 0.72)":"rgba(255, 255, 255, 0.3)",paddingTop:n?"8px":"18px",paddingBottom:n?"8px":"18px",borderWidth:"1px",borderStyle:"solid",borderColor:n?"rgba(201, 190, 209, 0.25)":"transparent"},transition:{type:"spring",stiffness:260,damping:40},className:le("relative z-[60] mx-auto hidden w-full max-w-7xl flex-row items-center justify-between self-start px-6 lg:flex",t),children:e}),ED=({items:e,className:t,onItemClick:n})=>{const[r,s]=b.useState(null);return p.jsx(Z.div,{onMouseLeave:()=>s(null),className:le("absolute inset-0 hidden flex-1 flex-row items-center justify-center space-x-1 text-sm font-medium text-foreground/70 lg:flex",t),children:e.map((o,i)=>p.jsxs("a",{onMouseEnter:()=>s(i),onClick:n,className:"relative px-4 py-2 text-sm text-foreground/70 hover:text-foreground transition-colors",href:o.link,children:[r===i&&p.jsx(Z.div,{layoutId:"hovered",className:"absolute inset-0 rounded-full bg-foreground
136/5",transition:{type:"spring",stiffness:300,damping:30}}),p.jsx("span",{className:"relative z-20",children:o.name})]},`link-${i}`))})},CD=({children:e,className:t,visible:n})=>p.jsx(Z.div,{animate:{backdropFilter:"blur(20px)",boxShadow:n?"0 4px 30px rgba(160, 76, 150, 0.08), 0 0 0 1px rgba(201, 190, 209, 0.15)":"none",width:n?"94%":"100%",y:n?8:0,borderRadius:n?"20px":"0px",background:n?"rgba(255, 255, 255, 0.82)":"rgba(255, 255, 255, 0.55)",paddingTop:n?"10px":"22px",paddingBottom:n?"10px":"14px",borderWidth:"1px",borderStyle:"solid",borderColor:n?"rgba(201, 190, 209, 0.25)":"transparent"},transition:{type:"spring",stiffness:260,damping:40},className:le("relative z-50 mx-auto flex w-full flex-col lg:hidden",t),children:e}),TD=({src:e,alt:t,label:n,href:r="#"})=>p.jsx("a",{href:r,className:"relative z-[60] flex items-center gap-2 text-foreground font-display font-bold text-lg",children:p.jsx("img",{src:e,alt:t,className:"h-8 w-auto"})}),r0=({href:e,as:t="a",children:n,className:r,variant:s="primary",...o})=>{const i={primary:"px-5 py-2 rounded-full bg-foreground text-background text-sm font-semibold cursor-pointer hover:-translate-y-0.5 transition-all duration-200 inline-block text-center",secondary:"px-5 py-2 rounded-full bg-transparent text-foreground text-sm font-semibold cursor-pointer hover:-translate-y-0.5 transition-all duration-200 inline-block text-center",dark:"px-5 py-2 rounded-full bg-foreground text-background text-sm font-semibold cursor-pointer hover:-translate-y-0.5 transition-all duration-200 inline-block text-center",gradient:"px-5 py-2 rounded-full bg-foreground text-background text-sm font-semibold cursor-pointer hover:-translate-y-0.5 hover:shadow-lg transition-all duration-200 inline-block text-center"},a=t;return p.jsx(a,{href:e,className:le(i[s],r),...o,children:n})},TS="/assets/logo-ByjIhiso.png",kD="/assets/icon-mobile-DIkzXEM0.png",s0=[{name:"Features",link:"#features"},{name:"Roadmap",link:"#roadmap"},{name:"Partners",link:"#partners"},{name:"Contribute",link:"#contribute"}],PD=()=>p.jsxs(bD,{children:[p.jsxs(SD,{children:[p.jsx(TD,{src:TS,alt:"TempWallets logo",label:"TempWallets"}),p.jsx(ED,{items:s0}),p.jsx("div",{className:"relative z-[70] flex items-center gap-3",children:p.jsx(r0,{as:"a",href:"https://www.tempwallets.com/",target:"_blank",rel:"noopener noreferrer",variant:"gradient",children:"Launch App"})})]}),p.jsx(CD,{children:p.jsxs("div",{className:"flex w-full items-center justify-between gap-1 px-2",children:[p.jsx("a",{href:"#",className:"flex-shrink-0",children:p.jsx("img",{src:kD,alt:"TempWallets",className:"h-7 w-7 object-contain"})}),p.jsx("nav",{className:"flex items-center flex-1 justify-center gap-0 overflow-hidden mx-1",children:s0.map((e,t)=>p.jsx("a",{href:e.link,className:"text-foreground/70 hover:text-foreground transition-colors text-[10px] whitespace-nowrap px-1.5 py-1 rounded-full hover:bg-foreground
136/5 font-semibold",children:e.name},t))}),p.jsx(r0,{as:"a",href:"https://www.tempwallets.com/",target:"_blank",rel:"noopener noreferrer",variant:"gradient",className:"text-[9px] px-2.5 py-1.5 flex-shrink-0 leading-tight",children:"Launch"})]})})]}),ND=({className:e,children:t,showRadialGradient:n=!0,...r})=>p.jsx("main",{children:p.jsxs("div",{className:le("relative flex flex-col h-[100vh] items-center justify-center bg-background text-foreground transition-bg",e),...r,children:[p.jsx("div",{className:"absolute inset-0 overflow-hidden",children:p.jsx("div",{className:le(` 137 [--white-gradient:repeating-linear-gradient(100deg,hsl(var(--background))_0%,hsl(var(--background))_7%,var(--transparent)_10%,var(--transparent)_12%,hsl(var(--background))_16%)] 138 [--aurora:repeating-linear-gradient(100deg,hsl(var(--primary))_10%,hsl(var(--accent))_15%,hsl(var(--glow-purple))_20%,hsl(var(--accent))_25%,hsl(var(--primary))_30%)] 139 [background-image:var(--white-gradient),var(--aurora)] 140 [background-size:300%,_200%] 141 [background-position:50%_50%,50%_50%] 142 filter blur-[10px] invert 143 after:content-[""] after:absolute after:inset-0 144 after:[background-image:var(--white-gradient),var(--aurora)] 145 after:[background-size:200%,_100%] 146 after:animate-aurora after:[background-attachment:fixed] 147 after:mix-blend-difference 148 pointer-events-none 149 absolute -inset-[10px] opacity-50 150 will-change-transform`,n&&"[mask-image:radial-gradient(ellipse_at_100%_0%,black_10%,var(--transparent)_70%)]")})}),t]})}),o0=["Crypto","Instant","Disposable"],jD=()=>{const[e,t]=b.useState(0),[n,r]=b.useState(""),[s,o]=b.useState(!1),i=b.useRef(null);return b.useEffect(()=>{const a=o0[e];return s?n.length>0?i.current=setTimeout(()=>{r(a.slice(0,n.length-1))},60):(o(!1),t(l=>(l+1)%o0.length)):n.length<a.length?i.current=setTimeout(()=>{r(a.slice(0,n.length+1))},100):i.current=setTimeout(()=>o(!0),1800),()=>{i.current&&clearTimeout(i.current)}},[n,s,e]),p.jsx(ND,{className:"min-h-[80vh] h-auto",showRadialGradient:!0,children:p.jsx("div",{className:"relative z-10 w-full max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-24 sm:pt-28 pb-4 sm:pb-8",children:p.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[p.jsxs("div",{className:"py-[50px] text-center lg:text-left",children:[p.jsxs(Z.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},className:"font-display text-[3rem] sm:text-[3.5rem] md:text-[4rem] lg:text-[4.5rem] font-bold text-foreground leading-[1.05] tracking-[-0.02em]",children:[p.jsx("span",{className:"block",children:"Your First"}),p.jsxs("span",{className:"block text-[#a167a8] font-extrabold",children:[n,p.jsx("span",{className:"inline-block w-[3px] h-[0.85em] bg-primary ml-1 align-middle animate-[pulse_1s_steps(1)_infinite]"})]}),p.jsx("span",{className:"block",children:"Wallet."})]}),p.jsx(Z.p,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:.3},className:"mt-4 text-base sm:text-lg text-muted-foreground max-w-lg leading-relaxed mx-auto lg:mx-0 py-[10px]",children:"âSafely interact with new dApps, test protocols, or receive crypto without exposing your primary wallet."}),p.jsx(Z.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:.5},className:"mt-8",children:p.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center lg:justify-start gap-3",children:[p.jsxs("a",{href:"https://www.tempwallets.com/",target:"_blank",rel:"noopener noreferrer",className:"w-full sm:w-auto inline-flex items-center justify-center gap-2 px-7 py-3.5 rounded-full bg-foreground text-background font-semibold text-sm sm:text-base hover:shadow-xl hover:scale-[1.02] transition-all duration-300",children:["Get Started",p.jsx(oo,{size:16})]}),p.jsxs("a",{href:"https://github.com/tempwallets",target:"_blank",rel:"noopener noreferrer",className:"w-full sm:w-auto inline-flex items-center justify-center gap-2 px-7 py-3.5 rounded-full border-2 border-foreground
150/20 text-foreground font-semibold text-sm sm:text-base hover:border-foreground/40 hover:shadow-lg hover:scale-[1.02] transition-all duration-300 backdrop-blur-sm",children:["Contribute on GitHub",p.jsx(oo,{size:16})]})]})}),p.jsxs(Z.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.7,delay:.7},className:"mt-8 flex flex-wrap items-center justify-center lg:justify-start gap-x-5 gap-y-2 text-sm text-muted-foreground",children:[p.jsxs("span",{className:"flex items-center gap-2",children:[p.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary"}),"No Downloads"]}),p.jsxs("span",{className:"flex items-center gap-2",children:[p.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary"}),"No Setup"]}),p.jsxs("span",{className:"flex items-center gap-2",children:[p.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary"}),"No Extensions"]})]})]}),p.jsx(Z.div,{initial:{opacity:0},animate:{opacity:.4},transition:{duration:1,delay:.5},className:"hidden lg:flex items-center justify-center",children:p.jsxs("div",{className:"relative w-80 h-80",children:[p.jsx("div",{className:"absolute inset-0 rounded-3xl border border-border/60 rotate-6"}),p.jsx("div",{className:"absolute inset-4 rounded-3xl border border-border/40 -rotate-3"}),p.jsx("div",{className:"absolute inset-8 rounded-3xl border border-border/30 rotate-2"}),p.jsx("div",{className:"absolute inset-12 rounded-3xl bg-secondary/30"}),p.jsx("div",{className:"absolute top-1/2 left-0 -translate-y-1/2 -translate-x-4 w-3 h-3 rounded-full bg-primary/20"}),p.jsx("div",{className:"absolute top-1/4 right-0 translate-x-4 w-2 h-2 rounded-full bg-primary/15"}),p.jsx("div",{className:"absolute bottom-1/4 right-0 translate-x-6 w-4 h-4 rounded-full bg-primary/10"})]})})]})})})},kS=b.createContext(void 0),Sp=({children:e,className:t,containerClassName:n})=>{const r=b.useRef(null),[s,o]=b.useState(!1),i=u=>{if(!r.current)return;const{left:c,top:d,width:f,height:h}=r.current.getBoundingClientRect(),y=(u.clientX-c-f/2)/25,v=(u.clientY-d-h/2)/25;r.current.style.transform=`rotateY(${y}deg) rotateX(${v}deg)`},a=()=>{o(!0)},l=()=>{r.current&&(o(!1),r.current.style.transform="rotateY(0deg) rotateX(0deg)")};return p.jsx(kS.Provider,{value:[s,o],children:p.jsx("div",{className:le("flex items-center justify-center",n),style:{perspective:"1000px"},children:p.jsx("div",{ref:r,onMouseEnter:a,onMouseMove:i,onMouseLeave:l,className:le("flex items-center justify-center relative transition-all duration-200 ease-linear text-secondary-foreground py-0",t),style:{transformStyle:"preserve-3d"},children:e})})})},Ep=({children:e,className:t,style:n})=>p.jsx("div",{className:le("h-auto w-auto [transform-style:preserve-3d] [&>*]:[transform-style:preserve-3d]",t),style:n,children:e}),In=({as:e="div",children:t,className:n,translateX:r=0,translateY:s=0,translateZ:o=0,rotateX:i=0,rotateY:a=0,rotateZ:l=0,...u})=>{const c=b.useRef(null),[d]=AD();b.useEffect(()=>{f()},[d]);const f=()=>{c.current&&(d?c.current.style.transform=`translateX(${r}px) translateY(${s}px) translateZ(${o}px) rotateX(${i}deg) rotateY(${a}deg) rotateZ(${l}deg)`:c.current.style.transform="translateX(0px) translateY(0px) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg)")};return p.jsx("div",{ref:c,className:le("w-fit transition duration-200 ease-linear",n),children:t})},AD=()=>{const e=b.useContext(kS);if(e===void 0)throw new Error("useMouseEnter must be used within a MouseEnterProvider");return e};function RD(e){return Object.prototype.toString.call(e)==="[object Object]"}function i0(e){return RD(e)||Array.isArray(e)}function MD(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Cp(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const s=JSON.stringify(Object.keys(e.breakpoints||{})),o=JSON.stringify(Object.keys(t.breakpoints||{}));return s!==o?!1:n.every(i=>{const a=e[i],l=t[i];return typeof a=="function"?`${a}`==`${l}`:!i0(a)||!i0(l)?a===l:Cp(a,l)})}function a0(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function DD(e,t){if(e.length!==t.length)return!1;const n=a0(e),r=a0(t);return n.every((s,o)=>{const i=r[o];return Cp(s,i)})}function Tp(e){return typeof e=="number"}function bf(e){return typeof e=="string"}function Iu(e){return typeof e=="boolean"}function l0(e){return Object.prototype.toString.call(e)==="[object Object]"}function Se(e){return Math.abs(e)}function kp(e){return Math.sign(e)}function ui(e,t){return Se(e-t)}function LD(e,t){if(e===0||t===0||Se(e)<=Se(t))return 0;const n=ui(Se(e),Se(t));return Se(n/e)}function ID(e){return Math.round(e*100)/100}function Fi(e){return _i(e).map(Number)}function rn(e){return e[ra(e)]}function ra(e){return Math.max(0,e.length-1)}function Pp(e,t){return t===ra(e)}function u0(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function _i(e){return Object.keys(e)}function PS(e,t){return[e,t].reduce((n,r)=>(_i(r).forEach(s=>{const o=n[s],i=r[s],a=l0(o)&&l0(i);n[s]=a?PS(o,i):i}),n),{})}function Sf(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function OD(e,t){const n={start:r,center:s,end:o};function r(){return 0}function s(l){return o(l)/2}function o(l){return t-l}function i(l,u){return bf(e)?n[e](l):e(t,l,u)}return{measure:i}}function Bi(){let e=[];function t(s,o,i,a={passive:!0}){let l;if("addEventListener"in s)s.addEventListener(o,i,a),l=()=>s.removeEventListener(o,i,a);else{const u=s;u.addListener(i),l=()=>u.removeListener(i)}return e.push(l),r}function n(){e=e.filter(s=>s())}const r={add:t,clear:n};return r}function VD(e,t,n,r){const s=Bi(),o=1e3/60;let i=null,a=0,l=0;function u(){s.add(e,"visibilitychange",()=>{e.hidden&&y()})}function c(){h(),s.clear()}function d(w){if(!l)return;
vendor: 11,932 bytes, line 150
150i||(i=w,n(),n());const m=w-i;for(i=w,a+=m;a>=o;)n(),a-=o;const g=a/o;r(g),l&&(l=t.requestAnimationFrame(d))}function f(){l||(l=t.requestAnimationFrame(d))}function h(){t.cancelAnimationFrame(l),i=null,a=0,l=0}function y(){i=null,a=0}return{init:u,destroy:c,start:f,stop:h,update:n,render:r}}function FD(e,t){const n=t==="rtl",r=e==="y",s=r?"y":"x",o=r?"x":"y",i=!r&&n?-1:1,a=c(),l=d();function u(y){const{height:v,width:w}=y;return r?v:w}function c(){return r?"top":n?"right":"left"}function d(){return r?"bottom":n?"left":"right"}function f(y){return y*i}return{scroll:s,cross:o,startEdge:a,endEdge:l,measureSize:u,direction:f}}function ds(e=0,t=0){const n=Se(e-t);function r(u){return u<e}function s(u){return u>t}function o(u){return r(u)||s(u)}function i(u){return o(u)?r(u)?e:t:u}function a(u){return n?u-n*Math.ceil((u-t)/n):u}return{length:n,max:t,min:e,constrain:i,reachedAny:o,reachedMax:s,reachedMin:r,removeOffset:a}}function NS(e,t,n){const{constrain:r}=ds(0,e),s=e+1;let o=i(t);function i(f){return n?Se((s+f)%s):r(f)}function a(){return o}function l(f){return o=i(f),d}function u(f){return c().set(a()+f)}function c(){return NS(e,a(),n)}const d={get:a,set:l,add:u,clone:c};return d}function _D(e,t,n,r,s,o,i,a,l,u,c,d,f,h,y,v,w,m,g){const{cross:x,direction:S}=e,E=["INPUT","SELECT","TEXTAREA"],C={passive:!1},T=Bi(),k=Bi(),P=ds(50,225).constrain(h.measure(20)),j={mouse:300,touch:400},M={mouse:500,touch:600},D=y?43:25;let B=!1,L=0,K=0,F=!1,H=!1,N=!1,A=!1;function V(U){if(!g)return;function te(Le){(Iu(g)||g(U,Le))&&de(Le)}const me=t;T.add(me,"dragstart",Le=>Le.preventDefault(),C).add(me,"touchmove",()=>{},C).add(me,"touchend",()=>{}).add(me,"touchstart",te).add(me,"mousedown",te).add(me,"touchcancel",ce).add(me,"contextmenu",ce).add(me,"click",xe,!0)}function W(){T.clear(),k.clear()}function z(){const U=A?n:t;k.add(U,"touchmove",Y,C).add(U,"touchend",ce).add(U,"mousemove",Y,C).add(U,"mouseup",ce)}function X(U){const te=U.nodeName||"";return E.includes(te)}function G(){return(y?M:j)[A?"mouse":"touch"]}function oe(U,te){const me=d.add(kp(U)*-1),Le=c.byDistance(U,!y).distance;return y||Se(U)<P?Le:w&&te?Le*.5:c.byIndex(me.get(),0).distance}function de(U){const te=Sf(U,r);A=te,N=y&&te&&!U.buttons&&B,B=ui(s.get(),i.get())>=2,!(te&&U.button!==0)&&(X(U.target)||(F=!0,o.pointerDown(U),u.useFriction(0).useDuration(0),s.set(i),z(),L=o.readPoint(U),K=o.readPoint(U,x),f.emit("pointerDown")))}function Y(U){if(!Sf(U,r)&&U.touches.length>=2)return ce(U);const me=o.readPoint(U),Le=o.readPoint(U,x),qe=ui(me,L),yt=ui(Le,K);if(!H&&!A&&(!U.cancelable||(H=qe>yt,!H)))return ce(U);const vt=o.pointerMove(U);qe>v&&(N=!0),u.useFriction(.3).useDuration(.75),a.start(),s.add(S(vt)),U.preventDefault()}function ce(U){const me=c.byDistance(0,!1).index!==d.get(),Le=o.pointerUp(U)*G(),qe=oe(S(Le),me),yt=LD(Le,qe),vt=D-10*yt,Ze=m+yt/50;H=!1,F=!1,k.clear(),u.useDuration(vt).useFriction(Ze),l.distance(qe,!y),A=!1,f.emit("pointerUp")}function xe(U){N&&(U.stopPropagation(),U.preventDefault(),N=!1)}function Ae(){return F}return{init:V,destroy:W,pointerDown:Ae}}function BD(e,t){let r,s;function o(d){return d.timeStamp}function i(d,f){const y=`client${(f||e.scroll)==="x"?"X":"Y"}`;return(Sf(d,t)?d:d.touches[0])[y]}function a(d){return r=d,s=d,i(d)}function l(d){const f=i(d)-i(s),h=o(d)-o(r)>170;return s=d,h&&(r=d),f}function u(d){if(!r||!s)return 0;const f=i(s)-i(r),h=o(d)-o(r),y=o(d)-o(s)>170,v=f/h;return h&&!y&&Se(v)>.1?v:0}return{pointerDown:a,pointerMove:l,pointerUp:u,readPoint:i}}function zD(){function e(n){const{offsetTop:r,offsetLeft:s,offsetWidth:o,offsetHeight:i}=n;return{top:r,right:s+o,bottom:r+i,left:s,width:o,height:i}}return{measure:e}}function $D(e){function t(r){return e*(r/100)}return{measure:t}}function WD(e,t,n,r,s,o,i){const a=[e].concat(r);let l,u,c=[],d=!1;function f(w){return s.measureSize(i.measure(w))}function h(w){if(!o)return;u=f(e),c=r.map(f);function m(g){for(const x of g){if(d)return;const S=x.target===e,E=r.indexOf(x.target),C=S?u:c[E],T=f(S?e:r[E]);if(Se(T-C)>=.5){w.reInit(),t.emit("resize");break}}}l=new ResizeObserver(g=>{(Iu(o)||o(w,g))&&m(g)}),n.requestAnimationFrame(()=>{a.forEach(g=>l.observe(g))})}function y(){d=!0,l&&l.disconnect()}return{init:h,destroy:y}}function UD(e,t,n,r,s,o){let i=0,a=0,l=s,u=o,c=e.get(),d=0;function f(){const C=r.get()-e.get(),T=!l;let k=0;return T?(i=0,n.set(r),e.set(r),k=C):(n.set(e),i+=C/l,i*=u,c+=i,e.add(i),k=c-d),a=kp(k),d=c,E}function h(){const C=r.get()-t.get();return Se(C)<.001}function y(){return l}function v(){return a}function w(){return i}function m(){return x(s)}function g(){return S(o)}function x(C){return l=C,E}function S(C){return u=C,E}const E={direction:v,duration:y,velocity:w,seek:f,settled:h,useBaseFriction:g,useBaseDuration:m,useFriction:S,useDuration:x};return E}function HD(e,t,n,r,s){const o=s.measure(10),i=s.measure(50),a=ds(.1,.99);let l=!1;function u(){return!(l||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function c(h){if(!u())return;const y=e.reachedMin(t.get())?"min":"max",v=Se(e[y]-t.get()),w=n.get()-t.get(),m=a.constrain(v/i);n.subtract(w*m),!h&&Se(w)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function d(h){l=!h}return{shouldConstrain:u,constrain:c,toggleActive:d}}function KD(e,t,n,r,s){const o=ds(-t+e,0),i=d(),a=c(),l=f();function u(y,v){return ui(y,v)<=1}function c(){const y=i[0],v=rn(i),w=i.lastIndexOf(y),m=i.indexOf(v)+1;return ds(w,m)}function d(){return n.map((y,v)=>{const{min:w,max:m}=o,g=o.constrain(y),x=!v,S=Pp(n,v);return x?m:S||u(w,g)?w:u(m,g)?m:g}).map(y=>parseFloat(y.toFixed(3)))}function f(){if(t<=e+s)return[o.max];if(r==="keepSnaps")return i;const{min:y,max:v}=a;return i.slice(y,v)}return{snapsContained:l,scrollContainLimit:a}}function GD(e,t,n){const r=t[0],s=n?r-e:rn(t);return{limit:ds(s,r)}}function YD(e,t,n,r){const o=t.min+.1,i=t.max+.1,{reachedMin:a,reachedMax:l}=ds(o,i);function u(f){return f===1?l(n.get()):f===-1?a(n.get()):!1}function c(f){if(!u(f))return;const h=e*(f*-1);r.forEach(y=>y.add(h))}return{loop:c}}function XD(e){const{max:t,length:n}=e;function r(o){const i=o-t;return n?i/-n:0}return{get:r}}function QD(e,t,n,r,s){const{startEdge:o,endEdge:i}=e,{groupSlides:a}=s,l=d().map(t.measure),u=f(),c=h();function d(){return a(r).map(v=>rn(v)[i]-v[0][o]).map(Se)}function f(){return r.map(v=>n[o]-v[o]).map(v=>-Se(v))}function h(){return a(u).map(v=>v[0]).map((v,w)=>v+l[w])}return{snaps:u,snapsAligned:c}}function qD(e,t,n,r,s,o){const{groupSlides:i}=s,{min:a,max:l}=r,u=c();function c(){const f=i(o),h=!e||t==="keepSnaps";return n.length===1?[o]:h?f:f.slice(a,l).map((y,v,w)=>{const m=!v,g=Pp(w,v);if(m){const x=rn(w[0])+1;return u0(x)}if(g){const x=ra(o)-rn(w)[0]+1;return u0(x,rn(w)[0])}return y})}return{slideRegistry:u}}function ZD(e,t,n,r,s){const{reachedAny:o,removeOffset:i,constrain:a}=r;function l(y){return y.concat().sort((v,w)=>Se(v)-Se(w))[0]}function u(y){const v=e?i(y):a(y),w=t.map((g,x)=>({diff:c(g-v,0),index:x})).sort((g,x)=>Se(g.diff)-Se(x.diff)),{index:m}=w[0];return{index:m,distance:v}}function c(y,v){const w=[y,y+n,y-n];if(!e)return y;if(!v)return l(w);const m=w.filter(g=>kp(g)===v);return m.length?l(m):rn(w)-n}function d(y,v){const w=t[y]-s.get(),m=c(w,v);return{index:y,distance:m}}function f(y,v){const w=s.get()+y,{index:m,distance:g}=u(w),x=!e&&o(w);if(!v||x)return{index:m,distance:y};const S=t[m]-g,E=y+c(S,0);return{index:m,distance:E}}return{byDistance:f,byIndex:d,shortcut:c}}function JD(e,t,n,r,s,o,i){function a(d){const f=d.distance,h=d.index!==t.get();o.add(f),f&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),h&&(n.set(t.get()),t.set(d.index),i.emit("select"))}function l(d,f){const h=s.byDistance(d,f);a(h)}function u(d,f){const h=t.clone().set(d),y=s.byIndex(h.get(),f);a(y)}return{distance:l,index:u}}function eL(e,t,n,r,s,o,i,a){const l={passive:!0,capture:!0};let u=0;function c(h){if(!a)return;function y(v){if(new Date().getTime()-u>10)return;i.emit("slideFocusStart"),e.scrollLeft=0;const g=n.findIndex(x=>x.includes(v));Tp(g)&&(s.useDuration(0),r.index(g,0),i.emit("slideFocus"))}o.add(document,"keydown",d,!1),t.forEach((v,w)=>{o.add(v,"focus",m=>{(Iu(a)||a(h,m))&&y(w)},l)})}function d(h){h.code==="Tab"&&(u=new Date().getTime())}return{init:c}}function Ko(e){let t=e;function n(){return t}function r(l){t=i(l)}function s(l){t+=i(l)}function o(l){t-=i(l)}function i(l){return Tp(l)?l:l.get()}return{get:n,set:r,add:s,subtract:o}}function jS(e,t){const n=e.scroll==="x"?i:a,r=t.style;let s=null,o=!1;function i(f){return`translate3d(${f}px,0px,0px)`}function a(f){return`translate3d(0px,${f}px,0px)`}function l(f){if(o)return;const h=ID(e.direction(f));h!==s&&(r.transform=n(h),s=h)}function u(f){o=!f}function c(){o||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:c,to:l,toggleActive:u}}function tL(e,t,n,r,s,o,i,a,l){const c=Fi(s),d=Fi(s).reverse(),f=m().concat(g());function h(T,k){return T.reduce((P,j)=>P-s[j],k)}function y(T,k){return T.reduce((P,j)=>h(P,k)>0?P.concat([j]):P,[])}function v(T){return o.map((k,P)=>({start:k-r[P]+.5+T,end:k+t-.5+T}))}function w(T,k,P){const j=v(k);return T.map(M=>{const D=P?0:-n,B=P?n:0,L=P?"end":"start",K=j[M][L];return{index:M,loopPoint:K,slideLocation:Ko(-1),translate:jS(e,l[M]),target:()=>a.get()>K?D:B}})}function m(){const T=i[0],k=y(d,T);return w(k,n,!1)}function g(){const T=t-i[0]-1,k=y(c,T);return w(k,-n,!0)}function x(){return f.every(({index:T})=>{const k=c.filter(P=>P!==T);return h(k,t)<=.1})}function S(){f.forEach(T=>{const{target:k,translate:P,slideLocation:j}=T,M=k();M!==j.get()&&(P.to(M),j.set(M))})}function E(){f.forEach(T=>T.translate.clear())}return{canLoop:x,clear:E,loop:S,loopPoints:f}}function nL(e,t,n){let r,s=!1;function o(l){if(!n)return;function u(c){for(const d of c)if(d.type==="childList"){l.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(c=>{s||(Iu(n)||n(l,c))&&u(c)}),r.observe(e,{childList:!0})}function i(){r&&r.disconnect(),s=!0}return{init:o,destroy:i}}function rL(e,t,n,r){const s={};let o=null,i=null,a,l=!1;function u(){a=new IntersectionObserver(y=>{l||(y.forEach(v=>{const w=t.indexOf(v.target);s[w]=v}),o=null,i=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(y=>a.observe(y))}function c(){a&&a.disconnect(),l=!0}function d(y){return _i(s).reduce((v,w)=>{const m=parseInt(w),{isIntersecting:g}=s[m];return(y&&g||!y&&!g)&&v.push(m),v},[])}function f(y=!0){if(y&&o)return o;if(!y&&i)return i;const v=d(y);return y&&(o=v),y||(i=v),v}return{init:u,destroy:c,get:f}}function sL(e,t,n,r,s,o){const{measureSize:i,startEdge:a,endEdge:l}=e,u=n[0]&&s,c=y(),d=v(),f=n.map(i),h=w();function y(){if(!u)return 0;const g=n[0];return Se(t[a]-g[a])}function v(){if(!u)return 0;const g=o.getComputedStyle(rn(r));return parseFloat(g.getPropertyValue(`margin-${l}`))}function w(){return n.map((g,x,S)=>{const E=!x,C=Pp(S,x);return E?f[x]+c:C?f[x]+d:S[x+1][a]-g[a]}).map(Se)}return{slideSizes:f,slideSizesWithGaps:h,startGap:c,endGap:d}}function oL(e,t,n,r,s,o,i,a,l){const{startEdge:u,endEdge:c,direction:d}=e,f=Tp(n);function h(m,g){return Fi(m).filter(x=>x%g===0).map(x=>m.slice(x,x+g))}function y(m){return m.length?Fi(m).reduce((g,x,S)=>{const E=rn(g)||0,C=E===0,T=x===ra(m),k=s[u]-o[E][u],P=s[u]-o[x][c],j=!r&&C?d(i):0,M=!r&&T?d(a):0,D=Se(P-M-(k+j));return S&&D>t+l&&g.push(x),T&&g.push(m.length),g},[]).map((g,x,S)=>{const E=Math.max(S[x-1]||0);return m.slice(E,g)}):[]}function v(m){return f?h(m,n):y(m)}return{groupSlides:v}}function iL(e,t,n,r,s,o,i){const{align:a,axis:l,direction:u,startIndex:c,loop:d,duration:f,dragFree:h,dragThreshold:y,inViewThreshold:v,slidesToScroll:w,skipSnaps:m,containScroll:g,watchResize:x,watchSlides:S,watchDrag:E,watchFocus:C}=o,T=2,k=zD(),P=k.measure(t),j=n.map(k.measure),M=FD(l,u),D=M.measureSize(P),B=$D(D),L=OD(a,D),K=!d&&!!g,F=d||!!g,{slideSizes:H,slideSizesWithGaps:N,startGap:A,endGap:V}=sL(M,P,j,n,F,s),W=oL(M,D,w,d,P,j,A,V,T),{snaps:z,snapsAligned:X}
vendor: 7,080 bytes, line 150
150=QD(M,L,P,j,W),G=-rn(z)+rn(N),{snapsContained:oe,scrollContainLimit:de}=KD(D,G,X,g,T),Y=K?oe:X,{limit:ce}=GD(G,Y,d),xe=NS(ra(Y),c,d),Ae=xe.clone(),ie=Fi(n),U=({dragHandler:Bt,scrollBody:Po,scrollBounds:ms,options:{loop:Un}})=>{Un||ms.constrain(Bt.pointerDown()),Po.seek()},te=({scrollBody:Bt,translate:Po,location:ms,offsetLocation:Un,previousLocation:Hn,scrollLooper:aa,slideLooper:Kn,dragHandler:Fu,animation:_u,eventHandler:No,scrollBounds:la,options:{loop:ua}},gs)=>{const zt=Bt.settled(),Bu=!la.shouldConstrain(),Q=ua?zt:zt&&Bu,ae=Q&&!Fu.pointerDown();ae&&_u.stop();const fe=ms.get()*gs+Hn.get()*(1-gs);Un.set(fe),ua&&(aa.loop(Bt.direction()),Kn.loop()),Po.to(Un.get()),ae&&No.emit("settle"),Q||No.emit("scroll")},me=VD(r,s,()=>U(ko),Bt=>te(ko,Bt)),Le=.68,qe=Y[xe.get()],yt=Ko(qe),vt=Ko(qe),Ze=Ko(qe),cn=Ko(qe),Ft=UD(yt,Ze,vt,cn,f,Le),ps=ZD(d,Y,G,ce,cn),_t=JD(me,xe,Ae,Ft,ps,cn,i),oa=XD(ce),ia=Bi(),it=rL(t,n,i,v),{slideRegistry:kn}=qD(K,g,Y,de,W,ie),Vu=eL(e,n,kn,_t,Ft,ia,i,C),ko={ownerDocument:r,ownerWindow:s,eventHandler:i,containerRect:P,slideRects:j,animation:me,axis:M,dragHandler:_D(M,e,r,s,cn,BD(M,s),yt,me,_t,Ft,ps,xe,i,B,h,y,m,Le,E),eventStore:ia,percentOfView:B,index:xe,indexPrevious:Ae,limit:ce,location:yt,offsetLocation:Ze,previousLocation:vt,options:o,resizeHandler:WD(t,i,s,n,M,x,k),scrollBody:Ft,scrollBounds:HD(ce,Ze,cn,Ft,B),scrollLooper:YD(G,ce,Ze,[yt,Ze,vt,cn]),scrollProgress:oa,scrollSnapList:Y.map(oa.get),scrollSnaps:Y,scrollTarget:ps,scrollTo:_t,slideLooper:tL(M,D,G,H,N,z,Y,Ze,n),slideFocus:Vu,slidesHandler:nL(t,i,S),slidesInView:it,slideIndexes:ie,slideRegistry:kn,slidesToScroll:W,target:cn,translate:jS(M,t)};return ko}function aL(){let e={},t;function n(u){t=u}function r(u){return e[u]||[]}function s(u){return r(u).forEach(c=>c(t,u)),l}function o(u,c){return e[u]=r(u).concat([c]),l}function i(u,c){return e[u]=r(u).filter(d=>d!==c),l}function a(){e={}}const l={init:n,emit:s,off:i,on:o,clear:a};return l}const lL={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function uL(e){function t(o,i){return PS(o,i||{})}function n(o){const i=o.breakpoints||{},a=_i(i).filter(l=>e.matchMedia(l).matches).map(l=>i[l]).reduce((l,u)=>t(l,u),{});return t(o,a)}function r(o){return o.map(i=>_i(i.breakpoints||{})).reduce((i,a)=>i.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function cL(e){let t=[];function n(o,i){return t=i.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(o,e)),i.reduce((a,l)=>Object.assign(a,{[l.name]:l}),{})}function r(){t=t.filter(o=>o.destroy())}return{init:n,destroy:r}}function Xl(e,t,n){const r=e.ownerDocument,s=r.defaultView,o=uL(s),i=cL(o),a=Bi(),l=aL(),{mergeOptions:u,optionsAtMedia:c,optionsMediaQueries:d}=o,{on:f,off:h,emit:y}=l,v=M;let w=!1,m,g=u(lL,Xl.globalOptions),x=u(g),S=[],E,C,T;function k(){const{container:ie,slides:U}=x;C=(bf(ie)?e.querySelector(ie):ie)||e.children[0];const me=bf(U)?C.querySelectorAll(U):U;T=[].slice.call(me||C.children)}function P(ie){const U=iL(e,C,T,r,s,ie,l);if(ie.loop&&!U.slideLooper.canLoop()){const te=Object.assign({},ie,{loop:!1});return P(te)}return U}function j(ie,U){w||(g=u(g,ie),x=c(g),S=U||S,k(),m=P(x),d([g,...S.map(({options:te})=>te)]).forEach(te=>a.add(te,"change",M)),x.active&&(m.translate.to(m.location.get()),m.animation.init(),m.slidesInView.init(),m.slideFocus.init(Ae),m.eventHandler.init(Ae),m.resizeHandler.init(Ae),m.slidesHandler.init(Ae),m.options.loop&&m.slideLooper.loop(),C.offsetParent&&T.length&&m.dragHandler.init(Ae),E=i.init(Ae,S)))}function M(ie,U){const te=W();D(),j(u({startIndex:te},ie),U),l.emit("reInit")}function D(){m.dragHandler.destroy(),m.eventStore.clear(),m.translate.clear(),m.slideLooper.clear(),m.resizeHandler.destroy(),m.slidesHandler.destroy(),m.slidesInView.destroy(),m.animation.destroy(),i.destroy(),a.clear()}function B(){w||(w=!0,a.clear(),D(),l.emit("destroy"),l.clear())}function L(ie,U,te){!x.active||w||(m.scrollBody.useBaseFriction().useDuration(U===!0?0:x.duration),m.scrollTo.index(ie,te||0))}function K(ie){const U=m.index.add(1).get();L(U,ie,-1)}function F(ie){const U=m.index.add(-1).get();L(U,ie,1)}function H(){return m.index.add(1).get()!==W()}function N(){return m.index.add(-1).get()!==W()}function A(){return m.scrollSnapList}function V(){return m.scrollProgress.get(m.offsetLocation.get())}function W(){return m.index.get()}function z(){return m.indexPrevious.get()}function X(){return m.slidesInView.get()}function G(){return m.slidesInView.get(!1)}function oe(){return E}function de(){return m}function Y(){return e}function ce(){return C}function xe(){return T}const Ae={canScrollNext:H,canScrollPrev:N,containerNode:ce,internalEngine:de,destroy:B,off:h,on:f,emit:y,plugins:oe,previousScrollSnap:z,reInit:v,rootNode:Y,scrollNext:K,scrollPrev:F,scrollProgress:V,scrollSnapList:A,scrollTo:L,selectedScrollSnap:W,slideNodes:xe,slidesInView:X,slidesNotInView:G};return j(t,n),setTimeout(()=>l.emit("init"),0),Ae}Xl.globalOptions=void 0;function Np(e={},t=[]){const n=b.useRef(e),r=b.useRef(t),[s,o]=b.useState(),[i,a]=b.useState(),l=b.useCallback(()=>{s&&s.reInit(n.current,r.current)},[s]);return b.useEffect(()=>{Cp(n.current,e)||(n.current=e,l())},[e,l]),b.useEffect(()=>{DD(r.current,t)||(r.current=t,l())},[t,l]),b.useEffect(()=>{if(MD()&&i){Xl.globalOptions=Np.globalOptions;const u=Xl(i,n.current,r.current);return o(u),()=>u.destroy()}else o(void 0)},[i,o]),[a,s]}Np.globalOptions=void 0;var dL=Symbol.for("react.lazy"),Ql=Nf[" use ".trim().toString()];function fL(e){return typeof e=="object"&&e!==null&&"then"in e}function AS(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===dL&&"_payload"in e&&fL(e._payload)}function hL(e){const t=mL(e),n=b.forwardRef((r,s)=>{let{children:o,...i}=r;AS(o)&&typeof Ql=="function"&&(o=Ql(o._payload));const a=b.Children.toArray(o),l=a.find(yL);if(l){const u=l.props.children,c=a.map(d=>d===l?b.Children.count(u)>1?b.Children.only(null):b.isValidElement(u)?u.props.children:null:d);return p.jsx(t,{...i,ref:s,children:b.isValidElement(u)?b.cloneElement(u,void 0,c):null})}return p.jsx(t,{...i,ref:s,children:o})});return n.displayName=`${e}.Slot`,n}var pL=hL("Slot");function mL(e){const t=b.forwardRef((n,r)=>{let{children:s,...o}=n;if(AS(s)&&typeof Ql=="function"&&(s=Ql(s._payload)),b.isValidElement(s)){const i=xL(s),a=vL(o,s.props);return s.type!==b.Fragment&&(a.ref=r?hu(r,i):i),b.cloneElement(s,a)}return b.Children.count(s)>1?b.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var gL=Symbol("radix.slottable");function yL(e){return b.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===gL}function vL(e,t){const n={...t};for(const r in t){const s=e[r],o=t[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...a)=>{const l=o(...a);return s(...a),l}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}
150:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function xL(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)}const wL=bw("inline-flex items-center justify-center gap-2 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{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",hero:"btn-gradient px-6 py-3 text-base",heroOutline:"border border-hero-foreground/30 text-hero-foreground hover:bg-hero-foreground/10 backdrop-blur-sm"},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"}}),jp=b.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},o)=>{const i=r?pL:"button";return p.jsx(i,{className:le(wL({variant:t,size:n,className:e})),ref:o,...s})});jp.displayName="Button";const RS=b.createContext(null);function Ou(){const e=b.useContext(RS);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const bo=b.forwardRef(({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:s,children:o,...i},a)=>{const[l,u]=Np({...t,axis:e==="horizontal"?"x":"y"},r),[c,d]=b.useState(!1),[f,h]=b.useState(!1),y=b.useCallback(g=>{g&&(d(g.canScrollPrev()),h(g.canScrollNext()))},[]),v=b.useCallback(()=>{u==null||u.scrollPrev()},[u]),w=b.useCallback(()=>{u==null||u.scrollNext()},[u]),m=b.useCallback(g=>{g.key==="ArrowLeft"?(g.preventDefault(),v()):g.key==="ArrowRight"&&(g.preventDefault(),w())},[v,w]);return b.useEffect(()=>{!u||!n||n(u)},[u,n]),b.useEffect(()=>{if(u)return y(u),u.on("reInit",y),u.on("select",y),()=>{u==null||u.off("select",y)}},[u,y]),p.jsx(RS.Provider,{value:{carouselRef:l,api:u,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:w,canScrollPrev:c,canScrollNext:f},children:p.jsx("div",{ref:a,onKeyDownCapture:m,className:le("relative",s),role:"region","aria-roledescription":"carousel",...i,children:o})})});bo.displayName="Carousel";const So=b.forwardRef(({className:e,...t},n)=>{const{carouselRef:r,orientation:s}=Ou();return p.jsx("div",{ref:r,className:"overflow-hidden",children:p.jsx("div",{ref:n,className:le("flex",s==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});So.displayName="CarouselContent";const Eo=b.forwardRef(({className:e,...t},n)=>{const{orientation:r}=Ou();return p.jsx("div",{ref:n,role:"group","aria-roledescription":"slide",className:le("min-w-0 shrink-0 grow-0 basis-full",r==="horizontal"?"pl-4":"pt-4",e),...t})});Eo.displayName="CarouselItem";const Co=b.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},s)=>{const{orientation:o,scrollPrev:i,canScrollPrev:a}=Ou();return p.jsxs(jp,{ref:s,variant:t,size:n,className:le("absolute h-8 w-8 rounded-full",o==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!a,onClick:i,...r,children:[p.jsx(dT,{className:"h-4 w-4"}),p.jsx("span",{className:"sr-only",children:"Previous slide"})]})});Co.displayName="CarouselPrevious";const To=b.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},s)=>{const{orientation:o,scrollNext:i,canScrollNext:a}=Ou();return p.jsxs(jp,{ref:s,variant:t,size:n,className:le("absolute h-8 w-8 rounded-full",o==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!a,onClick:i,...r,children:[p.jsx(oo,{className:"h-4 w-4"}),p.jsx("span",{className:"sr-only",children:"Next slide"})]})});
150To.displayName="CarouselNext";const bL="/assets/step-1-B0LW5t3s.png",SL="/assets/step-2-BD3vLTrW.png",EL="/assets/step-3-DclHHbLh.png",c0=[{step:"01",title:"Visit TempWallets",description:"Visit the web app on desktop or mobile. No extensions or installations required.",icon:bL,glassBg:"rgba(201, 190, 209, 0.15)",glassBorder:"rgba(171, 134, 170, 0.25)",hoverGlow:"rgba(201, 190, 209, 0.25)"},{step:"02",title:"Get an Instant Wallet",description:"A disposable wallet is created instantly for secure and isolated interactions.",icon:SL,glassBg:"rgba(160, 76, 150, 0.12)",glassBorder:"rgba(160, 76, 150, 0.22)",hoverGlow:"rgba(160, 76, 150, 0.2)"},{step:"03",title:"Connect or Receive Funds",description:"Connect to dApps, scan QR, or receive crypto without exposing your main wallet.",icon:EL,glassBg:"rgba(104, 99, 121, 0.14)",glassBorder:"rgba(104, 99, 121, 0.25)",hoverGlow:"rgba(104, 99, 121, 0.22)"}],CL=({src:e,alt:t})=>{const n=bp(),r=b.useRef(null),s=Lu(r,{once:!0,margin:"-80px"});return b.useEffect(()=>{s&&n.start({y:[0,-12,0],rotate:[0,4,-4,0],scale:[1,1.1,1],transition:{duration:2,ease:"easeInOut"}})},[s,n]),p.jsx(Z.div,{ref:r,animate:n,className:"flex items-center justify-center py-4",children:p.jsx("img",{src:e,alt:t,className:"w-28 h-28 md:w-32 md:h-32 object-contain drop-shadow-2xl",loading:"lazy"})})},d0=({step:e,i:t})=>p.jsx(Z.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:t*.15},className:"group h-full p-2",style:{height:"100%"},children:p.jsx("div",{className:"w-full h-full",children:p.jsx(Sp,{containerClassName:"w-full h-full",children:p.jsxs(Ep,{className:"relative w-full rounded-3xl p-6 md:p-8 flex flex-col items-center text-center justify-between transition-all duration-500 ease-out group-hover:scale-[1.03]",style:{background:e.glassBg,backdropFilter:"blur(24px)",WebkitBackdropFilter:"blur(24px)",border:`1px solid ${e.glassBorder}`,boxShadow:"0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6)",height:"100%",minHeight:"360px"},children:[p.jsx("div",{className:"absolute inset-0 rounded-3xl opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none",style:{background:`radial-gradient(ellipse at 50% 0%, ${e.hoverGlow}, transparent 70%)`}}),p.jsxs(In,{translateZ:20,className:"w-full relative z-10",children:[p.jsxs("span",{className:"text-xs text-muted-foreground tracking-[0.25em] font-semibold uppercase block text-center",children:["Step ",e.step]}),p.jsx("h3",{className:"mt-3 font-display text-[1.4rem] md:text-[1.6rem] text-foreground font-bold leading-tight text-center",children:e.title})]}),p.jsx(In,{translateZ:40,className:"w-full relative z-10",children:p.jsx(CL,{src:e.icon,alt:e.title})}),p.jsx(In,{translateZ:15,className:"w-full relative z-10",children:p.jsx("p",{className:"text-foreground/80 leading-relaxed text-center font-medium text-base",children:e.description})})]})})})}),TL=()=>p.jsx("section",{id:"how-it-works",className:"bg-background border-t border-border/40 py-12 sm:py-20 lg:py-[100px] px-4",children:p.jsxs("div",{className:"max-w-7xl mx-auto w-full",children:[p.jsxs(Z.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.5},className:"text-center mb-8 sm:mb-16",children:[p.jsx("h2",{className:"sm:text-[2.5rem] md:text-[3.5rem] font-bold text-foreground leading-[1.05] tracking-tight text-4xl font-sans",children:"How It Works"}),p.jsx("p",{className:"mt-3 text-base md:text-lg max-w-2xl mx-auto leading-relaxed text-secondary-foreground",children:"Three simple steps to get your instant disposable wallet."})]}),p.jsx("div",{className:"block md:hidden",children:p.jsxs(bo,{opts:{align:"start",loop:!1,dragFree:!0,watchDrag:!0},className:"w-full select-none",children:[p.jsx(So,{className:"-ml-3 touch-pan-y py-2",style:{alignItems:"stretch"},children:c0.map((e,t)=>p.jsx(Eo,{className:"pl-3 basis-[85%] h-[420px]",children:p.jsx(d0,{step:e,i:t})},e.step))}),p.jsxs("div",{className:"flex items-center justify-center gap-3 mt-4",children:[p.jsx(Co,{className:"relative static translate-y-0 left-auto top-auto w-9 h-9 rounded-full border border-border/60 bg-background/80 shadow-sm hover:bg-background",children:p.jsx(Ch,{size:16})}),p.jsx("span",{className:"text-xs text-muted-foreground opacity-60",children:"Swipe to explore"}),p.jsx(To,{className:"relative static translate-y-0 right-auto top-auto w-9 h-9 rounded-full border border-border/60 bg-background/80 shadow-sm hover:bg-background",children:p.jsx(Th,{size:16})})]})]})}),p.jsx("div",{className:"hidden md:grid grid-cols-3 gap-6 lg:gap-8 py-2 px-1",children:c0.map((e,t)=>p.jsx(d0,{step:e,i:t},e.step))})]})}),kL="/assets/feature-icon-1-DpDfdRp9.png",PL="/assets/feature-icon-2-1UOX8i1h.png",NL="/assets/feature-icon-3-DQousHbD.png",jL="/assets/feature-icon-4-DON16v_t.png",f0=[{title:"Instant Temporary Wallets",description:"Create the disposable wallets instantly without installation or seed phrases.",icon:kL,glassBg:"rgba(201, 190, 209, 0.15)",glassBorder:"rgba(171, 134, 170, 0.25)",hoverGlow:"rgba(201, 190, 209, 0.25)"},{title:"Multi-Chain Support",description:"Interact across multiple EVM and non-EVM blockchain networks seamlessly.",icon:PL,glassBg:"rgba(160, 76, 150, 0.12)",glassBorder:"rgba(160, 76, 150, 0.22)",hoverGlow:"rgba(160, 76, 150, 0.2)"},{title:"Connect to DApps",description:"Connect via WalletConnect or QR code to interact with decentralized applications.",icon:NL,glassBg:"rgba(104, 99, 121, 0.14)",glassBorder:"rgba(104, 99, 121, 0.25)",hoverGlow:"rgba(104, 99, 121, 0.22)"},{title:"Gasless Transactions",description:"Execute the transactions without worrying about gas setup or native tokens.",icon:jL,glassBg:"rgba(65, 22, 58, 0.15)",glassBorder:"rgba(65, 22, 58, 0.3)",hoverGlow:"rgba(65, 22, 58, 0.25)"}],AL=({src:e,alt:t})=>{const n=bp(),r=b.useRef(null),s=Lu(r,{once:!0,margin:"-80px"});return b.useEffect(()=>{s&&n.start({y:[0,-12,0],rotate:[0,6,-6,0],scale:[1,1.1,1],transition:{duration:2,ease:"easeInOut"}})},[s,n]),p.jsx(Z.div,{ref:r,animate:n,className:"flex items-center justify-center md:py-[32px] py-[30px]",children:p.jsx("img",{src:e,alt:t,className:"w-20 h-20 md:w-24 md:h-24 object-contain drop-shadow-lg",loading:"lazy"})})},h0=({f:e,i:t})=>p.jsx(Z.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:t*.1},className:"group h-full p-2",children:p.jsx(Sp,{containerClassName:"w-full h-full",children:p.jsxs(Ep,{className:"relative w-full rounded-3xl p-6 md:p-8 flex flex-col items-center text-center justify-between transition-all duration-500 ease-out group-hover:scale-[1.03] h-full min-h-[280px] md:h-[360px]",style:{background:e.glassBg,backdropFilter:"blur(24px)",WebkitBackdropFilter:"blur(24px)",border:`1px solid ${e.glassBorder}`,boxShadow:"0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6)"},children:[p.jsx("div",{className:"absolute inset-0 rounded-3xl opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none",style:{background:`radial-gradient(ellipse at 50% 0%, ${e.hoverGlow}, transparent 70%)`}}),p.jsx(In,{translateZ:20,className:"w-full relative z-10",children:p.jsx("h3",{className:"font-display md:text-xl font-bold text-foreground leading-tight text-center text-xl",children:e.title})}),p.jsx(In,{translateZ:40,className:"w-full relative z-10",children:p.jsx(AL,{src:e.icon,alt:e.title})}),p.jsx(In,{translateZ:15,className:"w-full relative z-10",children:p.jsx("p",{className:"leading-relaxed text-center font-medium text-secondary-foreground text-base",children:e.description})})]})})}
150,e.title),RL=()=>p.jsx("section",{id:"features",className:"bg-background border-t border-border/40 py-12 sm:py-20 lg:py-[100px] px-4",children:p.jsxs("div",{className:"max-w-7xl mx-auto w-full",children:[p.jsxs(Z.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.5},className:"mb-8 sm:mb-14 text-center",children:[p.jsx("h2",{className:"sm:text-[2.5rem] md:text-[3.5rem] font-bold text-foreground leading-[1.05] tracking-tight font-sans text-4xl",children:"Features"}),p.jsx("p",{className:"mt-3 text-base md:text-lg max-w-2xl leading-relaxed mx-auto text-secondary-foreground",children:"Everything you need. Nothing you don't."})]}),p.jsx("div",{className:"block md:hidden",children:p.jsxs(bo,{opts:{align:"start",loop:!1,dragFree:!0,watchDrag:!0},className:"w-full select-none",children:[p.jsx(So,{className:"-ml-3 touch-pan-y py-2",children:f0.map((e,t)=>p.jsx(Eo,{className:"pl-3 basis-[85%]",children:p.jsx(h0,{f:e,i:t})},e.title))}),p.jsxs("div",{className:"flex items-center justify-center gap-3 mt-4",children:[p.jsx(Co,{className:"relative static translate-y-0 left-auto top-auto w-9 h-9 rounded-full border border-border/60 bg-background/80 shadow-sm hover:bg-background",children:p.jsx(Ch,{size:16})}),p.jsx("span",{className:"text-xs text-muted-foreground opacity-60",children:"Swipe to explore"}),p.jsx(To,{className:"relative static translate-y-0 right-auto top-auto w-9 h-9 rounded-full border border-border/60 bg-background/80 shadow-sm hover:bg-background",children:p.jsx(Th,{size:16})})]})]})}),p.jsx("div",{className:"hidden md:grid grid-cols-2 lg:grid-cols-4 gap-
1505 py-2 px-1",children:f0.map((e,t)=>p.jsx(h0,{f:e,i:t},e.title))})]})}),ML="/assets/why-icon-1-CoJ9M2lf.png",DL="/assets/why-icon-2-DX-eo223.png",LL="/assets/why-icon-3-CJmyOWr5.png",IL="/assets/why-icon-4-thjaYxJW.png",p0=[{icon:ML,title:"Try DApps Safely",description:"Test new protocols and experimental apps without risking your primary wallet.",glassBg:"rgba(201, 190, 209, 0.08)",glassBorder:"rgba(171, 134, 170, 0.2)",hoverGlow:"rgba(201, 190, 209, 0.25)"},{icon:DL,title:"Low Commitment",description:"No long seed phrases, complex passwords, or complicated onboarding.",glassBg:"rgba(160, 76, 150, 0.06)",glassBorder:"rgba(160, 76, 150, 0.18)",hoverGlow:"rgba(160, 76, 150, 0.2)"},{icon:LL,title:"Perfect for Explorers",description:"Perfect for developers, testers, and airdrop hunters exploring new ecosystems.",glassBg:"rgba(104, 99, 121, 0.08)",glassBorder:"rgba(104, 99, 121, 0.2)",hoverGlow:"rgba(104, 99, 121, 0.22)"},{icon:IL,title:"Ideal for Payments",description:"Just send or Receive crypto without exposing your permanent address.",glassBg:"rgba(65, 22, 58, 0.08)",glassBorder:"rgba(65, 22, 58, 0.25)",hoverGlow:"rgba(65, 22, 58, 0.25)"}],OL=({src:e,alt:t})=>{const n=bp(),r=b.useRef(null),s=Lu(r,{once:!0,margin:"-80px"});return b.useEffect(()=>{s&&n.start({y:[0,-12,0],rotate:[0,6,-6,0],scale:[1,1.1,1],transition:{duration:2,ease:"easeInOut"}})},[s,n]),p.jsx(Z.div,{ref:r,animate:n,className:"flex items-center justify-center md:py-[32px] py-[30px]",children:p.jsx("img",{src:e,alt:t,className:"w-20 h-20 md:w-24 md:h-24 object-contain drop-shadow-lg",loading:"lazy"})})},m0=({r:e,i:t})=>p.jsx(Z.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:t*.1},className:"group h-full p-2",children:p.jsx(Sp,{containerClassName:"w-full h-full",children:p.jsxs(Ep,{className:"relative w-full rounded-3xl p-6 md:p-8 flex flex-col items-center text-center justify-between transition-all duration-500 ease-out group-hover:scale-[1.03] h-full min-h-[280px] md:min-h-[330px]",style:{background:e.glassBg,backdropFilter:"blur(24px)",WebkitBackdropFilter:"blur(24px)",border:`1px solid ${e.glassBorder}`,boxShadow:"0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6)"},children:[p.jsx("div",{className:"absolute inset-0 rounded-3xl opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none",style:{background:`radial-gradient(ellipse at 50% 0%, ${e.hoverGlow}, transparent 70%)`}}),p.jsx(In,{translateZ:20,className:"w-full relative z-10",children:p.jsx("h3",{className:"font-display md:text-xl font-bold text-foreground leading-tight text-center text-xl",children:e.title})}),p.jsx(In,{translateZ:40,className:"w-full relative z-10",children:p.jsx(OL,{src:e.icon,alt:e.title})}),p.jsx(In,{translateZ:15,className:"w-full relative z-10",children:p.jsx("p",{className:"leading-relaxed text-center text-secondary-foreground font-medium text-base",children:e.description})})]})})}),VL=()=>p.jsx("section",{className:"bg-background border-t border-border/40 py-12 sm:py-20 lg:py-[100px] px-4",children:p.jsxs("div",{className:"max-w-7xl mx-auto w-full",children:[p.jsxs(Z.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.5},className:"mb-8 sm:mb-14 text-center",children:[p.jsx("h2",{className:"text-[2rem] sm:text-[2.5rem] md:text-[3.5rem] font-bold text-foreground leading-[1.05] tracking-tight font-sans",children:"Why TempWallets?"}),p.jsx("p",{className:"mt-3 text-base md:text-lg max-w-2xl leading-relaxed mx-auto text-secondary-foreground",children:"Built for real use. Designed to be simple."})]}),p.jsx("div",{className:"block md:hidden",children:p.jsxs(bo,{opts:{align:"start",loop:!1,dragFree:!0,watchDrag:!0},className:"w-full select-none",children:[p.jsx(So,{className:"-ml-3 touch-pan-y py-2",children:p0.map((e,t)=>p.jsx(Eo,{className:"pl-3 basis-[85%]",children:p.jsx(m0,{r:e,i:t})},e.title))}),p.jsxs("div",{className:"flex items-center justify-center gap-3 mt-4",children:[p.jsx(Co,{className:"relative static translate-y-0 left-auto top-auto w-9 h-9 rounded-full border border-border/60 bg-background/80 shadow-sm hover:bg-background"}),p.jsx("span",{className:"text-xs text-muted-foreground opacity-60",children:"Swipe to explore"}),p.jsx(To,{className:"relative static translate-y-0 right-auto top-auto w-9 h-9 rounded-full border border-border/60 bg-background/80 shadow-sm hover:bg-background"})]})]})}),p.jsx("div",{className:"hidden md:grid grid-cols-2 lg:grid-cols-4 gap-
1505 py-2 px-1",children:p0.map((e,t)=>p.jsx(m0,{r:e,i:t},e.title))})]})}),FL=()=>p.jsx("section",{id:"contribute",className:"w-full bg-white border-t border-[#E5E5E5] border-b border-[#E5E5E5]","aria-labelledby":"opensource-heading",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16 sm:py-24 lg:py-32",children:[p.jsxs(Z.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.55},className:"mb-10 lg:mb-16",children:[p.jsx("h2",{id:"opensource-heading",className:"text-[2.25rem] sm:text-[3rem] font-bold text-black leading-[1.08] tracking-[-0.02em] lg:text-6xl font-sans",children:"Built in the Open"}),p.jsx("p",{className:"mt-5 max-w-2xl leading-relaxed text-base text-secondary-foreground",children:"âTempWallets is developed transparently with community collaboration. Developers, students, and Web3 builders are welcome to contribute, experiment, and improve the ecosystem."})]}),p.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-16 items-start",children:[p.jsxs(Z.div,{initial:{opacity:0,x:-24},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.55,delay:.1},className:"flex flex-col",children:[p.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[p.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0 bg-white border-2 border-black shadow-xl",children:p.jsx(hT,{size:20,className:"text-black bg-white"})}),p.jsxs("div",{children:[p.jsx("p",{className:"text-xs font-medium uppercase tracking-widest mb-0.5 text-secondary-foreground",children:"Open Source"}),p.jsx("a",{href:"https://github.com/MXmaster2s/Tempwallets.com.git",target:"_blank",rel:"noopener noreferrer","aria-label":"TempWallets GitHub repository",className:"text-base font-bold text-black hover:underline",children:"tempwallets / core"})]})]}),p.jsx("p",{className:"hidden md:block leading-relaxed mb-10 max-w-sm text-secondary-foreground text-base",children:"TempWallets is now open source and happy to built collaboratively with developers and the Web3 community."}),p.jsx("div",{className:"hidden md:flex flex-col sm:flex-row gap-4",children:p.jsxs("a",{href:"https://github.com/MXmaster2s/Tempwallets.com.git",target:"_blank",rel:"noopener noreferrer","aria-label":"View TempWallets repository on GitHub",className:"inline-flex items-center justify-center gap-2.5 px-8 py-4 rounded-full border-2 border-foreground
150/20 text-foreground font-semibold text-base hover:border-foreground/40 hover:shadow-lg hover:scale-[1.02] transition-all duration-300 backdrop-blur-sm",children:["View Repository",p.jsx(oo,{size:16})]})})]}),p.jsxs(Z.div,{initial:{opacity:0,x:24},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.55,delay:.2},className:"group flex flex-col gap-4",children:[p.jsxs("div",{className:"rounded-2xl overflow-hidden border border-neutral-200 shadow-2xl hover:scale-[1.02] transition-transform duration-300",children:[p.jsxs("div",{className:"flex items-center gap-2 px-5 py-3.5 bg-neutral-900 border-b border-neutral-700",children:[p.jsx("div",{className:"w-3 h-3 rounded-full bg-red-400"}),p.jsx("div",{className:"w-3 h-3 rounded-full bg-yellow-400"}),p.jsx("div",{className:"w-3 h-3 rounded-full bg-green-400"}),p.jsx("span",{className:"ml-3 text-xs text-neutral-400 font-mono",children:"tempwallets / core â bash"})]}),p.jsxs("div",{className:"bg-neutral-950 px-6 py-7 font-mono text-sm leading-7",children:[p.jsxs("div",{className:"flex items-start gap-3",children:[p.jsx("span",{className:"text-green-400 select-none",children:"$"}),p.jsx("span",{className:"text-neutral-200",children:"git clone https://github.com/tempwallets/core"})]}),p.jsxs("div",{className:"flex items-start gap-3",children:[p.jsx("span",{className:"text-green-400 select-none",children:"$"}),p.jsx("span",{className:"text-neutral-200",children:"cd core && npm install"})]}),p.jsxs("div",{className:"flex items-start gap-3",children:[p.jsx("span",{className:"text-green-400 select-none",children:"$"}),p.jsx("span",{className:"text-neutral-200",children:"npm run dev"})]}),p.jsxs("div",{className:"mt-4 space-y-1",children:[p.jsxs("div",{className:"flex items-center gap-2 text-neutral-400",children:[p.jsx("span",{className:"text-green-400",children:"â"})," Ready in 1.2s"]}),p.jsxs("div",{className:"flex items-center gap-2 text-neutral-400",children:[p.jsx("span",{className:"text-green-400",children:"â"})," Wallet engine initialized"]}),p.jsxs("div",{className:"flex items-center gap-2 text-neutral-400",children:[p.jsx("span",{className:"text-green-400",children:"â"})," Multi-chain modules loaded"]}),p.jsxs("div",{className:"flex items-center gap-2 text-neutral-400",children:[p.jsx("span",{className:"text-green-400",children:"â"})," WalletConnect bridge active"]})]}),p.jsx("div",{className:"mt-5 text-neutral-200",children:"> Temporary wallet ready ð"})]}),p.jsxs("div",{className:"flex items-center justify-between px-5 py-3 bg-neutral-900 border-t border-neutral-700",children:[p.jsxs("div",{className:"flex items-center gap-4 text-xs text-neutral-400",children:[p.jsxs("span",{className:"flex items-center gap-1.5",children:[p.jsx("span",{className:"w-2.5 h-2.5 rounded-full bg-yellow-400 inline-block"}),"TypeScript"]}),p.jsxs("span",{className:"flex items-center gap-1.5",children:[p.jsx(pT,{size:11,className:"text-neutral-400"}),"1.2k"]}),p.jsxs("span",{className:"flex items-center gap-1.5",children:[p.jsx(fT,{size:11,className:"text-neutral-400"}),"300"]})]}),p.jsx("span",{className:"text-xs text-neutral-500",children:"MIT License"})]})]}),p.jsx("div",{className:"block md:hidden mt-4",children:p.jsxs("a",{href:"https://github.com/MXmaster2s/Tempwallets.com.git",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 w-full px-6 py-3.5 rounded-full border-2 border-foreground
150/20 text-foreground font-semibold text-sm hover:border-foreground/40 hover:shadow-lg transition-all duration-300 backdrop-blur-sm",children:["View Repository",p.jsx(oo,{size:14})]})})]})]})]})}),_L="/assets/team-rohit-CDd9lhqa.png",BL="/assets/team-karsh-BqgBntzk.png",zL="/assets/team-lavina-X9Ilp17R.png",$L="/assets/team-chinmayi-DhuvFsc4.jpg",WL=()=>p.jsx("svg",{width:"17",height:"17",viewBox:"0 0 24 24",fill:"currentColor",children:p.jsx("path",{d:"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"})}),UL=()=>p.jsx("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"currentColor",children:p.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.744l7.73-8.835L1.254 2.25H8.08l4.253 5.622 5.912-5.622zm-1.161 17.52h1.833L7.084 4.126H5.117z"})}),g0=[{name:"Rohit",role:"Founder",photo:_L,telegram:"https://t.me/cryptorohittt",twitter:"https://x.com/cryptorohittt",placeholderBg:"linear-gradient(160deg, #6b2c78 0%, #a04c96 60%, #c9a0c8 100%)"},{name:"Karsh",role:"Founding Developer",photo:BL,telegram:"https://t.me/karshingdev",twitter:"https://t.me/karshingdev",placeholderBg:"linear-gradient(160deg, #4a3060 0%, #8b6aa0 60%, #c9bed1 100%)"},{name:"Lavina",role:"PR & Communications",photo:zL,telegram:"https://t.me/lavinafand_21",twitter:"https://x.com/lavinafand_21",placeholderBg:"linear-gradient(160deg, #41163a 0%, #7a3870 60%, #ab86aa 100%)"},{name:"Chinmayi",role:"Developer",photo:$L,telegram:"https://t.me/ChinmayiDS_221ME213",twitter:"https://x.com/ChinmayiDS",placeholderBg:"linear-gradient(160deg, #1e3a5f 0%, #2d6a9f 60%, #7ab3d4 100%)"}],y0=({href:e,label:t,children:n})=>p.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer","aria-label":t,onClick:r=>r.stopPropagation(),className:"w-9 h-9 rounded-full flex items-center justify-center transition-all duration-200 hover:scale-110 hover:brightness-125 flex-shrink-0",style:{background:"rgba(28, 14, 38, 0.72)",backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)",border:"1px solid rgba(255,255,255,0.18)",color:"rgba(255,255,255,0.9)"},children:n}),v0=({member:e,index:t})=>p.jsx(Z.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:t*.1},className:"group w-full",style:{aspectRatio:"4/5"},children:p.jsxs("div",{className:"relative w-full h-full rounded-3xl overflow-hidden transition-all duration-500 group-hover:scale-[1.03]",style:{boxShadow:"0 8px 40px rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.15)",border:"1px solid rgba(171,134,170,0.3)"},children:[e.photo?p.jsx("img",{src:e.photo,alt:e.name,className:"absolute inset-0 w-full h-full object-cover object-center",loading:"lazy"}):p.jsx("div",{className:"absolute inset-0 w-full h-full flex items-center justify-center",style:{background:e.placeholderBg},children:p.jsx("span",{className:"text-7xl font-bold select-none",style:{color:"rgba(255,255,255,0.25)"},children:e.name[0]})}),p.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(to top, rgba(10,5,18,0.82) 0%, rgba(10,5,18,0.18) 45%, transparent 65%)"}}),p.jsxs("div",{className:"absolute top-4 left-4 right-4 flex items-center justify-between z-20",children:[p.jsx(y0,{href:e.telegram,label:`${e.name} on Telegram`,children:p.jsx(WL,{})}),p.jsx(y0,{href:e.twitter,label:`${e.name} on X`,children:p.jsx(UL,{})})]}),p.jsxs("div",{className:"absolute bottom-4 left-4 right-4 z-20 flex items-center gap-2 flex-wrap",children:[p.jsx("span",{className:"px-3 py-1.5 rounded-full text-sm font-bold leading-none",style:{background:"rgba(28,14,38,0.75)",backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)",border:"1px solid rgba(255,255,255,0.15)",color:"rgba(255,255,255,0.95)"},children:e.name}),p.jsx("span",{className:"px-3 py-1.5 rounded-full text-sm font-medium leading-none",style:{background:"rgba(28,14,38,0.68)",backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)",border:"1px solid rgba(255,255,255,0.1)",color:"rgba(255,255,255,0.78)"},children:e.role})]})]})}),HL=()=>p.jsx("section",{id:"team",className:"bg-background border-t border-border/40 py-12 sm:py-20 lg:py-[100px] px-4",children:p.jsxs("div",{className:"max-w-7xl mx-auto w-full",children:[p.jsxs(Z.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.5},className:"mb-8 sm:mb-14 text-center",children:[p.jsx("h2",{className:"sm:text-[2.5rem] md:text-[3.5rem] font-bold text-foreground leading-[1.05] tracking-tight font-sans text-4xl",children:"Our Team"}),p.jsx("p",{className:"mt-3 text-base md:text-xl max-w-2xl leading-relaxed mx-auto text-secondary-foreground",children:"The people building the future of Temporary Wallets"})]}),p.jsx("div",{className:"block md:hidden",children:p.jsxs(bo,{opts:{align:"start",loop:!1,dragFree:!0,watchDrag:!0},className:"w-full select-none",children:[p.jsx(So,{className:"-ml-3 touch-p
150an-y py-2",children:g0.map((e,t)=>p.jsx(Eo,{className:"pl-3 basis-[85%]",children:p.jsx(v0,{member:e,index:t})},e.name))}),p.jsxs("div",{className:"flex items-center justify-center gap-3 mt-4",children:[p.jsx(Co,{className:"relative static translate-y-0 left-auto top-auto w-9 h-9 rounded-full border border-border/60 bg-background/80 shadow-sm hover:bg-background",children:p.jsx(Ch,{size:16})}),p.jsx("span",{className:"text-xs text-muted-foreground opacity-60",children:"Swipe to explore"}),p.jsx(To,{className:"relative static translate-y-0 right-auto top-auto w-9 h-9 rounded-full border border-border/60 bg-background/80 shadow-sm hover:bg-background",children:p.jsx(Th,{size:16})})]})]})}),p.jsx("div",{className:"hidden md:grid grid-cols-2 lg:grid-cols-4 gap-5 py-2 px-1",children:g0.map((e,t)=>p.jsx(v0,{member:e,index:t},e.name))})]})}),KL=({card:e})=>p.jsxs("div",{className:le("flex-shrink-0 w-72 md:w-80 rounded-2xl p-6","transition-all duration-300 hover:shadow-[0_8px_32px_-8px_rgba(160,76,150,0.18)] hover:-translate-y-1","mx-3"),style:{background:"hsla(0, 0%, 100%, 0.7)",backdropFilter:"blur(16px)",border:"1px solid hsla(296, 30%, 82%, 0.5)"},children:[p.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[p.jsx("img",{src:e.image,alt:`${e.name}'s testimonial avatar`,loading:"lazy",className:"w-10 h-10 rounded-full object-cover border border-neutral-200 flex-shrink-0",onError:t=>{t.currentTarget.src=`https://ui-avatars.com/api/?name=${encodeURIComponent(e.name)}&background=000000&color=fff&size=40`}}),p.jsxs("div",{className:"min-w-0",children:[p.jsx("p",{className:"text-sm font-semibold text-[#000000] font-display truncate leading-tight",children:e.name}),p.jsx("p",{className:"text-xs text-neutral-500 truncate",children:e.handle})]})]}),p.jsx("p",{className:"text-sm text-neutral-700 leading-relaxed font-sans line-clamp-3",children:e.quote})]});function x0({data:e,reverse:t=!1,speed:n=35}){const r=[...e,...e];return p.jsxs("div",{className:"overflow-hidden relative w-full",children:[p.jsx("div",{className:"pointer-events-none absolute left-0 top-0 h-full w-24 z-10",style:{background:"linear-gradient(to right, #f3eef5, transparent)"}}),p.jsx("div",{className:"pointer-events-none absolute right-0 top-0 h-full w-24 z-10",style:{background:"linear-gradient(to left, #f3eef5, transparent)"}}),p.jsx("div",{className:"flex",style:{animation:`marqueeScroll${t?"Rev":""} ${n}s linear infinite`,width:"max-content"},children:r.map((s,o)=>p.jsx(KL,{card:s},o))})]})}function GL({row1:e=[],row2:t=[]}){return p.jsxs(p.Fragment,{children:[p.jsx("style",{children:` 151 @keyframes marqueeScroll { 152 0% { transform: translateX(0); } 153 100% { transform: translateX(-50%); } 154 } 155 @keyframes marqueeScrollRev { 156 0% { transform: translateX(-50%); } 157 100% { transform: translateX(0); } 158 } 159 `}),p.jsxs("div",{className:"flex flex-col gap-5 w-full",children:[p.jsx(x0,{data:e,speed:35}),p.jsx(x0,{data:t,reverse:!0,speed:42})]})]})}const YL=({words:e,className:t,cursorClassName:n})=>{const r=e.map(l=>({...l,text:l.text.split("")})),[s,o]=yD(),i=Lu(s);b.useEffect(()=>{i&&o("span",{display:"inline-block",opacity:1,width:"fit-content"},{duration:.3,delay:GR(.1),ease:"easeInOut"})},[i]);const a=()=>p.jsx(Z.div,{ref:s,className:"inline",children:r.map((l,u)=>p.jsxs("div",{className:"inline-block",children:[l.text.map((c,d)=>p.jsx(Z.span,{initial:{},className:le("dark:text-white text-black opacity-0 hidden",l.className),children:c},`char-${d}`)),"Â "]},`word-${u}`))});return p.jsxs("div",{className:le("text-base sm:text-xl md:text-3xl lg:text-5xl font-bold text-center",t),children:[a(),p.jsx(Z.span,{initial:{opacity:0}
159,animate:{opacity:1},transition:{duration:.8,repeat:1/0,repeatType:"reverse"},className:le("inline-block rounded-sm w-[4px] h-4 md:h-6 lg:h-10 bg-blue-500",n)})]})},w0=[{image:"https://pbs.twimg.com/profile_images/1981994725545590785/kBVyJpz_.png",name:"TempWallets.com",handle:"@tempwallets",quote:"TempWallets spotted!ð Special mention at @Yellow Hackathon by @BizthonOfficial, the grind pays off! ð"},{image:"https://pbs.twimg.com/profile_images/1981994725545590785/kBVyJpz_.png",name:"TempWallets.com",handle:"@tempwallets",quote:"What a ride at @BizthonOfficial x @Yellow! â¡ Still buzzing from the surreal experience â intense builds to unforgettable moments."},{image:"https://pbs.twimg.com/profile_images/2011322711121993728/u4zqvP8f.jpg",name:"BizThon | Global Business Hackathon",handle:"@BizthonOfficial",quote:"ð
Special Prize ($500) â Tempwallet. And many more brilliant innovators making their mark in the Web3 space! ð"},{image:"https://pbs.twimg.com/profile_images/1740263370681622528/lm6bRqlw.jpg",name:"Yellow",handle:"@Yellow",quote:"Hackathon Spotlight ð @tempwallets is redefining onchain privacy with disposable, gasless wallets for high risk or anonymous transactions."},{image:"https://pbs.twimg.com/profile_images/2011322711121993728/u4zqvP8f.jpg",name:"BizThon | Global Business Hackathon",handle:"@BizthonOfficial",quote:"We loved hosting you! ð Thanks for being part of the BizThon x @Yellow journey, builders like you make this community so special."},{image:"https://pbs.twimg.com/profile_images/1542037707936870402/EppnJxLE.jpg",name:"Techy",handle:"@Techy_Being",quote:"Big congrats on the win at the #Yellow Hackathon 2025! ð Love seeing builders like you pushing the limits of innovation."},{image:"https://pbs.twimg.com/profile_images/1957023734549598209/5NvRhKlR.jpg",name:"India Blockchain Month",handle:"@INBMOfficial",quote:"Big shoutout to you and the @tempwallets team. Glad to have you part of the #INBM25 journey."},{image:"https://pbs.twimg.com/profile_images/1958094259258904577/-UoTbUmo.jpg",name:"tenz",handle:"@tenzshuraa",quote:"That's actually genius ð¥"},{image:"https://pbs.twimg.com/profile_images/2026211368643563520/qxNwSnXv.jpg",name:"Apple",handle:"@Applepennywise",quote:"Temp wallets are the future"},{image:"https://pbs.twimg.com/profile_images/1958093183495323648/AtcMe0s_.jpg",name:"Andi",handle:"@Andilinh96",quote:"LOVE THIS CONCEPT FR!!"},{image:"https://pbs.twimg.com/profile_images/1935256827299581952/TwGsLJJj.jpg",name:"HENRYSCOTT ð¢",handle:"@AjisafeEstherI1",quote:"This is a great disposable wallet for greater security in the way you interact with dapps, only possible thanks to the Yellow Network infrastructure."},{image:"https://pbs.twimg.com/profile_images/1258542033922396160/TUXuzdQ7.jpg",name:"Loveanimal",handle:"@AmorAnimal2005",quote:"This is a great disposable wallet for greater security in the way you interact with dapps, only possible thanks to the Yellow Network infrastructure."},{image:"https://pbs.twimg.com/profile_images/1983525341625982977/jqRsG44E.jpg",name:"Mðºð¤",handle:"@0xMaragung",quote:"Privacy and simplicity combined in such an elegant solution."},{image:"https://pbs.twimg.com/profile_images/2011322711121993728/u4zqvP8f.jpg",name:"BizThon Hackathon Win",handle:"@BizthonOfficial",quote:"Special Prize $500 at Yellow Hackathon 2025 â Team celebrating with prizes at IIT Delhi event."}],XL=[{text:"Loved"},{text:"by"},{text:"the"},{text:"Web3",className:"text-[#a04c96]"},{text:"Community",className:"text-[#a04c96]"}],QL=()=>p.jsxs("section",{className:"section-padding section-divider overflow-hidden relative",style:{background:"linear-gradient(180deg, #faf8fb 0%, #f3eef5 50%, #ede6f0 100%)"},"aria-labelledby":"social-proof-heading",children:[p.jsx("div",{className:"absolute top-0 left-1/4 w-96 h-96 rounded-full opacity-20 blur-[120px] pointer-events-none",style:{background:"#c9bed1"}}),p.jsx("div",{className:"absolute bottom-0 right-1/4 w-80 h-80 rounded-full opacity-15 blur-[100px] pointer-events-none",style:{background:"#a04c96"}}),p.jsxs("div",{className:"max-w-7xl mx-auto w-full relative z-10",children:[p.jsx(Z.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.55},className:"flex justify-center mb-6",children:p.jsx(YL,{words:XL,className:"font-display font-bold leading-tight tracking-[-0.02em] text-3xl sm:text-4xl md:text-5xl lg:text-6xl",cursorClassName:"bg-[#a04c96]"})}),p.jsx(Z.p,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.1},className:"text-center font-sans mb-6 md:mb-16 max-w-2xl mx-auto text-sm sm:text-base md:text-lg text-secondary-foreground",style:{lineHeight:1.6},children:"See what our early builders, hackathon partners, and community are saying."}),p.jsx(Z.div,{initial:{opacity:0}
159,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.6,delay:.2},children:p.jsx(GL,{row1:w0.slice(0,7),row2:w0.slice(7)})}),p.jsx(Z.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.3},className:"mt-8 md:mt-16 flex justify-center",children:p.jsx("a",{href:"https://x.com/tempwallets",target:"_blank",rel:"noopener noreferrer","aria-label":"Join the conversation about TempWallets on X (Twitter)",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full border-2 border-foreground/20 text-foreground font-semibold text-base hover:border-foreground/40 hover:shadow-lg hover:scale-[1.02] transition-all duration-300 backdrop-blur-sm",children:"Join the Conversation"})})]})]}),qL="/assets/partner-hacktour-BcgWrjiT.png",ZL="/assets/partner-polkadot-CeYJ1isS.png",JL="/assets/partner-web3aligarh-DQFmRZ7B.png",e4="/assets/partner-inbm-CNfP6YCv.png",t4="/assets/partner-yellow-CN3DQw5C.png",n4="/assets/partner-shefi-Cd8jz1w3.png",r4="/assets/partner-bitcoin-india-conference-Dx195h69.png",s4="/assets/partner-upskill-africa-DKIojFlt.jpg",Zn=[{name:"Yellow Network",logo:t4,scale:1,translateX:0,translateY:0},{name:"Hack Tour India",logo:qL,scale:2.4,translateX:0,translateY:0},{name:"Polkadot",logo:ZL,scale:1,translateX:0,translateY:0},{name:"Web3 Aligarh",logo:JL,scale:2.2,translateX:0,translateY:0},{name:"India Blockchain Month",logo:e4,scale:1,translateX:0,translateY:0},{name:"SheFi",logo:n4,scale:1,translateX:0,translateY:0,bgSize:"170%",bgPosition:"18% 32%"},{name:"Bitcoin India Conference",logo:r4,scale:1,translateX:0,translateY:0,bgSize:"130%",bgPosition:"45% 40%"},{name:"Upskill Africa",logo:s4,scale:1,translateX:0,translateY:0,bgSize:"160%",bgPosition:"center center"}],b0=({partner:e})=>e.bgSize?p.jsx("div",{className:"rounded-2xl border border-border/60 bg-card flex items-center justify-center transition-shadow cursor-default w-full h-[64px] overflow-hidden shadow-none [box-shadow:none]",style:{backgroundImage:`url(${e.logo})`,backgroundRepeat:"no-repeat",backgroundPosition:e.bgPosition??"center center",backgroundSize:e.bgSize,boxShadow:"none"},"aria-label":`${e.name} logo`}):p.jsx("div",{className:"rounded-2xl border border-border/60 bg-card flex items-center justify-center py-4 px-5 hover:shadow-md transition-shadow cursor-default w-full h-[64px] overflow-hidden",children:p.jsx("img",{src:e.logo,alt:`${e.name} logo`,className:"max-h-8 w-full object-contain",style:{transform:`translate(${e.translateX}%, ${e.translateY}%) scale(${e.scale})`,transformOrigin:"center center"},loading:"lazy"})}),o4=({partner:e})=>e.bgSize?p.jsx("div",{className:"rounded-2xl border border-border/60 bg-card flex items-center justify-center hover:shadow-md transition-shadow cursor-default w-[148px] h-[80px] overflow-hidden",style:{backgroundImage:`url(${e.logo})`,backgroundRepeat:"no-repeat",backgroundPosition:e.bgPosition??"center center",backgroundSize:e.bgSize},"aria-label":`${e.name} logo`}):p.jsx("div",{className:"rounded-2xl border border-border/60 bg-card flex items-center justify-center py-5 px-7 hover:shadow-md transition-shadow cursor-default w-[148px] h-[80px] overflow-hidden",children:p.jsx("img",{src:e.logo,alt:`${e.name} logo`,className:"max-h-10 w-full object-contain",style:{transform:`translate(${e.translateX}%, ${e.translateY}%) scale(${e.scale})`,transformOrigin:"center center"},loading:"lazy"})}),i4=()=>p.jsx("section",{id:"partners",className:"section-padding bg-secondary/20 section-divider shadow-none",children:p.jsxs("div",{className:"max-w-5xl mx-auto w-full shadow-none",children:[p.jsx(Z.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.5},className:"text-center mb-8 sm:mb-10",children:p.jsx("h2",{className:"font-bold text-foreground text-3xl sm:text-4xl md:text-5xl tracking-tight text-black font-sans py-[25px]",children:"Built with Leading Web3 Ecosystems"})}),p.jsxs(Z.div,{initial:{opacity:0}
159,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.5,delay:.15},className:"block sm:hidden py-0",children:[p.jsx("div",{className:"grid grid-cols-2 gap-2.5 shadow-none",children:Zn.slice(0,Zn.length%2===0?Zn.length:Zn.length-1).map(e=>p.jsx(b0,{partner:e},e.name))}),Zn.length%2!==0&&p.jsx("div",{className:"mt-2.5 flex justify-center shadow-none",children:p.jsx("div",{className:"w-[calc(50%-5px)]",children:p.jsx(b0,{partner:Zn[Zn.length-1]})})})]}),p.jsx(Z.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.5,delay:.15},className:"hidden sm:flex flex-wrap justify-center items-center gap-4 rounded-sm",children:Zn.map(e=>p.jsx(o4,{partner:e},e.name))})]})}),a4="/assets/roadmap-now-BHg8Ok18.png",l4="/assets/roadmap-next-eiQnY1JG.png",u4="/assets/roadmap-later-9wXkL1Tj.png",S0=[{label:"NOW",sublabel:"Active Development",image:a4,items:["Yellow integration","Lightning Node Module","Multi-chain expansion"],glassBg:"hsla(296, 30%, 82%, 0.12)",glassBorder:"hsla(296, 52%, 46%, 0.25)",glowColor:"296, 52%, 46%",accentDot:"#a04c96",badgeBg:"hsla(296, 52%, 46%, 0.18)",badgeBorder:"hsla(296, 52%, 46%, 0.4)",badgeText:"#a04c96"},{label:"NEXT",sublabel:"Coming Soon",image:l4,items:["User profiles & settings","Address book","Android app"],glassBg:"hsla(257, 13%, 44%, 0.08)",glassBorder:"hsla(257, 13%, 44%, 0.2)",glowColor:"257, 13%, 44%",accentDot:"#686379",badgeBg:"hsla(257, 13%, 44%, 0.14)",badgeBorder:"hsla(257, 13%, 44%, 0.35)",badgeText:"#686379"},{label:"LATER",sublabel:"On the Horizon",image:u4,items:["Telegram Mini App","Tip Gas Tank feature","Analytics & dashboard upgrades"],glassBg:"hsla(302, 20%, 67%, 0.08)",glassBorder:"hsla(302, 20%, 67%, 0.2)",glowColor:"302, 20%, 67%",accentDot:"#ab86aa",badgeBg:"hsla(302, 20%, 67%, 0.14)",badgeBorder:"hsla(302, 20%, 67%, 0.35)",badgeText:"#ab86aa"}],E0=({col:e,index:t})=>{const n=Vi(0),r=Vi(0);function s({currentTarget:o,clientX:i,clientY:a}){const{left:l,top:u}=o.getBoundingClientRect();n.set(i-l),r.set(a-u)}return p.jsxs(Z.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.7,delay:t*.15,ease:[.25,.46,.45,.94]},onMouseMove:s,className:"group relative rounded-3xl p-6 md:p-8 flex flex-col transition-all duration-500 hover:scale-[1.02] h-full",style:{background:e.glassBg,backdropFilter:"blur(24px)",WebkitBackdropFilter:"blur(24px)",border:`1px solid ${e.glassBorder}`,boxShadow:`0 8px 40px -12px hsla(${e.glowColor}, 0.15), 0 4px 16px rgba(0,0,0,0.1), inset 0 1px 0 hsla(0, 0%, 100%, 0.5)`,minHeight:320},children:[p.jsx(Z.div,{className:"pointer-events-none absolute -inset-px rounded-3xl z-0",animate:{background:[`radial-gradient(ellipse 60% 40% at 20% 30%, hsla(${e.glowColor}, 0.12), transparent 70%)`,`radial-gradient(ellipse 60% 40% at 80% 70%, hsla(${e.glowColor}, 0.12), transparent 70%)`,`radial-gradient(ellipse 60% 40% at 50% 20%, hsla(${e.glowColor}, 0.12), transparent 70%)`,`radial-gradient(ellipse 60% 40% at 20% 30%, hsla(${e.glowColor}, 0.12), transparent 70%)`]},transition:{duration:8,repeat:1/0,ease:"easeInOut"}}),p.jsx(Z.div,{className:"pointer-events-none absolute z-0 -inset-px rounded-3xl opacity-0 transition-opacity duration-500 group-hover:opacity-100",style:{background:K3`radial-gradient(400px circle at ${n}px ${r}px, hsla(${e.glowColor}, 0.18), transparent 65%)`}}),p.jsx("div",{className:"absolute top-0 left-[10%] right-[10%] h-px z-10",style:{background:`linear-gradient(90deg, transparent, ${e.accentDot}44, transparent)`}}),p.jsx("div",{className:"relative z-10 mb-4 flex justify-center py-[20px]",children:p.jsx(Z.img,{src:e.image,alt:`${e.label} roadmap icon`,loading:"lazy",className:"w-16 h-16 md:w-20 md:h-20 object-contain drop-shadow-2xl",whileHover:{rotate:12,scale:1.1},transition:{type:"spring",stiffness:300,damping:15}})}),p.jsx("div",{className:"relative z-10 mb-5 flex justify-center",children:p.jsxs(Z.div,{className:"inline-flex items-center gap-2.5 px-4 py-2 rounded-full text-xs font-bold tracking-[0.18em] uppercase",style:{background:e.badgeBg,border:`1px solid ${e.badgeBorder}`,color:e.badgeText,boxShadow:`0 0 24px -8px hsla(${e.glowColor}, 0.3)`},whileHover:{scale:1.05},transition:{type:"spring",stiffness:400,damping:20},children:[p.jsx(Z.span,{className:"w-2 h-2 rounded-full",style:{backgroundColor:e.accentDot}
159,animate:{opacity:[1,.4,1]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}}),e.label,p.jsxs("span",{className:"text-[0.6rem] tracking-wider opacity-60 normal-case font-semibold",children:["· ",e.sublabel]})]})}),p.jsx("ul",{className:"space-y-3 relative z-10 flex-1 text-secondary-foreground",children:e.items.map((o,i)=>p.jsxs(Z.li,{initial:{opacity:0,x:-15},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.45,delay:t*.15+i*.1},className:"flex items-start gap-3 text-base text-muted-foreground group-hover:text-foreground/80 transition-colors duration-300",children:[p.jsx("span",{className:"mt-1.5 w-2 h-2 rounded-full flex-shrink-0",style:{backgroundColor:e.accentDot}}),p.jsx("span",{className:"font-medium text-secondary-foreground",children:o})]},o))}),p.jsx("div",{className:"relative z-10 mt-5",children:p.jsx("div",{className:"h-px w-full opacity-30 group-hover:opacity-70 transition-opacity duration-500",style:{background:`linear-gradient(90deg, transparent, ${e.accentDot}, transparent)`}})})]})},c4=()=>p.jsx("section",{id:"roadmap",className:"bg-background border-t border-border/40 py-12 sm:py-20 lg:py-[100px] px-4",children:p.jsxs("div",{className:"max-w-7xl mx-auto w-full",children:[p.jsxs(Z.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.5},className:"mb-8 sm:mb-16 text-center",children:[p.jsx("h2",{className:"sm:text-[2.5rem] md:text-[3.5rem] font-bold text-foreground font-display leading-[1.05] tracking-tight text-4xl",children:"Roadmap"}),p.jsx("p",{className:"mt-3 text-base max-w-2xl leading-relaxed mx-auto md:text-xl text-secondary-foreground",children:"Our journey to better Web3 access"})]}),p.jsx("div",{className:"block md:hidden",children:p.jsxs(bo,{opts:{align:"start",loop:!1,dragFree:!0,watchDrag:!0},className:"w-full select-none",children:[p.jsx(So,{className:"-ml-3 touch-pan-y py-2",children:S0.map((e,t)=>p.jsx(Eo,{className:"pl-3 basis-[85%] py-1",children:p.jsx(E0,{col:e,index:t})},e.label))}),p.jsxs("div",{className:"flex items-center justify-center gap-3 mt-4",children:[p.jsx(Co,{className:"relative static translate-y-0 left-auto top-auto w-9 h-9 rounded-full border border-border/60 bg-background/80 shadow-sm hover:bg-background"}),p.jsx("span",{className:"text-xs text-muted-foreground opacity-60",children:"Swipe to explore"}),p.jsx(To,{className:"relative static translate-y-0 right-auto top-auto w-9 h-9 rounded-full border border-border/60 bg-background/80 shadow-sm hover:bg-background"})]})]})}),p.jsx("div",{className:"hidden md:grid grid-cols-3 gap-6 lg:gap-8 py-2 px-1",children:S0.map((e,t)=>p.jsx(E0,{col:e,index:t},e.label))})]})}),d4=()=>p.jsxs("section",{className:"section-padding section-divider relative overflow-hidden",style:{background:"linear-gradient(135deg, #41163a 0%, #a04c96 50%, #c9bed1 100%)"},children:[p.jsx("div",{className:"absolute top-0 right-0 w-96 h-96 rounded-full opacity-30 blur-[120px] pointer-events-none",style:{background:"#ab86aa"}}),p.jsx("div",{className:"absolute bottom-0 left-0 w-80 h-80 rounded-full opacity-20 blur-[100px] pointer-events-none",style:{background:"#686379"}}),p.jsxs(Z.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"max-w-2xl mx-auto text-center w-full relative z-10",children:[p.jsx("h2",{className:"font-display text-[2.5rem] sm:text-[3rem] font-bold text-white",children:"Start exploring Web3 instantly."}),p.jsx("p",{className:"mt-4 text-white/70 text-lg",children:"No wallet setup required."}),p.jsx("div",{className:"mt-8",children:p.jsxs("a",{href:"https://www.tempwallets.com/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full bg-white text-[#41163a] font-semibold text-base hover:shadow-xl hover:scale-[1.02] transition-all duration-300",children:["Launch TempWallet",p.jsx(oo,{size:18})]})})]})]}),f4=({items:e,desktopClassName:t,mobileClassName:n})=>p.jsxs(p.Fragment,{children:[p.jsx(p4,{items:e,className:t}),p.jsx(h4,{items:e,className:n})]}),h4=({items:e,className:t})=>p.jsx("div",{className:le("flex md:hidden gap-3 justify-center",t),children:e.map(n=>p.jsx("a",{href:n.href,target:"_blank",rel:"noopener noreferrer",className:"h-10 w-10 rounded-full bg-muted flex items-center justify-center hover:bg-foreground
159/10 transition-colors",children:p.jsx("div",{className:"h-5 w-5",children:n.icon})},n.title))}),p4=({items:e,className:t})=>{const n=Vi(1/0);return p.jsx(Z.div,{onMouseMove:r=>n.set(r.pageX),onMouseLeave:()=>n.set(1/0),className:le("hidden md:flex h-14 gap-3 items-end rounded-2xl bg-muted/60 backdrop-blur-sm border border-border/40 px-4 pb-2.5",t),children:e.map(r=>p.jsx(m4,{mouseX:n,...r},r.title))})};function m4({mouseX:e,title:t,icon:n,href:r}){const s=b.useRef(null),o=$r(e,w=>{var g;const m=((g=s.current)==null?void 0:g.getBoundingClientRect())??{x:0,width:0};return w-m.x-m.width/2}),i=$r(o,[-150,0,150],[40,56,40]),a=$r(o,[-150,0,150],[40,56,40]),l=$r(o,[-150,0,150],[20,28,20]),u=$r(o,[-150,0,150],[20,28,20]),c=Ba(i,{mass:.1,stiffness:150,damping:12}),d=Ba(a,{mass:.1,stiffness:150,damping:12}),f=Ba(l,{mass:.1,stiffness:150,damping:12}),h=Ba(u,{mass:.1,stiffness:150,damping:12}),[y,v]=b.useState(!1);return p.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",children:p.jsxs(Z.div,{ref:s,style:{width:c,height:d},onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),className:"aspect-square rounded-full bg-background border border-border/50 flex items-center justify-center relative shadow-sm hover:shadow-md transition-shadow",children:[p.jsx(pM,{children:y&&p.jsx(Z.div,{initial:{opacity:0,y:10,x:"-50%"},animate:{opacity:1,y:0,x:"-50%"},exit:{opacity:0,y:2,x:"-50%"},className:"px-2.5 py-1 whitespace-pre rounded-md bg-foreground text-background border border-border/20 absolute left-1/2 -translate-x-1/2 -top-8 w-fit text-xs font-medium shadow-lg",children:t})}),p.jsx(Z.div,{style:{width:f,height:h},className:"flex items-center justify-center",children:n})]})})}/** 160 * @license @tabler/icons-react v3.40.0 - MIT 161 * 162 * This source code is licensed under the MIT license. 163 * See the LICENSE file in the root directory of this source tree. 164 */var g4={outline:{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"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};/** 165 * @license @tabler/icons-react v3.40.0 - MIT 166 * 167 * This source code is licensed under the MIT license. 168 * See the LICENSE file in the root directory of this source tree. 169 */const sa=(e,t,n,r)=>{const s=b.forwardRef(({color:o="currentColor",size:i=24,stroke:a=2,title:l,className:u,children:c,...d},f)=>b.createElement("svg",{ref:f,...g4[e],width:i,height:i,className:["tabler-icon",`tabler-icon-${t}`,u].join(" "),strokeWidth:a,stroke:o,...d},[l&&b.createElement("title",{key:"svg-title"},l),...r.map(([h,y])=>b.createElement(h,y)),...Array.isArray(c)?c:[c]]));return s.displayName=`${n}`,s};/** 170 * @license @tabler/icons-react v3.40.0 - MIT 171 * 172 * This source code is licensed under the MIT license. 173 * See the LICENSE file in the root directory of this source tree. 174 */const y4=[["path",{d:"M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5",key:"svg-0"}]],v4=sa("outline","brand-github","BrandGithub",y4);/** 175 * @license @tabler/icons-react v3.40.0 - MIT 176 * 177 * This source code is licensed under the MIT license. 178 * See the LICENSE file in the root directory of this source tree. 179 */const x4=[["path",{d:"M4 6a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2l0 -12",key:"svg-0"}],["path",{d:"M8 9h1l3 3l3 -3h1",key:"svg-1"}],["path",{d:"M8 15l2 0",key:"svg-2"}],["path",{d:"M14 15l2 0",key:"svg-3"}],["path",{d:"M9 9l0 6",key:"svg-4"}],["path",{d:"M15 9l0 6",key:"svg-5"}]],w4=sa("outline","brand-medium","BrandMedium",x4);/** 180 * @license @tabler/icons-react v3.40.0 - MIT 181 * 182 * This source code is licensed under the MIT license. 183 * See the LICENSE file in the root directory of this source tree. 184 */const b4=[["path",{d:"M15 10l-4 4l6 6l4 -16l-18 7l4 2l2 6l3 -4",key:"svg-0"}]],S4=sa("outline","brand-telegram","BrandTelegram",b4);/** 185 * @license @tabler/icons-react v3.40.0 - MIT 186 * 187 * This source code is licensed under the MIT license. 188 * See the LICENSE file in the root directory of this source tree. 189 */const E4=[["path",{d:"M4 4l11.733 16h4.267l-11.733 -16l-4.267 0",key:"svg-0"}],["path",{d:"M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772",key:"svg-1"}]],C4=sa("outline","brand-x","BrandX",E4);
189/** 190 * @license @tabler/icons-react v3.40.0 - MIT 191 * 192 * This source code is licensed under the MIT license. 193 * See the LICENSE file in the root directory of this source tree. 194 */const T4=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M3.6 9h16.8",key:"svg-1"}],["path",{d:"M3.6 15h16.8",key:"svg-2"}],["path",{d:"M11.5 3a17 17 0 0 0 0 18",key:"svg-3"}],["path",{d:"M12.5 3a17 17 0 0 1 0 18",key:"svg-4"}]],k4=sa("outline","world","World",T4),P4=[{title:"Website",icon:p.jsx(k4,{className:"h-full w-full text-muted-foreground"}),href:"https://tempwallets.com"},{title:"X (Twitter)",icon:p.jsx(C4,{className:"h-full w-full text-muted-foreground"}),href:"https://x.com/tempwallets"},{title:"Telegram",icon:p.jsx(S4,{className:"h-full w-full text-muted-foreground"}),href:"https://t.me/tempwallets"},{title:"Medium",icon:p.jsx(w4,{className:"h-full w-full text-muted-foreground"}),href:"https://medium.com/@tempwallets"},{title:"GitHub",icon:p.jsx(v4,{className:"h-full w-full text-muted-foreground"}),href:"https://github.com/MXmaster2s/Tempwallets.com.git"}],N4=()=>p.jsx("div",{className:"flex justify-center",children:p.jsx(f4,{items:P4})}),j4=[{label:"Features",href:"#features"},{label:"Roadmap",href:"https://docs.google.com/document/d/160THb2gxNj8otyC1q-h-yzF7e1MB1WUT0DtO9Wr1t-8/edit?tab=t.0#heading=h.zcs9kc280bym"},{label:"Contribute",href:"#contribute"},{label:"Privacy Policy",href:"https://docs.google.com/document/d/1g0luu43P4HW234WkRiY777rgfqViHErai6cFBcjBuoU/edit?usp=sharing"},{label:"Terms",href:"https://docs.google.com/document/d/18CO91fo-ii7bXrDJ2yoQHcdgir10npcfxYg0d7P6Cng/edit?usp=sharing"}],A4=[{label:"Pitch Deck",href:"https://bit.ly/pitchdeck-tempwallets"},{label:"Whitepaper",href:"https://bit.ly/whitepaper-tempwallets"},{label:"Brand Assets",href:"https://bit.ly/tempwallets-brandassets"}],R4=()=>p.jsx("footer",{className:"border-t border-border/20 bg-background",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6 sm:py-8 lg:py-6",children:[p.jsx("div",{className:"mb-5 lg:mb-2",children:p.jsx("img",{src:TS,alt:"TempWallets logo",className:"w-full h-auto object-contain object-left"})}),p.jsxs("div",{className:"flex flex-col lg:flex-row gap-5 lg:gap-8 mb-6 lg:mb-3 lg:items-center",children:[p.jsxs("div",{className:"lg:max-w-sm flex-shrink-0",children:[p.jsx("h3",{className:"font-bold text-foreground text-lg tracking-tight mb-2 lg:mb-1 font-sans",children:"Built by TempWallets"}),p.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"Instant, disposable wallets for Web3 exploration. No setup, no risk. Just explore freely."})]}),p.jsxs("div",{className:"flex-1 flex flex-col items-start lg:items-end gap-4 lg:gap-2",children:[p.jsx("nav",{className:"flex flex-wrap gap-2","aria-label":"Product links",children:j4.map(e=>p.jsx("a",{href:e.href,className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full border-2 border-foreground
194/20 text-foreground font-semibold text-sm hover:border-foreground/40 hover:shadow-lg hover:scale-[1.02] transition-all duration-300 backdrop-blur-sm",children:e.label},e.label))}),p.jsx("nav",{className:"flex flex-wrap gap-5","aria-label":"Resource links",children:A4.map(e=>p.jsx("a",{href:e.href,className:"text-sm font-medium text-foreground hover:underline underline-offset-4 transition-colors",children:e.label},e.label))})]})]}),p.jsx("div",{className:"mb-4 lg:mb-1",children:p.jsx(N4,{})}),p.jsx("div",{className:"pt-3 lg:pt-2 border-t border-border/40 text-center",children:p.jsxs("p",{className:"text-xs text-muted-foreground",children:["© ",new Date().getFullYear()," TempWallets. All rights reserved."]})})]})}),C0=()=>p.jsxs("main",{className:"min-h-screen",children:[p.jsx(PD,{}),p.jsx(jD,{}),p.jsx(TL,{}),p.jsx(RL,{}),p.jsx(VL,{}),p.jsx(FL,{}),p.jsx(HL,{}),p.jsx(QL,{}),p.jsx(i4,{}),p.jsx(c4,{}),p.jsx(d4,{}),p.jsx(R4,{})]}),M4=()=>{const e=T1();return b.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),p.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:p.jsxs("div",{className:"text-center",children:[p.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),p.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),p.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},D4=new _N,L4=()=>p.jsx(zN,{client:D4,children:p.jsxs(cN,{children:[p.jsx(qT,{}),p.jsx(jk,{}),p.jsx(Nj,{children:p.jsxs(Tj,{children:[p.jsx(nl,{path:"/",element:p.jsx(C0,{})}),p.jsx(nl,{path:"/about",element:p.jsx(C0,{})}),p.jsx(nl,{path:"*",element:p.jsx(M4,{})})]})})]})});Yx(document.getElementById("root")).render(p.jsx(L4,{}));
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.