File: /home/aashishs/public_html/assets/index-C3Vkgk_V.js
var fc=e=>{throw TypeError(e)};var il=(e,t,n)=>t.has(e)||fc("Cannot "+n);var N=(e,t,n)=>(il(e,t,"read from private field"),n?n.call(e):t.get(e)),q=(e,t,n)=>t.has(e)?fc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),V=(e,t,n,r)=>(il(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),be=(e,t,n)=>(il(e,t,"access private method"),n);var ci=(e,t,n,r)=>({set _(o){V(e,t,o,n)},get _(){return N(e,t,r)}});function p0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function df(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ff={exports:{}},Ts={},pf={exports:{}},G={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Zo=Symbol.for("react.element"),h0=Symbol.for("react.portal"),m0=Symbol.for("react.fragment"),v0=Symbol.for("react.strict_mode"),g0=Symbol.for("react.profiler"),y0=Symbol.for("react.provider"),x0=Symbol.for("react.context"),w0=Symbol.for("react.forward_ref"),S0=Symbol.for("react.suspense"),E0=Symbol.for("react.memo"),C0=Symbol.for("react.lazy"),pc=Symbol.iterator;function k0(e){return e===null||typeof e!="object"?null:(e=pc&&e[pc]||e["@@iterator"],typeof e=="function"?e:null)}var hf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},mf=Object.assign,vf={};function Kr(e,t,n){this.props=e,this.context=t,this.refs=vf,this.updater=n||hf}Kr.prototype.isReactComponent={};Kr.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")};Kr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function gf(){}gf.prototype=Kr.prototype;function Ya(e,t,n){this.props=e,this.context=t,this.refs=vf,this.updater=n||hf}var Xa=Ya.prototype=new gf;Xa.constructor=Ya;mf(Xa,Kr.prototype);Xa.isPureReactComponent=!0;var hc=Array.isArray,yf=Object.prototype.hasOwnProperty,qa={current:null},xf={key:!0,ref:!0,__self:!0,__source:!0};function wf(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)yf.call(t,r)&&!xf.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];o.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:Zo,type:e,key:i,ref:s,props:o,_owner:qa.current}}function b0(e,t){return{$$typeof:Zo,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Za(e){return typeof e=="object"&&e!==null&&e.$$typeof===Zo}function P0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var mc=/\/+/g;function sl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?P0(""+e.key):t.toString(36)}function Mi(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Zo:case h0:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+sl(s,0):r,hc(o)?(n="",e!=null&&(n=e.replace(mc,"$&/")+"/"),Mi(o,t,n,"",function(u){return u})):o!=null&&(Za(o)&&(o=b0(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(mc,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",hc(e))for(var l=0;l<e.length;l++){i=e[l];var a=r+sl(i,l);s+=Mi(i,t,n,a,o)}else if(a=k0(e),typeof a=="function")for(e=a.call(e),l=0;!(i=e.next()).done;)i=i.value,a=r+sl(i,l++),s+=Mi(i,t,n,a,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function di(e,t,n){if(e==null)return e;var r=[],o=0;return Mi(e,r,"","",function(i){return t.call(n,i,o++)}),r}function N0(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 De={current:null},Li={transition:null},T0={ReactCurrentDispatcher:De,ReactCurrentBatchConfig:Li,ReactCurrentOwner:qa};function Sf(){throw Error("act(...) is not supported in production builds of React.")}G.Children={map:di,forEach:function(e,t,n){di(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return di(e,function(){t++}),t},toArray:function(e){return di(e,function(t){return t})||[]},only:function(e){if(!Za(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};G.Component=Kr;G.Fragment=m0;G.Profiler=g0;G.PureComponent=Ya;G.StrictMode=v0;G.Suspense=S0;G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T0;G.act=Sf;G.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=mf({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=qa.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)yf.call(t,a)&&!xf.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){l=Array(a);for(var u=0;u<a;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Zo,type:e.type,key:o,ref:i,props:r,_owner:s}};G.createContext=function(e){return e={$$typeof:x0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:y0,_context:e},e.Consumer=e};G.createElement=wf;G.createFactory=function(e){var t=wf.bind(null,e);return t.type=e,t};G.createRef=function(){return{current:null}};G.forwardRef=function(e){return{$$typeof:w0,render:e}};G.isValidElement=Za;G.lazy=function(e){return{$$typeof:C0,_payload:{_status:-1,_result:e},_init:N0}};G.memo=function(e,t){return{$$typeof:E0,type:e,compare:t===void 0?null:t}};G.startTransition=function(e){var t=Li.transition;Li.transition={};try{e()}finally{Li.transition=t}};G.unstable_act=Sf;G.useCallback=function(e,t){return De.current.useCallback(e,t)};G.useContext=function(e){return De.current.useContext(e)};G.useDebugValue=function(){};G.useDeferredValue=function(e){return De.current.useDeferredValue(e)};G.useEffect=function(e,t){return De.current.useEffect(e,t)};G.useId=function(){return De.current.useId()};G.useImperativeHandle=function(e,t,n){return De.current.useImperativeHandle(e,t,n)};G.useInsertionEffect=function(e,t){return De.current.useInsertionEffect(e,t)};G.useLayoutEffect=function(e,t){return De.current.useLayoutEffect(e,t)};G.useMemo=function(e,t){return De.current.useMemo(e,t)};G.useReducer=function(e,t,n){return De.current.useReducer(e,t,n)};G.useRef=function(e){return De.current.useRef(e)};G.useState=function(e){return De.current.useState(e)};G.useSyncExternalStore=function(e,t,n){return De.current.useSyncExternalStore(e,t,n)};G.useTransition=function(){return De.current.useTransition()};G.version="18.3.1";pf.exports=G;var x=pf.exports;const _=df(x),j0=p0({__proto__:null,default:_},[x]);/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var R0=x,_0=Symbol.for("react.element"),O0=Symbol.for("react.fragment"),M0=Object.prototype.hasOwnProperty,L0=R0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,A0={key:!0,ref:!0,__self:!0,__source:!0};function Ef(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)M0.call(t,r)&&!A0.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:_0,type:e,key:i,ref:s,props:o,_owner:L0.current}}Ts.Fragment=O0;Ts.jsx=Ef;Ts.jsxs=Ef;ff.exports=Ts;var m=ff.exports,Cf={exports:{}},Je={},kf={exports:{}},bf={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t(k,R){var z=k.length;k.push(R);e:for(;0<z;){var A=z-1>>>1,F=k[A];if(0<o(F,R))k[A]=R,k[z]=F,z=A;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var R=k[0],z=k.pop();if(z!==R){k[0]=z;e:for(var A=0,F=k.length,Y=F>>>1;A<Y;){var le=2*(A+1)-1,Ve=k[le],Z=le+1,at=k[Z];if(0>o(Ve,z))Z<F&&0>o(at,Ve)?(k[A]=at,k[Z]=z,A=Z):(k[A]=Ve,k[le]=z,A=le);else if(Z<F&&0>o(at,z))k[A]=at,k[Z]=z,A=Z;else break e}}return R}function o(k,R){var z=k.sortIndex-R.sortIndex;return z!==0?z:k.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],d=1,f=null,c=3,y=!1,w=!1,g=!1,S=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(k){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=k)r(u),R.sortIndex=R.expirationTime,t(a,R);else break;R=n(u)}}function E(k){if(g=!1,v(k),!w)if(n(a)!==null)w=!0,U(C);else{var R=n(u);R!==null&&K(E,R.startTime-k)}}function C(k,R){w=!1,g&&(g=!1,h(T),T=-1),y=!0;var z=c;try{for(v(R),f=n(a);f!==null&&(!(f.expirationTime>R)||k&&!$());){var A=f.callback;if(typeof A=="function"){f.callback=null,c=f.priorityLevel;var F=A(f.expirationTime<=R);R=e.unstable_now(),typeof F=="function"?f.callback=F:f===n(a)&&r(a),v(R)}else r(a);f=n(a)}if(f!==null)var Y=!0;else{var le=n(u);le!==null&&K(E,le.startTime-R),Y=!1}return Y}finally{f=null,c=z,y=!1}}var b=!1,P=null,T=-1,D=5,O=-1;function $(){return!(e.unstable_now()-O<D)}function I(){if(P!==null){var k=e.unstable_now();O=k;var R=!0;try{R=P(!0,k)}finally{R?H():(b=!1,P=null)}}else b=!1}var H;if(typeof p=="function")H=function(){p(I)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,Q=M.port2;M.port1.onmessage=I,H=function(){Q.postMessage(null)}}else H=function(){S(I,0)};function U(k){P=k,b||(b=!0,H())}function K(k,R){T=S(function(){k(e.unstable_now())},R)}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(k){k.callback=null},e.unstable_continueExecution=function(){w||y||(w=!0,U(C))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return c},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(k){switch(c){case 1:case 2:case 3:var R=3;break;default:R=c}var z=c;c=R;try{return k()}finally{c=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,R){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var z=c;c=k;try{return R()}finally{c=z}},e.unstable_scheduleCallback=function(k,R,z){var A=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?A+z:A):z=A,k){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=z+F,k={id:d++,callback:R,priorityLevel:k,startTime:z,expirationTime:F,sortIndex:-1},z>A?(k.sortIndex=z,t(u,k),n(a)===null&&k===n(u)&&(g?(h(T),T=-1):g=!0,K(E,z-A))):(k.sortIndex=F,t(a,k),w||y||(w=!0,U(C))),k},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(k){var R=c;return function(){var z=c;c=R;try{return k.apply(this,arguments)}finally{c=z}}}})(bf);kf.exports=bf;var D0=kf.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var I0=x,Ze=D0;function j(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 Pf=new Set,No={};function Jn(e,t){zr(e,t),zr(e+"Capture",t)}function zr(e,t){for(No[e]=t,e=0;e<t.length;e++)Pf.add(t[e])}var Ut=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$l=Object.prototype.hasOwnProperty,z0=/^[: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]*$/,vc={},gc={};function F0(e){return $l.call(gc,e)?!0:$l.call(vc,e)?!1:z0.test(e)?gc[e]=!0:(vc[e]=!0,!1)}function $0(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 U0(e,t,n,r){if(t===null||typeof t>"u"||$0(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 Ie(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var ke={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ke[e]=new Ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ke[t]=new Ie(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ke[e]=new Ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ke[e]=new Ie(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){ke[e]=new Ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ke[e]=new Ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ke[e]=new Ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ke[e]=new Ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ke[e]=new Ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ja=/[\-:]([a-z])/g;function eu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ja,eu);ke[t]=new Ie(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(Ja,eu);ke[t]=new Ie(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(Ja,eu);ke[t]=new Ie(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ke[e]=new Ie(e,1,!1,e.toLowerCase(),null,!1,!1)});ke.xlinkHref=new Ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ke[e]=new Ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function tu(e,t,n,r){var o=ke.hasOwnProperty(t)?ke[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(U0(t,n,o,r)&&(n=null),r||o===null?F0(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Kt=I0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fi=Symbol.for("react.element"),ur=Symbol.for("react.portal"),cr=Symbol.for("react.fragment"),nu=Symbol.for("react.strict_mode"),Ul=Symbol.for("react.profiler"),Nf=Symbol.for("react.provider"),Tf=Symbol.for("react.context"),ru=Symbol.for("react.forward_ref"),Bl=Symbol.for("react.suspense"),Wl=Symbol.for("react.suspense_list"),ou=Symbol.for("react.memo"),rn=Symbol.for("react.lazy"),jf=Symbol.for("react.offscreen"),yc=Symbol.iterator;function no(e){return e===null||typeof e!="object"?null:(e=yc&&e[yc]||e["@@iterator"],typeof e=="function"?e:null)}var ce=Object.assign,ll;function po(e){if(ll===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ll=t&&t[1]||""}return`
`+ll+e}var al=!1;function ul(e,t){if(!e||al)return"";al=!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 o=u.stack.split(`
`),i=r.stack.split(`
`),s=o.length-1,l=i.length-1;1<=s&&0<=l&&o[s]!==i[l];)l--;for(;1<=s&&0<=l;s--,l--)if(o[s]!==i[l]){if(s!==1||l!==1)do if(s--,l--,0>l||o[s]!==i[l]){var a=`
`+o[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{al=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?po(e):""}function B0(e){switch(e.tag){case 5:return po(e.type);case 16:return po("Lazy");case 13:return po("Suspense");case 19:return po("SuspenseList");case 0:case 2:case 15:return e=ul(e.type,!1),e;case 11:return e=ul(e.type.render,!1),e;case 1:return e=ul(e.type,!0),e;default:return""}}function Vl(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 cr:return"Fragment";case ur:return"Portal";case Ul:return"Profiler";case nu:return"StrictMode";case Bl:return"Suspense";case Wl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Tf:return(e.displayName||"Context")+".Consumer";case Nf:return(e._context.displayName||"Context")+".Provider";case ru:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ou:return t=e.displayName||null,t!==null?t:Vl(e.type)||"Memo";case rn:t=e._payload,e=e._init;try{return Vl(e(t))}catch{}}return null}function W0(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 Vl(t);case 8:return t===nu?"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 bn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Rf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function V0(e){var t=Rf(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 o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function pi(e){e._valueTracker||(e._valueTracker=V0(e))}function _f(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Rf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Xi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Hl(e,t){var n=t.checked;return ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=bn(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 Of(e,t){t=t.checked,t!=null&&tu(e,"checked",t,!1)}function Ql(e,t){Of(e,t);var n=bn(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")?Kl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Kl(e,t.type,bn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function wc(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 Kl(e,t,n){(t!=="number"||Xi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ho=Array.isArray;function Sr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+bn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Gl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Sc(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(j(92));if(ho(n)){if(1<n.length)throw Error(j(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:bn(n)}}function Mf(e,t){var n=bn(t.value),r=bn(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 Ec(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Lf(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 Yl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Lf(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var hi,Af=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(hi=hi||document.createElement("div"),hi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=hi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function To(e,t){if(t){var n=e.firstChild;if(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},H0=["Webkit","ms","Moz","O"];Object.keys(go).forEach(function(e){H0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),go[t]=go[e]})});function Df(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 If(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Df(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Q0=ce({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Xl(e,t){if(t){if(Q0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function ql(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 Zl=null;function iu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Jl=null,Er=null,Cr=null;function Cc(e){if(e=ti(e)){if(typeof Jl!="function")throw Error(j(280));var t=e.stateNode;t&&(t=Ms(t),Jl(e.stateNode,e.type,t))}}function zf(e){Er?Cr?Cr.push(e):Cr=[e]:Er=e}function Ff(){if(Er){var e=Er,t=Cr;if(Cr=Er=null,Cc(e),t)for(e=0;e<t.length;e++)Cc(t[e])}}function $f(e,t){return e(t)}function Uf(){}var cl=!1;function Bf(e,t,n){if(cl)return e(t,n);cl=!0;try{return $f(e,t,n)}finally{cl=!1,(Er!==null||Cr!==null)&&(Uf(),Ff())}}function jo(e,t){var n=e.stateNode;if(n===null)return null;var r=Ms(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(j(231,t,typeof n));return n}var ea=!1;if(Ut)try{var ro={};Object.defineProperty(ro,"passive",{get:function(){ea=!0}}),window.addEventListener("test",ro,ro),window.removeEventListener("test",ro,ro)}catch{ea=!1}function K0(e,t,n,r,o,i,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var yo=!1,qi=null,Zi=!1,ta=null,G0={onError:function(e){yo=!0,qi=e}};function Y0(e,t,n,r,o,i,s,l,a){yo=!1,qi=null,K0.apply(G0,arguments)}function X0(e,t,n,r,o,i,s,l,a){if(Y0.apply(this,arguments),yo){if(yo){var u=qi;yo=!1,qi=null}else throw Error(j(198));Zi||(Zi=!0,ta=u)}}function er(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 Wf(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 kc(e){if(er(e)!==e)throw Error(j(188))}function q0(e){var t=e.alternate;if(!t){if(t=er(e),t===null)throw Error(j(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return kc(o),e;if(i===r)return kc(o),t;i=i.sibling}throw Error(j(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(j(189))}}if(n.alternate!==r)throw Error(j(190))}if(n.tag!==3)throw Error(j(188));return n.stateNode.current===n?e:t}function Vf(e){return e=q0(e),e!==null?Hf(e):null}function Hf(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Hf(e);if(t!==null)return t;e=e.sibling}return null}var Qf=Ze.unstable_scheduleCallback,bc=Ze.unstable_cancelCallback,Z0=Ze.unstable_shouldYield,J0=Ze.unstable_requestPaint,pe=Ze.unstable_now,ev=Ze.unstable_getCurrentPriorityLevel,su=Ze.unstable_ImmediatePriority,Kf=Ze.unstable_UserBlockingPriority,Ji=Ze.unstable_NormalPriority,tv=Ze.unstable_LowPriority,Gf=Ze.unstable_IdlePriority,js=null,jt=null;function nv(e){if(jt&&typeof jt.onCommitFiberRoot=="function")try{jt.onCommitFiberRoot(js,e,void 0,(e.current.flags&128)===128)}catch{}}var mt=Math.clz32?Math.clz32:iv,rv=Math.log,ov=Math.LN2;function iv(e){return e>>>=0,e===0?32:31-(rv(e)/ov|0)|0}var mi=64,vi=4194304;function mo(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function es(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~o;l!==0?r=mo(l):(i&=s,i!==0&&(r=mo(i)))}else s=n&~o,s!==0?r=mo(s):i!==0&&(r=mo(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-mt(t),o=1<<n,r|=e[n],t&=~o;return r}function sv(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 lv(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-mt(i),l=1<<s,a=o[s];a===-1?(!(l&n)||l&r)&&(o[s]=sv(l,t)):a<=t&&(e.expiredLanes|=l),i&=~l}}function na(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Yf(){var e=mi;return mi<<=1,!(mi&4194240)&&(mi=64),e}function dl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Jo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-mt(t),e[t]=n}function av(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 o=31-mt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function lu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-mt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var J=0;function Xf(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var qf,au,Zf,Jf,ep,ra=!1,gi=[],vn=null,gn=null,yn=null,Ro=new Map,_o=new Map,sn=[],uv="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 Pc(e,t){switch(e){case"focusin":case"focusout":vn=null;break;case"dragenter":case"dragleave":gn=null;break;case"mouseover":case"mouseout":yn=null;break;case"pointerover":case"pointerout":Ro.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":_o.delete(t.pointerId)}}function oo(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=ti(t),t!==null&&au(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function cv(e,t,n,r,o){switch(t){case"focusin":return vn=oo(vn,e,t,n,r,o),!0;case"dragenter":return gn=oo(gn,e,t,n,r,o),!0;case"mouseover":return yn=oo(yn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Ro.set(i,oo(Ro.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,_o.set(i,oo(_o.get(i)||null,e,t,n,r,o)),!0}return!1}function tp(e){var t=In(e.target);if(t!==null){var n=er(t);if(n!==null){if(t=n.tag,t===13){if(t=Wf(n),t!==null){e.blockedOn=t,ep(e.priority,function(){Zf(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 Ai(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=oa(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Zl=r,n.target.dispatchEvent(r),Zl=null}else return t=ti(n),t!==null&&au(t),e.blockedOn=n,!1;t.shift()}return!0}function Nc(e,t,n){Ai(e)&&n.delete(t)}function dv(){ra=!1,vn!==null&&Ai(vn)&&(vn=null),gn!==null&&Ai(gn)&&(gn=null),yn!==null&&Ai(yn)&&(yn=null),Ro.forEach(Nc),_o.forEach(Nc)}function io(e,t){e.blockedOn===t&&(e.blockedOn=null,ra||(ra=!0,Ze.unstable_scheduleCallback(Ze.unstable_NormalPriority,dv)))}function Oo(e){function t(o){return io(o,e)}if(0<gi.length){io(gi[0],e);for(var n=1;n<gi.length;n++){var r=gi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(vn!==null&&io(vn,e),gn!==null&&io(gn,e),yn!==null&&io(yn,e),Ro.forEach(t),_o.forEach(t),n=0;n<sn.length;n++)r=sn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<sn.length&&(n=sn[0],n.blockedOn===null);)tp(n),n.blockedOn===null&&sn.shift()}var kr=Kt.ReactCurrentBatchConfig,ts=!0;function fv(e,t,n,r){var o=J,i=kr.transition;kr.transition=null;try{J=1,uu(e,t,n,r)}finally{J=o,kr.transition=i}}function pv(e,t,n,r){var o=J,i=kr.transition;kr.transition=null;try{J=4,uu(e,t,n,r)}finally{J=o,kr.transition=i}}function uu(e,t,n,r){if(ts){var o=oa(e,t,n,r);if(o===null)Sl(e,t,r,ns,n),Pc(e,r);else if(cv(o,e,t,n,r))r.stopPropagation();else if(Pc(e,r),t&4&&-1<uv.indexOf(e)){for(;o!==null;){var i=ti(o);if(i!==null&&qf(i),i=oa(e,t,n,r),i===null&&Sl(e,t,r,ns,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Sl(e,t,r,null,n)}}var ns=null;function oa(e,t,n,r){if(ns=null,e=iu(r),e=In(e),e!==null)if(t=er(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Wf(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ns=e,null}function np(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(ev()){case su:return 1;case Kf:return 4;case Ji:case tv:return 16;case Gf:return 536870912;default:return 16}default:return 16}}var pn=null,cu=null,Di=null;function rp(){if(Di)return Di;var e,t=cu,n=t.length,r,o="value"in pn?pn.value:pn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return Di=o.slice(e,1<r?1-r:void 0)}function Ii(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 yi(){return!0}function Tc(){return!1}function et(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?yi:Tc,this.isPropagationStopped=Tc,this}return ce(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=yi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=yi)},persist:function(){},isPersistent:yi}),t}var Gr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},du=et(Gr),ei=ce({},Gr,{view:0,detail:0}),hv=et(ei),fl,pl,so,Rs=ce({},ei,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fu,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!==so&&(so&&e.type==="mousemove"?(fl=e.screenX-so.screenX,pl=e.screenY-so.screenY):pl=fl=0,so=e),fl)},movementY:function(e){return"movementY"in e?e.movementY:pl}}),jc=et(Rs),mv=ce({},Rs,{dataTransfer:0}),vv=et(mv),gv=ce({},ei,{relatedTarget:0}),hl=et(gv),yv=ce({},Gr,{animationName:0,elapsedTime:0,pseudoElement:0}),xv=et(yv),wv=ce({},Gr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Sv=et(wv),Ev=ce({},Gr,{data:0}),Rc=et(Ev),Cv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kv={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"},bv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=bv[e])?!!t[e]:!1}function fu(){return Pv}var Nv=ce({},ei,{key:function(e){if(e.key){var t=Cv[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ii(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?kv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fu,charCode:function(e){return e.type==="keypress"?Ii(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ii(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Tv=et(Nv),jv=ce({},Rs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_c=et(jv),Rv=ce({},ei,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fu}),_v=et(Rv),Ov=ce({},Gr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Mv=et(Ov),Lv=ce({},Rs,{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}),Av=et(Lv),Dv=[9,13,27,32],pu=Ut&&"CompositionEvent"in window,xo=null;Ut&&"documentMode"in document&&(xo=document.documentMode);var Iv=Ut&&"TextEvent"in window&&!xo,op=Ut&&(!pu||xo&&8<xo&&11>=xo),Oc=" ",Mc=!1;function ip(e,t){switch(e){case"keyup":return Dv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var dr=!1;function zv(e,t){switch(e){case"compositionend":return sp(t);case"keypress":return t.which!==32?null:(Mc=!0,Oc);case"textInput":return e=t.data,e===Oc&&Mc?null:e;default:return null}}function Fv(e,t){if(dr)return e==="compositionend"||!pu&&ip(e,t)?(e=rp(),Di=cu=pn=null,dr=!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 op&&t.locale!=="ko"?null:t.data;default:return null}}var $v={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 Lc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!$v[e.type]:t==="textarea"}function lp(e,t,n,r){zf(r),t=rs(t,"onChange"),0<t.length&&(n=new du("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var wo=null,Mo=null;function Uv(e){yp(e,0)}function _s(e){var t=hr(e);if(_f(t))return e}function Bv(e,t){if(e==="change")return t}var ap=!1;if(Ut){var ml;if(Ut){var vl="oninput"in document;if(!vl){var Ac=document.createElement("div");Ac.setAttribute("oninput","return;"),vl=typeof Ac.oninput=="function"}ml=vl}else ml=!1;ap=ml&&(!document.documentMode||9<document.documentMode)}function Dc(){wo&&(wo.detachEvent("onpropertychange",up),Mo=wo=null)}function up(e){if(e.propertyName==="value"&&_s(Mo)){var t=[];lp(t,Mo,e,iu(e)),Bf(Uv,t)}}function Wv(e,t,n){e==="focusin"?(Dc(),wo=t,Mo=n,wo.attachEvent("onpropertychange",up)):e==="focusout"&&Dc()}function Vv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return _s(Mo)}function Hv(e,t){if(e==="click")return _s(t)}function Qv(e,t){if(e==="input"||e==="change")return _s(t)}function Kv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var gt=typeof Object.is=="function"?Object.is:Kv;function Lo(e,t){if(gt(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 o=n[r];if(!$l.call(t,o)||!gt(e[o],t[o]))return!1}return!0}function Ic(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zc(e,t){var n=Ic(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=Ic(n)}}function cp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?cp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function dp(){for(var e=window,t=Xi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Xi(e.document)}return t}function hu(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 Gv(e){var t=dp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&cp(n.ownerDocument.documentElement,n)){if(r!==null&&hu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=zc(n,i);var s=zc(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Yv=Ut&&"documentMode"in document&&11>=document.documentMode,fr=null,ia=null,So=null,sa=!1;function Fc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;sa||fr==null||fr!==Xi(r)||(r=fr,"selectionStart"in r&&hu(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}),So&&Lo(So,r)||(So=r,r=rs(ia,"onSelect"),0<r.length&&(t=new du("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=fr)))}function xi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var pr={animationend:xi("Animation","AnimationEnd"),animationiteration:xi("Animation","AnimationIteration"),animationstart:xi("Animation","AnimationStart"),transitionend:xi("Transition","TransitionEnd")},gl={},fp={};Ut&&(fp=document.createElement("div").style,"AnimationEvent"in window||(delete pr.animationend.animation,delete pr.animationiteration.animation,delete pr.animationstart.animation),"TransitionEvent"in window||delete pr.transitionend.transition);function Os(e){if(gl[e])return gl[e];if(!pr[e])return e;var t=pr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in fp)return gl[e]=t[n];return e}var pp=Os("animationend"),hp=Os("animationiteration"),mp=Os("animationstart"),vp=Os("transitionend"),gp=new Map,$c="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 _n(e,t){gp.set(e,t),Jn(t,[e])}for(var yl=0;yl<$c.length;yl++){var xl=$c[yl],Xv=xl.toLowerCase(),qv=xl[0].toUpperCase()+xl.slice(1);_n(Xv,"on"+qv)}_n(pp,"onAnimationEnd");_n(hp,"onAnimationIteration");_n(mp,"onAnimationStart");_n("dblclick","onDoubleClick");_n("focusin","onFocus");_n("focusout","onBlur");_n(vp,"onTransitionEnd");zr("onMouseEnter",["mouseout","mouseover"]);zr("onMouseLeave",["mouseout","mouseover"]);zr("onPointerEnter",["pointerout","pointerover"]);zr("onPointerLeave",["pointerout","pointerover"]);Jn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Jn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Jn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Jn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Jn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Jn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vo="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(" "),Zv=new Set("cancel close invalid load scroll toggle".split(" ").concat(vo));function Uc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,X0(r,t,void 0,e),e.currentTarget=null}function yp(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==i&&o.isPropagationStopped())break e;Uc(o,l,u),i=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,u=l.currentTarget,l=l.listener,a!==i&&o.isPropagationStopped())break e;Uc(o,l,u),i=a}}}if(Zi)throw e=ta,Zi=!1,ta=null,e}function oe(e,t){var n=t[da];n===void 0&&(n=t[da]=new Set);var r=e+"__bubble";n.has(r)||(xp(t,e,2,!1),n.add(r))}function wl(e,t,n){var r=0;t&&(r|=4),xp(n,e,r,t)}var wi="_reactListening"+Math.random().toString(36).slice(2);function Ao(e){if(!e[wi]){e[wi]=!0,Pf.forEach(function(n){n!=="selectionchange"&&(Zv.has(n)||wl(n,!1,e),wl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[wi]||(t[wi]=!0,wl("selectionchange",!1,t))}}function xp(e,t,n,r){switch(np(t)){case 1:var o=fv;break;case 4:o=pv;break;default:o=uu}n=o.bind(null,t,n,e),o=void 0,!ea||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Sl(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;s=s.return}for(;l!==null;){if(s=In(l),s===null)return;if(a=s.tag,a===5||a===6){r=i=s;continue e}l=l.parentNode}}r=r.return}Bf(function(){var u=i,d=iu(n),f=[];e:{var c=gp.get(e);if(c!==void 0){var y=du,w=e;switch(e){case"keypress":if(Ii(n)===0)break e;case"keydown":case"keyup":y=Tv;break;case"focusin":w="focus",y=hl;break;case"focusout":w="blur",y=hl;break;case"beforeblur":case"afterblur":y=hl;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":y=jc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=vv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=_v;break;case pp:case hp:case mp:y=xv;break;case vp:y=Mv;break;case"scroll":y=hv;break;case"wheel":y=Av;break;case"copy":case"cut":case"paste":y=Sv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=_c}var g=(t&4)!==0,S=!g&&e==="scroll",h=g?c!==null?c+"Capture":null:c;g=[];for(var p=u,v;p!==null;){v=p;var E=v.stateNode;if(v.tag===5&&E!==null&&(v=E,h!==null&&(E=jo(p,h),E!=null&&g.push(Do(p,E,v)))),S)break;p=p.return}0<g.length&&(c=new y(c,w,null,n,d),f.push({event:c,listeners:g}))}}if(!(t&7)){e:{if(c=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",c&&n!==Zl&&(w=n.relatedTarget||n.fromElement)&&(In(w)||w[Bt]))break e;if((y||c)&&(c=d.window===d?d:(c=d.ownerDocument)?c.defaultView||c.parentWindow:window,y?(w=n.relatedTarget||n.toElement,y=u,w=w?In(w):null,w!==null&&(S=er(w),w!==S||w.tag!==5&&w.tag!==6)&&(w=null)):(y=null,w=u),y!==w)){if(g=jc,E="onMouseLeave",h="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(g=_c,E="onPointerLeave",h="onPointerEnter",p="pointer"),S=y==null?c:hr(y),v=w==null?c:hr(w),c=new g(E,p+"leave",y,n,d),c.target=S,c.relatedTarget=v,E=null,In(d)===u&&(g=new g(h,p+"enter",w,n,d),g.target=v,g.relatedTarget=S,E=g),S=E,y&&w)t:{for(g=y,h=w,p=0,v=g;v;v=ar(v))p++;for(v=0,E=h;E;E=ar(E))v++;for(;0<p-v;)g=ar(g),p--;for(;0<v-p;)h=ar(h),v--;for(;p--;){if(g===h||h!==null&&g===h.alternate)break t;g=ar(g),h=ar(h)}g=null}else g=null;y!==null&&Bc(f,c,y,g,!1),w!==null&&S!==null&&Bc(f,S,w,g,!0)}}e:{if(c=u?hr(u):window,y=c.nodeName&&c.nodeName.toLowerCase(),y==="select"||y==="input"&&c.type==="file")var C=Bv;else if(Lc(c))if(ap)C=Qv;else{C=Vv;var b=Wv}else(y=c.nodeName)&&y.toLowerCase()==="input"&&(c.type==="checkbox"||c.type==="radio")&&(C=Hv);if(C&&(C=C(e,u))){lp(f,C,n,d);break e}b&&b(e,c,u),e==="focusout"&&(b=c._wrapperState)&&b.controlled&&c.type==="number"&&Kl(c,"number",c.value)}switch(b=u?hr(u):window,e){case"focusin":(Lc(b)||b.contentEditable==="true")&&(fr=b,ia=u,So=null);break;case"focusout":So=ia=fr=null;break;case"mousedown":sa=!0;break;case"contextmenu":case"mouseup":case"dragend":sa=!1,Fc(f,n,d);break;case"selectionchange":if(Yv)break;case"keydown":case"keyup":Fc(f,n,d)}var P;if(pu)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else dr?ip(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(op&&n.locale!=="ko"&&(dr||T!=="onCompositionStart"?T==="onCompositionEnd"&&dr&&(P=rp()):(pn=d,cu="value"in pn?pn.value:pn.textContent,dr=!0)),b=rs(u,T),0<b.length&&(T=new Rc(T,e,null,n,d),f.push({event:T,listeners:b}),P?T.data=P:(P=sp(n),P!==null&&(T.data=P)))),(P=Iv?zv(e,n):Fv(e,n))&&(u=rs(u,"onBeforeInput"),0<u.length&&(d=new Rc("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=P))}yp(f,t)})}function Do(e,t,n){return{instance:e,listener:t,currentTarget:n}}function rs(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=jo(e,n),i!=null&&r.unshift(Do(e,i,o)),i=jo(e,t),i!=null&&r.push(Do(e,i,o))),e=e.return}return r}function ar(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Bc(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var l=n,a=l.alternate,u=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&u!==null&&(l=u,o?(a=jo(n,i),a!=null&&s.unshift(Do(n,a,l))):o||(a=jo(n,i),a!=null&&s.push(Do(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var Jv=/\r\n?/g,eg=/\u0000|\uFFFD/g;function Wc(e){return(typeof e=="string"?e:""+e).replace(Jv,`
`).replace(eg,"")}function Si(e,t,n){if(t=Wc(t),Wc(e)!==t&&n)throw Error(j(425))}function os(){}var la=null,aa=null;function ua(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 ca=typeof setTimeout=="function"?setTimeout:void 0,tg=typeof clearTimeout=="function"?clearTimeout:void 0,Vc=typeof Promise=="function"?Promise:void 0,ng=typeof queueMicrotask=="function"?queueMicrotask:typeof Vc<"u"?function(e){return Vc.resolve(null).then(e).catch(rg)}:ca;function rg(e){setTimeout(function(){throw e})}function El(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Oo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Oo(t)}function xn(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 Hc(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 Yr=Math.random().toString(36).slice(2),Tt="__reactFiber$"+Yr,Io="__reactProps$"+Yr,Bt="__reactContainer$"+Yr,da="__reactEvents$"+Yr,og="__reactListeners$"+Yr,ig="__reactHandles$"+Yr;function In(e){var t=e[Tt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Bt]||n[Tt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Hc(e);e!==null;){if(n=e[Tt])return n;e=Hc(e)}return t}e=n,n=e.parentNode}return null}function ti(e){return e=e[Tt]||e[Bt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function hr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function Ms(e){return e[Io]||null}var fa=[],mr=-1;function On(e){return{current:e}}function ie(e){0>mr||(e.current=fa[mr],fa[mr]=null,mr--)}function te(e,t){mr++,fa[mr]=e.current,e.current=t}var Pn={},Re=On(Pn),$e=On(!1),Qn=Pn;function Fr(e,t){var n=e.type.contextTypes;if(!n)return Pn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ue(e){return e=e.childContextTypes,e!=null}function is(){ie($e),ie(Re)}function Qc(e,t,n){if(Re.current!==Pn)throw Error(j(168));te(Re,t),te($e,n)}function wp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(j(108,W0(e)||"Unknown",o));return ce({},n,r)}function ss(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pn,Qn=Re.current,te(Re,e),te($e,$e.current),!0}function Kc(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=wp(e,t,Qn),r.__reactInternalMemoizedMergedChildContext=e,ie($e),ie(Re),te(Re,e)):ie($e),te($e,n)}var It=null,Ls=!1,Cl=!1;function Sp(e){It===null?It=[e]:It.push(e)}function sg(e){Ls=!0,Sp(e)}function Mn(){if(!Cl&&It!==null){Cl=!0;var e=0,t=J;try{var n=It;for(J=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}It=null,Ls=!1}catch(o){throw It!==null&&(It=It.slice(e+1)),Qf(su,Mn),o}finally{J=t,Cl=!1}}return null}var vr=[],gr=0,ls=null,as=0,nt=[],rt=0,Kn=null,zt=1,Ft="";function An(e,t){vr[gr++]=as,vr[gr++]=ls,ls=e,as=t}function Ep(e,t,n){nt[rt++]=zt,nt[rt++]=Ft,nt[rt++]=Kn,Kn=e;var r=zt;e=Ft;var o=32-mt(r)-1;r&=~(1<<o),n+=1;var i=32-mt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,zt=1<<32-mt(t)+o|n<<o|r,Ft=i+e}else zt=1<<i|n<<o|r,Ft=e}function mu(e){e.return!==null&&(An(e,1),Ep(e,1,0))}function vu(e){for(;e===ls;)ls=vr[--gr],vr[gr]=null,as=vr[--gr],vr[gr]=null;for(;e===Kn;)Kn=nt[--rt],nt[rt]=null,Ft=nt[--rt],nt[rt]=null,zt=nt[--rt],nt[rt]=null}var Xe=null,Ye=null,se=!1,ht=null;function Cp(e,t){var n=ot(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 Gc(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,Xe=e,Ye=xn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Xe=e,Ye=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Kn!==null?{id:zt,overflow:Ft}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ot(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Xe=e,Ye=null,!0):!1;default:return!1}}function pa(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ha(e){if(se){var t=Ye;if(t){var n=t;if(!Gc(e,t)){if(pa(e))throw Error(j(418));t=xn(n.nextSibling);var r=Xe;t&&Gc(e,t)?Cp(r,n):(e.flags=e.flags&-4097|2,se=!1,Xe=e)}}else{if(pa(e))throw Error(j(418));e.flags=e.flags&-4097|2,se=!1,Xe=e}}}function Yc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Xe=e}function Ei(e){if(e!==Xe)return!1;if(!se)return Yc(e),se=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ua(e.type,e.memoizedProps)),t&&(t=Ye)){if(pa(e))throw kp(),Error(j(418));for(;t;)Cp(e,t),t=xn(t.nextSibling)}if(Yc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ye=xn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ye=null}}else Ye=Xe?xn(e.stateNode.nextSibling):null;return!0}function kp(){for(var e=Ye;e;)e=xn(e.nextSibling)}function $r(){Ye=Xe=null,se=!1}function gu(e){ht===null?ht=[e]:ht.push(e)}var lg=Kt.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(j(309));var r=n.stateNode}if(!r)throw Error(j(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var l=o.refs;s===null?delete l[i]:l[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(j(284));if(!n._owner)throw Error(j(290,e))}return e}function Ci(e,t){throw e=Object.prototype.toString.call(t),Error(j(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xc(e){var t=e._init;return t(e._payload)}function bp(e){function t(h,p){if(e){var v=h.deletions;v===null?(h.deletions=[p],h.flags|=16):v.push(p)}}function n(h,p){if(!e)return null;for(;p!==null;)t(h,p),p=p.sibling;return null}function r(h,p){for(h=new Map;p!==null;)p.key!==null?h.set(p.key,p):h.set(p.index,p),p=p.sibling;return h}function o(h,p){return h=Cn(h,p),h.index=0,h.sibling=null,h}function i(h,p,v){return h.index=v,e?(v=h.alternate,v!==null?(v=v.index,v<p?(h.flags|=2,p):v):(h.flags|=2,p)):(h.flags|=1048576,p)}function s(h){return e&&h.alternate===null&&(h.flags|=2),h}function l(h,p,v,E){return p===null||p.tag!==6?(p=Rl(v,h.mode,E),p.return=h,p):(p=o(p,v),p.return=h,p)}function a(h,p,v,E){var C=v.type;return C===cr?d(h,p,v.props.children,E,v.key):p!==null&&(p.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===rn&&Xc(C)===p.type)?(E=o(p,v.props),E.ref=lo(h,p,v),E.return=h,E):(E=Vi(v.type,v.key,v.props,null,h.mode,E),E.ref=lo(h,p,v),E.return=h,E)}function u(h,p,v,E){return p===null||p.tag!==4||p.stateNode.containerInfo!==v.containerInfo||p.stateNode.implementation!==v.implementation?(p=_l(v,h.mode,E),p.return=h,p):(p=o(p,v.children||[]),p.return=h,p)}function d(h,p,v,E,C){return p===null||p.tag!==7?(p=Hn(v,h.mode,E,C),p.return=h,p):(p=o(p,v),p.return=h,p)}function f(h,p,v){if(typeof p=="string"&&p!==""||typeof p=="number")return p=Rl(""+p,h.mode,v),p.return=h,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case fi:return v=Vi(p.type,p.key,p.props,null,h.mode,v),v.ref=lo(h,null,p),v.return=h,v;case ur:return p=_l(p,h.mode,v),p.return=h,p;case rn:var E=p._init;return f(h,E(p._payload),v)}if(ho(p)||no(p))return p=Hn(p,h.mode,v,null),p.return=h,p;Ci(h,p)}return null}function c(h,p,v,E){var C=p!==null?p.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return C!==null?null:l(h,p,""+v,E);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case fi:return v.key===C?a(h,p,v,E):null;case ur:return v.key===C?u(h,p,v,E):null;case rn:return C=v._init,c(h,p,C(v._payload),E)}if(ho(v)||no(v))return C!==null?null:d(h,p,v,E,null);Ci(h,v)}return null}function y(h,p,v,E,C){if(typeof E=="string"&&E!==""||typeof E=="number")return h=h.get(v)||null,l(p,h,""+E,C);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case fi:return h=h.get(E.key===null?v:E.key)||null,a(p,h,E,C);case ur:return h=h.get(E.key===null?v:E.key)||null,u(p,h,E,C);case rn:var b=E._init;return y(h,p,v,b(E._payload),C)}if(ho(E)||no(E))return h=h.get(v)||null,d(p,h,E,C,null);Ci(p,E)}return null}function w(h,p,v,E){for(var C=null,b=null,P=p,T=p=0,D=null;P!==null&&T<v.length;T++){P.index>T?(D=P,P=null):D=P.sibling;var O=c(h,P,v[T],E);if(O===null){P===null&&(P=D);break}e&&P&&O.alternate===null&&t(h,P),p=i(O,p,T),b===null?C=O:b.sibling=O,b=O,P=D}if(T===v.length)return n(h,P),se&&An(h,T),C;if(P===null){for(;T<v.length;T++)P=f(h,v[T],E),P!==null&&(p=i(P,p,T),b===null?C=P:b.sibling=P,b=P);return se&&An(h,T),C}for(P=r(h,P);T<v.length;T++)D=y(P,h,T,v[T],E),D!==null&&(e&&D.alternate!==null&&P.delete(D.key===null?T:D.key),p=i(D,p,T),b===null?C=D:b.sibling=D,b=D);return e&&P.forEach(function($){return t(h,$)}),se&&An(h,T),C}function g(h,p,v,E){var C=no(v);if(typeof C!="function")throw Error(j(150));if(v=C.call(v),v==null)throw Error(j(151));for(var b=C=null,P=p,T=p=0,D=null,O=v.next();P!==null&&!O.done;T++,O=v.next()){P.index>T?(D=P,P=null):D=P.sibling;var $=c(h,P,O.value,E);if($===null){P===null&&(P=D);break}e&&P&&$.alternate===null&&t(h,P),p=i($,p,T),b===null?C=$:b.sibling=$,b=$,P=D}if(O.done)return n(h,P),se&&An(h,T),C;if(P===null){for(;!O.done;T++,O=v.next())O=f(h,O.value,E),O!==null&&(p=i(O,p,T),b===null?C=O:b.sibling=O,b=O);return se&&An(h,T),C}for(P=r(h,P);!O.done;T++,O=v.next())O=y(P,h,T,O.value,E),O!==null&&(e&&O.alternate!==null&&P.delete(O.key===null?T:O.key),p=i(O,p,T),b===null?C=O:b.sibling=O,b=O);return e&&P.forEach(function(I){return t(h,I)}),se&&An(h,T),C}function S(h,p,v,E){if(typeof v=="object"&&v!==null&&v.type===cr&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case fi:e:{for(var C=v.key,b=p;b!==null;){if(b.key===C){if(C=v.type,C===cr){if(b.tag===7){n(h,b.sibling),p=o(b,v.props.children),p.return=h,h=p;break e}}else if(b.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===rn&&Xc(C)===b.type){n(h,b.sibling),p=o(b,v.props),p.ref=lo(h,b,v),p.return=h,h=p;break e}n(h,b);break}else t(h,b);b=b.sibling}v.type===cr?(p=Hn(v.props.children,h.mode,E,v.key),p.return=h,h=p):(E=Vi(v.type,v.key,v.props,null,h.mode,E),E.ref=lo(h,p,v),E.return=h,h=E)}return s(h);case ur:e:{for(b=v.key;p!==null;){if(p.key===b)if(p.tag===4&&p.stateNode.containerInfo===v.containerInfo&&p.stateNode.implementation===v.implementation){n(h,p.sibling),p=o(p,v.children||[]),p.return=h,h=p;break e}else{n(h,p);break}else t(h,p);p=p.sibling}p=_l(v,h.mode,E),p.return=h,h=p}return s(h);case rn:return b=v._init,S(h,p,b(v._payload),E)}if(ho(v))return w(h,p,v,E);if(no(v))return g(h,p,v,E);Ci(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,p!==null&&p.tag===6?(n(h,p.sibling),p=o(p,v),p.return=h,h=p):(n(h,p),p=Rl(v,h.mode,E),p.return=h,h=p),s(h)):n(h,p)}return S}var Ur=bp(!0),Pp=bp(!1),us=On(null),cs=null,yr=null,yu=null;function xu(){yu=yr=cs=null}function wu(e){var t=us.current;ie(us),e._currentValue=t}function ma(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 br(e,t){cs=e,yu=yr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Fe=!0),e.firstContext=null)}function st(e){var t=e._currentValue;if(yu!==e)if(e={context:e,memoizedValue:t,next:null},yr===null){if(cs===null)throw Error(j(308));yr=e,cs.dependencies={lanes:0,firstContext:e}}else yr=yr.next=e;return t}var zn=null;function Su(e){zn===null?zn=[e]:zn.push(e)}function Np(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Su(t)):(n.next=o.next,o.next=n),t.interleaved=n,Wt(e,r)}function Wt(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 on=!1;function Eu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Tp(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 $t(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function wn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,X&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Wt(e,n)}return o=r.interleaved,o===null?(t.next=t,Su(r)):(t.next=o.next,o.next=t),r.interleaved=t,Wt(e,n)}function zi(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,lu(e,n)}}function qc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ds(e,t,n,r){var o=e.updateQueue;on=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?i=u:s.next=u,s=a;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==s&&(l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=a))}if(i!==null){var f=o.baseState;s=0,d=u=a=null,l=i;do{var c=l.lane,y=l.eventTime;if((r&c)===c){d!==null&&(d=d.next={eventTime:y,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var w=e,g=l;switch(c=t,y=n,g.tag){case 1:if(w=g.payload,typeof w=="function"){f=w.call(y,f,c);break e}f=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=g.payload,c=typeof w=="function"?w.call(y,f,c):w,c==null)break e;f=ce({},f,c);break e;case 2:on=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,c=o.effects,c===null?o.effects=[l]:c.push(l))}else y={eventTime:y,lane:c,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(u=d=y,a=f):d=d.next=y,s|=c;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;c=l,l=c.next,c.next=null,o.lastBaseUpdate=c,o.shared.pending=null}}while(!0);if(d===null&&(a=f),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Yn|=s,e.lanes=s,e.memoizedState=f}}function Zc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(j(191,o));o.call(r)}}}var ni={},Rt=On(ni),zo=On(ni),Fo=On(ni);function Fn(e){if(e===ni)throw Error(j(174));return e}function Cu(e,t){switch(te(Fo,t),te(zo,e),te(Rt,ni),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Yl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Yl(t,e)}ie(Rt),te(Rt,t)}function Br(){ie(Rt),ie(zo),ie(Fo)}function jp(e){Fn(Fo.current);var t=Fn(Rt.current),n=Yl(t,e.type);t!==n&&(te(zo,e),te(Rt,n))}function ku(e){zo.current===e&&(ie(Rt),ie(zo))}var ae=On(0);function fs(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 kl=[];function bu(){for(var e=0;e<kl.length;e++)kl[e]._workInProgressVersionPrimary=null;kl.length=0}var Fi=Kt.ReactCurrentDispatcher,bl=Kt.ReactCurrentBatchConfig,Gn=0,ue=null,ve=null,xe=null,ps=!1,Eo=!1,$o=0,ag=0;function Pe(){throw Error(j(321))}function Pu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!gt(e[n],t[n]))return!1;return!0}function Nu(e,t,n,r,o,i){if(Gn=i,ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Fi.current=e===null||e.memoizedState===null?fg:pg,e=n(r,o),Eo){i=0;do{if(Eo=!1,$o=0,25<=i)throw Error(j(301));i+=1,xe=ve=null,t.updateQueue=null,Fi.current=hg,e=n(r,o)}while(Eo)}if(Fi.current=hs,t=ve!==null&&ve.next!==null,Gn=0,xe=ve=ue=null,ps=!1,t)throw Error(j(300));return e}function Tu(){var e=$o!==0;return $o=0,e}function kt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xe===null?ue.memoizedState=xe=e:xe=xe.next=e,xe}function lt(){if(ve===null){var e=ue.alternate;e=e!==null?e.memoizedState:null}else e=ve.next;var t=xe===null?ue.memoizedState:xe.next;if(t!==null)xe=t,ve=e;else{if(e===null)throw Error(j(310));ve=e,e={memoizedState:ve.memoizedState,baseState:ve.baseState,baseQueue:ve.baseQueue,queue:ve.queue,next:null},xe===null?ue.memoizedState=xe=e:xe=xe.next=e}return xe}function Uo(e,t){return typeof t=="function"?t(e):t}function Pl(e){var t=lt(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=ve,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var l=s=null,a=null,u=i;do{var d=u.lane;if((Gn&d)===d)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=f,s=r):a=a.next=f,ue.lanes|=d,Yn|=d}u=u.next}while(u!==null&&u!==i);a===null?s=r:a.next=l,gt(r,t.memoizedState)||(Fe=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,ue.lanes|=i,Yn|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Nl(e){var t=lt(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);gt(i,t.memoizedState)||(Fe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Rp(){}function _p(e,t){var n=ue,r=lt(),o=t(),i=!gt(r.memoizedState,o);if(i&&(r.memoizedState=o,Fe=!0),r=r.queue,ju(Lp.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||xe!==null&&xe.memoizedState.tag&1){if(n.flags|=2048,Bo(9,Mp.bind(null,n,r,o,t),void 0,null),we===null)throw Error(j(349));Gn&30||Op(n,t,o)}return o}function Op(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ue.updateQueue,t===null?(t={lastEffect:null,stores:null},ue.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Mp(e,t,n,r){t.value=n,t.getSnapshot=r,Ap(t)&&Dp(e)}function Lp(e,t,n){return n(function(){Ap(t)&&Dp(e)})}function Ap(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!gt(e,n)}catch{return!0}}function Dp(e){var t=Wt(e,1);t!==null&&vt(t,e,1,-1)}function Jc(e){var t=kt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:e},t.queue=e,e=e.dispatch=dg.bind(null,ue,e),[t.memoizedState,e]}function Bo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ue.updateQueue,t===null?(t={lastEffect:null,stores:null},ue.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 Ip(){return lt().memoizedState}function $i(e,t,n,r){var o=kt();ue.flags|=e,o.memoizedState=Bo(1|t,n,void 0,r===void 0?null:r)}function As(e,t,n,r){var o=lt();r=r===void 0?null:r;var i=void 0;if(ve!==null){var s=ve.memoizedState;if(i=s.destroy,r!==null&&Pu(r,s.deps)){o.memoizedState=Bo(t,n,i,r);return}}ue.flags|=e,o.memoizedState=Bo(1|t,n,i,r)}function ed(e,t){return $i(8390656,8,e,t)}function ju(e,t){return As(2048,8,e,t)}function zp(e,t){return As(4,2,e,t)}function Fp(e,t){return As(4,4,e,t)}function $p(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 Up(e,t,n){return n=n!=null?n.concat([e]):null,As(4,4,$p.bind(null,t,e),n)}function Ru(){}function Bp(e,t){var n=lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Pu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Wp(e,t){var n=lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Pu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Vp(e,t,n){return Gn&21?(gt(n,t)||(n=Yf(),ue.lanes|=n,Yn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Fe=!0),e.memoizedState=n)}function ug(e,t){var n=J;J=n!==0&&4>n?n:4,e(!0);var r=bl.transition;bl.transition={};try{e(!1),t()}finally{J=n,bl.transition=r}}function Hp(){return lt().memoizedState}function cg(e,t,n){var r=En(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qp(e))Kp(t,n);else if(n=Np(e,t,n,r),n!==null){var o=Ae();vt(n,e,r,o),Gp(n,t,r)}}function dg(e,t,n){var r=En(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qp(e))Kp(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,gt(l,s)){var a=t.interleaved;a===null?(o.next=o,Su(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=Np(e,t,o,r),n!==null&&(o=Ae(),vt(n,e,r,o),Gp(n,t,r))}}function Qp(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function Kp(e,t){Eo=ps=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lu(e,n)}}var hs={readContext:st,useCallback:Pe,useContext:Pe,useEffect:Pe,useImperativeHandle:Pe,useInsertionEffect:Pe,useLayoutEffect:Pe,useMemo:Pe,useReducer:Pe,useRef:Pe,useState:Pe,useDebugValue:Pe,useDeferredValue:Pe,useTransition:Pe,useMutableSource:Pe,useSyncExternalStore:Pe,useId:Pe,unstable_isNewReconciler:!1},fg={readContext:st,useCallback:function(e,t){return kt().memoizedState=[e,t===void 0?null:t],e},useContext:st,useEffect:ed,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,$i(4194308,4,$p.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $i(4194308,4,e,t)},useInsertionEffect:function(e,t){return $i(4,2,e,t)},useMemo:function(e,t){var n=kt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=kt();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=cg.bind(null,ue,e),[r.memoizedState,e]},useRef:function(e){var t=kt();return e={current:e},t.memoizedState=e},useState:Jc,useDebugValue:Ru,useDeferredValue:function(e){return kt().memoizedState=e},useTransition:function(){var e=Jc(!1),t=e[0];return e=ug.bind(null,e[1]),kt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ue,o=kt();if(se){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),we===null)throw Error(j(349));Gn&30||Op(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,ed(Lp.bind(null,r,i,e),[e]),r.flags|=2048,Bo(9,Mp.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=kt(),t=we.identifierPrefix;if(se){var n=Ft,r=zt;n=(r&~(1<<32-mt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=$o++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=ag++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},pg={readContext:st,useCallback:Bp,useContext:st,useEffect:ju,useImperativeHandle:Up,useInsertionEffect:zp,useLayoutEffect:Fp,useMemo:Wp,useReducer:Pl,useRef:Ip,useState:function(){return Pl(Uo)},useDebugValue:Ru,useDeferredValue:function(e){var t=lt();return Vp(t,ve.memoizedState,e)},useTransition:function(){var e=Pl(Uo)[0],t=lt().memoizedState;return[e,t]},useMutableSource:Rp,useSyncExternalStore:_p,useId:Hp,unstable_isNewReconciler:!1},hg={readContext:st,useCallback:Bp,useContext:st,useEffect:ju,useImperativeHandle:Up,useInsertionEffect:zp,useLayoutEffect:Fp,useMemo:Wp,useReducer:Nl,useRef:Ip,useState:function(){return Nl(Uo)},useDebugValue:Ru,useDeferredValue:function(e){var t=lt();return ve===null?t.memoizedState=e:Vp(t,ve.memoizedState,e)},useTransition:function(){var e=Nl(Uo)[0],t=lt().memoizedState;return[e,t]},useMutableSource:Rp,useSyncExternalStore:_p,useId:Hp,unstable_isNewReconciler:!1};function ct(e,t){if(e&&e.defaultProps){t=ce({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function va(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ce({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ds={isMounted:function(e){return(e=e._reactInternals)?er(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ae(),o=En(e),i=$t(r,o);i.payload=t,n!=null&&(i.callback=n),t=wn(e,i,o),t!==null&&(vt(t,e,o,r),zi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ae(),o=En(e),i=$t(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=wn(e,i,o),t!==null&&(vt(t,e,o,r),zi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ae(),r=En(e),o=$t(n,r);o.tag=2,t!=null&&(o.callback=t),t=wn(e,o,r),t!==null&&(vt(t,e,r,n),zi(t,e,r))}};function td(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!Lo(n,r)||!Lo(o,i):!0}function Yp(e,t,n){var r=!1,o=Pn,i=t.contextType;return typeof i=="object"&&i!==null?i=st(i):(o=Ue(t)?Qn:Re.current,r=t.contextTypes,i=(r=r!=null)?Fr(e,o):Pn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ds,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function nd(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&&Ds.enqueueReplaceState(t,t.state,null)}function ga(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Eu(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=st(i):(i=Ue(t)?Qn:Re.current,o.context=Fr(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(va(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Ds.enqueueReplaceState(o,o.state,null),ds(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Wr(e,t){try{var n="",r=t;do n+=B0(r),r=r.return;while(r);var o=n}catch(i){o=`
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Tl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ya(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var mg=typeof WeakMap=="function"?WeakMap:Map;function Xp(e,t,n){n=$t(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){vs||(vs=!0,Ta=r),ya(e,t)},n}function qp(e,t,n){n=$t(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ya(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){ya(e,t),typeof r!="function"&&(Sn===null?Sn=new Set([this]):Sn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function rd(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new mg;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=jg.bind(null,e,t,n),t.then(e,e))}function od(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function id(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,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=$t(-1,1),t.tag=2,wn(n,t,1))),n.lanes|=1),e)}var vg=Kt.ReactCurrentOwner,Fe=!1;function Me(e,t,n,r){t.child=e===null?Pp(t,null,n,r):Ur(t,e.child,n,r)}function sd(e,t,n,r,o){n=n.render;var i=t.ref;return br(t,o),r=Nu(e,t,n,r,i,o),n=Tu(),e!==null&&!Fe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vt(e,t,o)):(se&&n&&mu(t),t.flags|=1,Me(e,t,r,o),t.child)}function ld(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!zu(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Zp(e,t,i,r,o)):(e=Vi(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Lo,n(s,r)&&e.ref===t.ref)return Vt(e,t,o)}return t.flags|=1,e=Cn(i,r),e.ref=t.ref,e.return=t,t.child=e}function Zp(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Lo(i,r)&&e.ref===t.ref)if(Fe=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Fe=!0);else return t.lanes=e.lanes,Vt(e,t,o)}return xa(e,t,n,r,o)}function Jp(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},te(wr,Ke),Ke|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,te(wr,Ke),Ke|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,te(wr,Ke),Ke|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,te(wr,Ke),Ke|=r;return Me(e,t,o,n),t.child}function eh(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function xa(e,t,n,r,o){var i=Ue(n)?Qn:Re.current;return i=Fr(t,i),br(t,o),n=Nu(e,t,n,r,i,o),r=Tu(),e!==null&&!Fe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vt(e,t,o)):(se&&r&&mu(t),t.flags|=1,Me(e,t,n,o),t.child)}function ad(e,t,n,r,o){if(Ue(n)){var i=!0;ss(t)}else i=!1;if(br(t,o),t.stateNode===null)Ui(e,t),Yp(t,n,r),ga(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=st(u):(u=Ue(n)?Qn:Re.current,u=Fr(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&nd(t,s,r,u),on=!1;var c=t.memoizedState;s.state=c,ds(t,r,s,o),a=t.memoizedState,l!==r||c!==a||$e.current||on?(typeof d=="function"&&(va(t,n,d,r),a=t.memoizedState),(l=on||td(t,n,l,r,c,a,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Tp(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ct(t.type,l),s.props=u,f=t.pendingProps,c=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=st(a):(a=Ue(n)?Qn:Re.current,a=Fr(t,a));var y=n.getDerivedStateFromProps;(d=typeof y=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==f||c!==a)&&nd(t,s,r,a),on=!1,c=t.memoizedState,s.state=c,ds(t,r,s,o);var w=t.memoizedState;l!==f||c!==w||$e.current||on?(typeof y=="function"&&(va(t,n,y,r),w=t.memoizedState),(u=on||td(t,n,u,r,c,w,a)||!1)?(d||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,w,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,w,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&c===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&c===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),s.props=r,s.state=w,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&c===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&c===e.memoizedState||(t.flags|=1024),r=!1)}return wa(e,t,n,r,i,o)}function wa(e,t,n,r,o,i){eh(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Kc(t,n,!1),Vt(e,t,i);r=t.stateNode,vg.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Ur(t,e.child,null,i),t.child=Ur(t,null,l,i)):Me(e,t,l,i),t.memoizedState=r.state,o&&Kc(t,n,!0),t.child}function th(e){var t=e.stateNode;t.pendingContext?Qc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Qc(e,t.context,!1),Cu(e,t.containerInfo)}function ud(e,t,n,r,o){return $r(),gu(o),t.flags|=256,Me(e,t,n,r),t.child}var Sa={dehydrated:null,treeContext:null,retryLane:0};function Ea(e){return{baseLanes:e,cachePool:null,transitions:null}}function nh(e,t,n){var r=t.pendingProps,o=ae.current,i=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),te(ae,o&1),e===null)return ha(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):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=Fs(s,r,0,null),e=Hn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Ea(n),t.memoizedState=Sa,e):_u(t,s));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return gg(e,t,s,r,l,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,l=o.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Cn(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=Cn(l,i):(i=Hn(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?Ea(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=Sa,r}return i=e.child,e=i.sibling,r=Cn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function _u(e,t){return t=Fs({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ki(e,t,n,r){return r!==null&&gu(r),Ur(t,e.child,null,n),e=_u(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function gg(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Tl(Error(j(422))),ki(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Fs({mode:"visible",children:r.children},o,0,null),i=Hn(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Ur(t,e.child,null,s),t.child.memoizedState=Ea(s),t.memoizedState=Sa,i);if(!(t.mode&1))return ki(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(j(419)),r=Tl(i,r,void 0),ki(e,t,s,r)}if(l=(s&e.childLanes)!==0,Fe||l){if(r=we,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Wt(e,o),vt(r,e,o,-1))}return Iu(),r=Tl(Error(j(421))),ki(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Rg.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Ye=xn(o.nextSibling),Xe=t,se=!0,ht=null,e!==null&&(nt[rt++]=zt,nt[rt++]=Ft,nt[rt++]=Kn,zt=e.id,Ft=e.overflow,Kn=t),t=_u(t,r.children),t.flags|=4096,t)}function cd(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ma(e.return,t,n)}function jl(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function rh(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Me(e,t,r.children,n),r=ae.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&&cd(e,n,t);else if(e.tag===19)cd(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(te(ae,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&fs(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),jl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&fs(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}jl(t,!0,n,null,i);break;case"together":jl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ui(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Yn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,n=Cn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Cn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function yg(e,t,n){switch(t.tag){case 3:th(t),$r();break;case 5:jp(t);break;case 1:Ue(t.type)&&ss(t);break;case 4:Cu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;te(us,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(te(ae,ae.current&1),t.flags|=128,null):n&t.child.childLanes?nh(e,t,n):(te(ae,ae.current&1),e=Vt(e,t,n),e!==null?e.sibling:null);te(ae,ae.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return rh(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),te(ae,ae.current),r)break;return null;case 22:case 23:return t.lanes=0,Jp(e,t,n)}return Vt(e,t,n)}var oh,Ca,ih,sh;oh=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}};Ca=function(){};ih=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Fn(Rt.current);var i=null;switch(n){case"input":o=Hl(e,o),r=Hl(e,r),i=[];break;case"select":o=ce({},o,{value:void 0}),r=ce({},r,{value:void 0}),i=[];break;case"textarea":o=Gl(e,o),r=Gl(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=os)}Xl(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(No.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var a=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(i||(i=[]),i.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(i=i||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(No.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&oe("scroll",e),i||l===a||(i=[])):(i=i||[]).push(u,a))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};sh=function(e,t,n,r){n!==r&&(t.flags|=4)};function ao(e,t){if(!se)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 Ne(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function xg(e,t,n){var r=t.pendingProps;switch(vu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ne(t),null;case 1:return Ue(t.type)&&is(),Ne(t),null;case 3:return r=t.stateNode,Br(),ie($e),ie(Re),bu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ei(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ht!==null&&(_a(ht),ht=null))),Ca(e,t),Ne(t),null;case 5:ku(t);var o=Fn(Fo.current);if(n=t.type,e!==null&&t.stateNode!=null)ih(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(j(166));return Ne(t),null}if(e=Fn(Rt.current),Ei(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Tt]=t,r[Io]=i,e=(t.mode&1)!==0,n){case"dialog":oe("cancel",r),oe("close",r);break;case"iframe":case"object":case"embed":oe("load",r);break;case"video":case"audio":for(o=0;o<vo.length;o++)oe(vo[o],r);break;case"source":oe("error",r);break;case"img":case"image":case"link":oe("error",r),oe("load",r);break;case"details":oe("toggle",r);break;case"input":xc(r,i),oe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},oe("invalid",r);break;case"textarea":Sc(r,i),oe("invalid",r)}Xl(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];s==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&Si(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&Si(r.textContent,l,e),o=["children",""+l]):No.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&oe("scroll",r)}switch(n){case"input":pi(r),wc(r,i,!0);break;case"textarea":pi(r),Ec(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=os)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Lf(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Tt]=t,e[Io]=r,oh(e,t,!1,!1),t.stateNode=e;e:{switch(s=ql(n,r),n){case"dialog":oe("cancel",e),oe("close",e),o=r;break;case"iframe":case"object":case"embed":oe("load",e),o=r;break;case"video":case"audio":for(o=0;o<vo.length;o++)oe(vo[o],e);o=r;break;case"source":oe("error",e),o=r;break;case"img":case"image":case"link":oe("error",e),oe("load",e),o=r;break;case"details":oe("toggle",e),o=r;break;case"input":xc(e,r),o=Hl(e,r),oe("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ce({},r,{value:void 0}),oe("invalid",e);break;case"textarea":Sc(e,r),o=Gl(e,r),oe("invalid",e);break;default:o=r}Xl(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var a=l[i];i==="style"?If(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Af(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&To(e,a):typeof a=="number"&&To(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(No.hasOwnProperty(i)?a!=null&&i==="onScroll"&&oe("scroll",e):a!=null&&tu(e,i,a,s))}switch(n){case"input":pi(e),wc(e,r,!1);break;case"textarea":pi(e),Ec(e);break;case"option":r.value!=null&&e.setAttribute("value",""+bn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Sr(e,!!r.multiple,i,!1):r.defaultValue!=null&&Sr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=os)}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 Ne(t),null;case 6:if(e&&t.stateNode!=null)sh(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(j(166));if(n=Fn(Fo.current),Fn(Rt.current),Ei(t)){if(r=t.stateNode,n=t.memoizedProps,r[Tt]=t,(i=r.nodeValue!==n)&&(e=Xe,e!==null))switch(e.tag){case 3:Si(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Si(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Tt]=t,t.stateNode=r}return Ne(t),null;case 13:if(ie(ae),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(se&&Ye!==null&&t.mode&1&&!(t.flags&128))kp(),$r(),t.flags|=98560,i=!1;else if(i=Ei(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(j(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(j(317));i[Tt]=t}else $r(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ne(t),i=!1}else ht!==null&&(_a(ht),ht=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ae.current&1?ye===0&&(ye=3):Iu())),t.updateQueue!==null&&(t.flags|=4),Ne(t),null);case 4:return Br(),Ca(e,t),e===null&&Ao(t.stateNode.containerInfo),Ne(t),null;case 10:return wu(t.type._context),Ne(t),null;case 17:return Ue(t.type)&&is(),Ne(t),null;case 19:if(ie(ae),i=t.memoizedState,i===null)return Ne(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)ao(i,!1);else{if(ye!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=fs(e),s!==null){for(t.flags|=128,ao(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return te(ae,ae.current&1|2),t.child}e=e.sibling}i.tail!==null&&pe()>Vr&&(t.flags|=128,r=!0,ao(i,!1),t.lanes=4194304)}else{if(!r)if(e=fs(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ao(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!se)return Ne(t),null}else 2*pe()-i.renderingStartTime>Vr&&n!==1073741824&&(t.flags|=128,r=!0,ao(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=pe(),t.sibling=null,n=ae.current,te(ae,r?n&1|2:n&1),t):(Ne(t),null);case 22:case 23:return Du(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ke&1073741824&&(Ne(t),t.subtreeFlags&6&&(t.flags|=8192)):Ne(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function wg(e,t){switch(vu(t),t.tag){case 1:return Ue(t.type)&&is(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Br(),ie($e),ie(Re),bu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ku(t),null;case 13:if(ie(ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));$r()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ie(ae),null;case 4:return Br(),null;case 10:return wu(t.type._context),null;case 22:case 23:return Du(),null;case 24:return null;default:return null}}var bi=!1,je=!1,Sg=typeof WeakSet=="function"?WeakSet:Set,L=null;function xr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){fe(e,t,r)}else n.current=null}function ka(e,t,n){try{n()}catch(r){fe(e,t,r)}}var dd=!1;function Eg(e,t){if(la=ts,e=dp(),hu(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 o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,d=0,f=e,c=null;t:for(;;){for(var y;f!==n||o!==0&&f.nodeType!==3||(l=s+o),f!==i||r!==0&&f.nodeType!==3||(a=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(y=f.firstChild)!==null;)c=f,f=y;for(;;){if(f===e)break t;if(c===n&&++u===o&&(l=s),c===i&&++d===r&&(a=s),(y=f.nextSibling)!==null)break;f=c,c=f.parentNode}f=y}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(aa={focusedElem:e,selectionRange:n},ts=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var g=w.memoizedProps,S=w.memoizedState,h=t.stateNode,p=h.getSnapshotBeforeUpdate(t.elementType===t.type?g:ct(t.type,g),S);h.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(E){fe(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return w=dd,dd=!1,w}function Co(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&ka(t,n,i)}o=o.next}while(o!==r)}}function Is(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 ba(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 lh(e){var t=e.alternate;t!==null&&(e.alternate=null,lh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Tt],delete t[Io],delete t[da],delete t[og],delete t[ig])),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 ah(e){return e.tag===5||e.tag===3||e.tag===4}function fd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ah(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 Pa(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=os));else if(r!==4&&(e=e.child,e!==null))for(Pa(e,t,n),e=e.sibling;e!==null;)Pa(e,t,n),e=e.sibling}function Na(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(Na(e,t,n),e=e.sibling;e!==null;)Na(e,t,n),e=e.sibling}var Ee=null,pt=!1;function Jt(e,t,n){for(n=n.child;n!==null;)uh(e,t,n),n=n.sibling}function uh(e,t,n){if(jt&&typeof jt.onCommitFiberUnmount=="function")try{jt.onCommitFiberUnmount(js,n)}catch{}switch(n.tag){case 5:je||xr(n,t);case 6:var r=Ee,o=pt;Ee=null,Jt(e,t,n),Ee=r,pt=o,Ee!==null&&(pt?(e=Ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ee.removeChild(n.stateNode));break;case 18:Ee!==null&&(pt?(e=Ee,n=n.stateNode,e.nodeType===8?El(e.parentNode,n):e.nodeType===1&&El(e,n),Oo(e)):El(Ee,n.stateNode));break;case 4:r=Ee,o=pt,Ee=n.stateNode.containerInfo,pt=!0,Jt(e,t,n),Ee=r,pt=o;break;case 0:case 11:case 14:case 15:if(!je&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&ka(n,t,s),o=o.next}while(o!==r)}Jt(e,t,n);break;case 1:if(!je&&(xr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){fe(n,t,l)}Jt(e,t,n);break;case 21:Jt(e,t,n);break;case 22:n.mode&1?(je=(r=je)||n.memoizedState!==null,Jt(e,t,n),je=r):Jt(e,t,n);break;default:Jt(e,t,n)}}function pd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Sg),t.forEach(function(r){var o=_g.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function ut(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:Ee=l.stateNode,pt=!1;break e;case 3:Ee=l.stateNode.containerInfo,pt=!0;break e;case 4:Ee=l.stateNode.containerInfo,pt=!0;break e}l=l.return}if(Ee===null)throw Error(j(160));uh(i,s,o),Ee=null,pt=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){fe(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)ch(t,e),t=t.sibling}function ch(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ut(t,e),Ct(e),r&4){try{Co(3,e,e.return),Is(3,e)}catch(g){fe(e,e.return,g)}try{Co(5,e,e.return)}catch(g){fe(e,e.return,g)}}break;case 1:ut(t,e),Ct(e),r&512&&n!==null&&xr(n,n.return);break;case 5:if(ut(t,e),Ct(e),r&512&&n!==null&&xr(n,n.return),e.flags&32){var o=e.stateNode;try{To(o,"")}catch(g){fe(e,e.return,g)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&Of(o,i),ql(l,s);var u=ql(l,i);for(s=0;s<a.length;s+=2){var d=a[s],f=a[s+1];d==="style"?If(o,f):d==="dangerouslySetInnerHTML"?Af(o,f):d==="children"?To(o,f):tu(o,d,f,u)}switch(l){case"input":Ql(o,i);break;case"textarea":Mf(o,i);break;case"select":var c=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var y=i.value;y!=null?Sr(o,!!i.multiple,y,!1):c!==!!i.multiple&&(i.defaultValue!=null?Sr(o,!!i.multiple,i.defaultValue,!0):Sr(o,!!i.multiple,i.multiple?[]:"",!1))}o[Io]=i}catch(g){fe(e,e.return,g)}}break;case 6:if(ut(t,e),Ct(e),r&4){if(e.stateNode===null)throw Error(j(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(g){fe(e,e.return,g)}}break;case 3:if(ut(t,e),Ct(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Oo(t.containerInfo)}catch(g){fe(e,e.return,g)}break;case 4:ut(t,e),Ct(e);break;case 13:ut(t,e),Ct(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Lu=pe())),r&4&&pd(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(je=(u=je)||d,ut(t,e),je=u):ut(t,e),Ct(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(L=e,d=e.child;d!==null;){for(f=L=d;L!==null;){switch(c=L,y=c.child,c.tag){case 0:case 11:case 14:case 15:Co(4,c,c.return);break;case 1:xr(c,c.return);var w=c.stateNode;if(typeof w.componentWillUnmount=="function"){r=c,n=c.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(g){fe(r,n,g)}}break;case 5:xr(c,c.return);break;case 22:if(c.memoizedState!==null){md(f);continue}}y!==null?(y.return=c,L=y):md(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{o=f.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=f.stateNode,a=f.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=Df("display",s))}catch(g){fe(e,e.return,g)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(g){fe(e,e.return,g)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ut(t,e),Ct(e),r&4&&pd(e);break;case 21:break;default:ut(t,e),Ct(e)}}function Ct(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(ah(n)){var r=n;break e}n=n.return}throw Error(j(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(To(o,""),r.flags&=-33);var i=fd(e);Na(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,l=fd(e);Pa(e,l,s);break;default:throw Error(j(161))}}catch(a){fe(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Cg(e,t,n){L=e,dh(e)}function dh(e,t,n){for(var r=(e.mode&1)!==0;L!==null;){var o=L,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||bi;if(!s){var l=o.alternate,a=l!==null&&l.memoizedState!==null||je;l=bi;var u=je;if(bi=s,(je=a)&&!u)for(L=o;L!==null;)s=L,a=s.child,s.tag===22&&s.memoizedState!==null?vd(o):a!==null?(a.return=s,L=a):vd(o);for(;i!==null;)L=i,dh(i),i=i.sibling;L=o,bi=l,je=u}hd(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,L=i):hd(e)}}function hd(e){for(;L!==null;){var t=L;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:je||Is(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!je)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ct(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Zc(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Zc(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&Oo(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(j(163))}je||t.flags&512&&ba(t)}catch(c){fe(t,t.return,c)}}if(t===e){L=null;break}if(n=t.sibling,n!==null){n.return=t.return,L=n;break}L=t.return}}function md(e){for(;L!==null;){var t=L;if(t===e){L=null;break}var n=t.sibling;if(n!==null){n.return=t.return,L=n;break}L=t.return}}function vd(e){for(;L!==null;){var t=L;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Is(4,t)}catch(a){fe(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){fe(t,o,a)}}var i=t.return;try{ba(t)}catch(a){fe(t,i,a)}break;case 5:var s=t.return;try{ba(t)}catch(a){fe(t,s,a)}}}catch(a){fe(t,t.return,a)}if(t===e){L=null;break}var l=t.sibling;if(l!==null){l.return=t.return,L=l;break}L=t.return}}var kg=Math.ceil,ms=Kt.ReactCurrentDispatcher,Ou=Kt.ReactCurrentOwner,it=Kt.ReactCurrentBatchConfig,X=0,we=null,he=null,Ce=0,Ke=0,wr=On(0),ye=0,Wo=null,Yn=0,zs=0,Mu=0,ko=null,ze=null,Lu=0,Vr=1/0,Dt=null,vs=!1,Ta=null,Sn=null,Pi=!1,hn=null,gs=0,bo=0,ja=null,Bi=-1,Wi=0;function Ae(){return X&6?pe():Bi!==-1?Bi:Bi=pe()}function En(e){return e.mode&1?X&2&&Ce!==0?Ce&-Ce:lg.transition!==null?(Wi===0&&(Wi=Yf()),Wi):(e=J,e!==0||(e=window.event,e=e===void 0?16:np(e.type)),e):1}function vt(e,t,n,r){if(50<bo)throw bo=0,ja=null,Error(j(185));Jo(e,n,r),(!(X&2)||e!==we)&&(e===we&&(!(X&2)&&(zs|=n),ye===4&&ln(e,Ce)),Be(e,r),n===1&&X===0&&!(t.mode&1)&&(Vr=pe()+500,Ls&&Mn()))}function Be(e,t){var n=e.callbackNode;lv(e,t);var r=es(e,e===we?Ce:0);if(r===0)n!==null&&bc(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&bc(n),t===1)e.tag===0?sg(gd.bind(null,e)):Sp(gd.bind(null,e)),ng(function(){!(X&6)&&Mn()}),n=null;else{switch(Xf(r)){case 1:n=su;break;case 4:n=Kf;break;case 16:n=Ji;break;case 536870912:n=Gf;break;default:n=Ji}n=xh(n,fh.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function fh(e,t){if(Bi=-1,Wi=0,X&6)throw Error(j(327));var n=e.callbackNode;if(Pr()&&e.callbackNode!==n)return null;var r=es(e,e===we?Ce:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ys(e,r);else{t=r;var o=X;X|=2;var i=hh();(we!==e||Ce!==t)&&(Dt=null,Vr=pe()+500,Vn(e,t));do try{Ng();break}catch(l){ph(e,l)}while(!0);xu(),ms.current=i,X=o,he!==null?t=0:(we=null,Ce=0,t=ye)}if(t!==0){if(t===2&&(o=na(e),o!==0&&(r=o,t=Ra(e,o))),t===1)throw n=Wo,Vn(e,0),ln(e,r),Be(e,pe()),n;if(t===6)ln(e,r);else{if(o=e.current.alternate,!(r&30)&&!bg(o)&&(t=ys(e,r),t===2&&(i=na(e),i!==0&&(r=i,t=Ra(e,i))),t===1))throw n=Wo,Vn(e,0),ln(e,r),Be(e,pe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(j(345));case 2:Dn(e,ze,Dt);break;case 3:if(ln(e,r),(r&130023424)===r&&(t=Lu+500-pe(),10<t)){if(es(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Ae(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ca(Dn.bind(null,e,ze,Dt),t);break}Dn(e,ze,Dt);break;case 4:if(ln(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-mt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*kg(r/1960))-r,10<r){e.timeoutHandle=ca(Dn.bind(null,e,ze,Dt),r);break}Dn(e,ze,Dt);break;case 5:Dn(e,ze,Dt);break;default:throw Error(j(329))}}}return Be(e,pe()),e.callbackNode===n?fh.bind(null,e):null}function Ra(e,t){var n=ko;return e.current.memoizedState.isDehydrated&&(Vn(e,t).flags|=256),e=ys(e,t),e!==2&&(t=ze,ze=n,t!==null&&_a(t)),e}function _a(e){ze===null?ze=e:ze.push.apply(ze,e)}function bg(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 o=n[r],i=o.getSnapshot;o=o.value;try{if(!gt(i(),o))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 ln(e,t){for(t&=~Mu,t&=~zs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-mt(t),r=1<<n;e[n]=-1,t&=~r}}function gd(e){if(X&6)throw Error(j(327));Pr();var t=es(e,0);if(!(t&1))return Be(e,pe()),null;var n=ys(e,t);if(e.tag!==0&&n===2){var r=na(e);r!==0&&(t=r,n=Ra(e,r))}if(n===1)throw n=Wo,Vn(e,0),ln(e,t),Be(e,pe()),n;if(n===6)throw Error(j(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Dn(e,ze,Dt),Be(e,pe()),null}function Au(e,t){var n=X;X|=1;try{return e(t)}finally{X=n,X===0&&(Vr=pe()+500,Ls&&Mn())}}function Xn(e){hn!==null&&hn.tag===0&&!(X&6)&&Pr();var t=X;X|=1;var n=it.transition,r=J;try{if(it.transition=null,J=1,e)return e()}finally{J=r,it.transition=n,X=t,!(X&6)&&Mn()}}function Du(){Ke=wr.current,ie(wr)}function Vn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,tg(n)),he!==null)for(n=he.return;n!==null;){var r=n;switch(vu(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&is();break;case 3:Br(),ie($e),ie(Re),bu();break;case 5:ku(r);break;case 4:Br();break;case 13:ie(ae);break;case 19:ie(ae);break;case 10:wu(r.type._context);break;case 22:case 23:Du()}n=n.return}if(we=e,he=e=Cn(e.current,null),Ce=Ke=t,ye=0,Wo=null,Mu=zs=Yn=0,ze=ko=null,zn!==null){for(t=0;t<zn.length;t++)if(n=zn[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}zn=null}return e}function ph(e,t){do{var n=he;try{if(xu(),Fi.current=hs,ps){for(var r=ue.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}ps=!1}if(Gn=0,xe=ve=ue=null,Eo=!1,$o=0,Ou.current=null,n===null||n.return===null){ye=1,Wo=t,he=null;break}e:{var i=e,s=n.return,l=n,a=t;if(t=Ce,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,d=l,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var c=d.alternate;c?(d.updateQueue=c.updateQueue,d.memoizedState=c.memoizedState,d.lanes=c.lanes):(d.updateQueue=null,d.memoizedState=null)}var y=od(s);if(y!==null){y.flags&=-257,id(y,s,l,i,t),y.mode&1&&rd(i,u,t),t=y,a=u;var w=t.updateQueue;if(w===null){var g=new Set;g.add(a),t.updateQueue=g}else w.add(a);break e}else{if(!(t&1)){rd(i,u,t),Iu();break e}a=Error(j(426))}}else if(se&&l.mode&1){var S=od(s);if(S!==null){!(S.flags&65536)&&(S.flags|=256),id(S,s,l,i,t),gu(Wr(a,l));break e}}i=a=Wr(a,l),ye!==4&&(ye=2),ko===null?ko=[i]:ko.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var h=Xp(i,a,t);qc(i,h);break e;case 1:l=a;var p=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof p.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Sn===null||!Sn.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var E=qp(i,l,t);qc(i,E);break e}}i=i.return}while(i!==null)}vh(n)}catch(C){t=C,he===n&&n!==null&&(he=n=n.return);continue}break}while(!0)}function hh(){var e=ms.current;return ms.current=hs,e===null?hs:e}function Iu(){(ye===0||ye===3||ye===2)&&(ye=4),we===null||!(Yn&268435455)&&!(zs&268435455)||ln(we,Ce)}function ys(e,t){var n=X;X|=2;var r=hh();(we!==e||Ce!==t)&&(Dt=null,Vn(e,t));do try{Pg();break}catch(o){ph(e,o)}while(!0);if(xu(),X=n,ms.current=r,he!==null)throw Error(j(261));return we=null,Ce=0,ye}function Pg(){for(;he!==null;)mh(he)}function Ng(){for(;he!==null&&!Z0();)mh(he)}function mh(e){var t=yh(e.alternate,e,Ke);e.memoizedProps=e.pendingProps,t===null?vh(e):he=t,Ou.current=null}function vh(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=wg(n,t),n!==null){n.flags&=32767,he=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ye=6,he=null;return}}else if(n=xg(n,t,Ke),n!==null){he=n;return}if(t=t.sibling,t!==null){he=t;return}he=t=e}while(t!==null);ye===0&&(ye=5)}function Dn(e,t,n){var r=J,o=it.transition;try{it.transition=null,J=1,Tg(e,t,n,r)}finally{it.transition=o,J=r}return null}function Tg(e,t,n,r){do Pr();while(hn!==null);if(X&6)throw Error(j(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(j(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(av(e,i),e===we&&(he=we=null,Ce=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Pi||(Pi=!0,xh(Ji,function(){return Pr(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=it.transition,it.transition=null;var s=J;J=1;var l=X;X|=4,Ou.current=null,Eg(e,n),ch(n,e),Gv(aa),ts=!!la,aa=la=null,e.current=n,Cg(n),J0(),X=l,J=s,it.transition=i}else e.current=n;if(Pi&&(Pi=!1,hn=e,gs=o),i=e.pendingLanes,i===0&&(Sn=null),nv(n.stateNode),Be(e,pe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(vs)throw vs=!1,e=Ta,Ta=null,e;return gs&1&&e.tag!==0&&Pr(),i=e.pendingLanes,i&1?e===ja?bo++:(bo=0,ja=e):bo=0,Mn(),null}function Pr(){if(hn!==null){var e=Xf(gs),t=it.transition,n=J;try{if(it.transition=null,J=16>e?16:e,hn===null)var r=!1;else{if(e=hn,hn=null,gs=0,X&6)throw Error(j(331));var o=X;for(X|=4,L=e.current;L!==null;){var i=L,s=i.child;if(L.flags&16){var l=i.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(L=u;L!==null;){var d=L;switch(d.tag){case 0:case 11:case 15:Co(8,d,i)}var f=d.child;if(f!==null)f.return=d,L=f;else for(;L!==null;){d=L;var c=d.sibling,y=d.return;if(lh(d),d===u){L=null;break}if(c!==null){c.return=y,L=c;break}L=y}}}var w=i.alternate;if(w!==null){var g=w.child;if(g!==null){w.child=null;do{var S=g.sibling;g.sibling=null,g=S}while(g!==null)}}L=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,L=s;else e:for(;L!==null;){if(i=L,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Co(9,i,i.return)}var h=i.sibling;if(h!==null){h.return=i.return,L=h;break e}L=i.return}}var p=e.current;for(L=p;L!==null;){s=L;var v=s.child;if(s.subtreeFlags&2064&&v!==null)v.return=s,L=v;else e:for(s=p;L!==null;){if(l=L,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Is(9,l)}}catch(C){fe(l,l.return,C)}if(l===s){L=null;break e}var E=l.sibling;if(E!==null){E.return=l.return,L=E;break e}L=l.return}}if(X=o,Mn(),jt&&typeof jt.onPostCommitFiberRoot=="function")try{jt.onPostCommitFiberRoot(js,e)}catch{}r=!0}return r}finally{J=n,it.transition=t}}return!1}function yd(e,t,n){t=Wr(n,t),t=Xp(e,t,1),e=wn(e,t,1),t=Ae(),e!==null&&(Jo(e,1,t),Be(e,t))}function fe(e,t,n){if(e.tag===3)yd(e,e,n);else for(;t!==null;){if(t.tag===3){yd(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Sn===null||!Sn.has(r))){e=Wr(n,e),e=qp(t,e,1),t=wn(t,e,1),e=Ae(),t!==null&&(Jo(t,1,e),Be(t,e));break}}t=t.return}}function jg(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ae(),e.pingedLanes|=e.suspendedLanes&n,we===e&&(Ce&n)===n&&(ye===4||ye===3&&(Ce&130023424)===Ce&&500>pe()-Lu?Vn(e,0):Mu|=n),Be(e,t)}function gh(e,t){t===0&&(e.mode&1?(t=vi,vi<<=1,!(vi&130023424)&&(vi=4194304)):t=1);var n=Ae();e=Wt(e,t),e!==null&&(Jo(e,t,n),Be(e,n))}function Rg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gh(e,n)}function _g(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(j(314))}r!==null&&r.delete(t),gh(e,n)}var yh;yh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||$e.current)Fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Fe=!1,yg(e,t,n);Fe=!!(e.flags&131072)}else Fe=!1,se&&t.flags&1048576&&Ep(t,as,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ui(e,t),e=t.pendingProps;var o=Fr(t,Re.current);br(t,n),o=Nu(null,t,r,e,o,n);var i=Tu();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ue(r)?(i=!0,ss(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Eu(t),o.updater=Ds,t.stateNode=o,o._reactInternals=t,ga(t,r,e,n),t=wa(null,t,r,!0,i,n)):(t.tag=0,se&&i&&mu(t),Me(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ui(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Mg(r),e=ct(r,e),o){case 0:t=xa(null,t,r,e,n);break e;case 1:t=ad(null,t,r,e,n);break e;case 11:t=sd(null,t,r,e,n);break e;case 14:t=ld(null,t,r,ct(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),xa(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),ad(e,t,r,o,n);case 3:e:{if(th(t),e===null)throw Error(j(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Tp(e,t),ds(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Wr(Error(j(423)),t),t=ud(e,t,r,n,o);break e}else if(r!==o){o=Wr(Error(j(424)),t),t=ud(e,t,r,n,o);break e}else for(Ye=xn(t.stateNode.containerInfo.firstChild),Xe=t,se=!0,ht=null,n=Pp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if($r(),r===o){t=Vt(e,t,n);break e}Me(e,t,r,n)}t=t.child}return t;case 5:return jp(t),e===null&&ha(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,ua(r,o)?s=null:i!==null&&ua(r,i)&&(t.flags|=32),eh(e,t),Me(e,t,s,n),t.child;case 6:return e===null&&ha(t),null;case 13:return nh(e,t,n);case 4:return Cu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ur(t,null,r,n):Me(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),sd(e,t,r,o,n);case 7:return Me(e,t,t.pendingProps,n),t.child;case 8:return Me(e,t,t.pendingProps.children,n),t.child;case 12:return Me(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,te(us,r._currentValue),r._currentValue=s,i!==null)if(gt(i.value,s)){if(i.children===o.children&&!$e.current){t=Vt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=$t(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?a.next=a:(a.next=d.next,d.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),ma(i.return,n,t),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(j(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),ma(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Me(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,br(t,n),o=st(o),r=r(o),t.flags|=1,Me(e,t,r,n),t.child;case 14:return r=t.type,o=ct(r,t.pendingProps),o=ct(r.type,o),ld(e,t,r,o,n);case 15:return Zp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),Ui(e,t),t.tag=1,Ue(r)?(e=!0,ss(t)):e=!1,br(t,n),Yp(t,r,o),ga(t,r,o,n),wa(null,t,r,!0,e,n);case 19:return rh(e,t,n);case 22:return Jp(e,t,n)}throw Error(j(156,t.tag))};function xh(e,t){return Qf(e,t)}function Og(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 ot(e,t,n,r){return new Og(e,t,n,r)}function zu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Mg(e){if(typeof e=="function")return zu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ru)return 11;if(e===ou)return 14}return 2}function Cn(e,t){var n=e.alternate;return n===null?(n=ot(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 Vi(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")zu(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case cr:return Hn(n.children,o,i,t);case nu:s=8,o|=8;break;case Ul:return e=ot(12,n,t,o|2),e.elementType=Ul,e.lanes=i,e;case Bl:return e=ot(13,n,t,o),e.elementType=Bl,e.lanes=i,e;case Wl:return e=ot(19,n,t,o),e.elementType=Wl,e.lanes=i,e;case jf:return Fs(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Nf:s=10;break e;case Tf:s=9;break e;case ru:s=11;break e;case ou:s=14;break e;case rn:s=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=ot(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Hn(e,t,n,r){return e=ot(7,e,r,t),e.lanes=n,e}function Fs(e,t,n,r){return e=ot(22,e,r,t),e.elementType=jf,e.lanes=n,e.stateNode={isHidden:!1},e}function Rl(e,t,n){return e=ot(6,e,null,t),e.lanes=n,e}function _l(e,t,n){return t=ot(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Lg(e,t,n,r,o){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=dl(0),this.expirationTimes=dl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=dl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fu(e,t,n,r,o,i,s,l,a){return e=new Lg(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=ot(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Eu(i),e}function Ag(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ur,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function wh(e){if(!e)return Pn;e=e._reactInternals;e:{if(er(e)!==e||e.tag!==1)throw Error(j(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ue(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(j(171))}if(e.tag===1){var n=e.type;if(Ue(n))return wp(e,n,t)}return t}function Sh(e,t,n,r,o,i,s,l,a){return e=Fu(n,r,!0,e,o,i,s,l,a),e.context=wh(null),n=e.current,r=Ae(),o=En(n),i=$t(r,o),i.callback=t??null,wn(n,i,o),e.current.lanes=o,Jo(e,o,r),Be(e,r),e}function $s(e,t,n,r){var o=t.current,i=Ae(),s=En(o);return n=wh(n),t.context===null?t.context=n:t.pendingContext=n,t=$t(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=wn(o,t,s),e!==null&&(vt(e,o,s,i),zi(e,o,s)),s}function xs(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 xd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function $u(e,t){xd(e,t),(e=e.alternate)&&xd(e,t)}function Dg(){return null}var Eh=typeof reportError=="function"?reportError:function(e){console.error(e)};function Uu(e){this._internalRoot=e}Us.prototype.render=Uu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(j(409));$s(e,t,null,null)};Us.prototype.unmount=Uu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Xn(function(){$s(null,e,null,null)}),t[Bt]=null}};function Us(e){this._internalRoot=e}Us.prototype.unstable_scheduleHydration=function(e){if(e){var t=Jf();e={blockedOn:null,target:e,priority:t};for(var n=0;n<sn.length&&t!==0&&t<sn[n].priority;n++);sn.splice(n,0,e),n===0&&tp(e)}};function Bu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Bs(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function wd(){}function Ig(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=xs(s);i.call(u)}}var s=Sh(t,r,e,0,null,!1,!1,"",wd);return e._reactRootContainer=s,e[Bt]=s.current,Ao(e.nodeType===8?e.parentNode:e),Xn(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=xs(a);l.call(u)}}var a=Fu(e,0,!1,null,null,!1,!1,"",wd);return e._reactRootContainer=a,e[Bt]=a.current,Ao(e.nodeType===8?e.parentNode:e),Xn(function(){$s(t,a,n,r)}),a}function Ws(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var l=o;o=function(){var a=xs(s);l.call(a)}}$s(t,s,e,o)}else s=Ig(n,t,e,o,r);return xs(s)}qf=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=mo(t.pendingLanes);n!==0&&(lu(t,n|1),Be(t,pe()),!(X&6)&&(Vr=pe()+500,Mn()))}break;case 13:Xn(function(){var r=Wt(e,1);if(r!==null){var o=Ae();vt(r,e,1,o)}}),$u(e,1)}};au=function(e){if(e.tag===13){var t=Wt(e,134217728);if(t!==null){var n=Ae();vt(t,e,134217728,n)}$u(e,134217728)}};Zf=function(e){if(e.tag===13){var t=En(e),n=Wt(e,t);if(n!==null){var r=Ae();vt(n,e,t,r)}$u(e,t)}};Jf=function(){return J};ep=function(e,t){var n=J;try{return J=e,t()}finally{J=n}};Jl=function(e,t,n){switch(t){case"input":if(Ql(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 o=Ms(r);if(!o)throw Error(j(90));_f(r),Ql(r,o)}}}break;case"textarea":Mf(e,n);break;case"select":t=n.value,t!=null&&Sr(e,!!n.multiple,t,!1)}};$f=Au;Uf=Xn;var zg={usingClientEntryPoint:!1,Events:[ti,hr,Ms,zf,Ff,Au]},uo={findFiberByHostInstance:In,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Fg={bundleType:uo.bundleType,version:uo.version,rendererPackageName:uo.rendererPackageName,rendererConfig:uo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Kt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Vf(e),e===null?null:e.stateNode},findFiberByHostInstance:uo.findFiberByHostInstance||Dg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ni=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ni.isDisabled&&Ni.supportsFiber)try{js=Ni.inject(Fg),jt=Ni}catch{}}Je.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=zg;Je.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Bu(t))throw Error(j(200));return Ag(e,t,null,n)};Je.createRoot=function(e,t){if(!Bu(e))throw Error(j(299));var n=!1,r="",o=Eh;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Fu(e,1,!1,null,null,n,!1,r,o),e[Bt]=t.current,Ao(e.nodeType===8?e.parentNode:e),new Uu(t)};Je.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(j(188)):(e=Object.keys(e).join(","),Error(j(268,e)));return e=Vf(t),e=e===null?null:e.stateNode,e};Je.flushSync=function(e){return Xn(e)};Je.hydrate=function(e,t,n){if(!Bs(t))throw Error(j(200));return Ws(null,e,t,!0,n)};Je.hydrateRoot=function(e,t,n){if(!Bu(e))throw Error(j(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=Eh;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Sh(t,null,e,1,n??null,o,!1,i,s),e[Bt]=t.current,Ao(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Us(t)};Je.render=function(e,t,n){if(!Bs(t))throw Error(j(200));return Ws(null,e,t,!1,n)};Je.unmountComponentAtNode=function(e){if(!Bs(e))throw Error(j(40));return e._reactRootContainer?(Xn(function(){Ws(null,null,e,!1,function(){e._reactRootContainer=null,e[Bt]=null})}),!0):!1};Je.unstable_batchedUpdates=Au;Je.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Bs(n))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return Ws(e,t,n,!1,r)};Je.version="18.3.1-next-f1338f8080-20240426";function Ch(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ch)}catch(e){console.error(e)}}Ch(),Cf.exports=Je;var ri=Cf.exports;const kh=df(ri);var bh,Sd=ri;bh=Sd.createRoot,Sd.hydrateRoot;const $g=1,Ug=1e6;let Ol=0;function Bg(){return Ol=(Ol+1)%Number.MAX_SAFE_INTEGER,Ol.toString()}const Ml=new Map,Ed=e=>{if(Ml.has(e))return;const t=setTimeout(()=>{Ml.delete(e),Po({type:"REMOVE_TOAST",toastId:e})},Ug);Ml.set(e,t)},Wg=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,$g)};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?Ed(n):e.toasts.forEach(r=>{Ed(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)}}},Hi=[];let Qi={toasts:[]};function Po(e){Qi=Wg(Qi,e),Hi.forEach(t=>{t(Qi)})}function Vg({...e}){const t=Bg(),n=o=>Po({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Po({type:"DISMISS_TOAST",toastId:t});return Po({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function Hg(){const[e,t]=x.useState(Qi);return x.useEffect(()=>(Hi.push(t),()=>{const n=Hi.indexOf(t);n>-1&&Hi.splice(n,1)}),[e]),{...e,toast:Vg,dismiss:n=>Po({type:"DISMISS_TOAST",toastId:n})}}function ge(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Qg(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ph(...e){return t=>e.forEach(n=>Qg(n,t))}function yt(...e){return x.useCallback(Ph(...e),e)}function Kg(e,t=[]){let n=[];function r(i,s){const l=x.createContext(s),a=n.length;n=[...n,s];function u(f){const{scope:c,children:y,...w}=f,g=(c==null?void 0:c[e][a])||l,S=x.useMemo(()=>w,Object.values(w));return m.jsx(g.Provider,{value:S,children:y})}function d(f,c){const y=(c==null?void 0:c[e][a])||l,w=x.useContext(y);if(w)return w;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,d]}const o=()=>{const i=n.map(s=>x.createContext(s));return function(l){const a=(l==null?void 0:l[e])||i;return x.useMemo(()=>({[`__scope${e}`]:{...l,[e]:a}}),[l,a])}};return o.scopeName=e,[r,Gg(o,...t)]}function Gg(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((l,{useScope:a,scopeName:u})=>{const f=a(i)[`__scope${u}`];return{...l,...f}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var ws=x.forwardRef((e,t)=>{const{children:n,...r}=e,o=x.Children.toArray(n),i=o.find(Yg);if(i){const s=i.props.children,l=o.map(a=>a===i?x.Children.count(s)>1?x.Children.only(null):x.isValidElement(s)?s.props.children:null:a);return m.jsx(Oa,{...r,ref:t,children:x.isValidElement(s)?x.cloneElement(s,void 0,l):null})}return m.jsx(Oa,{...r,ref:t,children:n})});ws.displayName="Slot";var Oa=x.forwardRef((e,t)=>{const{children:n,...r}=e;if(x.isValidElement(n)){const o=qg(n);return x.cloneElement(n,{...Xg(r,n.props),ref:t?Ph(t,o):o})}return x.Children.count(n)>1?x.Children.only(null):null});Oa.displayName="SlotClone";var Nh=({children:e})=>m.jsx(m.Fragment,{children:e});function Yg(e){return x.isValidElement(e)&&e.type===Nh}function Xg(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{i(...l),o(...l)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function qg(e){var r,o;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=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Zg(e){const t=e+"CollectionProvider",[n,r]=Kg(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=y=>{const{scope:w,children:g}=y,S=_.useRef(null),h=_.useRef(new Map).current;return m.jsx(o,{scope:w,itemMap:h,collectionRef:S,children:g})};s.displayName=t;const l=e+"CollectionSlot",a=_.forwardRef((y,w)=>{const{scope:g,children:S}=y,h=i(l,g),p=yt(w,h.collectionRef);return m.jsx(ws,{ref:p,children:S})});a.displayName=l;const u=e+"CollectionItemSlot",d="data-radix-collection-item",f=_.forwardRef((y,w)=>{const{scope:g,children:S,...h}=y,p=_.useRef(null),v=yt(w,p),E=i(u,g);return _.useEffect(()=>(E.itemMap.set(p,{ref:p,...h}),()=>void E.itemMap.delete(p))),m.jsx(ws,{[d]:"",ref:v,children:S})});f.displayName=u;function c(y){const w=i(e+"CollectionConsumer",y);return _.useCallback(()=>{const S=w.collectionRef.current;if(!S)return[];const h=Array.from(S.querySelectorAll(`[${d}]`));return Array.from(w.itemMap.values()).sort((E,C)=>h.indexOf(E.ref.current)-h.indexOf(C.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:s,Slot:a,ItemSlot:f},c,r]}function Th(e,t=[]){let n=[];function r(i,s){const l=x.createContext(s),a=n.length;n=[...n,s];const u=f=>{var h;const{scope:c,children:y,...w}=f,g=((h=c==null?void 0:c[e])==null?void 0:h[a])||l,S=x.useMemo(()=>w,Object.values(w));return m.jsx(g.Provider,{value:S,children:y})};u.displayName=i+"Provider";function d(f,c){var g;const y=((g=c==null?void 0:c[e])==null?void 0:g[a])||l,w=x.useContext(y);if(w)return w;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[u,d]}const o=()=>{const i=n.map(s=>x.createContext(s));return function(l){const a=(l==null?void 0:l[e])||i;return x.useMemo(()=>({[`__scope${e}`]:{...l,[e]:a}}),[l,a])}};return o.scopeName=e,[r,Jg(o,...t)]}function Jg(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((l,{useScope:a,scopeName:u})=>{const f=a(i)[`__scope${u}`];return{...l,...f}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var ey=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],We=ey.reduce((e,t)=>{const n=x.forwardRef((r,o)=>{const{asChild:i,...s}=r,l=i?ws:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),m.jsx(l,{...s,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function jh(e,t){e&&ri.flushSync(()=>e.dispatchEvent(t))}function _t(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function ty(e,t=globalThis==null?void 0:globalThis.document){const n=_t(e);x.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var ny="DismissableLayer",Ma="dismissableLayer.update",ry="dismissableLayer.pointerDownOutside",oy="dismissableLayer.focusOutside",Cd,Rh=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Wu=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:l,...a}=e,u=x.useContext(Rh),[d,f]=x.useState(null),c=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=x.useState({}),w=yt(t,P=>f(P)),g=Array.from(u.layers),[S]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),h=g.indexOf(S),p=d?g.indexOf(d):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,E=p>=h,C=sy(P=>{const T=P.target,D=[...u.branches].some(O=>O.contains(T));!E||D||(o==null||o(P),s==null||s(P),P.defaultPrevented||l==null||l())},c),b=ly(P=>{const T=P.target;[...u.branches].some(O=>O.contains(T))||(i==null||i(P),s==null||s(P),P.defaultPrevented||l==null||l())},c);return ty(P=>{p===u.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&l&&(P.preventDefault(),l()))},c),x.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Cd=c.body.style.pointerEvents,c.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),kd(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(c.body.style.pointerEvents=Cd)}},[d,c,n,u]),x.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),kd())},[d,u]),x.useEffect(()=>{const P=()=>y({});return document.addEventListener(Ma,P),()=>document.removeEventListener(Ma,P)},[]),m.jsx(We.div,{...a,ref:w,style:{pointerEvents:v?E?"auto":"none":void 0,...e.style},onFocusCapture:ge(e.onFocusCapture,b.onFocusCapture),onBlurCapture:ge(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:ge(e.onPointerDownCapture,C.onPointerDownCapture)})});Wu.displayName=ny;var iy="DismissableLayerBranch",_h=x.forwardRef((e,t)=>{const n=x.useContext(Rh),r=x.useRef(null),o=yt(t,r);return x.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),m.jsx(We.div,{...e,ref:o})});_h.displayName=iy;function sy(e,t=globalThis==null?void 0:globalThis.document){const n=_t(e),r=x.useRef(!1),o=x.useRef(()=>{});return x.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let a=function(){Oh(ry,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function ly(e,t=globalThis==null?void 0:globalThis.document){const n=_t(e),r=x.useRef(!1);return x.useEffect(()=>{const o=i=>{i.target&&!r.current&&Oh(oy,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function kd(){const e=new CustomEvent(Ma);document.dispatchEvent(e)}function Oh(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?jh(o,i):o.dispatchEvent(i)}var ay=Wu,uy=_h,qn=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},cy="Portal",Mh=x.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[o,i]=x.useState(!1);qn(()=>i(!0),[]);const s=n||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return s?kh.createPortal(m.jsx(We.div,{...r,ref:t}),s):null});Mh.displayName=cy;function dy(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var Vu=e=>{const{present:t,children:n}=e,r=fy(t),o=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),i=yt(r.ref,py(o));return typeof n=="function"||r.isPresent?x.cloneElement(o,{ref:i}):null};Vu.displayName="Presence";function fy(e){const[t,n]=x.useState(),r=x.useRef({}),o=x.useRef(e),i=x.useRef("none"),s=e?"mounted":"unmounted",[l,a]=dy(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const u=Ti(r.current);i.current=l==="mounted"?u:"none"},[l]),qn(()=>{const u=r.current,d=o.current;if(d!==e){const c=i.current,y=Ti(u);e?a("MOUNT"):y==="none"||(u==null?void 0:u.display)==="none"?a("UNMOUNT"):a(d&&c!==y?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),qn(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=y=>{const g=Ti(r.current).includes(y.animationName);if(y.target===t&&g&&(a("ANIMATION_END"),!o.current)){const S=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=S)})}},c=y=>{y.target===t&&(i.current=Ti(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:x.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Ti(e){return(e==null?void 0:e.animationName)||"none"}function py(e){var r,o;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=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function hy({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=my({defaultProp:t,onChange:n}),i=e!==void 0,s=i?e:r,l=_t(n),a=x.useCallback(u=>{if(i){const f=typeof u=="function"?u(e):u;f!==e&&l(f)}else o(u)},[i,e,o,l]);return[s,a]}function my({defaultProp:e,onChange:t}){const n=x.useState(e),[r]=n,o=x.useRef(r),i=_t(t);return x.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var vy="VisuallyHidden",Vs=x.forwardRef((e,t)=>m.jsx(We.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Vs.displayName=vy;var gy=Vs,Hu="ToastProvider",[Qu,yy,xy]=Zg("Toast"),[Lh,xS]=Th("Toast",[xy]),[wy,Hs]=Lh(Hu),Ah=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[l,a]=x.useState(null),[u,d]=x.useState(0),f=x.useRef(!1),c=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Hu}\`. Expected non-empty \`string\`.`),m.jsx(Qu.Provider,{scope:t,children:m.jsx(wy,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:l,onViewportChange:a,onToastAdd:x.useCallback(()=>d(y=>y+1),[]),onToastRemove:x.useCallback(()=>d(y=>y-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:c,children:s})})};Ah.displayName=Hu;var Dh="ToastViewport",Sy=["F8"],La="toast.viewportPause",Aa="toast.viewportResume",Ih=x.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=Sy,label:o="Notifications ({hotkey})",...i}=e,s=Hs(Dh,n),l=yy(n),a=x.useRef(null),u=x.useRef(null),d=x.useRef(null),f=x.useRef(null),c=yt(t,f,s.onViewportChange),y=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=s.toastCount>0;x.useEffect(()=>{const S=h=>{var v;r.length!==0&&r.every(E=>h[E]||h.code===E)&&((v=f.current)==null||v.focus())};return document.addEventListener("keydown",S),()=>document.removeEventListener("keydown",S)},[r]),x.useEffect(()=>{const S=a.current,h=f.current;if(w&&S&&h){const p=()=>{if(!s.isClosePausedRef.current){const b=new CustomEvent(La);h.dispatchEvent(b),s.isClosePausedRef.current=!0}},v=()=>{if(s.isClosePausedRef.current){const b=new CustomEvent(Aa);h.dispatchEvent(b),s.isClosePausedRef.current=!1}},E=b=>{!S.contains(b.relatedTarget)&&v()},C=()=>{S.contains(document.activeElement)||v()};return S.addEventListener("focusin",p),S.addEventListener("focusout",E),S.addEventListener("pointermove",p),S.addEventListener("pointerleave",C),window.addEventListener("blur",p),window.addEventListener("focus",v),()=>{S.removeEventListener("focusin",p),S.removeEventListener("focusout",E),S.removeEventListener("pointermove",p),S.removeEventListener("pointerleave",C),window.removeEventListener("blur",p),window.removeEventListener("focus",v)}}},[w,s.isClosePausedRef]);const g=x.useCallback(({tabbingDirection:S})=>{const p=l().map(v=>{const E=v.ref.current,C=[E,...Ly(E)];return S==="forwards"?C:C.reverse()});return(S==="forwards"?p.reverse():p).flat()},[l]);return x.useEffect(()=>{const S=f.current;if(S){const h=p=>{var C,b,P;const v=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!v){const T=document.activeElement,D=p.shiftKey;if(p.target===S&&D){(C=u.current)==null||C.focus();return}const I=g({tabbingDirection:D?"backwards":"forwards"}),H=I.findIndex(M=>M===T);Ll(I.slice(H+1))?p.preventDefault():D?(b=u.current)==null||b.focus():(P=d.current)==null||P.focus()}};return S.addEventListener("keydown",h),()=>S.removeEventListener("keydown",h)}},[l,g]),m.jsxs(uy,{ref:a,role:"region","aria-label":o.replace("{hotkey}",y),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&m.jsx(Da,{ref:u,onFocusFromOutsideViewport:()=>{const S=g({tabbingDirection:"forwards"});Ll(S)}}),m.jsx(Qu.Slot,{scope:n,children:m.jsx(We.ol,{tabIndex:-1,...i,ref:c})}),w&&m.jsx(Da,{ref:d,onFocusFromOutsideViewport:()=>{const S=g({tabbingDirection:"backwards"});Ll(S)}})]})});Ih.displayName=Dh;var zh="ToastFocusProxy",Da=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=Hs(zh,n);return m.jsx(Vs,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const l=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(l))&&r()}})});Da.displayName=zh;var Qs="Toast",Ey="toast.swipeStart",Cy="toast.swipeMove",ky="toast.swipeCancel",by="toast.swipeEnd",Fh=x.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[l=!0,a]=hy({prop:r,defaultProp:o,onChange:i});return m.jsx(Vu,{present:n||l,children:m.jsx(Ty,{open:l,...s,ref:t,onClose:()=>a(!1),onPause:_t(e.onPause),onResume:_t(e.onResume),onSwipeStart:ge(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ge(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:ge(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:ge(e.onSwipeEnd,u=>{const{x:d,y:f}=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",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),a(!1)})})})});Fh.displayName=Qs;var[Py,Ny]=Lh(Qs,{onClose(){}}),Ty=x.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:l,onPause:a,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:c,onSwipeEnd:y,...w}=e,g=Hs(Qs,n),[S,h]=x.useState(null),p=yt(t,M=>h(M)),v=x.useRef(null),E=x.useRef(null),C=o||g.duration,b=x.useRef(0),P=x.useRef(C),T=x.useRef(0),{onToastAdd:D,onToastRemove:O}=g,$=_t(()=>{var Q;(S==null?void 0:S.contains(document.activeElement))&&((Q=g.viewport)==null||Q.focus()),s()}),I=x.useCallback(M=>{!M||M===1/0||(window.clearTimeout(T.current),b.current=new Date().getTime(),T.current=window.setTimeout($,M))},[$]);x.useEffect(()=>{const M=g.viewport;if(M){const Q=()=>{I(P.current),u==null||u()},U=()=>{const K=new Date().getTime()-b.current;P.current=P.current-K,window.clearTimeout(T.current),a==null||a()};return M.addEventListener(La,U),M.addEventListener(Aa,Q),()=>{M.removeEventListener(La,U),M.removeEventListener(Aa,Q)}}},[g.viewport,C,a,u,I]),x.useEffect(()=>{i&&!g.isClosePausedRef.current&&I(C)},[i,C,g.isClosePausedRef,I]),x.useEffect(()=>(D(),()=>O()),[D,O]);const H=x.useMemo(()=>S?Qh(S):null,[S]);return g.viewport?m.jsxs(m.Fragment,{children:[H&&m.jsx(jy,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:H}),m.jsx(Py,{scope:n,onClose:$,children:ri.createPortal(m.jsx(Qu.ItemSlot,{scope:n,children:m.jsx(ay,{asChild:!0,onEscapeKeyDown:ge(l,()=>{g.isFocusedToastEscapeKeyDownRef.current||$(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:m.jsx(We.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":g.swipeDirection,...w,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ge(e.onKeyDown,M=>{M.key==="Escape"&&(l==null||l(M.nativeEvent),M.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,$()))}),onPointerDown:ge(e.onPointerDown,M=>{M.button===0&&(v.current={x:M.clientX,y:M.clientY})}),onPointerMove:ge(e.onPointerMove,M=>{if(!v.current)return;const Q=M.clientX-v.current.x,U=M.clientY-v.current.y,K=!!E.current,k=["left","right"].includes(g.swipeDirection),R=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,z=k?R(0,Q):0,A=k?0:R(0,U),F=M.pointerType==="touch"?10:2,Y={x:z,y:A},le={originalEvent:M,delta:Y};K?(E.current=Y,ji(Cy,f,le,{discrete:!1})):bd(Y,g.swipeDirection,F)?(E.current=Y,ji(Ey,d,le,{discrete:!1}),M.target.setPointerCapture(M.pointerId)):(Math.abs(Q)>F||Math.abs(U)>F)&&(v.current=null)}),onPointerUp:ge(e.onPointerUp,M=>{const Q=E.current,U=M.target;if(U.hasPointerCapture(M.pointerId)&&U.releasePointerCapture(M.pointerId),E.current=null,v.current=null,Q){const K=M.currentTarget,k={originalEvent:M,delta:Q};bd(Q,g.swipeDirection,g.swipeThreshold)?ji(by,y,k,{discrete:!0}):ji(ky,c,k,{discrete:!0}),K.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),jy=e=>{const{__scopeToast:t,children:n,...r}=e,o=Hs(Qs,t),[i,s]=x.useState(!1),[l,a]=x.useState(!1);return Oy(()=>s(!0)),x.useEffect(()=>{const u=window.setTimeout(()=>a(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:m.jsx(Mh,{asChild:!0,children:m.jsx(Vs,{...r,children:i&&m.jsxs(m.Fragment,{children:[o.label," ",n]})})})},Ry="ToastTitle",$h=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return m.jsx(We.div,{...r,ref:t})});$h.displayName=Ry;var _y="ToastDescription",Uh=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return m.jsx(We.div,{...r,ref:t})});Uh.displayName=_y;var Bh="ToastAction",Wh=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?m.jsx(Hh,{altText:n,asChild:!0,children:m.jsx(Ku,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Bh}\`. Expected non-empty \`string\`.`),null)});Wh.displayName=Bh;var Vh="ToastClose",Ku=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=Ny(Vh,n);return m.jsx(Hh,{asChild:!0,children:m.jsx(We.button,{type:"button",...r,ref:t,onClick:ge(e.onClick,o.onClose)})})});Ku.displayName=Vh;var Hh=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return m.jsx(We.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Qh(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),My(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Qh(r))}}),t}function ji(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?jh(o,i):o.dispatchEvent(i)}var bd=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function Oy(e=()=>{}){const t=_t(e);qn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function My(e){return e.nodeType===e.ELEMENT_NODE}function Ly(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ll(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var Ay=Ah,Kh=Ih,Gh=Fh,Yh=$h,Xh=Uh,qh=Wh,Zh=Ku;function Jh(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Jh(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function em(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Jh(e))&&(r&&(r+=" "),r+=t);return r}const Pd=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Nd=em,Dy=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Nd(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const d=n==null?void 0:n[u],f=i==null?void 0:i[u];if(d===null)return null;const c=Pd(d)||Pd(f);return o[u][c]}),l=n&&Object.entries(n).reduce((u,d)=>{let[f,c]=d;return c===void 0||(u[f]=c),u},{}),a=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:c,...y}=d;return Object.entries(y).every(w=>{let[g,S]=w;return Array.isArray(S)?S.includes({...i,...l}[g]):{...i,...l}[g]===S})?[...u,f,c]:u},[]);return Nd(e,s,a,n==null?void 0:n.class,n==null?void 0:n.className)};/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Iy=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),tm=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var zy={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fy=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...l},a)=>x.createElement("svg",{ref:a,...zy,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:tm("lucide",o),...l},[...s.map(([u,d])=>x.createElement(u,d)),...Array.isArray(i)?i:[i]]));/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _e=(e,t)=>{const n=x.forwardRef(({className:r,...o},i)=>x.createElement(Fy,{ref:i,iconNode:t,className:tm(`lucide-${Iy(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $y=_e("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Uy=_e("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nm=_e("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ia=_e("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const By=_e("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wy=_e("Leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vy=_e("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hy=_e("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Qy=_e("Mountain",[["path",{d:"m8 3 4 8 5-5 5 15H2L8 3z",key:"otkl63"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ky=_e("Plane",[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Gy=_e("Projector",[["path",{d:"M5 7 3 5",key:"1yys58"}],["path",{d:"M9 6V3",key:"1ptz9u"}],["path",{d:"m13 7 2-2",key:"1w3vmq"}],["circle",{cx:"9",cy:"13",r:"3",key:"1mma13"}],["path",{d:"M11.83 12H20a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h2.17",key:"2frwzc"}],["path",{d:"M16 16h2",key:"dnq2od"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Yy=_e("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xy=_e("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qy=_e("UtensilsCrossed",[["path",{d:"m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8",key:"n7qcjb"}],["path",{d:"M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7",key:"d0u48b"}],["path",{d:"m2.1 21.8 6.4-6.3",key:"yn04lh"}],["path",{d:"m19 5-7 7",key:"194lzd"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zy=_e("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jy=_e("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Gu="-",e1=e=>{const t=n1(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const l=s.split(Gu);return l[0]===""&&l.length!==1&&l.shift(),rm(l,t)||t1(s)},getConflictingClassGroupIds:(s,l)=>{const a=n[s]||[];return l&&r[s]?[...a,...r[s]]:a}}},rm=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?rm(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(Gu);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},Td=/^\[(.+)\]$/,t1=e=>{if(Td.test(e)){const t=Td.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},n1=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return o1(Object.entries(e.classGroups),n).forEach(([i,s])=>{za(s,r,i,t)}),r},za=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:jd(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(r1(o)){za(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{za(s,jd(t,i),n,r)})})},jd=(e,t)=>{let n=e;return t.split(Gu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},r1=e=>e.isThemeGetter,o1=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[n,o]}):e,i1=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},om="!",s1=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=l=>{const a=[];let u=0,d=0,f;for(let S=0;S<l.length;S++){let h=l[S];if(u===0){if(h===o&&(r||l.slice(S,S+i)===t)){a.push(l.slice(d,S)),d=S+i;continue}if(h==="/"){f=S;continue}}h==="["?u++:h==="]"&&u--}const c=a.length===0?l:l.substring(d),y=c.startsWith(om),w=y?c.substring(1):c,g=f&&f>d?f-d:void 0;return{modifiers:a,hasImportantModifier:y,baseClassName:w,maybePostfixModifierPosition:g}};return n?l=>n({className:l,parseClassName:s}):s},l1=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},a1=e=>({cache:i1(e.cacheSize),parseClassName:s1(e),...e1(e)}),u1=/\s+/,c1=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(u1);let l="";for(let a=s.length-1;a>=0;a-=1){const u=s[a],{modifiers:d,hasImportantModifier:f,baseClassName:c,maybePostfixModifierPosition:y}=n(u);let w=!!y,g=r(w?c.substring(0,y):c);if(!g){if(!w){l=u+(l.length>0?" "+l:l);continue}if(g=r(c),!g){l=u+(l.length>0?" "+l:l);continue}w=!1}const S=l1(d).join(":"),h=f?S+om:S,p=h+g;if(i.includes(p))continue;i.push(p);const v=o(g,w);for(let E=0;E<v.length;++E){const C=v[E];i.push(h+C)}l=u+(l.length>0?" "+l:l)}return l};function d1(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=im(t))&&(r&&(r+=" "),r+=n);return r}const im=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=im(e[r]))&&(n&&(n+=" "),n+=t);return n};function f1(e,...t){let n,r,o,i=s;function s(a){const u=t.reduce((d,f)=>f(d),e());return n=a1(u),r=n.cache.get,o=n.cache.set,i=l,l(a)}function l(a){const u=r(a);if(u)return u;const d=c1(a,n);return o(a,d),d}return function(){return i(d1.apply(null,arguments))}}const re=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},sm=/^\[(?:([a-z-]+):)?(.+)\]$/i,p1=/^\d+\/\d+$/,h1=new Set(["px","full","screen"]),m1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,v1=/\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$/,g1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,y1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,x1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Lt=e=>Nr(e)||h1.has(e)||p1.test(e),en=e=>Xr(e,"length",N1),Nr=e=>!!e&&!Number.isNaN(Number(e)),Al=e=>Xr(e,"number",Nr),co=e=>!!e&&Number.isInteger(Number(e)),w1=e=>e.endsWith("%")&&Nr(e.slice(0,-1)),W=e=>sm.test(e),tn=e=>m1.test(e),S1=new Set(["length","size","percentage"]),E1=e=>Xr(e,S1,lm),C1=e=>Xr(e,"position",lm),k1=new Set(["image","url"]),b1=e=>Xr(e,k1,j1),P1=e=>Xr(e,"",T1),fo=()=>!0,Xr=(e,t,n)=>{const r=sm.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},N1=e=>v1.test(e)&&!g1.test(e),lm=()=>!1,T1=e=>y1.test(e),j1=e=>x1.test(e),R1=()=>{const e=re("colors"),t=re("spacing"),n=re("blur"),r=re("brightness"),o=re("borderColor"),i=re("borderRadius"),s=re("borderSpacing"),l=re("borderWidth"),a=re("contrast"),u=re("grayscale"),d=re("hueRotate"),f=re("invert"),c=re("gap"),y=re("gradientColorStops"),w=re("gradientColorStopPositions"),g=re("inset"),S=re("margin"),h=re("opacity"),p=re("padding"),v=re("saturate"),E=re("scale"),C=re("sepia"),b=re("skew"),P=re("space"),T=re("translate"),D=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto",W,t],I=()=>[W,t],H=()=>["",Lt,en],M=()=>["auto",Nr,W],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",W],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>[Nr,W];return{cacheSize:500,separator:":",theme:{colors:[fo],spacing:[Lt,en],blur:["none","",tn,W],brightness:A(),borderColor:[e],borderRadius:["none","","full",tn,W],borderSpacing:I(),borderWidth:H(),contrast:A(),grayscale:R(),hueRotate:A(),invert:R(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[w1,en],inset:$(),margin:$(),opacity:A(),padding:I(),saturate:A(),scale:A(),sepia:R(),skew:A(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",W]}],container:["container"],columns:[{columns:[tn]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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:[...Q(),W]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",co,W]}],basis:[{basis:$()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",W]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",co,W]}],"grid-cols":[{"grid-cols":[fo]}],"col-start-end":[{col:["auto",{span:["full",co,W]},W]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[fo]}],"row-start-end":[{row:["auto",{span:[co,W]},W]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",W]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",W]}],gap:[{gap:[c]}],"gap-x":[{"gap-x":[c]}],"gap-y":[{"gap-y":[c]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",W,t]}],"min-w":[{"min-w":[W,t,"min","max","fit"]}],"max-w":[{"max-w":[W,t,"none","full","min","max","fit","prose",{screen:[tn]},tn]}],h:[{h:[W,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[W,t,"auto","min","max","fit"]}],"font-size":[{text:["base",tn,en]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Al]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",W]}],"line-clamp":[{"line-clamp":["none",Nr,Al]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Lt,W]}],"list-image":[{"list-image":["none",W]}],"list-style-type":[{list:["none","disc","decimal",W]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Lt,en]}],"underline-offset":[{"underline-offset":["auto",Lt,W]}],"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:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",W]}],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",W]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Q(),C1]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",E1]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},b1]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:U()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[Lt,W]}],"outline-w":[{outline:[Lt,en]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[Lt,en]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",tn,P1]}],"shadow-color":[{shadow:[fo]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",tn,W]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",W]}],duration:[{duration:A()}],ease:[{ease:["linear","in","out","in-out",W]}],delay:[{delay:A()}],animate:[{animate:["none","spin","ping","pulse","bounce",W]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[co,W]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[b]}],"skew-y":[{"skew-y":[b]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",W]}],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",W]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",W]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Lt,en,Al]}],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"]}}},_1=f1(R1);function tr(...e){return _1(em(e))}const O1=Ay,am=x.forwardRef(({className:e,...t},n)=>m.jsx(Kh,{ref:n,className:tr("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}));am.displayName=Kh.displayName;const M1=Dy("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"}}),um=x.forwardRef(({className:e,variant:t,...n},r)=>m.jsx(Gh,{ref:r,className:tr(M1({variant:t}),e),...n}));um.displayName=Gh.displayName;const L1=x.forwardRef(({className:e,...t},n)=>m.jsx(qh,{ref:n,className:tr("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));L1.displayName=qh.displayName;const cm=x.forwardRef(({className:e,...t},n)=>m.jsx(Zh,{ref:n,className:tr("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:m.jsx(Jy,{className:"h-4 w-4"})}));cm.displayName=Zh.displayName;const dm=x.forwardRef(({className:e,...t},n)=>m.jsx(Yh,{ref:n,className:tr("text-sm font-semibold",e),...t}));dm.displayName=Yh.displayName;const fm=x.forwardRef(({className:e,...t},n)=>m.jsx(Xh,{ref:n,className:tr("text-sm opacity-90",e),...t}));fm.displayName=Xh.displayName;function A1(){const{toasts:e}=Hg();return m.jsxs(O1,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return m.jsxs(um,{...i,children:[m.jsxs("div",{className:"grid gap-1",children:[n&&m.jsx(dm,{children:n}),r&&m.jsx(fm,{children:r})]}),o,m.jsx(cm,{})]},t)}),m.jsx(am,{})]})}var Rd=["light","dark"],D1="(prefers-color-scheme: dark)",I1=x.createContext(void 0),z1={setTheme:e=>{},themes:[]},F1=()=>{var e;return(e=x.useContext(I1))!=null?e:z1};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:l,nonce:a})=>{let u=i==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(w=>`'${w}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=o?Rd.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",c=(w,g=!1,S=!0)=>{let h=s?s[w]:w,p=g?w+"|| ''":`'${h}'`,v="";return o&&S&&!g&&Rd.includes(w)&&(v+=`d.style.colorScheme = '${w}';`),n==="class"?g||h?v+=`c.add(${p})`:v+="null":h&&(v+=`d[s](n,${p})`),v},y=e?`!function(){${d}${c(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${D1}',m=window.matchMedia(t);if(m.media!==t||m.matches){${c("dark")}}else{${c("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${c(s?"x[e]":"e",!0)}}${u?"":"else{"+c(i,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${c(s?"x[e]":"e",!0)}}else{${c(i,!1,!1)};}${f}}catch(t){}}();`;return x.createElement("script",{nonce:a,dangerouslySetInnerHTML:{__html:y}})});var $1=e=>{switch(e){case"success":return W1;case"info":return H1;case"warning":return V1;case"error":return Q1;default:return null}},U1=Array(12).fill(0),B1=({visible:e})=>_.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},_.createElement("div",{className:"sonner-spinner"},U1.map((t,n)=>_.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),W1=_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},_.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"})),V1=_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},_.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"})),H1=_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},_.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"})),Q1=_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},_.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"})),K1=()=>{let[e,t]=_.useState(document.hidden);return _.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Fa=1,G1=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,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Fa++,i=this.toasts.find(l=>l.id===o),s=e.dismissible===void 0?!0:e.dismissible;return i?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...e,id:o,title:n}),{...l,...e,id:o,dismissible:s,title:n}):l):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=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)=>this.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(),o=n!==void 0;return r.then(async i=>{if(X1(i)&&!i.ok){o=!1;let s=typeof t.error=="function"?await t.error(`HTTP error! status: ${i.status}`):t.error,l=typeof t.description=="function"?await t.description(`HTTP error! status: ${i.status}`):t.description;this.create({id:n,type:"error",message:s,description:l})}else if(t.success!==void 0){o=!1;let s=typeof t.success=="function"?await t.success(i):t.success,l=typeof t.description=="function"?await t.description(i):t.description;this.create({id:n,type:"success",message:s,description:l})}}).catch(async i=>{if(t.error!==void 0){o=!1;let s=typeof t.error=="function"?await t.error(i):t.error,l=typeof t.description=="function"?await t.description(i):t.description;this.create({id:n,type:"error",message:s,description:l})}}).finally(()=>{var i;o&&(this.dismiss(n),n=void 0),(i=t.finally)==null||i.call(t)}),n},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Fa++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},Qe=new G1,Y1=(e,t)=>{let n=(t==null?void 0:t.id)||Fa++;return Qe.addToast({title:e,...t,id:n}),n},X1=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",q1=Y1,Z1=()=>Qe.toasts;Object.assign(q1,{success:Qe.success,info:Qe.info,warning:Qe.warning,error:Qe.error,custom:Qe.custom,message:Qe.message,promise:Qe.promise,dismiss:Qe.dismiss,loading:Qe.loading},{getHistory:Z1});function J1(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))}J1(`: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}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-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;left: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;background:var(--gray1);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}: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:0;right:0;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}: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, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);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-border: hsl(0, 0%, 20%);--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%);--error-text: hsl(358, 100%, 81%)}[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%)}
`);function Ri(e){return e.label!==void 0}var ex=3,tx="32px",nx=4e3,rx=356,ox=14,ix=20,sx=200;function lx(...e){return e.filter(Boolean).join(" ")}var ax=e=>{var t,n,r,o,i,s,l,a,u,d;let{invert:f,toast:c,unstyled:y,interacting:w,setHeights:g,visibleToasts:S,heights:h,index:p,toasts:v,expanded:E,removeToast:C,defaultRichColors:b,closeButton:P,style:T,cancelButtonStyle:D,actionButtonStyle:O,className:$="",descriptionClassName:I="",duration:H,position:M,gap:Q,loadingIcon:U,expandByDefault:K,classNames:k,icons:R,closeButtonAriaLabel:z="Close toast",pauseWhenPageIsHidden:A,cn:F}=e,[Y,le]=_.useState(!1),[Ve,Z]=_.useState(!1),[at,Gt]=_.useState(!1),[Yt,Xt]=_.useState(!1),[si,or]=_.useState(0),[Ln,to]=_.useState(0),li=_.useRef(null),qt=_.useRef(null),tl=p===0,nl=p+1<=S,Se=c.type,ir=c.dismissible!==!1,s0=c.className||"",l0=c.descriptionClassName||"",ai=_.useMemo(()=>h.findIndex(B=>B.toastId===c.id)||0,[h,c.id]),a0=_.useMemo(()=>{var B;return(B=c.closeButton)!=null?B:P},[c.closeButton,P]),lc=_.useMemo(()=>c.duration||H||nx,[c.duration,H]),rl=_.useRef(0),sr=_.useRef(0),ac=_.useRef(0),lr=_.useRef(null),[uc,u0]=M.split("-"),cc=_.useMemo(()=>h.reduce((B,ne,ee)=>ee>=ai?B:B+ne.height,0),[h,ai]),dc=K1(),c0=c.invert||f,ol=Se==="loading";sr.current=_.useMemo(()=>ai*Q+cc,[ai,cc]),_.useEffect(()=>{le(!0)},[]),_.useLayoutEffect(()=>{if(!Y)return;let B=qt.current,ne=B.style.height;B.style.height="auto";let ee=B.getBoundingClientRect().height;B.style.height=ne,to(ee),g(St=>St.find(Et=>Et.toastId===c.id)?St.map(Et=>Et.toastId===c.id?{...Et,height:ee}:Et):[{toastId:c.id,height:ee,position:c.position},...St])},[Y,c.title,c.description,g,c.id]);let Zt=_.useCallback(()=>{Z(!0),or(sr.current),g(B=>B.filter(ne=>ne.toastId!==c.id)),setTimeout(()=>{C(c)},sx)},[c,C,g,sr]);_.useEffect(()=>{if(c.promise&&Se==="loading"||c.duration===1/0||c.type==="loading")return;let B,ne=lc;return E||w||A&&dc?(()=>{if(ac.current<rl.current){let ee=new Date().getTime()-rl.current;ne=ne-ee}ac.current=new Date().getTime()})():ne!==1/0&&(rl.current=new Date().getTime(),B=setTimeout(()=>{var ee;(ee=c.onAutoClose)==null||ee.call(c,c),Zt()},ne)),()=>clearTimeout(B)},[E,w,K,c,lc,Zt,c.promise,Se,A,dc]),_.useEffect(()=>{let B=qt.current;if(B){let ne=B.getBoundingClientRect().height;return to(ne),g(ee=>[{toastId:c.id,height:ne,position:c.position},...ee]),()=>g(ee=>ee.filter(St=>St.toastId!==c.id))}},[g,c.id]),_.useEffect(()=>{c.delete&&Zt()},[Zt,c.delete]);function d0(){return R!=null&&R.loading?_.createElement("div",{className:"sonner-loader","data-visible":Se==="loading"},R.loading):U?_.createElement("div",{className:"sonner-loader","data-visible":Se==="loading"},U):_.createElement(B1,{visible:Se==="loading"})}return _.createElement("li",{"aria-live":c.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:qt,className:F($,s0,k==null?void 0:k.toast,(t=c==null?void 0:c.classNames)==null?void 0:t.toast,k==null?void 0:k.default,k==null?void 0:k[Se],(n=c==null?void 0:c.classNames)==null?void 0:n[Se]),"data-sonner-toast":"","data-rich-colors":(r=c.richColors)!=null?r:b,"data-styled":!(c.jsx||c.unstyled||y),"data-mounted":Y,"data-promise":!!c.promise,"data-removed":Ve,"data-visible":nl,"data-y-position":uc,"data-x-position":u0,"data-index":p,"data-front":tl,"data-swiping":at,"data-dismissible":ir,"data-type":Se,"data-invert":c0,"data-swipe-out":Yt,"data-expanded":!!(E||K&&Y),style:{"--index":p,"--toasts-before":p,"--z-index":v.length-p,"--offset":`${Ve?si:sr.current}px`,"--initial-height":K?"auto":`${Ln}px`,...T,...c.style},onPointerDown:B=>{ol||!ir||(li.current=new Date,or(sr.current),B.target.setPointerCapture(B.pointerId),B.target.tagName!=="BUTTON"&&(Gt(!0),lr.current={x:B.clientX,y:B.clientY}))},onPointerUp:()=>{var B,ne,ee,St;if(Yt||!ir)return;lr.current=null;let Et=Number(((B=qt.current)==null?void 0:B.style.getPropertyValue("--swipe-amount").replace("px",""))||0),ui=new Date().getTime()-((ne=li.current)==null?void 0:ne.getTime()),f0=Math.abs(Et)/ui;if(Math.abs(Et)>=ix||f0>.11){or(sr.current),(ee=c.onDismiss)==null||ee.call(c,c),Zt(),Xt(!0);return}(St=qt.current)==null||St.style.setProperty("--swipe-amount","0px"),Gt(!1)},onPointerMove:B=>{var ne;if(!lr.current||!ir)return;let ee=B.clientY-lr.current.y,St=B.clientX-lr.current.x,Et=(uc==="top"?Math.min:Math.max)(0,ee),ui=B.pointerType==="touch"?10:2;Math.abs(Et)>ui?(ne=qt.current)==null||ne.style.setProperty("--swipe-amount",`${ee}px`):Math.abs(St)>ui&&(lr.current=null)}},a0&&!c.jsx?_.createElement("button",{"aria-label":z,"data-disabled":ol,"data-close-button":!0,onClick:ol||!ir?()=>{}:()=>{var B;Zt(),(B=c.onDismiss)==null||B.call(c,c)},className:F(k==null?void 0:k.closeButton,(o=c==null?void 0:c.classNames)==null?void 0:o.closeButton)},_.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"},_.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),_.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,c.jsx||_.isValidElement(c.title)?c.jsx||c.title:_.createElement(_.Fragment,null,Se||c.icon||c.promise?_.createElement("div",{"data-icon":"",className:F(k==null?void 0:k.icon,(i=c==null?void 0:c.classNames)==null?void 0:i.icon)},c.promise||c.type==="loading"&&!c.icon?c.icon||d0():null,c.type!=="loading"?c.icon||(R==null?void 0:R[Se])||$1(Se):null):null,_.createElement("div",{"data-content":"",className:F(k==null?void 0:k.content,(s=c==null?void 0:c.classNames)==null?void 0:s.content)},_.createElement("div",{"data-title":"",className:F(k==null?void 0:k.title,(l=c==null?void 0:c.classNames)==null?void 0:l.title)},c.title),c.description?_.createElement("div",{"data-description":"",className:F(I,l0,k==null?void 0:k.description,(a=c==null?void 0:c.classNames)==null?void 0:a.description)},c.description):null),_.isValidElement(c.cancel)?c.cancel:c.cancel&&Ri(c.cancel)?_.createElement("button",{"data-button":!0,"data-cancel":!0,style:c.cancelButtonStyle||D,onClick:B=>{var ne,ee;Ri(c.cancel)&&ir&&((ee=(ne=c.cancel).onClick)==null||ee.call(ne,B),Zt())},className:F(k==null?void 0:k.cancelButton,(u=c==null?void 0:c.classNames)==null?void 0:u.cancelButton)},c.cancel.label):null,_.isValidElement(c.action)?c.action:c.action&&Ri(c.action)?_.createElement("button",{"data-button":!0,"data-action":!0,style:c.actionButtonStyle||O,onClick:B=>{var ne,ee;Ri(c.action)&&(B.defaultPrevented||((ee=(ne=c.action).onClick)==null||ee.call(ne,B),Zt()))},className:F(k==null?void 0:k.actionButton,(d=c==null?void 0:c.classNames)==null?void 0:d.actionButton)},c.action.label):null))};function _d(){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}var ux=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:o,closeButton:i,className:s,offset:l,theme:a="light",richColors:u,duration:d,style:f,visibleToasts:c=ex,toastOptions:y,dir:w=_d(),gap:g=ox,loadingIcon:S,icons:h,containerAriaLabel:p="Notifications",pauseWhenPageIsHidden:v,cn:E=lx}=e,[C,b]=_.useState([]),P=_.useMemo(()=>Array.from(new Set([n].concat(C.filter(A=>A.position).map(A=>A.position)))),[C,n]),[T,D]=_.useState([]),[O,$]=_.useState(!1),[I,H]=_.useState(!1),[M,Q]=_.useState(a!=="system"?a:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),U=_.useRef(null),K=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),k=_.useRef(null),R=_.useRef(!1),z=_.useCallback(A=>{var F;(F=C.find(Y=>Y.id===A.id))!=null&&F.delete||Qe.dismiss(A.id),b(Y=>Y.filter(({id:le})=>le!==A.id))},[C]);return _.useEffect(()=>Qe.subscribe(A=>{if(A.dismiss){b(F=>F.map(Y=>Y.id===A.id?{...Y,delete:!0}:Y));return}setTimeout(()=>{kh.flushSync(()=>{b(F=>{let Y=F.findIndex(le=>le.id===A.id);return Y!==-1?[...F.slice(0,Y),{...F[Y],...A},...F.slice(Y+1)]:[A,...F]})})})}),[]),_.useEffect(()=>{if(a!=="system"){Q(a);return}a==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Q("dark"):Q("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:A})=>{Q(A?"dark":"light")})},[a]),_.useEffect(()=>{C.length<=1&&$(!1)},[C]),_.useEffect(()=>{let A=F=>{var Y,le;r.every(Ve=>F[Ve]||F.code===Ve)&&($(!0),(Y=U.current)==null||Y.focus()),F.code==="Escape"&&(document.activeElement===U.current||(le=U.current)!=null&&le.contains(document.activeElement))&&$(!1)};return document.addEventListener("keydown",A),()=>document.removeEventListener("keydown",A)},[r]),_.useEffect(()=>{if(U.current)return()=>{k.current&&(k.current.focus({preventScroll:!0}),k.current=null,R.current=!1)}},[U.current]),C.length?_.createElement("section",{"aria-label":`${p} ${K}`,tabIndex:-1},P.map((A,F)=>{var Y;let[le,Ve]=A.split("-");return _.createElement("ol",{key:A,dir:w==="auto"?_d():w,tabIndex:-1,ref:U,className:s,"data-sonner-toaster":!0,"data-theme":M,"data-y-position":le,"data-x-position":Ve,style:{"--front-toast-height":`${((Y=T[0])==null?void 0:Y.height)||0}px`,"--offset":typeof l=="number"?`${l}px`:l||tx,"--width":`${rx}px`,"--gap":`${g}px`,...f},onBlur:Z=>{R.current&&!Z.currentTarget.contains(Z.relatedTarget)&&(R.current=!1,k.current&&(k.current.focus({preventScroll:!0}),k.current=null))},onFocus:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||R.current||(R.current=!0,k.current=Z.relatedTarget)},onMouseEnter:()=>$(!0),onMouseMove:()=>$(!0),onMouseLeave:()=>{I||$(!1)},onPointerDown:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||H(!0)},onPointerUp:()=>H(!1)},C.filter(Z=>!Z.position&&F===0||Z.position===A).map((Z,at)=>{var Gt,Yt;return _.createElement(ax,{key:Z.id,icons:h,index:at,toast:Z,defaultRichColors:u,duration:(Gt=y==null?void 0:y.duration)!=null?Gt:d,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:t,visibleToasts:c,closeButton:(Yt=y==null?void 0:y.closeButton)!=null?Yt:i,interacting:I,position:A,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:z,toasts:C.filter(Xt=>Xt.position==Z.position),heights:T.filter(Xt=>Xt.position==Z.position),setHeights:D,expandByDefault:o,gap:g,loadingIcon:S,expanded:O,pauseWhenPageIsHidden:v,cn:E})}))})):null};const cx=({...e})=>{const{theme:t="system"}=F1();return m.jsx(ux,{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})},dx=["top","right","bottom","left"],Nn=Math.min,Ge=Math.max,Ss=Math.round,_i=Math.floor,Tn=e=>({x:e,y:e}),fx={left:"right",right:"left",bottom:"top",top:"bottom"},px={start:"end",end:"start"};function $a(e,t,n){return Ge(e,Nn(t,n))}function Ht(e,t){return typeof e=="function"?e(t):e}function Qt(e){return e.split("-")[0]}function qr(e){return e.split("-")[1]}function Yu(e){return e==="x"?"y":"x"}function Xu(e){return e==="y"?"height":"width"}function jn(e){return["top","bottom"].includes(Qt(e))?"y":"x"}function qu(e){return Yu(jn(e))}function hx(e,t,n){n===void 0&&(n=!1);const r=qr(e),o=qu(e),i=Xu(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Es(s)),[s,Es(s)]}function mx(e){const t=Es(e);return[Ua(e),t,Ua(t)]}function Ua(e){return e.replace(/start|end/g,t=>px[t])}function vx(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function gx(e,t,n,r){const o=qr(e);let i=vx(Qt(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Ua)))),i}function Es(e){return e.replace(/left|right|bottom|top/g,t=>fx[t])}function yx(e){return{top:0,right:0,bottom:0,left:0,...e}}function pm(e){return typeof e!="number"?yx(e):{top:e,right:e,bottom:e,left:e}}function Cs(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Od(e,t,n){let{reference:r,floating:o}=e;const i=jn(t),s=qu(t),l=Xu(s),a=Qt(t),u=i==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,c=r[l]/2-o[l]/2;let y;switch(a){case"top":y={x:d,y:r.y-o.height};break;case"bottom":y={x:d,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:f};break;case"left":y={x:r.x-o.width,y:f};break;default:y={x:r.x,y:r.y}}switch(qr(t)){case"start":y[s]-=c*(n&&u?-1:1);break;case"end":y[s]+=c*(n&&u?-1:1);break}return y}const xx=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=Od(u,r,a),c=r,y={},w=0;for(let g=0;g<l.length;g++){const{name:S,fn:h}=l[g],{x:p,y:v,data:E,reset:C}=await h({x:d,y:f,initialPlacement:r,placement:c,strategy:o,middlewareData:y,rects:u,platform:s,elements:{reference:e,floating:t}});d=p??d,f=v??f,y={...y,[S]:{...y[S],...E}},C&&w<=50&&(w++,typeof C=="object"&&(C.placement&&(c=C.placement),C.rects&&(u=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:d,y:f}=Od(u,c,a)),g=-1)}return{x:d,y:f,placement:c,strategy:o,middlewareData:y}};async function Vo(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:c=!1,padding:y=0}=Ht(t,e),w=pm(y),S=l[c?f==="floating"?"reference":"floating":f],h=Cs(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(S)))==null||n?S:S.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:a})),p=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),E=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},C=Cs(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:p,offsetParent:v,strategy:a}):p);return{top:(h.top-C.top+w.top)/E.y,bottom:(C.bottom-h.bottom+w.bottom)/E.y,left:(h.left-C.left+w.left)/E.x,right:(C.right-h.right+w.right)/E.x}}const wx=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:u,padding:d=0}=Ht(e,t)||{};if(u==null)return{};const f=pm(d),c={x:n,y:r},y=qu(o),w=Xu(y),g=await s.getDimensions(u),S=y==="y",h=S?"top":"left",p=S?"bottom":"right",v=S?"clientHeight":"clientWidth",E=i.reference[w]+i.reference[y]-c[y]-i.floating[w],C=c[y]-i.reference[y],b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let P=b?b[v]:0;(!P||!await(s.isElement==null?void 0:s.isElement(b)))&&(P=l.floating[v]||i.floating[w]);const T=E/2-C/2,D=P/2-g[w]/2-1,O=Nn(f[h],D),$=Nn(f[p],D),I=O,H=P-g[w]-$,M=P/2-g[w]/2+T,Q=$a(I,M,H),U=!a.arrow&&qr(o)!=null&&M!==Q&&i.reference[w]/2-(M<I?O:$)-g[w]/2<0,K=U?M<I?M-I:M-H:0;return{[y]:c[y]+K,data:{[y]:Q,centerOffset:M-Q-K,...U&&{alignmentOffset:K}},reset:U}}}),Sx=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:c,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:g=!0,...S}=Ht(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const h=Qt(o),p=jn(l),v=Qt(l)===l,E=await(a.isRTL==null?void 0:a.isRTL(u.floating)),C=c||(v||!g?[Es(l)]:mx(l)),b=w!=="none";!c&&b&&C.push(...gx(l,g,w,E));const P=[l,...C],T=await Vo(t,S),D=[];let O=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&D.push(T[h]),f){const M=hx(o,s,E);D.push(T[M[0]],T[M[1]])}if(O=[...O,{placement:o,overflows:D}],!D.every(M=>M<=0)){var $,I;const M=((($=i.flip)==null?void 0:$.index)||0)+1,Q=P[M];if(Q)return{data:{index:M,overflows:O},reset:{placement:Q}};let U=(I=O.filter(K=>K.overflows[0]<=0).sort((K,k)=>K.overflows[1]-k.overflows[1])[0])==null?void 0:I.placement;if(!U)switch(y){case"bestFit":{var H;const K=(H=O.filter(k=>{if(b){const R=jn(k.placement);return R===p||R==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(R=>R>0).reduce((R,z)=>R+z,0)]).sort((k,R)=>k[1]-R[1])[0])==null?void 0:H[0];K&&(U=K);break}case"initialPlacement":U=l;break}if(o!==U)return{reset:{placement:U}}}return{}}}};function Md(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ld(e){return dx.some(t=>e[t]>=0)}const Ex=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Ht(e,t);switch(r){case"referenceHidden":{const i=await Vo(t,{...o,elementContext:"reference"}),s=Md(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Ld(s)}}}case"escaped":{const i=await Vo(t,{...o,altBoundary:!0}),s=Md(i,n.floating);return{data:{escapedOffsets:s,escaped:Ld(s)}}}default:return{}}}}};async function Cx(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Qt(n),l=qr(n),a=jn(n)==="y",u=["left","top"].includes(s)?-1:1,d=i&&a?-1:1,f=Ht(t,e);let{mainAxis:c,crossAxis:y,alignmentAxis:w}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof w=="number"&&(y=l==="end"?w*-1:w),a?{x:y*d,y:c*u}:{x:c*u,y:y*d}}const kx=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await Cx(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},bx=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:S=>{let{x:h,y:p}=S;return{x:h,y:p}}},...a}=Ht(e,t),u={x:n,y:r},d=await Vo(t,a),f=jn(Qt(o)),c=Yu(f);let y=u[c],w=u[f];if(i){const S=c==="y"?"top":"left",h=c==="y"?"bottom":"right",p=y+d[S],v=y-d[h];y=$a(p,y,v)}if(s){const S=f==="y"?"top":"left",h=f==="y"?"bottom":"right",p=w+d[S],v=w-d[h];w=$a(p,w,v)}const g=l.fn({...t,[c]:y,[f]:w});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[c]:i,[f]:s}}}}}},Px=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:l=0,mainAxis:a=!0,crossAxis:u=!0}=Ht(e,t),d={x:n,y:r},f=jn(o),c=Yu(f);let y=d[c],w=d[f];const g=Ht(l,t),S=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(a){const v=c==="y"?"height":"width",E=i.reference[c]-i.floating[v]+S.mainAxis,C=i.reference[c]+i.reference[v]-S.mainAxis;y<E?y=E:y>C&&(y=C)}if(u){var h,p;const v=c==="y"?"width":"height",E=["top","left"].includes(Qt(o)),C=i.reference[f]-i.floating[v]+(E&&((h=s.offset)==null?void 0:h[f])||0)+(E?0:S.crossAxis),b=i.reference[f]+i.reference[v]+(E?0:((p=s.offset)==null?void 0:p[f])||0)-(E?S.crossAxis:0);w<C?w=C:w>b&&(w=b)}return{[c]:y,[f]:w}}}},Nx=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:l}=t,{apply:a=()=>{},...u}=Ht(e,t),d=await Vo(t,u),f=Qt(o),c=qr(o),y=jn(o)==="y",{width:w,height:g}=i.floating;let S,h;f==="top"||f==="bottom"?(S=f,h=c===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(h=f,S=c==="end"?"top":"bottom");const p=g-d.top-d.bottom,v=w-d.left-d.right,E=Nn(g-d[S],p),C=Nn(w-d[h],v),b=!t.middlewareData.shift;let P=E,T=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=p),b&&!c){const O=Ge(d.left,0),$=Ge(d.right,0),I=Ge(d.top,0),H=Ge(d.bottom,0);y?T=w-2*(O!==0||$!==0?O+$:Ge(d.left,d.right)):P=g-2*(I!==0||H!==0?I+H:Ge(d.top,d.bottom))}await a({...t,availableWidth:T,availableHeight:P});const D=await s.getDimensions(l.floating);return w!==D.width||g!==D.height?{reset:{rects:!0}}:{}}}};function Ks(){return typeof window<"u"}function Zr(e){return hm(e)?(e.nodeName||"").toLowerCase():"#document"}function qe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Mt(e){var t;return(t=(hm(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function hm(e){return Ks()?e instanceof Node||e instanceof qe(e).Node:!1}function xt(e){return Ks()?e instanceof Element||e instanceof qe(e).Element:!1}function Ot(e){return Ks()?e instanceof HTMLElement||e instanceof qe(e).HTMLElement:!1}function Ad(e){return!Ks()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof qe(e).ShadowRoot}function oi(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=wt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Tx(e){return["table","td","th"].includes(Zr(e))}function Gs(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Zu(e){const t=Ju(),n=xt(e)?wt(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function jx(e){let t=Rn(e);for(;Ot(t)&&!Hr(t);){if(Zu(t))return t;if(Gs(t))return null;t=Rn(t)}return null}function Ju(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Hr(e){return["html","body","#document"].includes(Zr(e))}function wt(e){return qe(e).getComputedStyle(e)}function Ys(e){return xt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Rn(e){if(Zr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ad(e)&&e.host||Mt(e);return Ad(t)?t.host:t}function mm(e){const t=Rn(e);return Hr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ot(t)&&oi(t)?t:mm(t)}function Ho(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=mm(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=qe(o);if(i){const l=Ba(s);return t.concat(s,s.visualViewport||[],oi(o)?o:[],l&&n?Ho(l):[])}return t.concat(o,Ho(o,[],n))}function Ba(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function vm(e){const t=wt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ot(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=Ss(n)!==i||Ss(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function ec(e){return xt(e)?e:e.contextElement}function Tr(e){const t=ec(e);if(!Ot(t))return Tn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=vm(t);let s=(i?Ss(n.width):n.width)/r,l=(i?Ss(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Rx=Tn(0);function gm(e){const t=qe(e);return!Ju()||!t.visualViewport?Rx:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function _x(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==qe(e)?!1:t}function Zn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=ec(e);let s=Tn(1);t&&(r?xt(r)&&(s=Tr(r)):s=Tr(e));const l=_x(i,n,r)?gm(i):Tn(0);let a=(o.left+l.x)/s.x,u=(o.top+l.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(i){const c=qe(i),y=r&&xt(r)?qe(r):r;let w=c,g=Ba(w);for(;g&&r&&y!==w;){const S=Tr(g),h=g.getBoundingClientRect(),p=wt(g),v=h.left+(g.clientLeft+parseFloat(p.paddingLeft))*S.x,E=h.top+(g.clientTop+parseFloat(p.paddingTop))*S.y;a*=S.x,u*=S.y,d*=S.x,f*=S.y,a+=v,u+=E,w=qe(g),g=Ba(w)}}return Cs({width:d,height:f,x:a,y:u})}function Ox(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=Mt(r),l=t?Gs(t.floating):!1;if(r===s||l&&i)return n;let a={scrollLeft:0,scrollTop:0},u=Tn(1);const d=Tn(0),f=Ot(r);if((f||!f&&!i)&&((Zr(r)!=="body"||oi(s))&&(a=Ys(r)),Ot(r))){const c=Zn(r);u=Tr(r),d.x=c.x+r.clientLeft,d.y=c.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+d.x,y:n.y*u.y-a.scrollTop*u.y+d.y}}function Mx(e){return Array.from(e.getClientRects())}function Wa(e,t){const n=Ys(e).scrollLeft;return t?t.left+n:Zn(Mt(e)).left+n}function Lx(e){const t=Mt(e),n=Ys(e),r=e.ownerDocument.body,o=Ge(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ge(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Wa(e);const l=-n.scrollTop;return wt(r).direction==="rtl"&&(s+=Ge(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:l}}function Ax(e,t){const n=qe(e),r=Mt(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,l=0,a=0;if(o){i=o.width,s=o.height;const u=Ju();(!u||u&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:i,height:s,x:l,y:a}}function Dx(e,t){const n=Zn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ot(e)?Tr(e):Tn(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,a=o*i.x,u=r*i.y;return{width:s,height:l,x:a,y:u}}function Dd(e,t,n){let r;if(t==="viewport")r=Ax(e,n);else if(t==="document")r=Lx(Mt(e));else if(xt(t))r=Dx(t,n);else{const o=gm(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Cs(r)}function ym(e,t){const n=Rn(e);return n===t||!xt(n)||Hr(n)?!1:wt(n).position==="fixed"||ym(n,t)}function Ix(e,t){const n=t.get(e);if(n)return n;let r=Ho(e,[],!1).filter(l=>xt(l)&&Zr(l)!=="body"),o=null;const i=wt(e).position==="fixed";let s=i?Rn(e):e;for(;xt(s)&&!Hr(s);){const l=wt(s),a=Zu(s);!a&&l.position==="fixed"&&(o=null),(i?!a&&!o:!a&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||oi(s)&&!a&&ym(e,s))?r=r.filter(d=>d!==s):o=l,s=Rn(s)}return t.set(e,r),r}function zx(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Gs(t)?[]:Ix(t,this._c):[].concat(n),r],l=s[0],a=s.reduce((u,d)=>{const f=Dd(t,d,o);return u.top=Ge(f.top,u.top),u.right=Nn(f.right,u.right),u.bottom=Nn(f.bottom,u.bottom),u.left=Ge(f.left,u.left),u},Dd(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Fx(e){const{width:t,height:n}=vm(e);return{width:t,height:n}}function $x(e,t,n){const r=Ot(t),o=Mt(t),i=n==="fixed",s=Zn(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const a=Tn(0);if(r||!r&&!i)if((Zr(t)!=="body"||oi(o))&&(l=Ys(t)),r){const y=Zn(t,!0,i,t);a.x=y.x+t.clientLeft,a.y=y.y+t.clientTop}else o&&(a.x=Wa(o));let u=0,d=0;if(o&&!r&&!i){const y=o.getBoundingClientRect();d=y.top+l.scrollTop,u=y.left+l.scrollLeft-Wa(o,y)}const f=s.left+l.scrollLeft-a.x-u,c=s.top+l.scrollTop-a.y-d;return{x:f,y:c,width:s.width,height:s.height}}function Dl(e){return wt(e).position==="static"}function Id(e,t){if(!Ot(e)||wt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Mt(e)===n&&(n=n.ownerDocument.body),n}function xm(e,t){const n=qe(e);if(Gs(e))return n;if(!Ot(e)){let o=Rn(e);for(;o&&!Hr(o);){if(xt(o)&&!Dl(o))return o;o=Rn(o)}return n}let r=Id(e,t);for(;r&&Tx(r)&&Dl(r);)r=Id(r,t);return r&&Hr(r)&&Dl(r)&&!Zu(r)?n:r||jx(e)||n}const Ux=async function(e){const t=this.getOffsetParent||xm,n=this.getDimensions,r=await n(e.floating);return{reference:$x(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Bx(e){return wt(e).direction==="rtl"}const Wx={convertOffsetParentRelativeRectToViewportRelativeRect:Ox,getDocumentElement:Mt,getClippingRect:zx,getOffsetParent:xm,getElementRects:Ux,getClientRects:Mx,getDimensions:Fx,getScale:Tr,isElement:xt,isRTL:Bx};function Vx(e,t){let n=null,r;const o=Mt(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const{left:u,top:d,width:f,height:c}=e.getBoundingClientRect();if(l||t(),!f||!c)return;const y=_i(d),w=_i(o.clientWidth-(u+f)),g=_i(o.clientHeight-(d+c)),S=_i(u),p={rootMargin:-y+"px "+-w+"px "+-g+"px "+-S+"px",threshold:Ge(0,Nn(1,a))||1};let v=!0;function E(C){const b=C[0].intersectionRatio;if(b!==a){if(!v)return s();b?s(!1,b):r=setTimeout(()=>{s(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(E,{...p,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,p)}n.observe(e)}return s(!0),i}function Hx(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=ec(e),d=o||i?[...u?Ho(u):[],...Ho(t)]:[];d.forEach(h=>{o&&h.addEventListener("scroll",n,{passive:!0}),i&&h.addEventListener("resize",n)});const f=u&&l?Vx(u,n):null;let c=-1,y=null;s&&(y=new ResizeObserver(h=>{let[p]=h;p&&p.target===u&&y&&(y.unobserve(t),cancelAnimationFrame(c),c=requestAnimationFrame(()=>{var v;(v=y)==null||v.observe(t)})),n()}),u&&!a&&y.observe(u),y.observe(t));let w,g=a?Zn(e):null;a&&S();function S(){const h=Zn(e);g&&(h.x!==g.x||h.y!==g.y||h.width!==g.width||h.height!==g.height)&&n(),g=h,w=requestAnimationFrame(S)}return n(),()=>{var h;d.forEach(p=>{o&&p.removeEventListener("scroll",n),i&&p.removeEventListener("resize",n)}),f==null||f(),(h=y)==null||h.disconnect(),y=null,a&&cancelAnimationFrame(w)}}const Qx=kx,Kx=bx,Gx=Sx,Yx=Nx,Xx=Ex,zd=wx,qx=Px,Zx=(e,t,n)=>{const r=new Map,o={platform:Wx,...n},i={...o.platform,_c:r};return xx(e,t,{...o,platform:i})};var Ki=typeof document<"u"?x.useLayoutEffect:x.useEffect;function ks(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,o;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(!ks(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!ks(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function wm(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Fd(e,t){const n=wm(e);return Math.round(t*n)/n}function Il(e){const t=x.useRef(e);return Ki(()=>{t.current=e}),t}function Jx(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:a,open:u}=e,[d,f]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[c,y]=x.useState(r);ks(c,r)||y(r);const[w,g]=x.useState(null),[S,h]=x.useState(null),p=x.useCallback(k=>{k!==b.current&&(b.current=k,g(k))},[]),v=x.useCallback(k=>{k!==P.current&&(P.current=k,h(k))},[]),E=i||w,C=s||S,b=x.useRef(null),P=x.useRef(null),T=x.useRef(d),D=a!=null,O=Il(a),$=Il(o),I=Il(u),H=x.useCallback(()=>{if(!b.current||!P.current)return;const k={placement:t,strategy:n,middleware:c};$.current&&(k.platform=$.current),Zx(b.current,P.current,k).then(R=>{const z={...R,isPositioned:I.current!==!1};M.current&&!ks(T.current,z)&&(T.current=z,ri.flushSync(()=>{f(z)}))})},[c,t,n,$,I]);Ki(()=>{u===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,f(k=>({...k,isPositioned:!1})))},[u]);const M=x.useRef(!1);Ki(()=>(M.current=!0,()=>{M.current=!1}),[]),Ki(()=>{if(E&&(b.current=E),C&&(P.current=C),E&&C){if(O.current)return O.current(E,C,H);H()}},[E,C,H,O,D]);const Q=x.useMemo(()=>({reference:b,floating:P,setReference:p,setFloating:v}),[p,v]),U=x.useMemo(()=>({reference:E,floating:C}),[E,C]),K=x.useMemo(()=>{const k={position:n,left:0,top:0};if(!U.floating)return k;const R=Fd(U.floating,d.x),z=Fd(U.floating,d.y);return l?{...k,transform:"translate("+R+"px, "+z+"px)",...wm(U.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:z}},[n,l,U.floating,d.x,d.y]);return x.useMemo(()=>({...d,update:H,refs:Q,elements:U,floatingStyles:K}),[d,H,Q,U,K])}const ew=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?zd({element:r.current,padding:o}).fn(n):{}:r?zd({element:r,padding:o}).fn(n):{}}}},tw=(e,t)=>({...Qx(e),options:[e,t]}),nw=(e,t)=>({...Kx(e),options:[e,t]}),rw=(e,t)=>({...qx(e),options:[e,t]}),ow=(e,t)=>({...Gx(e),options:[e,t]}),iw=(e,t)=>({...Yx(e),options:[e,t]}),sw=(e,t)=>({...Xx(e),options:[e,t]}),lw=(e,t)=>({...ew(e),options:[e,t]});var aw="Arrow",Sm=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return m.jsx(We.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:m.jsx("polygon",{points:"0,0 30,0 15,10"})})});Sm.displayName=aw;var uw=Sm;function cw(e,t=[]){let n=[];function r(i,s){const l=x.createContext(s),a=n.length;n=[...n,s];function u(f){const{scope:c,children:y,...w}=f,g=(c==null?void 0:c[e][a])||l,S=x.useMemo(()=>w,Object.values(w));return m.jsx(g.Provider,{value:S,children:y})}function d(f,c){const y=(c==null?void 0:c[e][a])||l,w=x.useContext(y);if(w)return w;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,d]}const o=()=>{const i=n.map(s=>x.createContext(s));return function(l){const a=(l==null?void 0:l[e])||i;return x.useMemo(()=>({[`__scope${e}`]:{...l,[e]:a}}),[l,a])}};return o.scopeName=e,[r,dw(o,...t)]}function dw(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((l,{useScope:a,scopeName:u})=>{const f=a(i)[`__scope${u}`];return{...l,...f}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function fw(e){const[t,n]=x.useState(void 0);return qn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,l;if("borderBoxSize"in i){const a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;s=u.inlineSize,l=u.blockSize}else s=e.offsetWidth,l=e.offsetHeight;n({width:s,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Em="Popper",[Cm,km]=cw(Em),[wS,bm]=Cm(Em),Pm="PopperAnchor",Nm=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=bm(Pm,n),s=x.useRef(null),l=yt(t,s);return x.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:m.jsx(We.div,{...o,ref:l})});Nm.displayName=Pm;var tc="PopperContent",[pw,hw]=Cm(tc),Tm=x.forwardRef((e,t)=>{var at,Gt,Yt,Xt,si,or;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:a=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:c=!1,updatePositionStrategy:y="optimized",onPlaced:w,...g}=e,S=bm(tc,n),[h,p]=x.useState(null),v=yt(t,Ln=>p(Ln)),[E,C]=x.useState(null),b=fw(E),P=(b==null?void 0:b.width)??0,T=(b==null?void 0:b.height)??0,D=r+(i!=="center"?"-"+i:""),O=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},$=Array.isArray(u)?u:[u],I=$.length>0,H={padding:O,boundary:$.filter(vw),altBoundary:I},{refs:M,floatingStyles:Q,placement:U,isPositioned:K,middlewareData:k}=Jx({strategy:"fixed",placement:D,whileElementsMounted:(...Ln)=>Hx(...Ln,{animationFrame:y==="always"}),elements:{reference:S.anchor},middleware:[tw({mainAxis:o+T,alignmentAxis:s}),a&&nw({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?rw():void 0,...H}),a&&ow({...H}),iw({...H,apply:({elements:Ln,rects:to,availableWidth:li,availableHeight:qt})=>{const{width:tl,height:nl}=to.reference,Se=Ln.floating.style;Se.setProperty("--radix-popper-available-width",`${li}px`),Se.setProperty("--radix-popper-available-height",`${qt}px`),Se.setProperty("--radix-popper-anchor-width",`${tl}px`),Se.setProperty("--radix-popper-anchor-height",`${nl}px`)}}),E&&lw({element:E,padding:l}),gw({arrowWidth:P,arrowHeight:T}),c&&sw({strategy:"referenceHidden",...H})]}),[R,z]=_m(U),A=_t(w);qn(()=>{K&&(A==null||A())},[K,A]);const F=(at=k.arrow)==null?void 0:at.x,Y=(Gt=k.arrow)==null?void 0:Gt.y,le=((Yt=k.arrow)==null?void 0:Yt.centerOffset)!==0,[Ve,Z]=x.useState();return qn(()=>{h&&Z(window.getComputedStyle(h).zIndex)},[h]),m.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:K?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ve,"--radix-popper-transform-origin":[(Xt=k.transformOrigin)==null?void 0:Xt.x,(si=k.transformOrigin)==null?void 0:si.y].join(" "),...((or=k.hide)==null?void 0:or.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:m.jsx(pw,{scope:n,placedSide:R,onArrowChange:C,arrowX:F,arrowY:Y,shouldHideArrow:le,children:m.jsx(We.div,{"data-side":R,"data-align":z,...g,ref:v,style:{...g.style,animation:K?void 0:"none"}})})})});Tm.displayName=tc;var jm="PopperArrow",mw={top:"bottom",right:"left",bottom:"top",left:"right"},Rm=x.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=hw(jm,r),s=mw[i.placedSide];return m.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:m.jsx(uw,{...o,ref:n,style:{...o.style,display:"block"}})})});Rm.displayName=jm;function vw(e){return e!==null}var gw=e=>({name:"transformOrigin",options:e,fn(t){var S,h,p;const{placement:n,rects:r,middlewareData:o}=t,s=((S=o.arrow)==null?void 0:S.centerOffset)!==0,l=s?0:e.arrowWidth,a=s?0:e.arrowHeight,[u,d]=_m(n),f={start:"0%",center:"50%",end:"100%"}[d],c=(((h=o.arrow)==null?void 0:h.x)??0)+l/2,y=(((p=o.arrow)==null?void 0:p.y)??0)+a/2;let w="",g="";return u==="bottom"?(w=s?f:`${c}px`,g=`${-a}px`):u==="top"?(w=s?f:`${c}px`,g=`${r.floating.height+a}px`):u==="right"?(w=`${-a}px`,g=s?f:`${y}px`):u==="left"&&(w=`${r.floating.width+a}px`,g=s?f:`${y}px`),{data:{x:w,y:g}}}});function _m(e){const[t,n="center"]=e.split("-");return[t,n]}var yw=Nm,xw=Tm,ww=Rm,[Xs,SS]=Th("Tooltip",[km]),nc=km(),Om="TooltipProvider",Sw=700,$d="tooltip.open",[Ew,Mm]=Xs(Om),Lm=e=>{const{__scopeTooltip:t,delayDuration:n=Sw,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[s,l]=x.useState(!0),a=x.useRef(!1),u=x.useRef(0);return x.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),m.jsx(Ew,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(u.current),l(!1)},[]),onClose:x.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>l(!0),r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:x.useCallback(d=>{a.current=d},[]),disableHoverableContent:o,children:i})};Lm.displayName=Om;var Am="Tooltip",[ES,qs]=Xs(Am),Va="TooltipTrigger",Cw=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=qs(Va,n),i=Mm(Va,n),s=nc(n),l=x.useRef(null),a=yt(t,l,o.onTriggerChange),u=x.useRef(!1),d=x.useRef(!1),f=x.useCallback(()=>u.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),m.jsx(yw,{asChild:!0,...s,children:m.jsx(We.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:a,onPointerMove:ge(e.onPointerMove,c=>{c.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:ge(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:ge(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:ge(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:ge(e.onBlur,o.onClose),onClick:ge(e.onClick,o.onClose)})})});Cw.displayName=Va;var kw="TooltipPortal",[CS,bw]=Xs(kw,{forceMount:void 0}),Qr="TooltipContent",Dm=x.forwardRef((e,t)=>{const n=bw(Qr,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=qs(Qr,e.__scopeTooltip);return m.jsx(Vu,{present:r||s.open,children:s.disableHoverableContent?m.jsx(Im,{side:o,...i,ref:t}):m.jsx(Pw,{side:o,...i,ref:t})})}),Pw=x.forwardRef((e,t)=>{const n=qs(Qr,e.__scopeTooltip),r=Mm(Qr,e.__scopeTooltip),o=x.useRef(null),i=yt(t,o),[s,l]=x.useState(null),{trigger:a,onClose:u}=n,d=o.current,{onPointerInTransitChange:f}=r,c=x.useCallback(()=>{l(null),f(!1)},[f]),y=x.useCallback((w,g)=>{const S=w.currentTarget,h={x:w.clientX,y:w.clientY},p=Rw(h,S.getBoundingClientRect()),v=_w(h,p),E=Ow(g.getBoundingClientRect()),C=Lw([...v,...E]);l(C),f(!0)},[f]);return x.useEffect(()=>()=>c(),[c]),x.useEffect(()=>{if(a&&d){const w=S=>y(S,d),g=S=>y(S,a);return a.addEventListener("pointerleave",w),d.addEventListener("pointerleave",g),()=>{a.removeEventListener("pointerleave",w),d.removeEventListener("pointerleave",g)}}},[a,d,y,c]),x.useEffect(()=>{if(s){const w=g=>{const S=g.target,h={x:g.clientX,y:g.clientY},p=(a==null?void 0:a.contains(S))||(d==null?void 0:d.contains(S)),v=!Mw(h,s);p?c():v&&(c(),u())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[a,d,s,u,c]),m.jsx(Im,{...e,ref:i})}),[Nw,Tw]=Xs(Am,{isInside:!1}),Im=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...l}=e,a=qs(Qr,n),u=nc(n),{onClose:d}=a;return x.useEffect(()=>(document.addEventListener($d,d),()=>document.removeEventListener($d,d)),[d]),x.useEffect(()=>{if(a.trigger){const f=c=>{const y=c.target;y!=null&&y.contains(a.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[a.trigger,d]),m.jsx(Wu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:m.jsxs(xw,{"data-state":a.stateAttribute,...u,...l,ref:t,style:{...l.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:[m.jsx(Nh,{children:r}),m.jsx(Nw,{scope:n,isInside:!0,children:m.jsx(gy,{id:a.contentId,role:"tooltip",children:o||r})})]})})});Dm.displayName=Qr;var zm="TooltipArrow",jw=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=nc(n);return Tw(zm,n).isInside?null:m.jsx(ww,{...o,...r,ref:t})});jw.displayName=zm;function Rw(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function _w(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 Ow(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function Mw(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const l=t[i].x,a=t[i].y,u=t[s].x,d=t[s].y;a>r!=d>r&&n<(u-l)*(r-a)/(d-a)+l&&(o=!o)}return o}function Lw(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),Aw(t)}function Aw(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}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 Dw=Lm,Fm=Dm;const Iw=Dw,zw=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>m.jsx(Fm,{ref:r,sideOffset:t,className:tr("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}));zw.displayName=Fm.displayName;var Zs=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(){}},Js=typeof window>"u"||"Deno"in globalThis;function dt(){}function Fw(e,t){return typeof e=="function"?e(t):e}function $w(e){return typeof e=="number"&&e>=0&&e!==1/0}function Uw(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ud(e,t){return typeof e=="function"?e(t):e}function Bw(e,t){return typeof e=="function"?e(t):e}function Bd(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:l}=e;if(s){if(r){if(t.queryHash!==rc(s,t.options))return!1}else if(!Ko(t.queryKey,s))return!1}if(n!=="all"){const a=t.isActive();if(n==="active"&&!a||n==="inactive"&&a)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||o&&o!==t.state.fetchStatus||i&&!i(t))}function Wd(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Qo(t.options.mutationKey)!==Qo(i))return!1}else if(!Ko(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function rc(e,t){return((t==null?void 0:t.queryKeyHashFn)||Qo)(e)}function Qo(e){return JSON.stringify(e,(t,n)=>Ha(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Ko(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Ko(e[n],t[n])):!1}function $m(e,t){if(e===t)return e;const n=Vd(e)&&Vd(t);if(n||Ha(e)&&Ha(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,l=n?[]:{};let a=0;for(let u=0;u<s;u++){const d=n?u:i[u];(!n&&r.includes(d)||n)&&e[d]===void 0&&t[d]===void 0?(l[d]=void 0,a++):(l[d]=$m(e[d],t[d]),l[d]===e[d]&&e[d]!==void 0&&a++)}return o===s&&a===o?e:l}return t}function Vd(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ha(e){if(!Hd(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Hd(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Hd(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ww(e){return new Promise(t=>{setTimeout(t,e)})}function Vw(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?$m(e,t):t}function Hw(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Qw(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var oc=Symbol();function Um(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===oc?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var $n,an,jr,nf,Kw=(nf=class extends Zs{constructor(){super();q(this,$n);q(this,an);q(this,jr);V(this,jr,t=>{if(!Js&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){N(this,an)||this.setEventListener(N(this,jr))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,an))==null||t.call(this),V(this,an,void 0))}setEventListener(t){var n;V(this,jr,t),(n=N(this,an))==null||n.call(this),V(this,an,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){N(this,$n)!==t&&(V(this,$n,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof N(this,$n)=="boolean"?N(this,$n):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},$n=new WeakMap,an=new WeakMap,jr=new WeakMap,nf),Bm=new Kw,Rr,un,_r,rf,Gw=(rf=class extends Zs{constructor(){super();q(this,Rr,!0);q(this,un);q(this,_r);V(this,_r,t=>{if(!Js&&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(){N(this,un)||this.setEventListener(N(this,_r))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,un))==null||t.call(this),V(this,un,void 0))}setEventListener(t){var n;V(this,_r,t),(n=N(this,un))==null||n.call(this),V(this,un,t(this.setOnline.bind(this)))}setOnline(t){N(this,Rr)!==t&&(V(this,Rr,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return N(this,Rr)}},Rr=new WeakMap,un=new WeakMap,_r=new WeakMap,rf),bs=new Gw;function Yw(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function Xw(e){return Math.min(1e3*2**e,3e4)}function Wm(e){return(e??"online")==="online"?bs.isOnline():!0}var Vm=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function zl(e){return e instanceof Vm}function Hm(e){let t=!1,n=0,r=!1,o;const i=Yw(),s=g=>{var S;r||(c(new Vm(g)),(S=e.abort)==null||S.call(e))},l=()=>{t=!0},a=()=>{t=!1},u=()=>Bm.isFocused()&&(e.networkMode==="always"||bs.isOnline())&&e.canRun(),d=()=>Wm(e.networkMode)&&e.canRun(),f=g=>{var S;r||(r=!0,(S=e.onSuccess)==null||S.call(e,g),o==null||o(),i.resolve(g))},c=g=>{var S;r||(r=!0,(S=e.onError)==null||S.call(e,g),o==null||o(),i.reject(g))},y=()=>new Promise(g=>{var S;o=h=>{(r||u())&&g(h)},(S=e.onPause)==null||S.call(e)}).then(()=>{var g;o=void 0,r||(g=e.onContinue)==null||g.call(e)}),w=()=>{if(r)return;let g;const S=n===0?e.initialPromise:void 0;try{g=S??e.fn()}catch(h){g=Promise.reject(h)}Promise.resolve(g).then(f).catch(h=>{var b;if(r)return;const p=e.retry??(Js?0:3),v=e.retryDelay??Xw,E=typeof v=="function"?v(n,h):v,C=p===!0||typeof p=="number"&&n<p||typeof p=="function"&&p(n,h);if(t||!C){c(h);return}n++,(b=e.onFail)==null||b.call(e,n,h),Ww(E).then(()=>u()?void 0:y()).then(()=>{t?c(h):w()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:l,continueRetry:a,canStart:d,start:()=>(d()?w():y().then(w),i)}}function qw(){let e=[],t=0,n=l=>{l()},r=l=>{l()},o=l=>setTimeout(l,0);const i=l=>{t?e.push(l):o(()=>{n(l)})},s=()=>{const l=e;e=[],l.length&&o(()=>{r(()=>{l.forEach(a=>{n(a)})})})};return{batch:l=>{let a;t++;try{a=l()}finally{t--,t||s()}return a},batchCalls:l=>(...a)=>{i(()=>{l(...a)})},schedule:i,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{o=l}}}var Le=qw(),Un,of,Qm=(of=class{constructor(){q(this,Un)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),$w(this.gcTime)&&V(this,Un,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Js?1/0:5*60*1e3))}clearGcTimeout(){N(this,Un)&&(clearTimeout(N(this,Un)),V(this,Un,void 0))}},Un=new WeakMap,of),Or,Mr,tt,Te,Xo,Bn,ft,At,sf,Zw=(sf=class extends Qm{constructor(t){super();q(this,ft);q(this,Or);q(this,Mr);q(this,tt);q(this,Te);q(this,Xo);q(this,Bn);V(this,Bn,!1),V(this,Xo,t.defaultOptions),this.setOptions(t.options),this.observers=[],V(this,tt,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,V(this,Or,e2(this.options)),this.state=t.state??N(this,Or),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=N(this,Te))==null?void 0:t.promise}setOptions(t){this.options={...N(this,Xo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&N(this,tt).remove(this)}setData(t,n){const r=Vw(this.state.data,t,this.options);return be(this,ft,At).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){be(this,ft,At).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=N(this,Te))==null?void 0:r.promise;return(o=N(this,Te))==null||o.cancel(t),n?n.then(dt).catch(dt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(N(this,Or))}isActive(){return this.observers.some(t=>Bw(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===oc||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!Uw(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,Te))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,Te))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),N(this,tt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(N(this,Te)&&(N(this,Bn)?N(this,Te).cancel({revert:!0}):N(this,Te).cancelRetry()),this.scheduleGc()),N(this,tt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||be(this,ft,At).call(this,{type:"invalidate"})}fetch(t,n){var a,u,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(N(this,Te))return N(this,Te).continueRetry(),N(this,Te).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(c=>c.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(V(this,Bn,!0),r.signal)})},i=()=>{const f=Um(this.options,n),c={queryKey:this.queryKey,meta:this.meta};return o(c),V(this,Bn,!1),this.options.persister?this.options.persister(f,c,this):f(c)},s={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:i};o(s),(a=this.options.behavior)==null||a.onFetch(s,this),V(this,Mr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=s.fetchOptions)==null?void 0:u.meta))&&be(this,ft,At).call(this,{type:"fetch",meta:(d=s.fetchOptions)==null?void 0:d.meta});const l=f=>{var c,y,w,g;zl(f)&&f.silent||be(this,ft,At).call(this,{type:"error",error:f}),zl(f)||((y=(c=N(this,tt).config).onError)==null||y.call(c,f,this),(g=(w=N(this,tt).config).onSettled)==null||g.call(w,this.state.data,f,this)),this.scheduleGc()};return V(this,Te,Hm({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var c,y,w,g;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(S){l(S);return}(y=(c=N(this,tt).config).onSuccess)==null||y.call(c,f,this),(g=(w=N(this,tt).config).onSettled)==null||g.call(w,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,c)=>{be(this,ft,At).call(this,{type:"failed",failureCount:f,error:c})},onPause:()=>{be(this,ft,At).call(this,{type:"pause"})},onContinue:()=>{be(this,ft,At).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),N(this,Te).start()}},Or=new WeakMap,Mr=new WeakMap,tt=new WeakMap,Te=new WeakMap,Xo=new WeakMap,Bn=new WeakMap,ft=new WeakSet,At=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,...Jw(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return zl(o)&&o.revert&&N(this,Mr)?{...N(this,Mr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Le.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),N(this,tt).notify({query:this,type:"updated",action:t})})},sf);function Jw(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Wm(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function e2(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"}}var bt,lf,t2=(lf=class extends Zs{constructor(t={}){super();q(this,bt);this.config=t,V(this,bt,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??rc(o,n);let s=this.get(i);return s||(s=new Zw({cache:this,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){N(this,bt).has(t.queryHash)||(N(this,bt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=N(this,bt).get(t.queryHash);n&&(t.destroy(),n===t&&N(this,bt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Le.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return N(this,bt).get(t)}getAll(){return[...N(this,bt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Bd(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Bd(t,r)):n}notify(t){Le.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Le.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Le.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},bt=new WeakMap,lf),Pt,Oe,Wn,Nt,nn,af,n2=(af=class extends Qm{constructor(t){super();q(this,Nt);q(this,Pt);q(this,Oe);q(this,Wn);this.mutationId=t.mutationId,V(this,Oe,t.mutationCache),V(this,Pt,[]),this.state=t.state||r2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){N(this,Pt).includes(t)||(N(this,Pt).push(t),this.clearGcTimeout(),N(this,Oe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){V(this,Pt,N(this,Pt).filter(n=>n!==t)),this.scheduleGc(),N(this,Oe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){N(this,Pt).length||(this.state.status==="pending"?this.scheduleGc():N(this,Oe).remove(this))}continue(){var t;return((t=N(this,Wn))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,i,s,l,a,u,d,f,c,y,w,g,S,h,p,v,E,C,b,P;V(this,Wn,Hm({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(T,D)=>{be(this,Nt,nn).call(this,{type:"failed",failureCount:T,error:D})},onPause:()=>{be(this,Nt,nn).call(this,{type:"pause"})},onContinue:()=>{be(this,Nt,nn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>N(this,Oe).canRun(this)}));const n=this.state.status==="pending",r=!N(this,Wn).canStart();try{if(!n){be(this,Nt,nn).call(this,{type:"pending",variables:t,isPaused:r}),await((i=(o=N(this,Oe).config).onMutate)==null?void 0:i.call(o,t,this));const D=await((l=(s=this.options).onMutate)==null?void 0:l.call(s,t));D!==this.state.context&&be(this,Nt,nn).call(this,{type:"pending",context:D,variables:t,isPaused:r})}const T=await N(this,Wn).start();return await((u=(a=N(this,Oe).config).onSuccess)==null?void 0:u.call(a,T,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,T,t,this.state.context)),await((y=(c=N(this,Oe).config).onSettled)==null?void 0:y.call(c,T,null,this.state.variables,this.state.context,this)),await((g=(w=this.options).onSettled)==null?void 0:g.call(w,T,null,t,this.state.context)),be(this,Nt,nn).call(this,{type:"success",data:T}),T}catch(T){try{throw await((h=(S=N(this,Oe).config).onError)==null?void 0:h.call(S,T,t,this.state.context,this)),await((v=(p=this.options).onError)==null?void 0:v.call(p,T,t,this.state.context)),await((C=(E=N(this,Oe).config).onSettled)==null?void 0:C.call(E,void 0,T,this.state.variables,this.state.context,this)),await((P=(b=this.options).onSettled)==null?void 0:P.call(b,void 0,T,t,this.state.context)),T}finally{be(this,Nt,nn).call(this,{type:"error",error:T})}}finally{N(this,Oe).runNext(this)}}},Pt=new WeakMap,Oe=new WeakMap,Wn=new WeakMap,Nt=new WeakSet,nn=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),Le.batch(()=>{N(this,Pt).forEach(r=>{r.onMutationUpdate(t)}),N(this,Oe).notify({mutation:this,type:"updated",action:t})})},af);function r2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var He,qo,uf,o2=(uf=class extends Zs{constructor(t={}){super();q(this,He);q(this,qo);this.config=t,V(this,He,new Map),V(this,qo,Date.now())}build(t,n,r){const o=new n2({mutationCache:this,mutationId:++ci(this,qo)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){const n=Oi(t),r=N(this,He).get(n)??[];r.push(t),N(this,He).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Oi(t);if(N(this,He).has(n)){const o=(r=N(this,He).get(n))==null?void 0:r.filter(i=>i!==t);o&&(o.length===0?N(this,He).delete(n):N(this,He).set(n,o))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=N(this,He).get(Oi(t)))==null?void 0:r.find(o=>o.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=N(this,He).get(Oi(t)))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Le.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...N(this,He).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Wd(n,r))}findAll(t={}){return this.getAll().filter(n=>Wd(t,n))}notify(t){Le.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Le.batch(()=>Promise.all(t.map(n=>n.continue().catch(dt))))}},He=new WeakMap,qo=new WeakMap,uf);function Oi(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Qd(e){return{onFetch:(t,n)=>{var d,f,c,y,w;const r=t.options,o=(c=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:c.direction,i=((y=t.state.data)==null?void 0:y.pages)||[],s=((w=t.state.data)==null?void 0:w.pageParams)||[];let l={pages:[],pageParams:[]},a=0;const u=async()=>{let g=!1;const S=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},h=Um(t.options,t.fetchOptions),p=async(v,E,C)=>{if(g)return Promise.reject();if(E==null&&v.pages.length)return Promise.resolve(v);const b={queryKey:t.queryKey,pageParam:E,direction:C?"backward":"forward",meta:t.options.meta};S(b);const P=await h(b),{maxPages:T}=t.options,D=C?Qw:Hw;return{pages:D(v.pages,P,T),pageParams:D(v.pageParams,E,T)}};if(o&&i.length){const v=o==="backward",E=v?i2:Kd,C={pages:i,pageParams:s},b=E(r,C);l=await p(C,b,v)}else{const v=e??i.length;do{const E=a===0?s[0]??r.initialPageParam:Kd(r,l);if(a>0&&E==null)break;l=await p(l,E),a++}while(a<v)}return l};t.options.persister?t.fetchFn=()=>{var g,S;return(S=(g=t.options).persister)==null?void 0:S.call(g,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Kd(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 i2(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 de,cn,dn,Lr,Ar,fn,Dr,Ir,cf,s2=(cf=class{constructor(e={}){q(this,de);q(this,cn);q(this,dn);q(this,Lr);q(this,Ar);q(this,fn);q(this,Dr);q(this,Ir);V(this,de,e.queryCache||new t2),V(this,cn,e.mutationCache||new o2),V(this,dn,e.defaultOptions||{}),V(this,Lr,new Map),V(this,Ar,new Map),V(this,fn,0)}mount(){ci(this,fn)._++,N(this,fn)===1&&(V(this,Dr,Bm.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,de).onFocus())})),V(this,Ir,bs.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,de).onOnline())})))}unmount(){var e,t;ci(this,fn)._--,N(this,fn)===0&&((e=N(this,Dr))==null||e.call(this),V(this,Dr,void 0),(t=N(this,Ir))==null||t.call(this),V(this,Ir,void 0))}isFetching(e){return N(this,de).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return N(this,cn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,de).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=N(this,de).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(Ud(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return N(this,de).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=N(this,de).get(r.queryHash),i=o==null?void 0:o.state.data,s=Fw(t,i);if(s!==void 0)return N(this,de).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return Le.batch(()=>N(this,de).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,de).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=N(this,de);Le.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=N(this,de),r={type:"active",...e};return Le.batch(()=>(n.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Le.batch(()=>N(this,de).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(dt).catch(dt)}invalidateQueries(e={},t={}){return Le.batch(()=>{if(N(this,de).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=Le.batch(()=>N(this,de).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(dt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(dt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=N(this,de).build(this,t);return n.isStaleByTime(Ud(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(dt).catch(dt)}fetchInfiniteQuery(e){return e.behavior=Qd(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(dt).catch(dt)}ensureInfiniteQueryData(e){return e.behavior=Qd(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return bs.isOnline()?N(this,cn).resumePausedMutations():Promise.resolve()}getQueryCache(){return N(this,de)}getMutationCache(){return N(this,cn)}getDefaultOptions(){return N(this,dn)}setDefaultOptions(e){V(this,dn,e)}setQueryDefaults(e,t){N(this,Lr).set(Qo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...N(this,Lr).values()];let n={};return t.forEach(r=>{Ko(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){N(this,Ar).set(Qo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...N(this,Ar).values()];let n={};return t.forEach(r=>{Ko(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...N(this,dn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=rc(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.enabled!==!0&&t.queryFn===oc&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...N(this,dn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){N(this,de).clear(),N(this,cn).clear()}},de=new WeakMap,cn=new WeakMap,dn=new WeakMap,Lr=new WeakMap,Ar=new WeakMap,fn=new WeakMap,Dr=new WeakMap,Ir=new WeakMap,cf),l2=x.createContext(void 0),a2=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),m.jsx(l2.Provider,{value:e,children:t}));/**
* @remix-run/router v1.20.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function Go(){return Go=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},Go.apply(this,arguments)}var mn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(mn||(mn={}));const Gd="popstate";function u2(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:l}=r.location;return Qa("",{pathname:i,search:s,hash:l},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Ps(o)}return d2(t,n,null,e)}function me(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Km(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function c2(){return Math.random().toString(36).substr(2,8)}function Yd(e,t){return{usr:e.state,key:e.key,idx:t}}function Qa(e,t,n,r){return n===void 0&&(n=null),Go({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Jr(t):t,{state:n,key:t&&t.key||r||c2()})}function Ps(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 Jr(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 d2(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,l=mn.Pop,a=null,u=d();u==null&&(u=0,s.replaceState(Go({},s.state,{idx:u}),""));function d(){return(s.state||{idx:null}).idx}function f(){l=mn.Pop;let S=d(),h=S==null?null:S-u;u=S,a&&a({action:l,location:g.location,delta:h})}function c(S,h){l=mn.Push;let p=Qa(g.location,S,h);u=d()+1;let v=Yd(p,u),E=g.createHref(p);try{s.pushState(v,"",E)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(E)}i&&a&&a({action:l,location:g.location,delta:1})}function y(S,h){l=mn.Replace;let p=Qa(g.location,S,h);u=d();let v=Yd(p,u),E=g.createHref(p);s.replaceState(v,"",E),i&&a&&a({action:l,location:g.location,delta:0})}function w(S){let h=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof S=="string"?S:Ps(S);return p=p.replace(/ $/,"%20"),me(h,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,h)}let g={get action(){return l},get location(){return e(o,s)},listen(S){if(a)throw new Error("A history only accepts one active listener");return o.addEventListener(Gd,f),a=S,()=>{o.removeEventListener(Gd,f),a=null}},createHref(S){return t(o,S)},createURL:w,encodeLocation(S){let h=w(S);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:c,replace:y,go(S){return s.go(S)}};return g}var Xd;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Xd||(Xd={}));function f2(e,t,n){return n===void 0&&(n="/"),p2(e,t,n,!1)}function p2(e,t,n,r){let o=typeof t=="string"?Jr(t):t,i=ic(o.pathname||"/",n);if(i==null)return null;let s=Gm(e);h2(s);let l=null;for(let a=0;l==null&&a<s.length;++a){let u=b2(i);l=C2(s[a],u,r)}return l}function Gm(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,l)=>{let a={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};a.relativePath.startsWith("/")&&(me(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let u=kn([r,a.relativePath]),d=n.concat(a);i.children&&i.children.length>0&&(me(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Gm(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:S2(u,i.index),routesMeta:d})};return e.forEach((i,s)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))o(i,s);else for(let a of Ym(i.path))o(i,s,a)}),t}function Ym(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=Ym(r.join("/")),l=[];return l.push(...s.map(a=>a===""?i:[i,a].join("/"))),o&&l.push(...s),l.map(a=>e.startsWith("/")&&a===""?"/":a)}function h2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:E2(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const m2=/^:[\w-]+$/,v2=3,g2=2,y2=1,x2=10,w2=-2,qd=e=>e==="*";function S2(e,t){let n=e.split("/"),r=n.length;return n.some(qd)&&(r+=w2),t&&(r+=g2),n.filter(o=>!qd(o)).reduce((o,i)=>o+(m2.test(i)?v2:i===""?y2:x2),r)}function E2(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function C2(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let l=0;l<r.length;++l){let a=r[l],u=l===r.length-1,d=i==="/"?t:t.slice(i.length)||"/",f=Zd({path:a.relativePath,caseSensitive:a.caseSensitive,end:u},d),c=a.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=Zd({path:a.relativePath,caseSensitive:a.caseSensitive,end:!1},d)),!f)return null;Object.assign(o,f.params),s.push({params:o,pathname:kn([i,f.pathname]),pathnameBase:j2(kn([i,f.pathnameBase])),route:c}),f.pathnameBase!=="/"&&(i=kn([i,f.pathnameBase]))}return s}function Zd(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=k2(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:c,isOptional:y}=d;if(c==="*"){let g=l[f]||"";s=i.slice(0,i.length-g.length).replace(/(.)\/+$/,"$1")}const w=l[f];return y&&!w?u[c]=void 0:u[c]=(w||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function k2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Km(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=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,l,a)=>(r.push({paramName:l,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function b2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Km(!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 ic(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function P2(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Jr(e):e;return{pathname:n?n.startsWith("/")?n:N2(n,t):t,search:R2(r),hash:_2(o)}}function N2(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Fl(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function T2(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Xm(e,t){let n=T2(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function qm(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Jr(e):(o=Go({},e),me(!o.pathname||!o.pathname.includes("?"),Fl("?","pathname","search",o)),me(!o.pathname||!o.pathname.includes("#"),Fl("#","pathname","hash",o)),me(!o.search||!o.search.includes("#"),Fl("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,l;if(s==null)l=n;else{let f=t.length-1;if(!r&&s.startsWith("..")){let c=s.split("/");for(;c[0]==="..";)c.shift(),f-=1;o.pathname=c.join("/")}l=f>=0?t[f]:"/"}let a=P2(o,l),u=s&&s!=="/"&&s.endsWith("/"),d=(i||s===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(u||d)&&(a.pathname+="/"),a}const kn=e=>e.join("/").replace(/\/\/+/g,"/"),j2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),R2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,_2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function O2(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Zm=["post","put","patch","delete"];new Set(Zm);const M2=["get",...Zm];new Set(M2);/**
* React Router v6.27.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function Yo(){return Yo=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},Yo.apply(this,arguments)}const sc=x.createContext(null),L2=x.createContext(null),nr=x.createContext(null),el=x.createContext(null),rr=x.createContext({outlet:null,matches:[],isDataRoute:!1}),Jm=x.createContext(null);function A2(e,t){let{relative:n}=t===void 0?{}:t;ii()||me(!1);let{basename:r,navigator:o}=x.useContext(nr),{hash:i,pathname:s,search:l}=t0(e,{relative:n}),a=s;return r!=="/"&&(a=s==="/"?r:kn([r,s])),o.createHref({pathname:a,search:l,hash:i})}function ii(){return x.useContext(el)!=null}function eo(){return ii()||me(!1),x.useContext(el).location}function e0(e){x.useContext(nr).static||x.useLayoutEffect(e)}function D2(){let{isDataRoute:e}=x.useContext(rr);return e?Y2():I2()}function I2(){ii()||me(!1);let e=x.useContext(sc),{basename:t,future:n,navigator:r}=x.useContext(nr),{matches:o}=x.useContext(rr),{pathname:i}=eo(),s=JSON.stringify(Xm(o,n.v7_relativeSplatPath)),l=x.useRef(!1);return e0(()=>{l.current=!0}),x.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let f=qm(u,JSON.parse(s),i,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:kn([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,s,i,e])}function t0(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(nr),{matches:o}=x.useContext(rr),{pathname:i}=eo(),s=JSON.stringify(Xm(o,r.v7_relativeSplatPath));return x.useMemo(()=>qm(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function z2(e,t){return F2(e,t)}function F2(e,t,n,r){ii()||me(!1);let{navigator:o}=x.useContext(nr),{matches:i}=x.useContext(rr),s=i[i.length-1],l=s?s.params:{};s&&s.pathname;let a=s?s.pathnameBase:"/";s&&s.route;let u=eo(),d;if(t){var f;let S=typeof t=="string"?Jr(t):t;a==="/"||(f=S.pathname)!=null&&f.startsWith(a)||me(!1),d=S}else d=u;let c=d.pathname||"/",y=c;if(a!=="/"){let S=a.replace(/^\//,"").split("/");y="/"+c.replace(/^\//,"").split("/").slice(S.length).join("/")}let w=f2(e,{pathname:y}),g=V2(w&&w.map(S=>Object.assign({},S,{params:Object.assign({},l,S.params),pathname:kn([a,o.encodeLocation?o.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?a:kn([a,o.encodeLocation?o.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),i,n,r);return t&&g?x.createElement(el.Provider,{value:{location:Yo({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:mn.Pop}},g):g}function $2(){let e=G2(),t=O2(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,null)}const U2=x.createElement($2,null);class B2 extends x.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?x.createElement(rr.Provider,{value:this.props.routeContext},x.createElement(Jm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function W2(e){let{routeContext:t,match:n,children:r}=e,o=x.useContext(sc);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(rr.Provider,{value:t},r)}function V2(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let d=s.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);d>=0||me(!1),s=s.slice(0,Math.min(s.length,d+1))}let a=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<s.length;d++){let f=s[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:c,errors:y}=n,w=f.route.loader&&c[f.route.id]===void 0&&(!y||y[f.route.id]===void 0);if(f.route.lazy||w){a=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((d,f,c)=>{let y,w=!1,g=null,S=null;n&&(y=l&&f.route.id?l[f.route.id]:void 0,g=f.route.errorElement||U2,a&&(u<0&&c===0?(w=!0,S=null):u===c&&(w=!0,S=f.route.hydrateFallbackElement||null)));let h=t.concat(s.slice(0,c+1)),p=()=>{let v;return y?v=g:w?v=S:f.route.Component?v=x.createElement(f.route.Component,null):f.route.element?v=f.route.element:v=d,x.createElement(W2,{match:f,routeContext:{outlet:d,matches:h,isDataRoute:n!=null},children:v})};return n&&(f.route.ErrorBoundary||f.route.errorElement||c===0)?x.createElement(B2,{location:n.location,revalidation:n.revalidation,component:g,error:y,children:p(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):p()},null)}var n0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(n0||{}),Ns=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}(Ns||{});function H2(e){let t=x.useContext(sc);return t||me(!1),t}function Q2(e){let t=x.useContext(L2);return t||me(!1),t}function K2(e){let t=x.useContext(rr);return t||me(!1),t}function r0(e){let t=K2(),n=t.matches[t.matches.length-1];return n.route.id||me(!1),n.route.id}function G2(){var e;let t=x.useContext(Jm),n=Q2(Ns.UseRouteError),r=r0(Ns.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Y2(){let{router:e}=H2(n0.UseNavigateStable),t=r0(Ns.UseNavigateStable),n=x.useRef(!1);return e0(()=>{n.current=!0}),x.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Yo({fromRouteId:t},i)))},[e,t])}function Gi(e){me(!1)}function X2(e){let{basename:t="/",children:n=null,location:r,navigationType:o=mn.Pop,navigator:i,static:s=!1,future:l}=e;ii()&&me(!1);let a=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:a,navigator:i,static:s,future:Yo({v7_relativeSplatPath:!1},l)}),[a,l,i,s]);typeof r=="string"&&(r=Jr(r));let{pathname:d="/",search:f="",hash:c="",state:y=null,key:w="default"}=r,g=x.useMemo(()=>{let S=ic(d,a);return S==null?null:{location:{pathname:S,search:f,hash:c,state:y,key:w},navigationType:o}},[a,d,f,c,y,w,o]);return g==null?null:x.createElement(nr.Provider,{value:u},x.createElement(el.Provider,{children:n,value:g}))}function q2(e){let{children:t,location:n}=e;return z2(Ka(t),n)}new Promise(()=>{});function Ka(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let i=[...t,o];if(r.type===x.Fragment){n.push.apply(n,Ka(r.props.children,i));return}r.type!==Gi&&me(!1),!r.props.index||!r.props.children||me(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Ka(r.props.children,i)),n.push(s)}),n}/**
* React Router DOM v6.27.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function Ga(){return Ga=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},Ga.apply(this,arguments)}function Z2(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function J2(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function eS(e,t){return e.button===0&&(!t||t==="_self")&&!J2(e)}const tS=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],nS="6";try{window.__reactRouterVersion=nS}catch{}const rS="startTransition",Jd=j0[rS];function oS(e){let{basename:t,children:n,future:r,window:o}=e,i=x.useRef();i.current==null&&(i.current=u2({window:o,v5Compat:!0}));let s=i.current,[l,a]=x.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},d=x.useCallback(f=>{u&&Jd?Jd(()=>a(f)):a(f)},[a,u]);return x.useLayoutEffect(()=>s.listen(d),[s,d]),x.createElement(X2,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s,future:r})}const iS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",sS=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Yi=x.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:l,target:a,to:u,preventScrollReset:d,viewTransition:f}=t,c=Z2(t,tS),{basename:y}=x.useContext(nr),w,g=!1;if(typeof u=="string"&&sS.test(u)&&(w=u,iS))try{let v=new URL(window.location.href),E=u.startsWith("//")?new URL(v.protocol+u):new URL(u),C=ic(E.pathname,y);E.origin===v.origin&&C!=null?u=C+E.search+E.hash:g=!0}catch{}let S=A2(u,{relative:o}),h=lS(u,{replace:s,state:l,target:a,preventScrollReset:d,relative:o,viewTransition:f});function p(v){r&&r(v),v.defaultPrevented||h(v)}return x.createElement("a",Ga({},c,{href:w||S,onClick:g||i?r:p,ref:n,target:a}))});var ef;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ef||(ef={}));var tf;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(tf||(tf={}));function lS(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,viewTransition:l}=t===void 0?{}:t,a=D2(),u=eo(),d=t0(e,{relative:s});return x.useCallback(f=>{if(eS(f,n)){f.preventDefault();let c=r!==void 0?r:Ps(u)===Ps(d);a(e,{replace:c,state:o,preventScrollReset:i,relative:s,viewTransition:l})}},[u,a,d,r,o,n,e,i,s,l])}const o0=()=>{const[e,t]=x.useState(!1),n=eo();return x.useEffect(()=>{const r=()=>{t(window.scrollY>50)};return window.addEventListener("scroll",r),()=>window.removeEventListener("scroll",r)},[]),m.jsx("nav",{className:`fixed top-0 w-full z-50 transition-all duration-300 ${e?"bg-dark/90 backdrop-blur-md border-b border-white/10":"bg-transparent"}`,children:m.jsx("div",{className:"max-w-7xl mx-auto px-6 py-4",children:m.jsxs("div",{className:"flex justify-between items-center",children:[m.jsx(Yi,{to:"/",className:"text-2xl font-bold text-neon hover:glow-text transition-all duration-300",children:"Portfolio"}),m.jsxs("div",{className:"hidden md:flex space-x-8",children:[m.jsx(Yi,{to:"/",className:`text-white hover:text-neon transition-colors duration-300 ${n.pathname==="/"?"text-neon":""}`,children:"Home"}),m.jsx(Yi,{to:"/projects",className:`text-white hover:text-neon transition-colors duration-300 ${n.pathname==="/projects"?"text-neon":""}`,children:"Projects"}),m.jsx("a",{href:"#contact",className:"text-white hover:text-neon transition-colors duration-300",children:"Contact"})]}),m.jsx("div",{className:"md:hidden",children:m.jsx("button",{className:"text-white hover:text-neon transition-colors duration-300",children:m.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})})]})})})},aS=()=>{const[e,t]=x.useState(""),n="Creative Developer & Designer";return x.useEffect(()=>{let r=0;const o=setInterval(()=>{t(n.slice(0,r)),r++,r>n.length&&clearInterval(o)},100);return()=>clearInterval(o)},[]),m.jsxs("section",{className:"min-h-screen flex items-center justify-center px-6 pt-20 relative overflow-hidden",children:[m.jsxs("div",{className:"absolute inset-0 opacity-20",children:[m.jsx("div",{className:"absolute top-1/4 left-1/4 w-96 h-96 bg-neon/10 rounded-full blur-3xl animate-float"}),m.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-coral/10 rounded-full blur-3xl animate-float",style:{animationDelay:"1s"}})]}),m.jsxs("div",{className:"max-w-7xl mx-auto grid lg:grid-cols-2 gap-12 items-center",children:[m.jsxs("div",{className:"animate-slide-in-left",children:[m.jsx("div",{className:"mb-6",children:m.jsx("span",{className:"text-neon text-lg font-medium",children:"Hello, I'm"})}),m.jsxs("h1",{className:"text-6xl lg:text-7xl font-bold mb-6",children:[m.jsx("span",{className:"text-white",children:"Aashish"}),m.jsx("br",{}),m.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-neon to-coral",children:"Shah"})]}),m.jsx("div",{className:"text-2xl lg:text-3xl text-gray-300 mb-8 h-12",children:m.jsx("span",{className:"border-r-2 border-neon pr-1 animate-blink",children:e})}),m.jsx("p",{className:"text-xl text-gray-400 mb-12 leading-relaxed max-w-lg",children:"I craft exceptional digital experiences through innovative web development, stunning UI/UX design, and creative problem-solving."}),m.jsx("div",{className:"flex flex-col sm:flex-row gap-6",children:m.jsx("a",{href:"https://wa.me/919266849711",target:"_blank",rel:"noopener noreferrer",className:"bg-gradient-to-r from-neon to-coral text-dark px-8 py-4 rounded-full font-semibold hover-glow transition-all duration-300 transform hover:scale-105 text-center",children:"Let's Work Together"})}),m.jsxs("div",{className:"flex items-center space-x-8 mt-12",children:[m.jsxs("div",{className:"text-center",children:[m.jsx("div",{className:"text-3xl font-bold text-neon",children:"14+"}),m.jsx("div",{className:"text-gray-400 text-sm",children:"projects completed in 2025"})]}),m.jsx("div",{className:"w-px h-12 bg-white/20"}),m.jsxs("div",{className:"text-center",children:[m.jsx("div",{className:"text-3xl font-bold text-coral",children:"100%"}),m.jsx("div",{className:"text-gray-400 text-sm",children:"Client Satisfaction"})]}),m.jsx("div",{className:"w-px h-12 bg-white/20"}),m.jsxs("div",{className:"text-center",children:[m.jsx("div",{className:"text-3xl font-bold text-amber",children:"24h"}),m.jsx("div",{className:"text-gray-400 text-sm",children:"Response Time"})]})]})]}),m.jsxs("div",{className:"relative animate-slide-in-right",children:[m.jsx("div",{className:"relative z-10",children:m.jsxs("div",{className:"w-96 h-96 mx-auto relative",children:[m.jsx("div",{className:"absolute top-0 right-0 w-20 h-20 bg-gradient-to-br from-neon to-transparent rounded-full animate-float opacity-60"}),m.jsx("div",{className:"absolute bottom-0 left-0 w-16 h-16 bg-gradient-to-br from-coral to-transparent rounded-full animate-float opacity-60",style:{animationDelay:"0.5s"}}),m.jsx("div",{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-12 h-12 bg-gradient-to-br from-amber to-transparent rounded-full animate-float opacity-60",style:{animationDelay:"1s"}}),m.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-neon/20 via-transparent to-coral/20 rounded-full blur-xl"}),m.jsx("div",{className:"absolute inset-8 glass rounded-full flex items-center justify-center backdrop-blur-xl",children:m.jsx("div",{className:"text-6xl font-bold text-transparent bg-clip-text bg-gradient-to-br from-neon to-coral",children:"AS"})})]})}),m.jsx("div",{className:"absolute top-10 left-10 glass px-4 py-2 rounded-lg text-sm text-neon animate-float opacity-80",children:"<div>"}),m.jsx("div",{className:"absolute bottom-20 right-10 glass px-4 py-2 rounded-lg text-sm text-coral animate-float opacity-80",style:{animationDelay:"0.5s"},children:"const magic = true;"}),m.jsx("div",{className:"absolute top-1/2 left-0 glass px-4 py-2 rounded-lg text-sm text-amber animate-float opacity-80",style:{animationDelay:"1s"},children:"#creativity"})]})]}),m.jsx("div",{className:"absolute bottom-8 left-1/2 transform -translate-x-1/2 animate-bounce",children:m.jsx("div",{className:"w-6 h-10 border-2 border-white/30 rounded-full flex justify-center",children:m.jsx("div",{className:"w-1 h-3 bg-neon rounded-full mt-2 animate-pulse"})})})]})},uS=()=>{const e=[{name:"Frontend Development",percentage:95},{name:"UI/UX Design",percentage:88},{name:"Backend Development",percentage:82},{name:"Mobile Development",percentage:75}];return m.jsx("section",{id:"about",className:"py-20 px-6",children:m.jsx("div",{className:"max-w-7xl mx-auto",children:m.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[m.jsxs("div",{className:"animate-slide-in-left",children:[m.jsxs("h2",{className:"text-5xl font-bold mb-8",children:[m.jsx("span",{className:"text-white",children:"About "}),m.jsx("span",{className:"text-neon",children:"Me"})]}),m.jsxs("div",{className:"space-y-6 text-gray-300 text-lg leading-relaxed",children:[m.jsx("p",{children:"I'm a passionate developer with 5+ years of experience creating digital solutions that make a difference. My journey began with a simple curiosity about how websites work, and it has evolved into a deep love for crafting user experiences that are both beautiful and functional."}),m.jsx("p",{children:"When I'm not coding, you'll find me experimenting with new design trends, contributing to open-source projects, or exploring the latest in web technologies. I believe in the power of collaboration and continuous learning."}),m.jsx("p",{children:"My approach combines technical expertise with creative problem-solving, ensuring every project not only meets requirements but exceeds expectations."})]}),m.jsxs("div",{className:"mt-12",children:[m.jsx("h3",{className:"text-2xl font-semibold text-white mb-6",children:"Skills & Expertise"}),m.jsx("div",{className:"space-y-4",children:e.map((t,n)=>m.jsxs("div",{className:"space-y-2",children:[m.jsxs("div",{className:"flex justify-between text-white",children:[m.jsx("span",{children:t.name}),m.jsxs("span",{children:[t.percentage,"%"]})]}),m.jsx("div",{className:"w-full bg-slate rounded-full h-2",children:m.jsx("div",{className:"bg-gradient-to-r from-neon to-coral h-2 rounded-full transition-all duration-1000 ease-out",style:{width:`${t.percentage}%`}})})]},n))})]})]}),m.jsxs("div",{className:"animate-slide-in-right",children:[m.jsxs("div",{className:"relative",children:[m.jsx("div",{className:"w-full h-96 bg-gradient-to-br from-neon/20 to-coral/20 rounded-2xl backdrop-blur-sm border border-white/10 flex items-center justify-center",children:m.jsxs("div",{className:"text-center",children:[m.jsx("div",{className:"w-32 h-32 bg-gradient-to-br from-neon to-coral rounded-full mx-auto mb-6 flex items-center justify-center text-4xl font-bold text-dark",children:"A"}),m.jsx("p",{className:"text-white text-lg",children:"Profile Image Coming Soon"})]})}),m.jsx("div",{className:"absolute -top-4 -right-4 w-24 h-24 border-2 border-coral rounded-full opacity-50"}),m.jsx("div",{className:"absolute -bottom-4 -left-4 w-16 h-16 bg-neon/30 rounded-full blur-lg"})]}),m.jsxs("div",{className:"mt-8 grid grid-cols-3 gap-6",children:[m.jsxs("div",{className:"text-center glass p-6 rounded-xl",children:[m.jsx("div",{className:"text-3xl font-bold text-neon",children:"50+"}),m.jsx("div",{className:"text-gray-400",children:"Projects"})]}),m.jsxs("div",{className:"text-center glass p-6 rounded-xl",children:[m.jsx("div",{className:"text-3xl font-bold text-coral",children:"5+"}),m.jsx("div",{className:"text-gray-400",children:"Years"})]}),m.jsxs("div",{className:"text-center glass p-6 rounded-xl",children:[m.jsx("div",{className:"text-3xl font-bold text-amber",children:"30+"}),m.jsx("div",{className:"text-gray-400",children:"Clients"})]})]})]})]})})})},cS=()=>{const e=[{icon:m.jsx(Uy,{className:"w-8 h-8"}),title:"Web Development",description:"Custom websites and web applications built with modern technologies like React, Vue, and Node.js.",features:["Responsive Design","Performance Optimization","SEO Implementation","Cross-browser Compatibility"]},{icon:m.jsx(Gy,{className:"w-8 h-8"}),title:"UI/UX Design",description:"Creating intuitive and engaging user interfaces that provide exceptional user experiences.",features:["User Research","Wireframing","Prototyping","Design Systems"]},{icon:m.jsx(Yy,{className:"w-8 h-8"}),title:"Consulting",description:"Strategic guidance on digital transformation, technology choices, and project planning.",features:["Tech Stack Planning","Code Reviews","Architecture Design","Performance Audits"]}];return m.jsx("section",{id:"services",className:"py-20 px-6 bg-slate/30",children:m.jsxs("div",{className:"max-w-7xl mx-auto",children:[m.jsxs("div",{className:"text-center mb-16",children:[m.jsxs("h2",{className:"text-5xl font-bold mb-6",children:[m.jsx("span",{className:"text-white",children:"My "}),m.jsx("span",{className:"text-neon",children:"Services"})]}),m.jsx("p",{className:"text-xl text-gray-400 max-w-3xl mx-auto",children:"I offer comprehensive digital solutions to help bring your ideas to life"})]}),m.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((t,n)=>m.jsxs("div",{className:"glass p-8 rounded-2xl hover-glow transition-all duration-300 transform hover:scale-105 group",children:[m.jsx("div",{className:"text-neon mb-6 group-hover:animate-float",children:t.icon}),m.jsx("h3",{className:"text-2xl font-bold text-white mb-4",children:t.title}),m.jsx("p",{className:"text-gray-400 mb-6 leading-relaxed",children:t.description}),m.jsx("ul",{className:"space-y-2",children:t.features.map((r,o)=>m.jsxs("li",{className:"flex items-center text-gray-300",children:[m.jsx("div",{className:"w-2 h-2 bg-coral rounded-full mr-3"}),r]},o))}),m.jsx("div",{className:"mt-8",children:m.jsxs("button",{className:"text-neon font-semibold hover:text-white transition-colors duration-300 group-hover:translate-x-2 transform inline-flex items-center",children:["Learn More",m.jsx("svg",{className:"w-4 h-4 ml-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})})]},n))})]})})},dS=()=>{const e=[{title:"KASE",icon:Ia,link:"https://kase.co.in/",color:"from-coral to-pink-400"},{title:"Finscout",icon:nm,link:"https://finscout.in/",color:"from-amber to-orange-400"}];return m.jsx("section",{id:"projects-sneak",className:"py-20 px-6",children:m.jsxs("div",{className:"max-w-7xl mx-auto",children:[m.jsxs("div",{className:"text-center mb-16",children:[m.jsxs("h2",{className:"text-5xl font-bold mb-6",children:[m.jsx("span",{className:"text-white",children:"Featured "}),m.jsx("span",{className:"text-neon",children:"Projects"})]}),m.jsx("p",{className:"text-xl text-gray-400 max-w-3xl mx-auto",children:"A showcase of my latest work and creative web solutions"})]}),m.jsx("div",{className:"grid lg:grid-cols-2 gap-8 mb-12",children:e.map((t,n)=>{const r=t.icon;return m.jsxs("div",{className:"group relative overflow-hidden rounded-2xl glass hover-glow transition-all duration-500",children:[m.jsx("div",{className:"aspect-video flex items-center justify-center bg-gradient-to-br from-slate/20 to-dark/40",children:m.jsx(r,{className:"w-24 h-24 text-white/60 group-hover:text-neon transition-colors duration-300"})}),m.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-dark via-transparent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),m.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-6 transform translate-y-full group-hover:translate-y-0 transition-transform duration-300",children:[m.jsx("h3",{className:"text-xl font-bold text-white mb-4",children:t.title}),m.jsxs("div",{className:"flex space-x-4",children:[m.jsx("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"text-neon hover:text-white transition-colors font-medium",children:"Visit Site"}),m.jsx("a",{href:"https://wa.me/919266849711",target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-white transition-colors",children:"Discuss"})]})]}),m.jsx("div",{className:`absolute top-4 right-4 w-3 h-3 rounded-full bg-gradient-to-r ${t.color}`})]},n)})}),m.jsx("div",{className:"text-center",children:m.jsxs(Yi,{to:"/projects",className:"inline-flex items-center bg-gradient-to-r from-neon to-coral text-dark px-8 py-4 rounded-full font-semibold hover-glow transition-all duration-300 transform hover:scale-105",children:["View All Projects",m.jsx("svg",{className:"w-5 h-5 ml-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})})]})})},fS=()=>{const e="+919266849711",t=`https://wa.me/${e.replace("+","")}`;return m.jsx("section",{id:"contact",className:"py-20 px-6 bg-slate/20",children:m.jsx("div",{className:"max-w-7xl mx-auto",children:m.jsx("div",{className:"text-center",children:m.jsxs("div",{className:"animate-slide-in-left",children:[m.jsxs("h2",{className:"text-5xl font-bold mb-8",children:[m.jsx("span",{className:"text-white",children:"Let's Build "}),m.jsx("span",{className:"text-neon",children:"Together"})]}),m.jsx("p",{className:"text-xl text-gray-400 mb-12 leading-relaxed max-w-3xl mx-auto",children:"Ready to bring your ideas to life? I'm always excited to work on new projects and collaborate with amazing people."}),m.jsxs("div",{className:"grid md:grid-cols-3 gap-8 max-w-4xl mx-auto mb-12",children:[m.jsxs("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"flex flex-col items-center space-y-4 p-6 glass rounded-2xl hover-glow transition-all duration-300 group",children:[m.jsx("div",{className:"w-16 h-16 bg-neon/20 rounded-full flex items-center justify-center group-hover:scale-110 transition-transform",children:m.jsx("svg",{className:"w-8 h-8 text-neon",fill:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.893 3.386"})})}),m.jsxs("div",{children:[m.jsx("div",{className:"text-white font-semibold text-lg mb-2",children:"WhatsApp"}),m.jsx("div",{className:"text-gray-400",children:e})]})]}),m.jsxs("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"flex flex-col items-center space-y-4 p-6 glass rounded-2xl hover-glow transition-all duration-300 group",children:[m.jsx("div",{className:"w-16 h-16 bg-coral/20 rounded-full flex items-center justify-center group-hover:scale-110 transition-transform",children:m.jsx("svg",{className:"w-8 h-8 text-coral",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 8l7.89 4.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})})}),m.jsxs("div",{children:[m.jsx("div",{className:"text-white font-semibold text-lg mb-2",children:"Email"}),m.jsx("div",{className:"text-gray-400",children:"shahaaseesh1@gmail.com"})]})]}),m.jsxs("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"flex flex-col items-center space-y-4 p-6 glass rounded-2xl hover-glow transition-all duration-300 group",children:[m.jsx("div",{className:"w-16 h-16 bg-amber/20 rounded-full flex items-center justify-center group-hover:scale-110 transition-transform",children:m.jsx("svg",{className:"w-8 h-8 text-amber",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})})}),m.jsxs("div",{children:[m.jsx("div",{className:"text-white font-semibold text-lg mb-2",children:"Response Time"}),m.jsx("div",{className:"text-gray-400",children:"Within 24 hours"})]})]})]}),m.jsxs("div",{className:"mb-12",children:[m.jsx("h3",{className:"text-2xl font-semibold text-white mb-6",children:"Follow Me"}),m.jsx("div",{className:"flex justify-center space-x-6",children:[{name:"GitHub",icon:"G"},{name:"LinkedIn",icon:"L"},{name:"Twitter",icon:"T"},{name:"Dribbble",icon:"D"}].map((n,r)=>m.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"w-14 h-14 glass rounded-full flex items-center justify-center hover-glow transition-all duration-300 text-white hover:text-neon group",children:m.jsx("span",{className:"font-bold text-lg group-hover:scale-110 transition-transform",children:n.icon})},r))})]}),m.jsxs("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center bg-gradient-to-r from-neon to-coral text-dark px-8 py-4 rounded-xl font-semibold hover-glow transition-all duration-300 transform hover:scale-[1.02]",children:[m.jsx("svg",{className:"w-6 h-6 mr-3",fill:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.893 3.386"})}),"Let's Chat on WhatsApp"]})]})})})})},i0=()=>{const t=`https://wa.me/${"+919266849711".replace("+","")}`;return m.jsxs("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"fixed bottom-6 right-6 z-50 w-16 h-16 bg-green-500 hover:bg-green-600 rounded-full flex items-center justify-center shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-110 animate-float","aria-label":"Chat on WhatsApp",children:[m.jsx("svg",{className:"w-8 h-8 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.893 3.386"})}),m.jsx("div",{className:"absolute inset-0 rounded-full bg-green-400 animate-ping opacity-75"})]})},pS=()=>m.jsxs("div",{className:"min-h-screen bg-dark",children:[m.jsx(o0,{}),m.jsx(aS,{}),m.jsx(uS,{}),m.jsx(cS,{}),m.jsx(dS,{}),m.jsx(fS,{}),m.jsx(i0,{})]}),hS=()=>{const e=[{title:"Deccan Engineering College",icon:Ia,link:"http://deccancollege.ac.in/"},{title:"Nisarganow",icon:Wy,link:"https://nisarganow.com/"},{title:"St. Peters Education",icon:Ia,link:"https://stpetersedu.in/"},{title:"KASE",icon:$y,link:"https://kase.co.in/"},{title:"Speaker Videos",icon:Zy,link:"https://speakervideos.co/"},{title:"IT Monster",icon:Hy,link:"https://itmonster.com.np/"},{title:"Finscout",icon:nm,link:"https://finscout.in/"},{title:"Let's Go Abroad",icon:Ky,link:"https://letsgoabroad.com.np/"},{title:"Humtto Nepal",icon:Qy,link:"https://humttonepal.com/"},{title:"Ashoka International Relations Society",icon:Xy,link:"https://ashokairsoc.in/"},{title:"Rescape",icon:By,link:"https://rescape.in/"},{title:"Pakodi and Politics",icon:qy,link:"https://pakodiandpolitics.com/"},{title:"Travel Janakpur",icon:Vy,link:"https://traveljanakpur.com/"}];return m.jsxs("div",{className:"min-h-screen bg-dark",children:[m.jsx(o0,{}),m.jsx("section",{className:"pt-32 pb-20 px-6",children:m.jsxs("div",{className:"max-w-7xl mx-auto",children:[m.jsxs("div",{className:"text-center mb-16",children:[m.jsxs("h1",{className:"text-6xl font-bold mb-6",children:[m.jsx("span",{className:"text-white",children:"My "}),m.jsx("span",{className:"text-neon",children:"Projects"})]}),m.jsx("p",{className:"text-xl text-gray-400 max-w-3xl mx-auto",children:"A collection of websites and digital solutions I've crafted for clients across various industries"})]}),m.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((t,n)=>{const r=t.icon;return m.jsxs("div",{className:"group relative overflow-hidden rounded-2xl glass hover-glow transition-all duration-500 animate-fade-in",style:{animationDelay:`${n*.1}s`},children:[m.jsx("div",{className:"aspect-video flex items-center justify-center bg-gradient-to-br from-slate/20 to-dark/40",children:m.jsx(r,{className:"w-20 h-20 text-white/60 group-hover:text-neon transition-colors duration-300"})}),m.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-dark via-transparent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),m.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-6 transform translate-y-full group-hover:translate-y-0 transition-transform duration-300",children:[m.jsx("h3",{className:"text-xl font-bold text-white mb-4",children:t.title}),m.jsxs("div",{className:"flex space-x-4",children:[m.jsxs("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"flex items-center text-neon hover:text-white transition-colors font-medium",children:[m.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})}),"Visit Site"]}),m.jsxs("a",{href:"https://wa.me/919266849711",target:"_blank",rel:"noopener noreferrer",className:"flex items-center text-gray-400 hover:text-white transition-colors",children:[m.jsx("svg",{className:"w-4 h-4 mr-2",fill:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347"})}),"Discuss"]})]})]}),m.jsx("div",{className:"absolute top-4 right-4 w-3 h-3 rounded-full bg-gradient-to-r from-neon to-coral"})]},n)})})]})}),m.jsx(i0,{})]})},mS=()=>{const e=eo();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),m.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:m.jsxs("div",{className:"text-center",children:[m.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404"}),m.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Oops! Page not found"}),m.jsx("a",{href:"/",className:"text-blue-500 hover:text-blue-700 underline",children:"Return to Home"})]})})},vS=new s2,gS=()=>m.jsx(a2,{client:vS,children:m.jsxs(Iw,{children:[m.jsx(A1,{}),m.jsx(cx,{}),m.jsx(oS,{children:m.jsxs(q2,{children:[m.jsx(Gi,{path:"/",element:m.jsx(pS,{})}),m.jsx(Gi,{path:"/projects",element:m.jsx(hS,{})}),m.jsx(Gi,{path:"*",element:m.jsx(mS,{})})]})})]})});bh(document.getElementById("root")).render(m.jsx(gS,{}));