%k25u25%fgd5n!
/home/nancmxek/www/staging/assets/index-D7_gwYj2.js
var Kd=e=>{throw TypeError(e)};var fl=(e,t,n)=>t.has(e)||Kd("Cannot "+n);var T=(e,t,n)=>(fl(e,t,"read from private field"),n?n.call(e):t.get(e)),ue=(e,t,n)=>t.has(e)?Kd("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ne=(e,t,n,r)=>(fl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),We=(e,t,n)=>(fl(e,t,"access private method"),n);var si=(e,t,n,r)=>({set _(o){ne(e,t,o,n)},get _(){return T(e,t,r)}});function b0(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 s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{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 s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function ch(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var uh={exports:{}},Ra={},dh={exports:{}},re={};/**
 * @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 Ks=Symbol.for("react.element"),S0=Symbol.for("react.portal"),N0=Symbol.for("react.fragment"),j0=Symbol.for("react.strict_mode"),E0=Symbol.for("react.profiler"),C0=Symbol.for("react.provider"),k0=Symbol.for("react.context"),T0=Symbol.for("react.forward_ref"),P0=Symbol.for("react.suspense"),R0=Symbol.for("react.memo"),A0=Symbol.for("react.lazy"),Qd=Symbol.iterator;function M0(e){return e===null||typeof e!="object"?null:(e=Qd&&e[Qd]||e["@@iterator"],typeof e=="function"?e:null)}var fh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ph=Object.assign,hh={};function To(e,t,n){this.props=e,this.context=t,this.refs=hh,this.updater=n||fh}To.prototype.isReactComponent={};To.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")};To.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function mh(){}mh.prototype=To.prototype;function xu(e,t,n){this.props=e,this.context=t,this.refs=hh,this.updater=n||fh}var wu=xu.prototype=new mh;wu.constructor=xu;ph(wu,To.prototype);wu.isPureReactComponent=!0;var Gd=Array.isArray,gh=Object.prototype.hasOwnProperty,bu={current:null},vh={key:!0,ref:!0,__self:!0,__source:!0};function yh(e,t,n){var r,o={},s=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)gh.call(t,r)&&!vh.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var c=Array(a),u=0;u<a;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:Ks,type:e,key:s,ref:i,props:o,_owner:bu.current}}function I0(e,t){return{$$typeof:Ks,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Su(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ks}function O0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Yd=/\/+/g;function pl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?O0(""+e.key):t.toString(36)}function Mi(e,t,n,r,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Ks:case S0:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+pl(i,0):r,Gd(o)?(n="",e!=null&&(n=e.replace(Yd,"$&/")+"/"),Mi(o,t,n,"",function(u){return u})):o!=null&&(Su(o)&&(o=I0(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(Yd,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",Gd(e))for(var a=0;a<e.length;a++){s=e[a];var c=r+pl(s,a);i+=Mi(s,t,n,c,o)}else if(c=M0(e),typeof c=="function")for(e=c.call(e),a=0;!(s=e.next()).done;)s=s.value,c=r+pl(s,a++),i+=Mi(s,t,n,c,o);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function ii(e,t,n){if(e==null)return e;var r=[],o=0;return Mi(e,r,"","",function(s){return t.call(n,s,o++)}),r}function _0(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var nt={current:null},Ii={transition:null},L0={ReactCurrentDispatcher:nt,ReactCurrentBatchConfig:Ii,ReactCurrentOwner:bu};function xh(){throw Error("act(...) is not supported in production builds of React.")}re.Children={map:ii,forEach:function(e,t,n){ii(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ii(e,function(){t++}),t},toArray:function(e){return ii(e,function(t){return t})||[]},only:function(e){if(!Su(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};re.Component=To;re.Fragment=N0;re.Profiler=E0;re.PureComponent=xu;re.StrictMode=j0;re.Suspense=P0;re.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L0;re.act=xh;re.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=ph({},e.props),o=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=bu.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(c in t)gh.call(t,c)&&!vh.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&a!==void 0?a[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){a=Array(c);for(var u=0;u<c;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Ks,type:e.type,key:o,ref:s,props:r,_owner:i}};re.createContext=function(e){return e={$$typeof:k0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:C0,_context:e},e.Consumer=e};re.createElement=yh;re.createFactory=function(e){var t=yh.bind(null,e);return t.type=e,t};re.createRef=function(){return{current:null}};re.forwardRef=function(e){return{$$typeof:T0,render:e}};re.isValidElement=Su;re.lazy=function(e){return{$$typeof:A0,_payload:{_status:-1,_result:e},_init:_0}};re.memo=function(e,t){return{$$typeof:R0,type:e,compare:t===void 0?null:t}};re.startTransition=function(e){var t=Ii.transition;Ii.transition={};try{e()}finally{Ii.transition=t}};re.unstable_act=xh;re.useCallback=function(e,t){return nt.current.useCallback(e,t)};re.useContext=function(e){return nt.current.useContext(e)};re.useDebugValue=function(){};re.useDeferredValue=function(e){return nt.current.useDeferredValue(e)};re.useEffect=function(e,t){return nt.current.useEffect(e,t)};re.useId=function(){return nt.current.useId()};re.useImperativeHandle=function(e,t,n){return nt.current.useImperativeHandle(e,t,n)};re.useInsertionEffect=function(e,t){return nt.current.useInsertionEffect(e,t)};re.useLayoutEffect=function(e,t){return nt.current.useLayoutEffect(e,t)};re.useMemo=function(e,t){return nt.current.useMemo(e,t)};re.useReducer=function(e,t,n){return nt.current.useReducer(e,t,n)};re.useRef=function(e){return nt.current.useRef(e)};re.useState=function(e){return nt.current.useState(e)};re.useSyncExternalStore=function(e,t,n){return nt.current.useSyncExternalStore(e,t,n)};re.useTransition=function(){return nt.current.useTransition()};re.version="18.3.1";dh.exports=re;var v=dh.exports;const L=ch(v),wh=b0({__proto__:null,default:L},[v]);/**
 * @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 D0=v,z0=Symbol.for("react.element"),F0=Symbol.for("react.fragment"),B0=Object.prototype.hasOwnProperty,$0=D0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,H0={key:!0,ref:!0,__self:!0,__source:!0};function bh(e,t,n){var r,o={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)B0.call(t,r)&&!H0.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:z0,type:e,key:s,ref:i,props:o,_owner:$0.current}}Ra.Fragment=F0;Ra.jsx=bh;Ra.jsxs=bh;uh.exports=Ra;var l=uh.exports,Sh={exports:{}},Nt={},Nh={exports:{}},jh={};/**
 * @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,A){var B=k.length;k.push(A);e:for(;0<B;){var z=B-1>>>1,U=k[z];if(0<o(U,A))k[z]=A,k[B]=U,B=z;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var A=k[0],B=k.pop();if(B!==A){k[0]=B;e:for(var z=0,U=k.length,Y=U>>>1;z<Y;){var te=2*(z+1)-1,Se=k[te],J=te+1,$=k[J];if(0>o(Se,B))J<U&&0>o($,Se)?(k[z]=$,k[J]=B,z=J):(k[z]=Se,k[te]=B,z=te);else if(J<U&&0>o($,B))k[z]=$,k[J]=B,z=J;else break e}}return A}function o(k,A){var B=k.sortIndex-A.sortIndex;return B!==0?B:k.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var c=[],u=[],m=1,f=null,d=3,b=!1,x=!1,g=!1,w=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(k){for(var A=n(u);A!==null;){if(A.callback===null)r(u);else if(A.startTime<=k)r(u),A.sortIndex=A.expirationTime,t(c,A);else break;A=n(u)}}function S(k){if(g=!1,y(k),!x)if(n(c)!==null)x=!0,F(N);else{var A=n(u);A!==null&&K(S,A.startTime-k)}}function N(k,A){x=!1,g&&(g=!1,p(C),C=-1),b=!0;var B=d;try{for(y(A),f=n(c);f!==null&&(!(f.expirationTime>A)||k&&!_());){var z=f.callback;if(typeof z=="function"){f.callback=null,d=f.priorityLevel;var U=z(f.expirationTime<=A);A=e.unstable_now(),typeof U=="function"?f.callback=U:f===n(c)&&r(c),y(A)}else r(c);f=n(c)}if(f!==null)var Y=!0;else{var te=n(u);te!==null&&K(S,te.startTime-A),Y=!1}return Y}finally{f=null,d=B,b=!1}}var E=!1,j=null,C=-1,P=5,R=-1;function _(){return!(e.unstable_now()-R<P)}function D(){if(j!==null){var k=e.unstable_now();R=k;var A=!0;try{A=j(!0,k)}finally{A?V():(E=!1,j=null)}}else E=!1}var V;if(typeof h=="function")V=function(){h(D)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,W=I.port2;I.port1.onmessage=D,V=function(){W.postMessage(null)}}else V=function(){w(D,0)};function F(k){j=k,E||(E=!0,V())}function K(k,A){C=w(function(){k(e.unstable_now())},A)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(k){k.callback=null},e.unstable_continueExecution=function(){x||b||(x=!0,F(N))},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"):P=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(k){switch(d){case 1:case 2:case 3:var A=3;break;default:A=d}var B=d;d=A;try{return k()}finally{d=B}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,A){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var B=d;d=k;try{return A()}finally{d=B}},e.unstable_scheduleCallback=function(k,A,B){var z=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?z+B:z):B=z,k){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=B+U,k={id:m++,callback:A,priorityLevel:k,startTime:B,expirationTime:U,sortIndex:-1},B>z?(k.sortIndex=B,t(u,k),n(c)===null&&k===n(u)&&(g?(p(C),C=-1):g=!0,K(S,B-z))):(k.sortIndex=U,t(c,k),x||b||(x=!0,F(N))),k},e.unstable_shouldYield=_,e.unstable_wrapCallback=function(k){var A=d;return function(){var B=d;d=A;try{return k.apply(this,arguments)}finally{d=B}}}})(jh);Nh.exports=jh;var U0=Nh.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 V0=v,bt=U0;function M(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 Eh=new Set,ys={};function Rr(e,t){yo(e,t),yo(e+"Capture",t)}function yo(e,t){for(ys[e]=t,e=0;e<t.length;e++)Eh.add(t[e])}var yn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tc=Object.prototype.hasOwnProperty,W0=/^[: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]*$/,qd={},Xd={};function K0(e){return tc.call(Xd,e)?!0:tc.call(qd,e)?!1:W0.test(e)?Xd[e]=!0:(qd[e]=!0,!1)}function Q0(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 G0(e,t,n,r){if(t===null||typeof t>"u"||Q0(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function rt(e,t,n,r,o,s,i){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=s,this.removeEmptyString=i}var Ve={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ve[e]=new rt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ve[t]=new rt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ve[e]=new rt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ve[e]=new rt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ve[e]=new rt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ve[e]=new rt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ve[e]=new rt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ve[e]=new rt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ve[e]=new rt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Nu=/[\-:]([a-z])/g;function ju(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(Nu,ju);Ve[t]=new rt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Nu,ju);Ve[t]=new rt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Nu,ju);Ve[t]=new rt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ve[e]=new rt(e,1,!1,e.toLowerCase(),null,!1,!1)});Ve.xlinkHref=new rt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ve[e]=new rt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Eu(e,t,n,r){var o=Ve.hasOwnProperty(t)?Ve[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(G0(t,n,o,r)&&(n=null),r||o===null?K0(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 jn=V0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ai=Symbol.for("react.element"),$r=Symbol.for("react.portal"),Hr=Symbol.for("react.fragment"),Cu=Symbol.for("react.strict_mode"),nc=Symbol.for("react.profiler"),Ch=Symbol.for("react.provider"),kh=Symbol.for("react.context"),ku=Symbol.for("react.forward_ref"),rc=Symbol.for("react.suspense"),oc=Symbol.for("react.suspense_list"),Tu=Symbol.for("react.memo"),An=Symbol.for("react.lazy"),Th=Symbol.for("react.offscreen"),Zd=Symbol.iterator;function Wo(e){return e===null||typeof e!="object"?null:(e=Zd&&e[Zd]||e["@@iterator"],typeof e=="function"?e:null)}var Re=Object.assign,hl;function ts(e){if(hl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);hl=t&&t[1]||""}return`
`+hl+e}var ml=!1;function gl(e,t){if(!e||ml)return"";ml=!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(`
`),s=r.stack.split(`
`),i=o.length-1,a=s.length-1;1<=i&&0<=a&&o[i]!==s[a];)a--;for(;1<=i&&0<=a;i--,a--)if(o[i]!==s[a]){if(i!==1||a!==1)do if(i--,a--,0>a||o[i]!==s[a]){var c=`
`+o[i].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=i&&0<=a);break}}}finally{ml=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ts(e):""}function Y0(e){switch(e.tag){case 5:return ts(e.type);case 16:return ts("Lazy");case 13:return ts("Suspense");case 19:return ts("SuspenseList");case 0:case 2:case 15:return e=gl(e.type,!1),e;case 11:return e=gl(e.type.render,!1),e;case 1:return e=gl(e.type,!0),e;default:return""}}function sc(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 Hr:return"Fragment";case $r:return"Portal";case nc:return"Profiler";case Cu:return"StrictMode";case rc:return"Suspense";case oc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case kh:return(e.displayName||"Context")+".Consumer";case Ch:return(e._context.displayName||"Context")+".Provider";case ku:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Tu:return t=e.displayName||null,t!==null?t:sc(e.type)||"Memo";case An:t=e._payload,e=e._init;try{return sc(e(t))}catch{}}return null}function q0(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 sc(t);case 8:return t===Cu?"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 Zn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ph(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function X0(e){var t=Ph(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,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function li(e){e._valueTracker||(e._valueTracker=X0(e))}function Rh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ph(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Yi(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 ic(e,t){var n=t.checked;return Re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Jd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Zn(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 Ah(e,t){t=t.checked,t!=null&&Eu(e,"checked",t,!1)}function ac(e,t){Ah(e,t);var n=Zn(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")?lc(e,t.type,n):t.hasOwnProperty("defaultValue")&&lc(e,t.type,Zn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ef(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 lc(e,t,n){(t!=="number"||Yi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ns=Array.isArray;function Jr(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=""+Zn(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 cc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(M(91));return Re({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function tf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(M(92));if(ns(n)){if(1<n.length)throw Error(M(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Zn(n)}}function Mh(e,t){var n=Zn(t.value),r=Zn(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 nf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ih(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 uc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ih(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ci,Oh=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(ci=ci||document.createElement("div"),ci.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ci.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function xs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var as={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},Z0=["Webkit","ms","Moz","O"];Object.keys(as).forEach(function(e){Z0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),as[t]=as[e]})});function _h(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||as.hasOwnProperty(e)&&as[e]?(""+t).trim():t+"px"}function Lh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=_h(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var J0=Re({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 dc(e,t){if(t){if(J0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function fc(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 pc=null;function Pu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hc=null,eo=null,to=null;function rf(e){if(e=Ys(e)){if(typeof hc!="function")throw Error(M(280));var t=e.stateNode;t&&(t=_a(t),hc(e.stateNode,e.type,t))}}function Dh(e){eo?to?to.push(e):to=[e]:eo=e}function zh(){if(eo){var e=eo,t=to;if(to=eo=null,rf(e),t)for(e=0;e<t.length;e++)rf(t[e])}}function Fh(e,t){return e(t)}function Bh(){}var vl=!1;function $h(e,t,n){if(vl)return e(t,n);vl=!0;try{return Fh(e,t,n)}finally{vl=!1,(eo!==null||to!==null)&&(Bh(),zh())}}function ws(e,t){var n=e.stateNode;if(n===null)return null;var r=_a(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(M(231,t,typeof n));return n}var mc=!1;if(yn)try{var Ko={};Object.defineProperty(Ko,"passive",{get:function(){mc=!0}}),window.addEventListener("test",Ko,Ko),window.removeEventListener("test",Ko,Ko)}catch{mc=!1}function ex(e,t,n,r,o,s,i,a,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(m){this.onError(m)}}var ls=!1,qi=null,Xi=!1,gc=null,tx={onError:function(e){ls=!0,qi=e}};function nx(e,t,n,r,o,s,i,a,c){ls=!1,qi=null,ex.apply(tx,arguments)}function rx(e,t,n,r,o,s,i,a,c){if(nx.apply(this,arguments),ls){if(ls){var u=qi;ls=!1,qi=null}else throw Error(M(198));Xi||(Xi=!0,gc=u)}}function Ar(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 Hh(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 of(e){if(Ar(e)!==e)throw Error(M(188))}function ox(e){var t=e.alternate;if(!t){if(t=Ar(e),t===null)throw Error(M(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return of(o),e;if(s===r)return of(o),t;s=s.sibling}throw Error(M(188))}if(n.return!==r.return)n=o,r=s;else{for(var i=!1,a=o.child;a;){if(a===n){i=!0,n=o,r=s;break}if(a===r){i=!0,r=o,n=s;break}a=a.sibling}if(!i){for(a=s.child;a;){if(a===n){i=!0,n=s,r=o;break}if(a===r){i=!0,r=s,n=o;break}a=a.sibling}if(!i)throw Error(M(189))}}if(n.alternate!==r)throw Error(M(190))}if(n.tag!==3)throw Error(M(188));return n.stateNode.current===n?e:t}function Uh(e){return e=ox(e),e!==null?Vh(e):null}function Vh(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Vh(e);if(t!==null)return t;e=e.sibling}return null}var Wh=bt.unstable_scheduleCallback,sf=bt.unstable_cancelCallback,sx=bt.unstable_shouldYield,ix=bt.unstable_requestPaint,Oe=bt.unstable_now,ax=bt.unstable_getCurrentPriorityLevel,Ru=bt.unstable_ImmediatePriority,Kh=bt.unstable_UserBlockingPriority,Zi=bt.unstable_NormalPriority,lx=bt.unstable_LowPriority,Qh=bt.unstable_IdlePriority,Aa=null,on=null;function cx(e){if(on&&typeof on.onCommitFiberRoot=="function")try{on.onCommitFiberRoot(Aa,e,void 0,(e.current.flags&128)===128)}catch{}}var Ht=Math.clz32?Math.clz32:fx,ux=Math.log,dx=Math.LN2;function fx(e){return e>>>=0,e===0?32:31-(ux(e)/dx|0)|0}var ui=64,di=4194304;function rs(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 Ji(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~o;a!==0?r=rs(a):(s&=i,s!==0&&(r=rs(s)))}else i=n&~o,i!==0?r=rs(i):s!==0&&(r=rs(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ht(t),o=1<<n,r|=e[n],t&=~o;return r}function px(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 hx(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-Ht(s),a=1<<i,c=o[i];c===-1?(!(a&n)||a&r)&&(o[i]=px(a,t)):c<=t&&(e.expiredLanes|=a),s&=~a}}function vc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Gh(){var e=ui;return ui<<=1,!(ui&4194240)&&(ui=64),e}function yl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Qs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ht(t),e[t]=n}function mx(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-Ht(n),s=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~s}}function Au(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ht(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var pe=0;function Yh(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var qh,Mu,Xh,Zh,Jh,yc=!1,fi=[],Un=null,Vn=null,Wn=null,bs=new Map,Ss=new Map,In=[],gx="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 af(e,t){switch(e){case"focusin":case"focusout":Un=null;break;case"dragenter":case"dragleave":Vn=null;break;case"mouseover":case"mouseout":Wn=null;break;case"pointerover":case"pointerout":bs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ss.delete(t.pointerId)}}function Qo(e,t,n,r,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[o]},t!==null&&(t=Ys(t),t!==null&&Mu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function vx(e,t,n,r,o){switch(t){case"focusin":return Un=Qo(Un,e,t,n,r,o),!0;case"dragenter":return Vn=Qo(Vn,e,t,n,r,o),!0;case"mouseover":return Wn=Qo(Wn,e,t,n,r,o),!0;case"pointerover":var s=o.pointerId;return bs.set(s,Qo(bs.get(s)||null,e,t,n,r,o)),!0;case"gotpointercapture":return s=o.pointerId,Ss.set(s,Qo(Ss.get(s)||null,e,t,n,r,o)),!0}return!1}function em(e){var t=pr(e.target);if(t!==null){var n=Ar(t);if(n!==null){if(t=n.tag,t===13){if(t=Hh(n),t!==null){e.blockedOn=t,Jh(e.priority,function(){Xh(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 Oi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=xc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);pc=r,n.target.dispatchEvent(r),pc=null}else return t=Ys(n),t!==null&&Mu(t),e.blockedOn=n,!1;t.shift()}return!0}function lf(e,t,n){Oi(e)&&n.delete(t)}function yx(){yc=!1,Un!==null&&Oi(Un)&&(Un=null),Vn!==null&&Oi(Vn)&&(Vn=null),Wn!==null&&Oi(Wn)&&(Wn=null),bs.forEach(lf),Ss.forEach(lf)}function Go(e,t){e.blockedOn===t&&(e.blockedOn=null,yc||(yc=!0,bt.unstable_scheduleCallback(bt.unstable_NormalPriority,yx)))}function Ns(e){function t(o){return Go(o,e)}if(0<fi.length){Go(fi[0],e);for(var n=1;n<fi.length;n++){var r=fi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Un!==null&&Go(Un,e),Vn!==null&&Go(Vn,e),Wn!==null&&Go(Wn,e),bs.forEach(t),Ss.forEach(t),n=0;n<In.length;n++)r=In[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<In.length&&(n=In[0],n.blockedOn===null);)em(n),n.blockedOn===null&&In.shift()}var no=jn.ReactCurrentBatchConfig,ea=!0;function xx(e,t,n,r){var o=pe,s=no.transition;no.transition=null;try{pe=1,Iu(e,t,n,r)}finally{pe=o,no.transition=s}}function wx(e,t,n,r){var o=pe,s=no.transition;no.transition=null;try{pe=4,Iu(e,t,n,r)}finally{pe=o,no.transition=s}}function Iu(e,t,n,r){if(ea){var o=xc(e,t,n,r);if(o===null)Tl(e,t,r,ta,n),af(e,r);else if(vx(o,e,t,n,r))r.stopPropagation();else if(af(e,r),t&4&&-1<gx.indexOf(e)){for(;o!==null;){var s=Ys(o);if(s!==null&&qh(s),s=xc(e,t,n,r),s===null&&Tl(e,t,r,ta,n),s===o)break;o=s}o!==null&&r.stopPropagation()}else Tl(e,t,r,null,n)}}var ta=null;function xc(e,t,n,r){if(ta=null,e=Pu(r),e=pr(e),e!==null)if(t=Ar(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Hh(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 ta=e,null}function tm(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(ax()){case Ru:return 1;case Kh:return 4;case Zi:case lx:return 16;case Qh:return 536870912;default:return 16}default:return 16}}var Bn=null,Ou=null,_i=null;function nm(){if(_i)return _i;var e,t=Ou,n=t.length,r,o="value"in Bn?Bn.value:Bn.textContent,s=o.length;for(e=0;e<n&&t[e]===o[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===o[s-r];r++);return _i=o.slice(e,1<r?1-r:void 0)}function Li(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 pi(){return!0}function cf(){return!1}function jt(e){function t(n,r,o,s,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?pi:cf,this.isPropagationStopped=cf,this}return Re(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=pi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=pi)},persist:function(){},isPersistent:pi}),t}var Po={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_u=jt(Po),Gs=Re({},Po,{view:0,detail:0}),bx=jt(Gs),xl,wl,Yo,Ma=Re({},Gs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Lu,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!==Yo&&(Yo&&e.type==="mousemove"?(xl=e.screenX-Yo.screenX,wl=e.screenY-Yo.screenY):wl=xl=0,Yo=e),xl)},movementY:function(e){return"movementY"in e?e.movementY:wl}}),uf=jt(Ma),Sx=Re({},Ma,{dataTransfer:0}),Nx=jt(Sx),jx=Re({},Gs,{relatedTarget:0}),bl=jt(jx),Ex=Re({},Po,{animationName:0,elapsedTime:0,pseudoElement:0}),Cx=jt(Ex),kx=Re({},Po,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Tx=jt(kx),Px=Re({},Po,{data:0}),df=jt(Px),Rx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ax={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"},Mx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ix(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Mx[e])?!!t[e]:!1}function Lu(){return Ix}var Ox=Re({},Gs,{key:function(e){if(e.key){var t=Rx[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Li(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ax[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Lu,charCode:function(e){return e.type==="keypress"?Li(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Li(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),_x=jt(Ox),Lx=Re({},Ma,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ff=jt(Lx),Dx=Re({},Gs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Lu}),zx=jt(Dx),Fx=Re({},Po,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bx=jt(Fx),$x=Re({},Ma,{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}),Hx=jt($x),Ux=[9,13,27,32],Du=yn&&"CompositionEvent"in window,cs=null;yn&&"documentMode"in document&&(cs=document.documentMode);var Vx=yn&&"TextEvent"in window&&!cs,rm=yn&&(!Du||cs&&8<cs&&11>=cs),pf=" ",hf=!1;function om(e,t){switch(e){case"keyup":return Ux.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ur=!1;function Wx(e,t){switch(e){case"compositionend":return sm(t);case"keypress":return t.which!==32?null:(hf=!0,pf);case"textInput":return e=t.data,e===pf&&hf?null:e;default:return null}}function Kx(e,t){if(Ur)return e==="compositionend"||!Du&&om(e,t)?(e=nm(),_i=Ou=Bn=null,Ur=!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 rm&&t.locale!=="ko"?null:t.data;default:return null}}var Qx={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 mf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Qx[e.type]:t==="textarea"}function im(e,t,n,r){Dh(r),t=na(t,"onChange"),0<t.length&&(n=new _u("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var us=null,js=null;function Gx(e){vm(e,0)}function Ia(e){var t=Kr(e);if(Rh(t))return e}function Yx(e,t){if(e==="change")return t}var am=!1;if(yn){var Sl;if(yn){var Nl="oninput"in document;if(!Nl){var gf=document.createElement("div");gf.setAttribute("oninput","return;"),Nl=typeof gf.oninput=="function"}Sl=Nl}else Sl=!1;am=Sl&&(!document.documentMode||9<document.documentMode)}function vf(){us&&(us.detachEvent("onpropertychange",lm),js=us=null)}function lm(e){if(e.propertyName==="value"&&Ia(js)){var t=[];im(t,js,e,Pu(e)),$h(Gx,t)}}function qx(e,t,n){e==="focusin"?(vf(),us=t,js=n,us.attachEvent("onpropertychange",lm)):e==="focusout"&&vf()}function Xx(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ia(js)}function Zx(e,t){if(e==="click")return Ia(t)}function Jx(e,t){if(e==="input"||e==="change")return Ia(t)}function ew(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Wt=typeof Object.is=="function"?Object.is:ew;function Es(e,t){if(Wt(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(!tc.call(t,o)||!Wt(e[o],t[o]))return!1}return!0}function yf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xf(e,t){var n=yf(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=yf(n)}}function cm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?cm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function um(){for(var e=window,t=Yi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yi(e.document)}return t}function zu(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 tw(e){var t=um(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&cm(n.ownerDocument.documentElement,n)){if(r!==null&&zu(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,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!e.extend&&s>r&&(o=r,r=s,s=o),o=xf(n,s);var i=xf(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var nw=yn&&"documentMode"in document&&11>=document.documentMode,Vr=null,wc=null,ds=null,bc=!1;function wf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;bc||Vr==null||Vr!==Yi(r)||(r=Vr,"selectionStart"in r&&zu(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}),ds&&Es(ds,r)||(ds=r,r=na(wc,"onSelect"),0<r.length&&(t=new _u("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Vr)))}function hi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Wr={animationend:hi("Animation","AnimationEnd"),animationiteration:hi("Animation","AnimationIteration"),animationstart:hi("Animation","AnimationStart"),transitionend:hi("Transition","TransitionEnd")},jl={},dm={};yn&&(dm=document.createElement("div").style,"AnimationEvent"in window||(delete Wr.animationend.animation,delete Wr.animationiteration.animation,delete Wr.animationstart.animation),"TransitionEvent"in window||delete Wr.transitionend.transition);function Oa(e){if(jl[e])return jl[e];if(!Wr[e])return e;var t=Wr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in dm)return jl[e]=t[n];return e}var fm=Oa("animationend"),pm=Oa("animationiteration"),hm=Oa("animationstart"),mm=Oa("transitionend"),gm=new Map,bf="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 or(e,t){gm.set(e,t),Rr(t,[e])}for(var El=0;El<bf.length;El++){var Cl=bf[El],rw=Cl.toLowerCase(),ow=Cl[0].toUpperCase()+Cl.slice(1);or(rw,"on"+ow)}or(fm,"onAnimationEnd");or(pm,"onAnimationIteration");or(hm,"onAnimationStart");or("dblclick","onDoubleClick");or("focusin","onFocus");or("focusout","onBlur");or(mm,"onTransitionEnd");yo("onMouseEnter",["mouseout","mouseover"]);yo("onMouseLeave",["mouseout","mouseover"]);yo("onPointerEnter",["pointerout","pointerover"]);yo("onPointerLeave",["pointerout","pointerover"]);Rr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Rr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Rr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Rr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Rr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Rr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var os="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(" "),sw=new Set("cancel close invalid load scroll toggle".split(" ").concat(os));function Sf(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,rx(r,t,void 0,e),e.currentTarget=null}function vm(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 s=void 0;if(t)for(var i=r.length-1;0<=i;i--){var a=r[i],c=a.instance,u=a.currentTarget;if(a=a.listener,c!==s&&o.isPropagationStopped())break e;Sf(o,a,u),s=c}else for(i=0;i<r.length;i++){if(a=r[i],c=a.instance,u=a.currentTarget,a=a.listener,c!==s&&o.isPropagationStopped())break e;Sf(o,a,u),s=c}}}if(Xi)throw e=gc,Xi=!1,gc=null,e}function we(e,t){var n=t[Cc];n===void 0&&(n=t[Cc]=new Set);var r=e+"__bubble";n.has(r)||(ym(t,e,2,!1),n.add(r))}function kl(e,t,n){var r=0;t&&(r|=4),ym(n,e,r,t)}var mi="_reactListening"+Math.random().toString(36).slice(2);function Cs(e){if(!e[mi]){e[mi]=!0,Eh.forEach(function(n){n!=="selectionchange"&&(sw.has(n)||kl(n,!1,e),kl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[mi]||(t[mi]=!0,kl("selectionchange",!1,t))}}function ym(e,t,n,r){switch(tm(t)){case 1:var o=xx;break;case 4:o=wx;break;default:o=Iu}n=o.bind(null,t,n,e),o=void 0,!mc||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 Tl(e,t,n,r,o){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var a=r.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var c=i.tag;if((c===3||c===4)&&(c=i.stateNode.containerInfo,c===o||c.nodeType===8&&c.parentNode===o))return;i=i.return}for(;a!==null;){if(i=pr(a),i===null)return;if(c=i.tag,c===5||c===6){r=s=i;continue e}a=a.parentNode}}r=r.return}$h(function(){var u=s,m=Pu(n),f=[];e:{var d=gm.get(e);if(d!==void 0){var b=_u,x=e;switch(e){case"keypress":if(Li(n)===0)break e;case"keydown":case"keyup":b=_x;break;case"focusin":x="focus",b=bl;break;case"focusout":x="blur",b=bl;break;case"beforeblur":case"afterblur":b=bl;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":b=uf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=Nx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=zx;break;case fm:case pm:case hm:b=Cx;break;case mm:b=Bx;break;case"scroll":b=bx;break;case"wheel":b=Hx;break;case"copy":case"cut":case"paste":b=Tx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=ff}var g=(t&4)!==0,w=!g&&e==="scroll",p=g?d!==null?d+"Capture":null:d;g=[];for(var h=u,y;h!==null;){y=h;var S=y.stateNode;if(y.tag===5&&S!==null&&(y=S,p!==null&&(S=ws(h,p),S!=null&&g.push(ks(h,S,y)))),w)break;h=h.return}0<g.length&&(d=new b(d,x,null,n,m),f.push({event:d,listeners:g}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",b=e==="mouseout"||e==="pointerout",d&&n!==pc&&(x=n.relatedTarget||n.fromElement)&&(pr(x)||x[xn]))break e;if((b||d)&&(d=m.window===m?m:(d=m.ownerDocument)?d.defaultView||d.parentWindow:window,b?(x=n.relatedTarget||n.toElement,b=u,x=x?pr(x):null,x!==null&&(w=Ar(x),x!==w||x.tag!==5&&x.tag!==6)&&(x=null)):(b=null,x=u),b!==x)){if(g=uf,S="onMouseLeave",p="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(g=ff,S="onPointerLeave",p="onPointerEnter",h="pointer"),w=b==null?d:Kr(b),y=x==null?d:Kr(x),d=new g(S,h+"leave",b,n,m),d.target=w,d.relatedTarget=y,S=null,pr(m)===u&&(g=new g(p,h+"enter",x,n,m),g.target=y,g.relatedTarget=w,S=g),w=S,b&&x)t:{for(g=b,p=x,h=0,y=g;y;y=Dr(y))h++;for(y=0,S=p;S;S=Dr(S))y++;for(;0<h-y;)g=Dr(g),h--;for(;0<y-h;)p=Dr(p),y--;for(;h--;){if(g===p||p!==null&&g===p.alternate)break t;g=Dr(g),p=Dr(p)}g=null}else g=null;b!==null&&Nf(f,d,b,g,!1),x!==null&&w!==null&&Nf(f,w,x,g,!0)}}e:{if(d=u?Kr(u):window,b=d.nodeName&&d.nodeName.toLowerCase(),b==="select"||b==="input"&&d.type==="file")var N=Yx;else if(mf(d))if(am)N=Jx;else{N=Xx;var E=qx}else(b=d.nodeName)&&b.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(N=Zx);if(N&&(N=N(e,u))){im(f,N,n,m);break e}E&&E(e,d,u),e==="focusout"&&(E=d._wrapperState)&&E.controlled&&d.type==="number"&&lc(d,"number",d.value)}switch(E=u?Kr(u):window,e){case"focusin":(mf(E)||E.contentEditable==="true")&&(Vr=E,wc=u,ds=null);break;case"focusout":ds=wc=Vr=null;break;case"mousedown":bc=!0;break;case"contextmenu":case"mouseup":case"dragend":bc=!1,wf(f,n,m);break;case"selectionchange":if(nw)break;case"keydown":case"keyup":wf(f,n,m)}var j;if(Du)e:{switch(e){case"compositionstart":var C="onCompositionStart";break e;case"compositionend":C="onCompositionEnd";break e;case"compositionupdate":C="onCompositionUpdate";break e}C=void 0}else Ur?om(e,n)&&(C="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(C="onCompositionStart");C&&(rm&&n.locale!=="ko"&&(Ur||C!=="onCompositionStart"?C==="onCompositionEnd"&&Ur&&(j=nm()):(Bn=m,Ou="value"in Bn?Bn.value:Bn.textContent,Ur=!0)),E=na(u,C),0<E.length&&(C=new df(C,e,null,n,m),f.push({event:C,listeners:E}),j?C.data=j:(j=sm(n),j!==null&&(C.data=j)))),(j=Vx?Wx(e,n):Kx(e,n))&&(u=na(u,"onBeforeInput"),0<u.length&&(m=new df("onBeforeInput","beforeinput",null,n,m),f.push({event:m,listeners:u}),m.data=j))}vm(f,t)})}function ks(e,t,n){return{instance:e,listener:t,currentTarget:n}}function na(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,s=o.stateNode;o.tag===5&&s!==null&&(o=s,s=ws(e,n),s!=null&&r.unshift(ks(e,s,o)),s=ws(e,t),s!=null&&r.push(ks(e,s,o))),e=e.return}return r}function Dr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Nf(e,t,n,r,o){for(var s=t._reactName,i=[];n!==null&&n!==r;){var a=n,c=a.alternate,u=a.stateNode;if(c!==null&&c===r)break;a.tag===5&&u!==null&&(a=u,o?(c=ws(n,s),c!=null&&i.unshift(ks(n,c,a))):o||(c=ws(n,s),c!=null&&i.push(ks(n,c,a)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var iw=/\r\n?/g,aw=/\u0000|\uFFFD/g;function jf(e){return(typeof e=="string"?e:""+e).replace(iw,`
`).replace(aw,"")}function gi(e,t,n){if(t=jf(t),jf(e)!==t&&n)throw Error(M(425))}function ra(){}var Sc=null,Nc=null;function jc(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 Ec=typeof setTimeout=="function"?setTimeout:void 0,lw=typeof clearTimeout=="function"?clearTimeout:void 0,Ef=typeof Promise=="function"?Promise:void 0,cw=typeof queueMicrotask=="function"?queueMicrotask:typeof Ef<"u"?function(e){return Ef.resolve(null).then(e).catch(uw)}:Ec;function uw(e){setTimeout(function(){throw e})}function Pl(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),Ns(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Ns(t)}function Kn(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 Cf(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 Ro=Math.random().toString(36).slice(2),tn="__reactFiber$"+Ro,Ts="__reactProps$"+Ro,xn="__reactContainer$"+Ro,Cc="__reactEvents$"+Ro,dw="__reactListeners$"+Ro,fw="__reactHandles$"+Ro;function pr(e){var t=e[tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[xn]||n[tn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Cf(e);e!==null;){if(n=e[tn])return n;e=Cf(e)}return t}e=n,n=e.parentNode}return null}function Ys(e){return e=e[tn]||e[xn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Kr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function _a(e){return e[Ts]||null}var kc=[],Qr=-1;function sr(e){return{current:e}}function be(e){0>Qr||(e.current=kc[Qr],kc[Qr]=null,Qr--)}function ve(e,t){Qr++,kc[Qr]=e.current,e.current=t}var Jn={},qe=sr(Jn),at=sr(!1),Sr=Jn;function xo(e,t){var n=e.type.contextTypes;if(!n)return Jn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function lt(e){return e=e.childContextTypes,e!=null}function oa(){be(at),be(qe)}function kf(e,t,n){if(qe.current!==Jn)throw Error(M(168));ve(qe,t),ve(at,n)}function xm(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(M(108,q0(e)||"Unknown",o));return Re({},n,r)}function sa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Jn,Sr=qe.current,ve(qe,e),ve(at,at.current),!0}function Tf(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=xm(e,t,Sr),r.__reactInternalMemoizedMergedChildContext=e,be(at),be(qe),ve(qe,e)):be(at),ve(at,n)}var pn=null,La=!1,Rl=!1;function wm(e){pn===null?pn=[e]:pn.push(e)}function pw(e){La=!0,wm(e)}function ir(){if(!Rl&&pn!==null){Rl=!0;var e=0,t=pe;try{var n=pn;for(pe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}pn=null,La=!1}catch(o){throw pn!==null&&(pn=pn.slice(e+1)),Wh(Ru,ir),o}finally{pe=t,Rl=!1}}return null}var Gr=[],Yr=0,ia=null,aa=0,kt=[],Tt=0,Nr=null,mn=1,gn="";function dr(e,t){Gr[Yr++]=aa,Gr[Yr++]=ia,ia=e,aa=t}function bm(e,t,n){kt[Tt++]=mn,kt[Tt++]=gn,kt[Tt++]=Nr,Nr=e;var r=mn;e=gn;var o=32-Ht(r)-1;r&=~(1<<o),n+=1;var s=32-Ht(t)+o;if(30<s){var i=o-o%5;s=(r&(1<<i)-1).toString(32),r>>=i,o-=i,mn=1<<32-Ht(t)+o|n<<o|r,gn=s+e}else mn=1<<s|n<<o|r,gn=e}function Fu(e){e.return!==null&&(dr(e,1),bm(e,1,0))}function Bu(e){for(;e===ia;)ia=Gr[--Yr],Gr[Yr]=null,aa=Gr[--Yr],Gr[Yr]=null;for(;e===Nr;)Nr=kt[--Tt],kt[Tt]=null,gn=kt[--Tt],kt[Tt]=null,mn=kt[--Tt],kt[Tt]=null}var xt=null,yt=null,je=!1,$t=null;function Sm(e,t){var n=Pt(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 Pf(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,xt=e,yt=Kn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,xt=e,yt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Nr!==null?{id:mn,overflow:gn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Pt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,xt=e,yt=null,!0):!1;default:return!1}}function Tc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Pc(e){if(je){var t=yt;if(t){var n=t;if(!Pf(e,t)){if(Tc(e))throw Error(M(418));t=Kn(n.nextSibling);var r=xt;t&&Pf(e,t)?Sm(r,n):(e.flags=e.flags&-4097|2,je=!1,xt=e)}}else{if(Tc(e))throw Error(M(418));e.flags=e.flags&-4097|2,je=!1,xt=e}}}function Rf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;xt=e}function vi(e){if(e!==xt)return!1;if(!je)return Rf(e),je=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!jc(e.type,e.memoizedProps)),t&&(t=yt)){if(Tc(e))throw Nm(),Error(M(418));for(;t;)Sm(e,t),t=Kn(t.nextSibling)}if(Rf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){yt=Kn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}yt=null}}else yt=xt?Kn(e.stateNode.nextSibling):null;return!0}function Nm(){for(var e=yt;e;)e=Kn(e.nextSibling)}function wo(){yt=xt=null,je=!1}function $u(e){$t===null?$t=[e]:$t.push(e)}var hw=jn.ReactCurrentBatchConfig;function qo(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(M(309));var r=n.stateNode}if(!r)throw Error(M(147,e));var o=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var a=o.refs;i===null?delete a[s]:a[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(M(284));if(!n._owner)throw Error(M(290,e))}return e}function yi(e,t){throw e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Af(e){var t=e._init;return t(e._payload)}function jm(e){function t(p,h){if(e){var y=p.deletions;y===null?(p.deletions=[h],p.flags|=16):y.push(h)}}function n(p,h){if(!e)return null;for(;h!==null;)t(p,h),h=h.sibling;return null}function r(p,h){for(p=new Map;h!==null;)h.key!==null?p.set(h.key,h):p.set(h.index,h),h=h.sibling;return p}function o(p,h){return p=qn(p,h),p.index=0,p.sibling=null,p}function s(p,h,y){return p.index=y,e?(y=p.alternate,y!==null?(y=y.index,y<h?(p.flags|=2,h):y):(p.flags|=2,h)):(p.flags|=1048576,h)}function i(p){return e&&p.alternate===null&&(p.flags|=2),p}function a(p,h,y,S){return h===null||h.tag!==6?(h=Dl(y,p.mode,S),h.return=p,h):(h=o(h,y),h.return=p,h)}function c(p,h,y,S){var N=y.type;return N===Hr?m(p,h,y.props.children,S,y.key):h!==null&&(h.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===An&&Af(N)===h.type)?(S=o(h,y.props),S.ref=qo(p,h,y),S.return=p,S):(S=Ui(y.type,y.key,y.props,null,p.mode,S),S.ref=qo(p,h,y),S.return=p,S)}function u(p,h,y,S){return h===null||h.tag!==4||h.stateNode.containerInfo!==y.containerInfo||h.stateNode.implementation!==y.implementation?(h=zl(y,p.mode,S),h.return=p,h):(h=o(h,y.children||[]),h.return=p,h)}function m(p,h,y,S,N){return h===null||h.tag!==7?(h=br(y,p.mode,S,N),h.return=p,h):(h=o(h,y),h.return=p,h)}function f(p,h,y){if(typeof h=="string"&&h!==""||typeof h=="number")return h=Dl(""+h,p.mode,y),h.return=p,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case ai:return y=Ui(h.type,h.key,h.props,null,p.mode,y),y.ref=qo(p,null,h),y.return=p,y;case $r:return h=zl(h,p.mode,y),h.return=p,h;case An:var S=h._init;return f(p,S(h._payload),y)}if(ns(h)||Wo(h))return h=br(h,p.mode,y,null),h.return=p,h;yi(p,h)}return null}function d(p,h,y,S){var N=h!==null?h.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return N!==null?null:a(p,h,""+y,S);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case ai:return y.key===N?c(p,h,y,S):null;case $r:return y.key===N?u(p,h,y,S):null;case An:return N=y._init,d(p,h,N(y._payload),S)}if(ns(y)||Wo(y))return N!==null?null:m(p,h,y,S,null);yi(p,y)}return null}function b(p,h,y,S,N){if(typeof S=="string"&&S!==""||typeof S=="number")return p=p.get(y)||null,a(h,p,""+S,N);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case ai:return p=p.get(S.key===null?y:S.key)||null,c(h,p,S,N);case $r:return p=p.get(S.key===null?y:S.key)||null,u(h,p,S,N);case An:var E=S._init;return b(p,h,y,E(S._payload),N)}if(ns(S)||Wo(S))return p=p.get(y)||null,m(h,p,S,N,null);yi(h,S)}return null}function x(p,h,y,S){for(var N=null,E=null,j=h,C=h=0,P=null;j!==null&&C<y.length;C++){j.index>C?(P=j,j=null):P=j.sibling;var R=d(p,j,y[C],S);if(R===null){j===null&&(j=P);break}e&&j&&R.alternate===null&&t(p,j),h=s(R,h,C),E===null?N=R:E.sibling=R,E=R,j=P}if(C===y.length)return n(p,j),je&&dr(p,C),N;if(j===null){for(;C<y.length;C++)j=f(p,y[C],S),j!==null&&(h=s(j,h,C),E===null?N=j:E.sibling=j,E=j);return je&&dr(p,C),N}for(j=r(p,j);C<y.length;C++)P=b(j,p,C,y[C],S),P!==null&&(e&&P.alternate!==null&&j.delete(P.key===null?C:P.key),h=s(P,h,C),E===null?N=P:E.sibling=P,E=P);return e&&j.forEach(function(_){return t(p,_)}),je&&dr(p,C),N}function g(p,h,y,S){var N=Wo(y);if(typeof N!="function")throw Error(M(150));if(y=N.call(y),y==null)throw Error(M(151));for(var E=N=null,j=h,C=h=0,P=null,R=y.next();j!==null&&!R.done;C++,R=y.next()){j.index>C?(P=j,j=null):P=j.sibling;var _=d(p,j,R.value,S);if(_===null){j===null&&(j=P);break}e&&j&&_.alternate===null&&t(p,j),h=s(_,h,C),E===null?N=_:E.sibling=_,E=_,j=P}if(R.done)return n(p,j),je&&dr(p,C),N;if(j===null){for(;!R.done;C++,R=y.next())R=f(p,R.value,S),R!==null&&(h=s(R,h,C),E===null?N=R:E.sibling=R,E=R);return je&&dr(p,C),N}for(j=r(p,j);!R.done;C++,R=y.next())R=b(j,p,C,R.value,S),R!==null&&(e&&R.alternate!==null&&j.delete(R.key===null?C:R.key),h=s(R,h,C),E===null?N=R:E.sibling=R,E=R);return e&&j.forEach(function(D){return t(p,D)}),je&&dr(p,C),N}function w(p,h,y,S){if(typeof y=="object"&&y!==null&&y.type===Hr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case ai:e:{for(var N=y.key,E=h;E!==null;){if(E.key===N){if(N=y.type,N===Hr){if(E.tag===7){n(p,E.sibling),h=o(E,y.props.children),h.return=p,p=h;break e}}else if(E.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===An&&Af(N)===E.type){n(p,E.sibling),h=o(E,y.props),h.ref=qo(p,E,y),h.return=p,p=h;break e}n(p,E);break}else t(p,E);E=E.sibling}y.type===Hr?(h=br(y.props.children,p.mode,S,y.key),h.return=p,p=h):(S=Ui(y.type,y.key,y.props,null,p.mode,S),S.ref=qo(p,h,y),S.return=p,p=S)}return i(p);case $r:e:{for(E=y.key;h!==null;){if(h.key===E)if(h.tag===4&&h.stateNode.containerInfo===y.containerInfo&&h.stateNode.implementation===y.implementation){n(p,h.sibling),h=o(h,y.children||[]),h.return=p,p=h;break e}else{n(p,h);break}else t(p,h);h=h.sibling}h=zl(y,p.mode,S),h.return=p,p=h}return i(p);case An:return E=y._init,w(p,h,E(y._payload),S)}if(ns(y))return x(p,h,y,S);if(Wo(y))return g(p,h,y,S);yi(p,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,h!==null&&h.tag===6?(n(p,h.sibling),h=o(h,y),h.return=p,p=h):(n(p,h),h=Dl(y,p.mode,S),h.return=p,p=h),i(p)):n(p,h)}return w}var bo=jm(!0),Em=jm(!1),la=sr(null),ca=null,qr=null,Hu=null;function Uu(){Hu=qr=ca=null}function Vu(e){var t=la.current;be(la),e._currentValue=t}function Rc(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 ro(e,t){ca=e,Hu=qr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(it=!0),e.firstContext=null)}function At(e){var t=e._currentValue;if(Hu!==e)if(e={context:e,memoizedValue:t,next:null},qr===null){if(ca===null)throw Error(M(308));qr=e,ca.dependencies={lanes:0,firstContext:e}}else qr=qr.next=e;return t}var hr=null;function Wu(e){hr===null?hr=[e]:hr.push(e)}function Cm(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Wu(t)):(n.next=o.next,o.next=n),t.interleaved=n,wn(e,r)}function wn(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 Mn=!1;function Ku(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function km(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 vn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Qn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ie&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,wn(e,n)}return o=r.interleaved,o===null?(t.next=t,Wu(r)):(t.next=o.next,o.next=t),r.interleaved=t,wn(e,n)}function Di(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,Au(e,n)}}function Mf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?o=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?o=s=t:s=s.next=t}else o=s=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ua(e,t,n,r){var o=e.updateQueue;Mn=!1;var s=o.firstBaseUpdate,i=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var c=a,u=c.next;c.next=null,i===null?s=u:i.next=u,i=c;var m=e.alternate;m!==null&&(m=m.updateQueue,a=m.lastBaseUpdate,a!==i&&(a===null?m.firstBaseUpdate=u:a.next=u,m.lastBaseUpdate=c))}if(s!==null){var f=o.baseState;i=0,m=u=c=null,a=s;do{var d=a.lane,b=a.eventTime;if((r&d)===d){m!==null&&(m=m.next={eventTime:b,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,g=a;switch(d=t,b=n,g.tag){case 1:if(x=g.payload,typeof x=="function"){f=x.call(b,f,d);break e}f=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=g.payload,d=typeof x=="function"?x.call(b,f,d):x,d==null)break e;f=Re({},f,d);break e;case 2:Mn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[a]:d.push(a))}else b={eventTime:b,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},m===null?(u=m=b,c=f):m=m.next=b,i|=d;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;d=a,a=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(m===null&&(c=f),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=m,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else s===null&&(o.shared.lanes=0);Er|=i,e.lanes=i,e.memoizedState=f}}function If(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(M(191,o));o.call(r)}}}var qs={},sn=sr(qs),Ps=sr(qs),Rs=sr(qs);function mr(e){if(e===qs)throw Error(M(174));return e}function Qu(e,t){switch(ve(Rs,t),ve(Ps,e),ve(sn,qs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:uc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=uc(t,e)}be(sn),ve(sn,t)}function So(){be(sn),be(Ps),be(Rs)}function Tm(e){mr(Rs.current);var t=mr(sn.current),n=uc(t,e.type);t!==n&&(ve(Ps,e),ve(sn,n))}function Gu(e){Ps.current===e&&(be(sn),be(Ps))}var Ce=sr(0);function da(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 Al=[];function Yu(){for(var e=0;e<Al.length;e++)Al[e]._workInProgressVersionPrimary=null;Al.length=0}var zi=jn.ReactCurrentDispatcher,Ml=jn.ReactCurrentBatchConfig,jr=0,Pe=null,De=null,Fe=null,fa=!1,fs=!1,As=0,mw=0;function Ke(){throw Error(M(321))}function qu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Wt(e[n],t[n]))return!1;return!0}function Xu(e,t,n,r,o,s){if(jr=s,Pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,zi.current=e===null||e.memoizedState===null?xw:ww,e=n(r,o),fs){s=0;do{if(fs=!1,As=0,25<=s)throw Error(M(301));s+=1,Fe=De=null,t.updateQueue=null,zi.current=bw,e=n(r,o)}while(fs)}if(zi.current=pa,t=De!==null&&De.next!==null,jr=0,Fe=De=Pe=null,fa=!1,t)throw Error(M(300));return e}function Zu(){var e=As!==0;return As=0,e}function Xt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fe===null?Pe.memoizedState=Fe=e:Fe=Fe.next=e,Fe}function Mt(){if(De===null){var e=Pe.alternate;e=e!==null?e.memoizedState:null}else e=De.next;var t=Fe===null?Pe.memoizedState:Fe.next;if(t!==null)Fe=t,De=e;else{if(e===null)throw Error(M(310));De=e,e={memoizedState:De.memoizedState,baseState:De.baseState,baseQueue:De.baseQueue,queue:De.queue,next:null},Fe===null?Pe.memoizedState=Fe=e:Fe=Fe.next=e}return Fe}function Ms(e,t){return typeof t=="function"?t(e):t}function Il(e){var t=Mt(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=De,o=r.baseQueue,s=n.pending;if(s!==null){if(o!==null){var i=o.next;o.next=s.next,s.next=i}r.baseQueue=o=s,n.pending=null}if(o!==null){s=o.next,r=r.baseState;var a=i=null,c=null,u=s;do{var m=u.lane;if((jr&m)===m)c!==null&&(c=c.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:m,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(a=c=f,i=r):c=c.next=f,Pe.lanes|=m,Er|=m}u=u.next}while(u!==null&&u!==s);c===null?i=r:c.next=a,Wt(r,t.memoizedState)||(it=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do s=o.lane,Pe.lanes|=s,Er|=s,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ol(e){var t=Mt(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,s=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do s=e(s,i.action),i=i.next;while(i!==o);Wt(s,t.memoizedState)||(it=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Pm(){}function Rm(e,t){var n=Pe,r=Mt(),o=t(),s=!Wt(r.memoizedState,o);if(s&&(r.memoizedState=o,it=!0),r=r.queue,Ju(Im.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Fe!==null&&Fe.memoizedState.tag&1){if(n.flags|=2048,Is(9,Mm.bind(null,n,r,o,t),void 0,null),Be===null)throw Error(M(349));jr&30||Am(n,t,o)}return o}function Am(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Pe.updateQueue,t===null?(t={lastEffect:null,stores:null},Pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Mm(e,t,n,r){t.value=n,t.getSnapshot=r,Om(t)&&_m(e)}function Im(e,t,n){return n(function(){Om(t)&&_m(e)})}function Om(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Wt(e,n)}catch{return!0}}function _m(e){var t=wn(e,1);t!==null&&Ut(t,e,1,-1)}function Of(e){var t=Xt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ms,lastRenderedState:e},t.queue=e,e=e.dispatch=yw.bind(null,Pe,e),[t.memoizedState,e]}function Is(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Pe.updateQueue,t===null?(t={lastEffect:null,stores:null},Pe.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 Lm(){return Mt().memoizedState}function Fi(e,t,n,r){var o=Xt();Pe.flags|=e,o.memoizedState=Is(1|t,n,void 0,r===void 0?null:r)}function Da(e,t,n,r){var o=Mt();r=r===void 0?null:r;var s=void 0;if(De!==null){var i=De.memoizedState;if(s=i.destroy,r!==null&&qu(r,i.deps)){o.memoizedState=Is(t,n,s,r);return}}Pe.flags|=e,o.memoizedState=Is(1|t,n,s,r)}function _f(e,t){return Fi(8390656,8,e,t)}function Ju(e,t){return Da(2048,8,e,t)}function Dm(e,t){return Da(4,2,e,t)}function zm(e,t){return Da(4,4,e,t)}function Fm(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 Bm(e,t,n){return n=n!=null?n.concat([e]):null,Da(4,4,Fm.bind(null,t,e),n)}function ed(){}function $m(e,t){var n=Mt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&qu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Hm(e,t){var n=Mt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&qu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Um(e,t,n){return jr&21?(Wt(n,t)||(n=Gh(),Pe.lanes|=n,Er|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,it=!0),e.memoizedState=n)}function gw(e,t){var n=pe;pe=n!==0&&4>n?n:4,e(!0);var r=Ml.transition;Ml.transition={};try{e(!1),t()}finally{pe=n,Ml.transition=r}}function Vm(){return Mt().memoizedState}function vw(e,t,n){var r=Yn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Wm(e))Km(t,n);else if(n=Cm(e,t,n,r),n!==null){var o=tt();Ut(n,e,r,o),Qm(n,t,r)}}function yw(e,t,n){var r=Yn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Wm(e))Km(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,a=s(i,n);if(o.hasEagerState=!0,o.eagerState=a,Wt(a,i)){var c=t.interleaved;c===null?(o.next=o,Wu(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=Cm(e,t,o,r),n!==null&&(o=tt(),Ut(n,e,r,o),Qm(n,t,r))}}function Wm(e){var t=e.alternate;return e===Pe||t!==null&&t===Pe}function Km(e,t){fs=fa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Qm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Au(e,n)}}var pa={readContext:At,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useInsertionEffect:Ke,useLayoutEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useMutableSource:Ke,useSyncExternalStore:Ke,useId:Ke,unstable_isNewReconciler:!1},xw={readContext:At,useCallback:function(e,t){return Xt().memoizedState=[e,t===void 0?null:t],e},useContext:At,useEffect:_f,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Fi(4194308,4,Fm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fi(4,2,e,t)},useMemo:function(e,t){var n=Xt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Xt();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=vw.bind(null,Pe,e),[r.memoizedState,e]},useRef:function(e){var t=Xt();return e={current:e},t.memoizedState=e},useState:Of,useDebugValue:ed,useDeferredValue:function(e){return Xt().memoizedState=e},useTransition:function(){var e=Of(!1),t=e[0];return e=gw.bind(null,e[1]),Xt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pe,o=Xt();if(je){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),Be===null)throw Error(M(349));jr&30||Am(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,_f(Im.bind(null,r,s,e),[e]),r.flags|=2048,Is(9,Mm.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Xt(),t=Be.identifierPrefix;if(je){var n=gn,r=mn;n=(r&~(1<<32-Ht(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=As++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=mw++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ww={readContext:At,useCallback:$m,useContext:At,useEffect:Ju,useImperativeHandle:Bm,useInsertionEffect:Dm,useLayoutEffect:zm,useMemo:Hm,useReducer:Il,useRef:Lm,useState:function(){return Il(Ms)},useDebugValue:ed,useDeferredValue:function(e){var t=Mt();return Um(t,De.memoizedState,e)},useTransition:function(){var e=Il(Ms)[0],t=Mt().memoizedState;return[e,t]},useMutableSource:Pm,useSyncExternalStore:Rm,useId:Vm,unstable_isNewReconciler:!1},bw={readContext:At,useCallback:$m,useContext:At,useEffect:Ju,useImperativeHandle:Bm,useInsertionEffect:Dm,useLayoutEffect:zm,useMemo:Hm,useReducer:Ol,useRef:Lm,useState:function(){return Ol(Ms)},useDebugValue:ed,useDeferredValue:function(e){var t=Mt();return De===null?t.memoizedState=e:Um(t,De.memoizedState,e)},useTransition:function(){var e=Ol(Ms)[0],t=Mt().memoizedState;return[e,t]},useMutableSource:Pm,useSyncExternalStore:Rm,useId:Vm,unstable_isNewReconciler:!1};function Dt(e,t){if(e&&e.defaultProps){t=Re({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ac(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Re({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var za={isMounted:function(e){return(e=e._reactInternals)?Ar(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tt(),o=Yn(e),s=vn(r,o);s.payload=t,n!=null&&(s.callback=n),t=Qn(e,s,o),t!==null&&(Ut(t,e,o,r),Di(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tt(),o=Yn(e),s=vn(r,o);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Qn(e,s,o),t!==null&&(Ut(t,e,o,r),Di(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tt(),r=Yn(e),o=vn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Qn(e,o,r),t!==null&&(Ut(t,e,r,n),Di(t,e,r))}};function Lf(e,t,n,r,o,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,i):t.prototype&&t.prototype.isPureReactComponent?!Es(n,r)||!Es(o,s):!0}function Gm(e,t,n){var r=!1,o=Jn,s=t.contextType;return typeof s=="object"&&s!==null?s=At(s):(o=lt(t)?Sr:qe.current,r=t.contextTypes,s=(r=r!=null)?xo(e,o):Jn),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=za,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=s),t}function Df(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&&za.enqueueReplaceState(t,t.state,null)}function Mc(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Ku(e);var s=t.contextType;typeof s=="object"&&s!==null?o.context=At(s):(s=lt(t)?Sr:qe.current,o.context=xo(e,s)),o.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Ac(e,t,s,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&&za.enqueueReplaceState(o,o.state,null),ua(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function No(e,t){try{var n="",r=t;do n+=Y0(r),r=r.return;while(r);var o=n}catch(s){o=`
Error generating stack: `+s.message+`
`+s.stack}return{value:e,source:t,stack:o,digest:null}}function _l(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ic(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Sw=typeof WeakMap=="function"?WeakMap:Map;function Ym(e,t,n){n=vn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ma||(ma=!0,Uc=r),Ic(e,t)},n}function qm(e,t,n){n=vn(-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(){Ic(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Ic(e,t),typeof r!="function"&&(Gn===null?Gn=new Set([this]):Gn.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function zf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Sw;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=Lw.bind(null,e,t,n),t.then(e,e))}function Ff(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 Bf(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=vn(-1,1),t.tag=2,Qn(n,t,1))),n.lanes|=1),e)}var Nw=jn.ReactCurrentOwner,it=!1;function Je(e,t,n,r){t.child=e===null?Em(t,null,n,r):bo(t,e.child,n,r)}function $f(e,t,n,r,o){n=n.render;var s=t.ref;return ro(t,o),r=Xu(e,t,n,r,s,o),n=Zu(),e!==null&&!it?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,bn(e,t,o)):(je&&n&&Fu(t),t.flags|=1,Je(e,t,r,o),t.child)}function Hf(e,t,n,r,o){if(e===null){var s=n.type;return typeof s=="function"&&!ld(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Xm(e,t,s,r,o)):(e=Ui(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:Es,n(i,r)&&e.ref===t.ref)return bn(e,t,o)}return t.flags|=1,e=qn(s,r),e.ref=t.ref,e.return=t,t.child=e}function Xm(e,t,n,r,o){if(e!==null){var s=e.memoizedProps;if(Es(s,r)&&e.ref===t.ref)if(it=!1,t.pendingProps=r=s,(e.lanes&o)!==0)e.flags&131072&&(it=!0);else return t.lanes=e.lanes,bn(e,t,o)}return Oc(e,t,n,r,o)}function Zm(e,t,n){var r=t.pendingProps,o=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ve(Zr,ht),ht|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ve(Zr,ht),ht|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,ve(Zr,ht),ht|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,ve(Zr,ht),ht|=r;return Je(e,t,o,n),t.child}function Jm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Oc(e,t,n,r,o){var s=lt(n)?Sr:qe.current;return s=xo(t,s),ro(t,o),n=Xu(e,t,n,r,s,o),r=Zu(),e!==null&&!it?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,bn(e,t,o)):(je&&r&&Fu(t),t.flags|=1,Je(e,t,n,o),t.child)}function Uf(e,t,n,r,o){if(lt(n)){var s=!0;sa(t)}else s=!1;if(ro(t,o),t.stateNode===null)Bi(e,t),Gm(t,n,r),Mc(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var c=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=At(u):(u=lt(n)?Sr:qe.current,u=xo(t,u));var m=n.getDerivedStateFromProps,f=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||c!==u)&&Df(t,i,r,u),Mn=!1;var d=t.memoizedState;i.state=d,ua(t,r,i,o),c=t.memoizedState,a!==r||d!==c||at.current||Mn?(typeof m=="function"&&(Ac(t,n,m,r),c=t.memoizedState),(a=Mn||Lf(t,n,a,r,d,c,u))?(f||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),i.props=r,i.state=c,i.context=u,r=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,km(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Dt(t.type,a),i.props=u,f=t.pendingProps,d=i.context,c=n.contextType,typeof c=="object"&&c!==null?c=At(c):(c=lt(n)?Sr:qe.current,c=xo(t,c));var b=n.getDerivedStateFromProps;(m=typeof b=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==f||d!==c)&&Df(t,i,r,c),Mn=!1,d=t.memoizedState,i.state=d,ua(t,r,i,o);var x=t.memoizedState;a!==f||d!==x||at.current||Mn?(typeof b=="function"&&(Ac(t,n,b,r),x=t.memoizedState),(u=Mn||Lf(t,n,u,r,d,x,c)||!1)?(m||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,x,c),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,x,c)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),i.props=r,i.state=x,i.context=c,r=u):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return _c(e,t,n,r,s,o)}function _c(e,t,n,r,o,s){Jm(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&Tf(t,n,!1),bn(e,t,s);r=t.stateNode,Nw.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=bo(t,e.child,null,s),t.child=bo(t,null,a,s)):Je(e,t,a,s),t.memoizedState=r.state,o&&Tf(t,n,!0),t.child}function eg(e){var t=e.stateNode;t.pendingContext?kf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&kf(e,t.context,!1),Qu(e,t.containerInfo)}function Vf(e,t,n,r,o){return wo(),$u(o),t.flags|=256,Je(e,t,n,r),t.child}var Lc={dehydrated:null,treeContext:null,retryLane:0};function Dc(e){return{baseLanes:e,cachePool:null,transitions:null}}function tg(e,t,n){var r=t.pendingProps,o=Ce.current,s=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ve(Ce,o&1),e===null)return Pc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=$a(i,r,0,null),e=br(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Dc(n),t.memoizedState=Lc,e):td(t,i));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return jw(e,t,i,r,a,o,n);if(s){s=r.fallback,i=t.mode,o=e.child,a=o.sibling;var c={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=qn(o,c),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?s=qn(a,s):(s=br(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,i=e.child.memoizedState,i=i===null?Dc(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=Lc,r}return s=e.child,e=s.sibling,r=qn(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function td(e,t){return t=$a({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function xi(e,t,n,r){return r!==null&&$u(r),bo(t,e.child,null,n),e=td(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function jw(e,t,n,r,o,s,i){if(n)return t.flags&256?(t.flags&=-257,r=_l(Error(M(422))),xi(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,o=t.mode,r=$a({mode:"visible",children:r.children},o,0,null),s=br(s,o,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&bo(t,e.child,null,i),t.child.memoizedState=Dc(i),t.memoizedState=Lc,s);if(!(t.mode&1))return xi(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(M(419)),r=_l(s,r,void 0),xi(e,t,i,r)}if(a=(i&e.childLanes)!==0,it||a){if(r=Be,r!==null){switch(i&-i){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|i)?0:o,o!==0&&o!==s.retryLane&&(s.retryLane=o,wn(e,o),Ut(r,e,o,-1))}return ad(),r=_l(Error(M(421))),xi(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Dw.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,yt=Kn(o.nextSibling),xt=t,je=!0,$t=null,e!==null&&(kt[Tt++]=mn,kt[Tt++]=gn,kt[Tt++]=Nr,mn=e.id,gn=e.overflow,Nr=t),t=td(t,r.children),t.flags|=4096,t)}function Wf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Rc(e.return,t,n)}function Ll(e,t,n,r,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=o)}function ng(e,t,n){var r=t.pendingProps,o=r.revealOrder,s=r.tail;if(Je(e,t,r.children,n),r=Ce.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&&Wf(e,n,t);else if(e.tag===19)Wf(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(ve(Ce,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&&da(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ll(t,!1,o,n,s);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&da(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ll(t,!0,n,null,s);break;case"together":Ll(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Bi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function bn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Er|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,n=qn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=qn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Ew(e,t,n){switch(t.tag){case 3:eg(t),wo();break;case 5:Tm(t);break;case 1:lt(t.type)&&sa(t);break;case 4:Qu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ve(la,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ve(Ce,Ce.current&1),t.flags|=128,null):n&t.child.childLanes?tg(e,t,n):(ve(Ce,Ce.current&1),e=bn(e,t,n),e!==null?e.sibling:null);ve(Ce,Ce.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ng(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ve(Ce,Ce.current),r)break;return null;case 22:case 23:return t.lanes=0,Zm(e,t,n)}return bn(e,t,n)}var rg,zc,og,sg;rg=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}};zc=function(){};og=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,mr(sn.current);var s=null;switch(n){case"input":o=ic(e,o),r=ic(e,r),s=[];break;case"select":o=Re({},o,{value:void 0}),r=Re({},r,{value:void 0}),s=[];break;case"textarea":o=cc(e,o),r=cc(e,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ra)}dc(n,r);var i;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ys.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var c=r[u];if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&c!==a&&(c!=null||a!=null))if(u==="style")if(a){for(i in a)!a.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&a[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(s||(s=[]),s.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,a=a?a.__html:void 0,c!=null&&a!==c&&(s=s||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(s=s||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ys.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&we("scroll",e),s||a===c||(s=[])):(s=s||[]).push(u,c))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};sg=function(e,t,n,r){n!==r&&(t.flags|=4)};function Xo(e,t){if(!je)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 Qe(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 Cw(e,t,n){var r=t.pendingProps;switch(Bu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qe(t),null;case 1:return lt(t.type)&&oa(),Qe(t),null;case 3:return r=t.stateNode,So(),be(at),be(qe),Yu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(vi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,$t!==null&&(Kc($t),$t=null))),zc(e,t),Qe(t),null;case 5:Gu(t);var o=mr(Rs.current);if(n=t.type,e!==null&&t.stateNode!=null)og(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return Qe(t),null}if(e=mr(sn.current),vi(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[tn]=t,r[Ts]=s,e=(t.mode&1)!==0,n){case"dialog":we("cancel",r),we("close",r);break;case"iframe":case"object":case"embed":we("load",r);break;case"video":case"audio":for(o=0;o<os.length;o++)we(os[o],r);break;case"source":we("error",r);break;case"img":case"image":case"link":we("error",r),we("load",r);break;case"details":we("toggle",r);break;case"input":Jd(r,s),we("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},we("invalid",r);break;case"textarea":tf(r,s),we("invalid",r)}dc(n,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var a=s[i];i==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&gi(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&gi(r.textContent,a,e),o=["children",""+a]):ys.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&we("scroll",r)}switch(n){case"input":li(r),ef(r,s,!0);break;case"textarea":li(r),nf(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=ra)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ih(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[tn]=t,e[Ts]=r,rg(e,t,!1,!1),t.stateNode=e;e:{switch(i=fc(n,r),n){case"dialog":we("cancel",e),we("close",e),o=r;break;case"iframe":case"object":case"embed":we("load",e),o=r;break;case"video":case"audio":for(o=0;o<os.length;o++)we(os[o],e);o=r;break;case"source":we("error",e),o=r;break;case"img":case"image":case"link":we("error",e),we("load",e),o=r;break;case"details":we("toggle",e),o=r;break;case"input":Jd(e,r),o=ic(e,r),we("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Re({},r,{value:void 0}),we("invalid",e);break;case"textarea":tf(e,r),o=cc(e,r),we("invalid",e);break;default:o=r}dc(n,o),a=o;for(s in a)if(a.hasOwnProperty(s)){var c=a[s];s==="style"?Lh(e,c):s==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&Oh(e,c)):s==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&xs(e,c):typeof c=="number"&&xs(e,""+c):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(ys.hasOwnProperty(s)?c!=null&&s==="onScroll"&&we("scroll",e):c!=null&&Eu(e,s,c,i))}switch(n){case"input":li(e),ef(e,r,!1);break;case"textarea":li(e),nf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Zn(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Jr(e,!!r.multiple,s,!1):r.defaultValue!=null&&Jr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=ra)}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 Qe(t),null;case 6:if(e&&t.stateNode!=null)sg(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=mr(Rs.current),mr(sn.current),vi(t)){if(r=t.stateNode,n=t.memoizedProps,r[tn]=t,(s=r.nodeValue!==n)&&(e=xt,e!==null))switch(e.tag){case 3:gi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&gi(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[tn]=t,t.stateNode=r}return Qe(t),null;case 13:if(be(Ce),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(je&&yt!==null&&t.mode&1&&!(t.flags&128))Nm(),wo(),t.flags|=98560,s=!1;else if(s=vi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(M(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(M(317));s[tn]=t}else wo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Qe(t),s=!1}else $t!==null&&(Kc($t),$t=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Ce.current&1?ze===0&&(ze=3):ad())),t.updateQueue!==null&&(t.flags|=4),Qe(t),null);case 4:return So(),zc(e,t),e===null&&Cs(t.stateNode.containerInfo),Qe(t),null;case 10:return Vu(t.type._context),Qe(t),null;case 17:return lt(t.type)&&oa(),Qe(t),null;case 19:if(be(Ce),s=t.memoizedState,s===null)return Qe(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)Xo(s,!1);else{if(ze!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=da(e),i!==null){for(t.flags|=128,Xo(s,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ve(Ce,Ce.current&1|2),t.child}e=e.sibling}s.tail!==null&&Oe()>jo&&(t.flags|=128,r=!0,Xo(s,!1),t.lanes=4194304)}else{if(!r)if(e=da(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Xo(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!je)return Qe(t),null}else 2*Oe()-s.renderingStartTime>jo&&n!==1073741824&&(t.flags|=128,r=!0,Xo(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Oe(),t.sibling=null,n=Ce.current,ve(Ce,r?n&1|2:n&1),t):(Qe(t),null);case 22:case 23:return id(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ht&1073741824&&(Qe(t),t.subtreeFlags&6&&(t.flags|=8192)):Qe(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function kw(e,t){switch(Bu(t),t.tag){case 1:return lt(t.type)&&oa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return So(),be(at),be(qe),Yu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Gu(t),null;case 13:if(be(Ce),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));wo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return be(Ce),null;case 4:return So(),null;case 10:return Vu(t.type._context),null;case 22:case 23:return id(),null;case 24:return null;default:return null}}var wi=!1,Ye=!1,Tw=typeof WeakSet=="function"?WeakSet:Set,H=null;function Xr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Me(e,t,r)}else n.current=null}function Fc(e,t,n){try{n()}catch(r){Me(e,t,r)}}var Kf=!1;function Pw(e,t){if(Sc=ea,e=um(),zu(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,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,a=-1,c=-1,u=0,m=0,f=e,d=null;t:for(;;){for(var b;f!==n||o!==0&&f.nodeType!==3||(a=i+o),f!==s||r!==0&&f.nodeType!==3||(c=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(b=f.firstChild)!==null;)d=f,f=b;for(;;){if(f===e)break t;if(d===n&&++u===o&&(a=i),d===s&&++m===r&&(c=i),(b=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=b}n=a===-1||c===-1?null:{start:a,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Nc={focusedElem:e,selectionRange:n},ea=!1,H=t;H!==null;)if(t=H,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,H=e;else for(;H!==null;){t=H;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var g=x.memoizedProps,w=x.memoizedState,p=t.stateNode,h=p.getSnapshotBeforeUpdate(t.elementType===t.type?g:Dt(t.type,g),w);p.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(S){Me(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,H=e;break}H=t.return}return x=Kf,Kf=!1,x}function ps(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 s=o.destroy;o.destroy=void 0,s!==void 0&&Fc(t,n,s)}o=o.next}while(o!==r)}}function Fa(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 Bc(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 ig(e){var t=e.alternate;t!==null&&(e.alternate=null,ig(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[tn],delete t[Ts],delete t[Cc],delete t[dw],delete t[fw])),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 ag(e){return e.tag===5||e.tag===3||e.tag===4}function Qf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ag(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 $c(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=ra));else if(r!==4&&(e=e.child,e!==null))for($c(e,t,n),e=e.sibling;e!==null;)$c(e,t,n),e=e.sibling}function Hc(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(Hc(e,t,n),e=e.sibling;e!==null;)Hc(e,t,n),e=e.sibling}var He=null,Bt=!1;function Cn(e,t,n){for(n=n.child;n!==null;)lg(e,t,n),n=n.sibling}function lg(e,t,n){if(on&&typeof on.onCommitFiberUnmount=="function")try{on.onCommitFiberUnmount(Aa,n)}catch{}switch(n.tag){case 5:Ye||Xr(n,t);case 6:var r=He,o=Bt;He=null,Cn(e,t,n),He=r,Bt=o,He!==null&&(Bt?(e=He,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):He.removeChild(n.stateNode));break;case 18:He!==null&&(Bt?(e=He,n=n.stateNode,e.nodeType===8?Pl(e.parentNode,n):e.nodeType===1&&Pl(e,n),Ns(e)):Pl(He,n.stateNode));break;case 4:r=He,o=Bt,He=n.stateNode.containerInfo,Bt=!0,Cn(e,t,n),He=r,Bt=o;break;case 0:case 11:case 14:case 15:if(!Ye&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var s=o,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&Fc(n,t,i),o=o.next}while(o!==r)}Cn(e,t,n);break;case 1:if(!Ye&&(Xr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Me(n,t,a)}Cn(e,t,n);break;case 21:Cn(e,t,n);break;case 22:n.mode&1?(Ye=(r=Ye)||n.memoizedState!==null,Cn(e,t,n),Ye=r):Cn(e,t,n);break;default:Cn(e,t,n)}}function Gf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Tw),t.forEach(function(r){var o=zw.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Ot(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var s=e,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:He=a.stateNode,Bt=!1;break e;case 3:He=a.stateNode.containerInfo,Bt=!0;break e;case 4:He=a.stateNode.containerInfo,Bt=!0;break e}a=a.return}if(He===null)throw Error(M(160));lg(s,i,o),He=null,Bt=!1;var c=o.alternate;c!==null&&(c.return=null),o.return=null}catch(u){Me(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)cg(t,e),t=t.sibling}function cg(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ot(t,e),qt(e),r&4){try{ps(3,e,e.return),Fa(3,e)}catch(g){Me(e,e.return,g)}try{ps(5,e,e.return)}catch(g){Me(e,e.return,g)}}break;case 1:Ot(t,e),qt(e),r&512&&n!==null&&Xr(n,n.return);break;case 5:if(Ot(t,e),qt(e),r&512&&n!==null&&Xr(n,n.return),e.flags&32){var o=e.stateNode;try{xs(o,"")}catch(g){Me(e,e.return,g)}}if(r&4&&(o=e.stateNode,o!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,a=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&Ah(o,s),fc(a,i);var u=fc(a,s);for(i=0;i<c.length;i+=2){var m=c[i],f=c[i+1];m==="style"?Lh(o,f):m==="dangerouslySetInnerHTML"?Oh(o,f):m==="children"?xs(o,f):Eu(o,m,f,u)}switch(a){case"input":ac(o,s);break;case"textarea":Mh(o,s);break;case"select":var d=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var b=s.value;b!=null?Jr(o,!!s.multiple,b,!1):d!==!!s.multiple&&(s.defaultValue!=null?Jr(o,!!s.multiple,s.defaultValue,!0):Jr(o,!!s.multiple,s.multiple?[]:"",!1))}o[Ts]=s}catch(g){Me(e,e.return,g)}}break;case 6:if(Ot(t,e),qt(e),r&4){if(e.stateNode===null)throw Error(M(162));o=e.stateNode,s=e.memoizedProps;try{o.nodeValue=s}catch(g){Me(e,e.return,g)}}break;case 3:if(Ot(t,e),qt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ns(t.containerInfo)}catch(g){Me(e,e.return,g)}break;case 4:Ot(t,e),qt(e);break;case 13:Ot(t,e),qt(e),o=e.child,o.flags&8192&&(s=o.memoizedState!==null,o.stateNode.isHidden=s,!s||o.alternate!==null&&o.alternate.memoizedState!==null||(od=Oe())),r&4&&Gf(e);break;case 22:if(m=n!==null&&n.memoizedState!==null,e.mode&1?(Ye=(u=Ye)||m,Ot(t,e),Ye=u):Ot(t,e),qt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!m&&e.mode&1)for(H=e,m=e.child;m!==null;){for(f=H=m;H!==null;){switch(d=H,b=d.child,d.tag){case 0:case 11:case 14:case 15:ps(4,d,d.return);break;case 1:Xr(d,d.return);var x=d.stateNode;if(typeof x.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(g){Me(r,n,g)}}break;case 5:Xr(d,d.return);break;case 22:if(d.memoizedState!==null){qf(f);continue}}b!==null?(b.return=d,H=b):qf(f)}m=m.sibling}e:for(m=null,f=e;;){if(f.tag===5){if(m===null){m=f;try{o=f.stateNode,u?(s=o.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=f.stateNode,c=f.memoizedProps.style,i=c!=null&&c.hasOwnProperty("display")?c.display:null,a.style.display=_h("display",i))}catch(g){Me(e,e.return,g)}}}else if(f.tag===6){if(m===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(g){Me(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;m===f&&(m=null),f=f.return}m===f&&(m=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Ot(t,e),qt(e),r&4&&Gf(e);break;case 21:break;default:Ot(t,e),qt(e)}}function qt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(ag(n)){var r=n;break e}n=n.return}throw Error(M(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(xs(o,""),r.flags&=-33);var s=Qf(e);Hc(e,s,o);break;case 3:case 4:var i=r.stateNode.containerInfo,a=Qf(e);$c(e,a,i);break;default:throw Error(M(161))}}catch(c){Me(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Rw(e,t,n){H=e,ug(e)}function ug(e,t,n){for(var r=(e.mode&1)!==0;H!==null;){var o=H,s=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||wi;if(!i){var a=o.alternate,c=a!==null&&a.memoizedState!==null||Ye;a=wi;var u=Ye;if(wi=i,(Ye=c)&&!u)for(H=o;H!==null;)i=H,c=i.child,i.tag===22&&i.memoizedState!==null?Xf(o):c!==null?(c.return=i,H=c):Xf(o);for(;s!==null;)H=s,ug(s),s=s.sibling;H=o,wi=a,Ye=u}Yf(e)}else o.subtreeFlags&8772&&s!==null?(s.return=o,H=s):Yf(e)}}function Yf(e){for(;H!==null;){var t=H;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ye||Fa(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ye)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Dt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&If(t,s,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}If(t,i,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.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 m=u.memoizedState;if(m!==null){var f=m.dehydrated;f!==null&&Ns(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}Ye||t.flags&512&&Bc(t)}catch(d){Me(t,t.return,d)}}if(t===e){H=null;break}if(n=t.sibling,n!==null){n.return=t.return,H=n;break}H=t.return}}function qf(e){for(;H!==null;){var t=H;if(t===e){H=null;break}var n=t.sibling;if(n!==null){n.return=t.return,H=n;break}H=t.return}}function Xf(e){for(;H!==null;){var t=H;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Fa(4,t)}catch(c){Me(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(c){Me(t,o,c)}}var s=t.return;try{Bc(t)}catch(c){Me(t,s,c)}break;case 5:var i=t.return;try{Bc(t)}catch(c){Me(t,i,c)}}}catch(c){Me(t,t.return,c)}if(t===e){H=null;break}var a=t.sibling;if(a!==null){a.return=t.return,H=a;break}H=t.return}}var Aw=Math.ceil,ha=jn.ReactCurrentDispatcher,nd=jn.ReactCurrentOwner,Rt=jn.ReactCurrentBatchConfig,ie=0,Be=null,_e=null,Ue=0,ht=0,Zr=sr(0),ze=0,Os=null,Er=0,Ba=0,rd=0,hs=null,st=null,od=0,jo=1/0,fn=null,ma=!1,Uc=null,Gn=null,bi=!1,$n=null,ga=0,ms=0,Vc=null,$i=-1,Hi=0;function tt(){return ie&6?Oe():$i!==-1?$i:$i=Oe()}function Yn(e){return e.mode&1?ie&2&&Ue!==0?Ue&-Ue:hw.transition!==null?(Hi===0&&(Hi=Gh()),Hi):(e=pe,e!==0||(e=window.event,e=e===void 0?16:tm(e.type)),e):1}function Ut(e,t,n,r){if(50<ms)throw ms=0,Vc=null,Error(M(185));Qs(e,n,r),(!(ie&2)||e!==Be)&&(e===Be&&(!(ie&2)&&(Ba|=n),ze===4&&On(e,Ue)),ct(e,r),n===1&&ie===0&&!(t.mode&1)&&(jo=Oe()+500,La&&ir()))}function ct(e,t){var n=e.callbackNode;hx(e,t);var r=Ji(e,e===Be?Ue:0);if(r===0)n!==null&&sf(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&sf(n),t===1)e.tag===0?pw(Zf.bind(null,e)):wm(Zf.bind(null,e)),cw(function(){!(ie&6)&&ir()}),n=null;else{switch(Yh(r)){case 1:n=Ru;break;case 4:n=Kh;break;case 16:n=Zi;break;case 536870912:n=Qh;break;default:n=Zi}n=yg(n,dg.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function dg(e,t){if($i=-1,Hi=0,ie&6)throw Error(M(327));var n=e.callbackNode;if(oo()&&e.callbackNode!==n)return null;var r=Ji(e,e===Be?Ue:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=va(e,r);else{t=r;var o=ie;ie|=2;var s=pg();(Be!==e||Ue!==t)&&(fn=null,jo=Oe()+500,wr(e,t));do try{Ow();break}catch(a){fg(e,a)}while(!0);Uu(),ha.current=s,ie=o,_e!==null?t=0:(Be=null,Ue=0,t=ze)}if(t!==0){if(t===2&&(o=vc(e),o!==0&&(r=o,t=Wc(e,o))),t===1)throw n=Os,wr(e,0),On(e,r),ct(e,Oe()),n;if(t===6)On(e,r);else{if(o=e.current.alternate,!(r&30)&&!Mw(o)&&(t=va(e,r),t===2&&(s=vc(e),s!==0&&(r=s,t=Wc(e,s))),t===1))throw n=Os,wr(e,0),On(e,r),ct(e,Oe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(M(345));case 2:fr(e,st,fn);break;case 3:if(On(e,r),(r&130023424)===r&&(t=od+500-Oe(),10<t)){if(Ji(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){tt(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Ec(fr.bind(null,e,st,fn),t);break}fr(e,st,fn);break;case 4:if(On(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-Ht(r);s=1<<i,i=t[i],i>o&&(o=i),r&=~s}if(r=o,r=Oe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Aw(r/1960))-r,10<r){e.timeoutHandle=Ec(fr.bind(null,e,st,fn),r);break}fr(e,st,fn);break;case 5:fr(e,st,fn);break;default:throw Error(M(329))}}}return ct(e,Oe()),e.callbackNode===n?dg.bind(null,e):null}function Wc(e,t){var n=hs;return e.current.memoizedState.isDehydrated&&(wr(e,t).flags|=256),e=va(e,t),e!==2&&(t=st,st=n,t!==null&&Kc(t)),e}function Kc(e){st===null?st=e:st.push.apply(st,e)}function Mw(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],s=o.getSnapshot;o=o.value;try{if(!Wt(s(),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 On(e,t){for(t&=~rd,t&=~Ba,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ht(t),r=1<<n;e[n]=-1,t&=~r}}function Zf(e){if(ie&6)throw Error(M(327));oo();var t=Ji(e,0);if(!(t&1))return ct(e,Oe()),null;var n=va(e,t);if(e.tag!==0&&n===2){var r=vc(e);r!==0&&(t=r,n=Wc(e,r))}if(n===1)throw n=Os,wr(e,0),On(e,t),ct(e,Oe()),n;if(n===6)throw Error(M(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,fr(e,st,fn),ct(e,Oe()),null}function sd(e,t){var n=ie;ie|=1;try{return e(t)}finally{ie=n,ie===0&&(jo=Oe()+500,La&&ir())}}function Cr(e){$n!==null&&$n.tag===0&&!(ie&6)&&oo();var t=ie;ie|=1;var n=Rt.transition,r=pe;try{if(Rt.transition=null,pe=1,e)return e()}finally{pe=r,Rt.transition=n,ie=t,!(ie&6)&&ir()}}function id(){ht=Zr.current,be(Zr)}function wr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,lw(n)),_e!==null)for(n=_e.return;n!==null;){var r=n;switch(Bu(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&oa();break;case 3:So(),be(at),be(qe),Yu();break;case 5:Gu(r);break;case 4:So();break;case 13:be(Ce);break;case 19:be(Ce);break;case 10:Vu(r.type._context);break;case 22:case 23:id()}n=n.return}if(Be=e,_e=e=qn(e.current,null),Ue=ht=t,ze=0,Os=null,rd=Ba=Er=0,st=hs=null,hr!==null){for(t=0;t<hr.length;t++)if(n=hr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,s=n.pending;if(s!==null){var i=s.next;s.next=o,r.next=i}n.pending=r}hr=null}return e}function fg(e,t){do{var n=_e;try{if(Uu(),zi.current=pa,fa){for(var r=Pe.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}fa=!1}if(jr=0,Fe=De=Pe=null,fs=!1,As=0,nd.current=null,n===null||n.return===null){ze=1,Os=t,_e=null;break}e:{var s=e,i=n.return,a=n,c=t;if(t=Ue,a.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,m=a,f=m.tag;if(!(m.mode&1)&&(f===0||f===11||f===15)){var d=m.alternate;d?(m.updateQueue=d.updateQueue,m.memoizedState=d.memoizedState,m.lanes=d.lanes):(m.updateQueue=null,m.memoizedState=null)}var b=Ff(i);if(b!==null){b.flags&=-257,Bf(b,i,a,s,t),b.mode&1&&zf(s,u,t),t=b,c=u;var x=t.updateQueue;if(x===null){var g=new Set;g.add(c),t.updateQueue=g}else x.add(c);break e}else{if(!(t&1)){zf(s,u,t),ad();break e}c=Error(M(426))}}else if(je&&a.mode&1){var w=Ff(i);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Bf(w,i,a,s,t),$u(No(c,a));break e}}s=c=No(c,a),ze!==4&&(ze=2),hs===null?hs=[s]:hs.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var p=Ym(s,c,t);Mf(s,p);break e;case 1:a=c;var h=s.type,y=s.stateNode;if(!(s.flags&128)&&(typeof h.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Gn===null||!Gn.has(y)))){s.flags|=65536,t&=-t,s.lanes|=t;var S=qm(s,a,t);Mf(s,S);break e}}s=s.return}while(s!==null)}mg(n)}catch(N){t=N,_e===n&&n!==null&&(_e=n=n.return);continue}break}while(!0)}function pg(){var e=ha.current;return ha.current=pa,e===null?pa:e}function ad(){(ze===0||ze===3||ze===2)&&(ze=4),Be===null||!(Er&268435455)&&!(Ba&268435455)||On(Be,Ue)}function va(e,t){var n=ie;ie|=2;var r=pg();(Be!==e||Ue!==t)&&(fn=null,wr(e,t));do try{Iw();break}catch(o){fg(e,o)}while(!0);if(Uu(),ie=n,ha.current=r,_e!==null)throw Error(M(261));return Be=null,Ue=0,ze}function Iw(){for(;_e!==null;)hg(_e)}function Ow(){for(;_e!==null&&!sx();)hg(_e)}function hg(e){var t=vg(e.alternate,e,ht);e.memoizedProps=e.pendingProps,t===null?mg(e):_e=t,nd.current=null}function mg(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=kw(n,t),n!==null){n.flags&=32767,_e=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ze=6,_e=null;return}}else if(n=Cw(n,t,ht),n!==null){_e=n;return}if(t=t.sibling,t!==null){_e=t;return}_e=t=e}while(t!==null);ze===0&&(ze=5)}function fr(e,t,n){var r=pe,o=Rt.transition;try{Rt.transition=null,pe=1,_w(e,t,n,r)}finally{Rt.transition=o,pe=r}return null}function _w(e,t,n,r){do oo();while($n!==null);if(ie&6)throw Error(M(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(M(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(mx(e,s),e===Be&&(_e=Be=null,Ue=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||bi||(bi=!0,yg(Zi,function(){return oo(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=Rt.transition,Rt.transition=null;var i=pe;pe=1;var a=ie;ie|=4,nd.current=null,Pw(e,n),cg(n,e),tw(Nc),ea=!!Sc,Nc=Sc=null,e.current=n,Rw(n),ix(),ie=a,pe=i,Rt.transition=s}else e.current=n;if(bi&&(bi=!1,$n=e,ga=o),s=e.pendingLanes,s===0&&(Gn=null),cx(n.stateNode),ct(e,Oe()),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(ma)throw ma=!1,e=Uc,Uc=null,e;return ga&1&&e.tag!==0&&oo(),s=e.pendingLanes,s&1?e===Vc?ms++:(ms=0,Vc=e):ms=0,ir(),null}function oo(){if($n!==null){var e=Yh(ga),t=Rt.transition,n=pe;try{if(Rt.transition=null,pe=16>e?16:e,$n===null)var r=!1;else{if(e=$n,$n=null,ga=0,ie&6)throw Error(M(331));var o=ie;for(ie|=4,H=e.current;H!==null;){var s=H,i=s.child;if(H.flags&16){var a=s.deletions;if(a!==null){for(var c=0;c<a.length;c++){var u=a[c];for(H=u;H!==null;){var m=H;switch(m.tag){case 0:case 11:case 15:ps(8,m,s)}var f=m.child;if(f!==null)f.return=m,H=f;else for(;H!==null;){m=H;var d=m.sibling,b=m.return;if(ig(m),m===u){H=null;break}if(d!==null){d.return=b,H=d;break}H=b}}}var x=s.alternate;if(x!==null){var g=x.child;if(g!==null){x.child=null;do{var w=g.sibling;g.sibling=null,g=w}while(g!==null)}}H=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,H=i;else e:for(;H!==null;){if(s=H,s.flags&2048)switch(s.tag){case 0:case 11:case 15:ps(9,s,s.return)}var p=s.sibling;if(p!==null){p.return=s.return,H=p;break e}H=s.return}}var h=e.current;for(H=h;H!==null;){i=H;var y=i.child;if(i.subtreeFlags&2064&&y!==null)y.return=i,H=y;else e:for(i=h;H!==null;){if(a=H,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Fa(9,a)}}catch(N){Me(a,a.return,N)}if(a===i){H=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,H=S;break e}H=a.return}}if(ie=o,ir(),on&&typeof on.onPostCommitFiberRoot=="function")try{on.onPostCommitFiberRoot(Aa,e)}catch{}r=!0}return r}finally{pe=n,Rt.transition=t}}return!1}function Jf(e,t,n){t=No(n,t),t=Ym(e,t,1),e=Qn(e,t,1),t=tt(),e!==null&&(Qs(e,1,t),ct(e,t))}function Me(e,t,n){if(e.tag===3)Jf(e,e,n);else for(;t!==null;){if(t.tag===3){Jf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Gn===null||!Gn.has(r))){e=No(n,e),e=qm(t,e,1),t=Qn(t,e,1),e=tt(),t!==null&&(Qs(t,1,e),ct(t,e));break}}t=t.return}}function Lw(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=tt(),e.pingedLanes|=e.suspendedLanes&n,Be===e&&(Ue&n)===n&&(ze===4||ze===3&&(Ue&130023424)===Ue&&500>Oe()-od?wr(e,0):rd|=n),ct(e,t)}function gg(e,t){t===0&&(e.mode&1?(t=di,di<<=1,!(di&130023424)&&(di=4194304)):t=1);var n=tt();e=wn(e,t),e!==null&&(Qs(e,t,n),ct(e,n))}function Dw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gg(e,n)}function zw(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(M(314))}r!==null&&r.delete(t),gg(e,n)}var vg;vg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||at.current)it=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return it=!1,Ew(e,t,n);it=!!(e.flags&131072)}else it=!1,je&&t.flags&1048576&&bm(t,aa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Bi(e,t),e=t.pendingProps;var o=xo(t,qe.current);ro(t,n),o=Xu(null,t,r,e,o,n);var s=Zu();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,lt(r)?(s=!0,sa(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Ku(t),o.updater=za,t.stateNode=o,o._reactInternals=t,Mc(t,r,e,n),t=_c(null,t,r,!0,s,n)):(t.tag=0,je&&s&&Fu(t),Je(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Bi(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Bw(r),e=Dt(r,e),o){case 0:t=Oc(null,t,r,e,n);break e;case 1:t=Uf(null,t,r,e,n);break e;case 11:t=$f(null,t,r,e,n);break e;case 14:t=Hf(null,t,r,Dt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Dt(r,o),Oc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Dt(r,o),Uf(e,t,r,o,n);case 3:e:{if(eg(t),e===null)throw Error(M(387));r=t.pendingProps,s=t.memoizedState,o=s.element,km(e,t),ua(t,r,null,n);var i=t.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=No(Error(M(423)),t),t=Vf(e,t,r,n,o);break e}else if(r!==o){o=No(Error(M(424)),t),t=Vf(e,t,r,n,o);break e}else for(yt=Kn(t.stateNode.containerInfo.firstChild),xt=t,je=!0,$t=null,n=Em(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(wo(),r===o){t=bn(e,t,n);break e}Je(e,t,r,n)}t=t.child}return t;case 5:return Tm(t),e===null&&Pc(t),r=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,jc(r,o)?i=null:s!==null&&jc(r,s)&&(t.flags|=32),Jm(e,t),Je(e,t,i,n),t.child;case 6:return e===null&&Pc(t),null;case 13:return tg(e,t,n);case 4:return Qu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=bo(t,null,r,n):Je(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Dt(r,o),$f(e,t,r,o,n);case 7:return Je(e,t,t.pendingProps,n),t.child;case 8:return Je(e,t,t.pendingProps.children,n),t.child;case 12:return Je(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value,ve(la,r._currentValue),r._currentValue=i,s!==null)if(Wt(s.value,i)){if(s.children===o.children&&!at.current){t=bn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){i=s.child;for(var c=a.firstContext;c!==null;){if(c.context===r){if(s.tag===1){c=vn(-1,n&-n),c.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var m=u.pending;m===null?c.next=c:(c.next=m.next,m.next=c),u.pending=c}}s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Rc(s.return,n,t),a.lanes|=n;break}c=c.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(M(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Rc(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}Je(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ro(t,n),o=At(o),r=r(o),t.flags|=1,Je(e,t,r,n),t.child;case 14:return r=t.type,o=Dt(r,t.pendingProps),o=Dt(r.type,o),Hf(e,t,r,o,n);case 15:return Xm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Dt(r,o),Bi(e,t),t.tag=1,lt(r)?(e=!0,sa(t)):e=!1,ro(t,n),Gm(t,r,o),Mc(t,r,o,n),_c(null,t,r,!0,e,n);case 19:return ng(e,t,n);case 22:return Zm(e,t,n)}throw Error(M(156,t.tag))};function yg(e,t){return Wh(e,t)}function Fw(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 Pt(e,t,n,r){return new Fw(e,t,n,r)}function ld(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Bw(e){if(typeof e=="function")return ld(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ku)return 11;if(e===Tu)return 14}return 2}function qn(e,t){var n=e.alternate;return n===null?(n=Pt(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 Ui(e,t,n,r,o,s){var i=2;if(r=e,typeof e=="function")ld(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Hr:return br(n.children,o,s,t);case Cu:i=8,o|=8;break;case nc:return e=Pt(12,n,t,o|2),e.elementType=nc,e.lanes=s,e;case rc:return e=Pt(13,n,t,o),e.elementType=rc,e.lanes=s,e;case oc:return e=Pt(19,n,t,o),e.elementType=oc,e.lanes=s,e;case Th:return $a(n,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ch:i=10;break e;case kh:i=9;break e;case ku:i=11;break e;case Tu:i=14;break e;case An:i=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=Pt(i,n,t,o),t.elementType=e,t.type=r,t.lanes=s,t}function br(e,t,n,r){return e=Pt(7,e,r,t),e.lanes=n,e}function $a(e,t,n,r){return e=Pt(22,e,r,t),e.elementType=Th,e.lanes=n,e.stateNode={isHidden:!1},e}function Dl(e,t,n){return e=Pt(6,e,null,t),e.lanes=n,e}function zl(e,t,n){return t=Pt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $w(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=yl(0),this.expirationTimes=yl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function cd(e,t,n,r,o,s,i,a,c){return e=new $w(e,t,n,a,c),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Pt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ku(s),e}function Hw(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:$r,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function xg(e){if(!e)return Jn;e=e._reactInternals;e:{if(Ar(e)!==e||e.tag!==1)throw Error(M(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(lt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(M(171))}if(e.tag===1){var n=e.type;if(lt(n))return xm(e,n,t)}return t}function wg(e,t,n,r,o,s,i,a,c){return e=cd(n,r,!0,e,o,s,i,a,c),e.context=xg(null),n=e.current,r=tt(),o=Yn(n),s=vn(r,o),s.callback=t??null,Qn(n,s,o),e.current.lanes=o,Qs(e,o,r),ct(e,r),e}function Ha(e,t,n,r){var o=t.current,s=tt(),i=Yn(o);return n=xg(n),t.context===null?t.context=n:t.pendingContext=n,t=vn(s,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Qn(o,t,i),e!==null&&(Ut(e,o,i,s),Di(e,o,i)),i}function ya(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 ep(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ud(e,t){ep(e,t),(e=e.alternate)&&ep(e,t)}function Uw(){return null}var bg=typeof reportError=="function"?reportError:function(e){console.error(e)};function dd(e){this._internalRoot=e}Ua.prototype.render=dd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));Ha(e,t,null,null)};Ua.prototype.unmount=dd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Cr(function(){Ha(null,e,null,null)}),t[xn]=null}};function Ua(e){this._internalRoot=e}Ua.prototype.unstable_scheduleHydration=function(e){if(e){var t=Zh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<In.length&&t!==0&&t<In[n].priority;n++);In.splice(n,0,e),n===0&&em(e)}};function fd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Va(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function tp(){}function Vw(e,t,n,r,o){if(o){if(typeof r=="function"){var s=r;r=function(){var u=ya(i);s.call(u)}}var i=wg(t,r,e,0,null,!1,!1,"",tp);return e._reactRootContainer=i,e[xn]=i.current,Cs(e.nodeType===8?e.parentNode:e),Cr(),i}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=ya(c);a.call(u)}}var c=cd(e,0,!1,null,null,!1,!1,"",tp);return e._reactRootContainer=c,e[xn]=c.current,Cs(e.nodeType===8?e.parentNode:e),Cr(function(){Ha(t,c,n,r)}),c}function Wa(e,t,n,r,o){var s=n._reactRootContainer;if(s){var i=s;if(typeof o=="function"){var a=o;o=function(){var c=ya(i);a.call(c)}}Ha(t,i,e,o)}else i=Vw(n,t,e,o,r);return ya(i)}qh=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=rs(t.pendingLanes);n!==0&&(Au(t,n|1),ct(t,Oe()),!(ie&6)&&(jo=Oe()+500,ir()))}break;case 13:Cr(function(){var r=wn(e,1);if(r!==null){var o=tt();Ut(r,e,1,o)}}),ud(e,1)}};Mu=function(e){if(e.tag===13){var t=wn(e,134217728);if(t!==null){var n=tt();Ut(t,e,134217728,n)}ud(e,134217728)}};Xh=function(e){if(e.tag===13){var t=Yn(e),n=wn(e,t);if(n!==null){var r=tt();Ut(n,e,t,r)}ud(e,t)}};Zh=function(){return pe};Jh=function(e,t){var n=pe;try{return pe=e,t()}finally{pe=n}};hc=function(e,t,n){switch(t){case"input":if(ac(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=_a(r);if(!o)throw Error(M(90));Rh(r),ac(r,o)}}}break;case"textarea":Mh(e,n);break;case"select":t=n.value,t!=null&&Jr(e,!!n.multiple,t,!1)}};Fh=sd;Bh=Cr;var Ww={usingClientEntryPoint:!1,Events:[Ys,Kr,_a,Dh,zh,sd]},Zo={findFiberByHostInstance:pr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Kw={bundleType:Zo.bundleType,version:Zo.version,rendererPackageName:Zo.rendererPackageName,rendererConfig:Zo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:jn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Uh(e),e===null?null:e.stateNode},findFiberByHostInstance:Zo.findFiberByHostInstance||Uw,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 Si=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Si.isDisabled&&Si.supportsFiber)try{Aa=Si.inject(Kw),on=Si}catch{}}Nt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ww;Nt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!fd(t))throw Error(M(200));return Hw(e,t,null,n)};Nt.createRoot=function(e,t){if(!fd(e))throw Error(M(299));var n=!1,r="",o=bg;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=cd(e,1,!1,null,null,n,!1,r,o),e[xn]=t.current,Cs(e.nodeType===8?e.parentNode:e),new dd(t)};Nt.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(M(188)):(e=Object.keys(e).join(","),Error(M(268,e)));return e=Uh(t),e=e===null?null:e.stateNode,e};Nt.flushSync=function(e){return Cr(e)};Nt.hydrate=function(e,t,n){if(!Va(t))throw Error(M(200));return Wa(null,e,t,!0,n)};Nt.hydrateRoot=function(e,t,n){if(!fd(e))throw Error(M(405));var r=n!=null&&n.hydratedSources||null,o=!1,s="",i=bg;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=wg(t,null,e,1,n??null,o,!1,s,i),e[xn]=t.current,Cs(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 Ua(t)};Nt.render=function(e,t,n){if(!Va(t))throw Error(M(200));return Wa(null,e,t,!1,n)};Nt.unmountComponentAtNode=function(e){if(!Va(e))throw Error(M(40));return e._reactRootContainer?(Cr(function(){Wa(null,null,e,!1,function(){e._reactRootContainer=null,e[xn]=null})}),!0):!1};Nt.unstable_batchedUpdates=sd;Nt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Va(n))throw Error(M(200));if(e==null||e._reactInternals===void 0)throw Error(M(38));return Wa(e,t,n,!1,r)};Nt.version="18.3.1-next-f1338f8080-20240426";function Sg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Sg)}catch(e){console.error(e)}}Sg(),Sh.exports=Nt;var Mr=Sh.exports;const Ng=ch(Mr);var jg,np=Mr;jg=np.createRoot,np.hydrateRoot;const Qw=1,Gw=1e6;let Fl=0;function Yw(){return Fl=(Fl+1)%Number.MAX_SAFE_INTEGER,Fl.toString()}const Bl=new Map,rp=e=>{if(Bl.has(e))return;const t=setTimeout(()=>{Bl.delete(e),gs({type:"REMOVE_TOAST",toastId:e})},Gw);Bl.set(e,t)},qw=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Qw)};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?rp(n):e.toasts.forEach(r=>{rp(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)}}},Vi=[];let Wi={toasts:[]};function gs(e){Wi=qw(Wi,e),Vi.forEach(t=>{t(Wi)})}function Xw({...e}){const t=Yw(),n=o=>gs({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>gs({type:"DISMISS_TOAST",toastId:t});return gs({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function Zw(){const[e,t]=v.useState(Wi);return v.useEffect(()=>(Vi.push(t),()=>{const n=Vi.indexOf(t);n>-1&&Vi.splice(n,1)}),[e]),{...e,toast:Xw,dismiss:n=>gs({type:"DISMISS_TOAST",toastId:n})}}function oe(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 Jw(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Eg(...e){return t=>e.forEach(n=>Jw(n,t))}function Ie(...e){return v.useCallback(Eg(...e),e)}function e1(e,t=[]){let n=[];function r(s,i){const a=v.createContext(i),c=n.length;n=[...n,i];function u(f){const{scope:d,children:b,...x}=f,g=(d==null?void 0:d[e][c])||a,w=v.useMemo(()=>x,Object.values(x));return l.jsx(g.Provider,{value:w,children:b})}function m(f,d){const b=(d==null?void 0:d[e][c])||a,x=v.useContext(b);if(x)return x;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return u.displayName=s+"Provider",[u,m]}const o=()=>{const s=n.map(i=>v.createContext(i));return function(a){const c=(a==null?void 0:a[e])||s;return v.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return o.scopeName=e,[r,t1(o,...t)]}function t1(...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(s){const i=r.reduce((a,{useScope:c,scopeName:u})=>{const f=c(s)[`__scope${u}`];return{...a,...f}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}var Eo=v.forwardRef((e,t)=>{const{children:n,...r}=e,o=v.Children.toArray(n),s=o.find(n1);if(s){const i=s.props.children,a=o.map(c=>c===s?v.Children.count(i)>1?v.Children.only(null):v.isValidElement(i)?i.props.children:null:c);return l.jsx(Qc,{...r,ref:t,children:v.isValidElement(i)?v.cloneElement(i,void 0,a):null})}return l.jsx(Qc,{...r,ref:t,children:n})});Eo.displayName="Slot";var Qc=v.forwardRef((e,t)=>{const{children:n,...r}=e;if(v.isValidElement(n)){const o=o1(n);return v.cloneElement(n,{...r1(r,n.props),ref:t?Eg(t,o):o})}return v.Children.count(n)>1?v.Children.only(null):null});Qc.displayName="SlotClone";var Cg=({children:e})=>l.jsx(l.Fragment,{children:e});function n1(e){return v.isValidElement(e)&&e.type===Cg}function r1(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{s(...a),o(...a)}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function o1(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 kg(e){const t=e+"CollectionProvider",[n,r]=e1(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=b=>{const{scope:x,children:g}=b,w=L.useRef(null),p=L.useRef(new Map).current;return l.jsx(o,{scope:x,itemMap:p,collectionRef:w,children:g})};i.displayName=t;const a=e+"CollectionSlot",c=L.forwardRef((b,x)=>{const{scope:g,children:w}=b,p=s(a,g),h=Ie(x,p.collectionRef);return l.jsx(Eo,{ref:h,children:w})});c.displayName=a;const u=e+"CollectionItemSlot",m="data-radix-collection-item",f=L.forwardRef((b,x)=>{const{scope:g,children:w,...p}=b,h=L.useRef(null),y=Ie(x,h),S=s(u,g);return L.useEffect(()=>(S.itemMap.set(h,{ref:h,...p}),()=>void S.itemMap.delete(h))),l.jsx(Eo,{[m]:"",ref:y,children:w})});f.displayName=u;function d(b){const x=s(e+"CollectionConsumer",b);return L.useCallback(()=>{const w=x.collectionRef.current;if(!w)return[];const p=Array.from(w.querySelectorAll(`[${m}]`));return Array.from(x.itemMap.values()).sort((S,N)=>p.indexOf(S.ref.current)-p.indexOf(N.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:i,Slot:c,ItemSlot:f},d,r]}function pd(e,t=[]){let n=[];function r(s,i){const a=v.createContext(i),c=n.length;n=[...n,i];const u=f=>{var p;const{scope:d,children:b,...x}=f,g=((p=d==null?void 0:d[e])==null?void 0:p[c])||a,w=v.useMemo(()=>x,Object.values(x));return l.jsx(g.Provider,{value:w,children:b})};u.displayName=s+"Provider";function m(f,d){var g;const b=((g=d==null?void 0:d[e])==null?void 0:g[c])||a,x=v.useContext(b);if(x)return x;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,m]}const o=()=>{const s=n.map(i=>v.createContext(i));return function(a){const c=(a==null?void 0:a[e])||s;return v.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return o.scopeName=e,[r,s1(o,...t)]}function s1(...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(s){const i=r.reduce((a,{useScope:c,scopeName:u})=>{const f=c(s)[`__scope${u}`];return{...a,...f}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}var i1=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],he=i1.reduce((e,t)=>{const n=v.forwardRef((r,o)=>{const{asChild:s,...i}=r,a=s?Eo:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(a,{...i,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Tg(e,t){e&&Mr.flushSync(()=>e.dispatchEvent(t))}function St(e){const t=v.useRef(e);return v.useEffect(()=>{t.current=e}),v.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function a1(e,t=globalThis==null?void 0:globalThis.document){const n=St(e);v.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 l1="DismissableLayer",Gc="dismissableLayer.update",c1="dismissableLayer.pointerDownOutside",u1="dismissableLayer.focusOutside",op,Pg=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ka=v.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...c}=e,u=v.useContext(Pg),[m,f]=v.useState(null),d=(m==null?void 0:m.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,b]=v.useState({}),x=Ie(t,j=>f(j)),g=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),p=g.indexOf(w),h=m?g.indexOf(m):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,S=h>=p,N=f1(j=>{const C=j.target,P=[...u.branches].some(R=>R.contains(C));!S||P||(o==null||o(j),i==null||i(j),j.defaultPrevented||a==null||a())},d),E=p1(j=>{const C=j.target;[...u.branches].some(R=>R.contains(C))||(s==null||s(j),i==null||i(j),j.defaultPrevented||a==null||a())},d);return a1(j=>{h===u.layers.size-1&&(r==null||r(j),!j.defaultPrevented&&a&&(j.preventDefault(),a()))},d),v.useEffect(()=>{if(m)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(op=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(m)),u.layers.add(m),sp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=op)}},[m,d,n,u]),v.useEffect(()=>()=>{m&&(u.layers.delete(m),u.layersWithOutsidePointerEventsDisabled.delete(m),sp())},[m,u]),v.useEffect(()=>{const j=()=>b({});return document.addEventListener(Gc,j),()=>document.removeEventListener(Gc,j)},[]),l.jsx(he.div,{...c,ref:x,style:{pointerEvents:y?S?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,E.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,N.onPointerDownCapture)})});Ka.displayName=l1;var d1="DismissableLayerBranch",Rg=v.forwardRef((e,t)=>{const n=v.useContext(Pg),r=v.useRef(null),o=Ie(t,r);return v.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx(he.div,{...e,ref:o})});Rg.displayName=d1;function f1(e,t=globalThis==null?void 0:globalThis.document){const n=St(e),r=v.useRef(!1),o=v.useRef(()=>{});return v.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let c=function(){Ag(c1,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function p1(e,t=globalThis==null?void 0:globalThis.document){const n=St(e),r=v.useRef(!1);return v.useEffect(()=>{const o=s=>{s.target&&!r.current&&Ag(u1,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function sp(){const e=new CustomEvent(Gc);document.dispatchEvent(e)}function Ag(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Tg(o,s):o.dispatchEvent(s)}var h1=Ka,m1=Rg,Xe=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},g1="Portal",hd=v.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,s]=v.useState(!1);Xe(()=>s(!0),[]);const i=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?Ng.createPortal(l.jsx(he.div,{...r,ref:t}),i):null});hd.displayName=g1;function v1(e,t){return v.useReducer((n,r)=>t[n][r]??n,e)}var md=e=>{const{present:t,children:n}=e,r=y1(t),o=typeof n=="function"?n({present:r.isPresent}):v.Children.only(n),s=Ie(r.ref,x1(o));return typeof n=="function"||r.isPresent?v.cloneElement(o,{ref:s}):null};md.displayName="Presence";function y1(e){const[t,n]=v.useState(),r=v.useRef({}),o=v.useRef(e),s=v.useRef("none"),i=e?"mounted":"unmounted",[a,c]=v1(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const u=Ni(r.current);s.current=a==="mounted"?u:"none"},[a]),Xe(()=>{const u=r.current,m=o.current;if(m!==e){const d=s.current,b=Ni(u);e?c("MOUNT"):b==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(m&&d!==b?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),Xe(()=>{if(t){let u;const m=t.ownerDocument.defaultView??window,f=b=>{const g=Ni(r.current).includes(b.animationName);if(b.target===t&&g&&(c("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=m.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},d=b=>{b.target===t&&(s.current=Ni(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{m.clearTimeout(u),t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:v.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Ni(e){return(e==null?void 0:e.animationName)||"none"}function x1(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 Yc({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=w1({defaultProp:t,onChange:n}),s=e!==void 0,i=s?e:r,a=St(n),c=v.useCallback(u=>{if(s){const f=typeof u=="function"?u(e):u;f!==e&&a(f)}else o(u)},[s,e,o,a]);return[i,c]}function w1({defaultProp:e,onChange:t}){const n=v.useState(e),[r]=n,o=v.useRef(r),s=St(t);return v.useEffect(()=>{o.current!==r&&(s(r),o.current=r)},[r,o,s]),n}var b1="VisuallyHidden",Xs=v.forwardRef((e,t)=>l.jsx(he.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}}));Xs.displayName=b1;var S1=Xs,gd="ToastProvider",[vd,N1,j1]=kg("Toast"),[Mg,GC]=pd("Toast",[j1]),[E1,Qa]=Mg(gd),Ig=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:s=50,children:i}=e,[a,c]=v.useState(null),[u,m]=v.useState(0),f=v.useRef(!1),d=v.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${gd}\`. Expected non-empty \`string\`.`),l.jsx(vd.Provider,{scope:t,children:l.jsx(E1,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:c,onToastAdd:v.useCallback(()=>m(b=>b+1),[]),onToastRemove:v.useCallback(()=>m(b=>b-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:d,children:i})})};Ig.displayName=gd;var Og="ToastViewport",C1=["F8"],qc="toast.viewportPause",Xc="toast.viewportResume",_g=v.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=C1,label:o="Notifications ({hotkey})",...s}=e,i=Qa(Og,n),a=N1(n),c=v.useRef(null),u=v.useRef(null),m=v.useRef(null),f=v.useRef(null),d=Ie(t,f,i.onViewportChange),b=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=i.toastCount>0;v.useEffect(()=>{const w=p=>{var y;r.length!==0&&r.every(S=>p[S]||p.code===S)&&((y=f.current)==null||y.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),v.useEffect(()=>{const w=c.current,p=f.current;if(x&&w&&p){const h=()=>{if(!i.isClosePausedRef.current){const E=new CustomEvent(qc);p.dispatchEvent(E),i.isClosePausedRef.current=!0}},y=()=>{if(i.isClosePausedRef.current){const E=new CustomEvent(Xc);p.dispatchEvent(E),i.isClosePausedRef.current=!1}},S=E=>{!w.contains(E.relatedTarget)&&y()},N=()=>{w.contains(document.activeElement)||y()};return w.addEventListener("focusin",h),w.addEventListener("focusout",S),w.addEventListener("pointermove",h),w.addEventListener("pointerleave",N),window.addEventListener("blur",h),window.addEventListener("focus",y),()=>{w.removeEventListener("focusin",h),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",h),w.removeEventListener("pointerleave",N),window.removeEventListener("blur",h),window.removeEventListener("focus",y)}}},[x,i.isClosePausedRef]);const g=v.useCallback(({tabbingDirection:w})=>{const h=a().map(y=>{const S=y.ref.current,N=[S,...F1(S)];return w==="forwards"?N:N.reverse()});return(w==="forwards"?h.reverse():h).flat()},[a]);return v.useEffect(()=>{const w=f.current;if(w){const p=h=>{var N,E,j;const y=h.altKey||h.ctrlKey||h.metaKey;if(h.key==="Tab"&&!y){const C=document.activeElement,P=h.shiftKey;if(h.target===w&&P){(N=u.current)==null||N.focus();return}const D=g({tabbingDirection:P?"backwards":"forwards"}),V=D.findIndex(I=>I===C);$l(D.slice(V+1))?h.preventDefault():P?(E=u.current)==null||E.focus():(j=m.current)==null||j.focus()}};return w.addEventListener("keydown",p),()=>w.removeEventListener("keydown",p)}},[a,g]),l.jsxs(m1,{ref:c,role:"region","aria-label":o.replace("{hotkey}",b),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&l.jsx(Zc,{ref:u,onFocusFromOutsideViewport:()=>{const w=g({tabbingDirection:"forwards"});$l(w)}}),l.jsx(vd.Slot,{scope:n,children:l.jsx(he.ol,{tabIndex:-1,...s,ref:d})}),x&&l.jsx(Zc,{ref:m,onFocusFromOutsideViewport:()=>{const w=g({tabbingDirection:"backwards"});$l(w)}})]})});_g.displayName=Og;var Lg="ToastFocusProxy",Zc=v.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,s=Qa(Lg,n);return l.jsx(Xs,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const a=i.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});Zc.displayName=Lg;var Ga="Toast",k1="toast.swipeStart",T1="toast.swipeMove",P1="toast.swipeCancel",R1="toast.swipeEnd",Dg=v.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:s,...i}=e,[a=!0,c]=Yc({prop:r,defaultProp:o,onChange:s});return l.jsx(md,{present:n||a,children:l.jsx(I1,{open:a,...i,ref:t,onClose:()=>c(!1),onPause:St(e.onPause),onResume:St(e.onResume),onSwipeStart:oe(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:oe(e.onSwipeMove,u=>{const{x:m,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${m}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:oe(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:oe(e.onSwipeEnd,u=>{const{x:m,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",`${m}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})})});Dg.displayName=Ga;var[A1,M1]=Mg(Ga,{onClose(){}}),I1=v.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:s,onClose:i,onEscapeKeyDown:a,onPause:c,onResume:u,onSwipeStart:m,onSwipeMove:f,onSwipeCancel:d,onSwipeEnd:b,...x}=e,g=Qa(Ga,n),[w,p]=v.useState(null),h=Ie(t,I=>p(I)),y=v.useRef(null),S=v.useRef(null),N=o||g.duration,E=v.useRef(0),j=v.useRef(N),C=v.useRef(0),{onToastAdd:P,onToastRemove:R}=g,_=St(()=>{var W;(w==null?void 0:w.contains(document.activeElement))&&((W=g.viewport)==null||W.focus()),i()}),D=v.useCallback(I=>{!I||I===1/0||(window.clearTimeout(C.current),E.current=new Date().getTime(),C.current=window.setTimeout(_,I))},[_]);v.useEffect(()=>{const I=g.viewport;if(I){const W=()=>{D(j.current),u==null||u()},F=()=>{const K=new Date().getTime()-E.current;j.current=j.current-K,window.clearTimeout(C.current),c==null||c()};return I.addEventListener(qc,F),I.addEventListener(Xc,W),()=>{I.removeEventListener(qc,F),I.removeEventListener(Xc,W)}}},[g.viewport,N,c,u,D]),v.useEffect(()=>{s&&!g.isClosePausedRef.current&&D(N)},[s,N,g.isClosePausedRef,D]),v.useEffect(()=>(P(),()=>R()),[P,R]);const V=v.useMemo(()=>w?Vg(w):null,[w]);return g.viewport?l.jsxs(l.Fragment,{children:[V&&l.jsx(O1,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:V}),l.jsx(A1,{scope:n,onClose:_,children:Mr.createPortal(l.jsx(vd.ItemSlot,{scope:n,children:l.jsx(h1,{asChild:!0,onEscapeKeyDown:oe(a,()=>{g.isFocusedToastEscapeKeyDownRef.current||_(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(he.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":g.swipeDirection,...x,ref:h,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:oe(e.onKeyDown,I=>{I.key==="Escape"&&(a==null||a(I.nativeEvent),I.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,_()))}),onPointerDown:oe(e.onPointerDown,I=>{I.button===0&&(y.current={x:I.clientX,y:I.clientY})}),onPointerMove:oe(e.onPointerMove,I=>{if(!y.current)return;const W=I.clientX-y.current.x,F=I.clientY-y.current.y,K=!!S.current,k=["left","right"].includes(g.swipeDirection),A=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,B=k?A(0,W):0,z=k?0:A(0,F),U=I.pointerType==="touch"?10:2,Y={x:B,y:z},te={originalEvent:I,delta:Y};K?(S.current=Y,ji(T1,f,te,{discrete:!1})):ip(Y,g.swipeDirection,U)?(S.current=Y,ji(k1,m,te,{discrete:!1}),I.target.setPointerCapture(I.pointerId)):(Math.abs(W)>U||Math.abs(F)>U)&&(y.current=null)}),onPointerUp:oe(e.onPointerUp,I=>{const W=S.current,F=I.target;if(F.hasPointerCapture(I.pointerId)&&F.releasePointerCapture(I.pointerId),S.current=null,y.current=null,W){const K=I.currentTarget,k={originalEvent:I,delta:W};ip(W,g.swipeDirection,g.swipeThreshold)?ji(R1,b,k,{discrete:!0}):ji(P1,d,k,{discrete:!0}),K.addEventListener("click",A=>A.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),O1=e=>{const{__scopeToast:t,children:n,...r}=e,o=Qa(Ga,t),[s,i]=v.useState(!1),[a,c]=v.useState(!1);return D1(()=>i(!0)),v.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:l.jsx(hd,{asChild:!0,children:l.jsx(Xs,{...r,children:s&&l.jsxs(l.Fragment,{children:[o.label," ",n]})})})},_1="ToastTitle",zg=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(he.div,{...r,ref:t})});zg.displayName=_1;var L1="ToastDescription",Fg=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(he.div,{...r,ref:t})});Fg.displayName=L1;var Bg="ToastAction",$g=v.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?l.jsx(Ug,{altText:n,asChild:!0,children:l.jsx(yd,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Bg}\`. Expected non-empty \`string\`.`),null)});$g.displayName=Bg;var Hg="ToastClose",yd=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=M1(Hg,n);return l.jsx(Ug,{asChild:!0,children:l.jsx(he.button,{type:"button",...r,ref:t,onClick:oe(e.onClick,o.onClose)})})});yd.displayName=Hg;var Ug=v.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return l.jsx(he.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Vg(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),z1(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!o)if(s){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Vg(r))}}),t}function ji(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Tg(o,s):o.dispatchEvent(s)}var ip=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),s=r>o;return t==="left"||t==="right"?s&&r>n:!s&&o>n};function D1(e=()=>{}){const t=St(e);Xe(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function z1(e){return e.nodeType===e.ELEMENT_NODE}function F1(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 $l(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var B1=Ig,Wg=_g,Kg=Dg,Qg=zg,Gg=Fg,Yg=$g,qg=yd;function Xg(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=Xg(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Zg(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Xg(e))&&(r&&(r+=" "),r+=t);return r}const ap=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,lp=Zg,xd=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return lp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const m=n==null?void 0:n[u],f=s==null?void 0:s[u];if(m===null)return null;const d=ap(m)||ap(f);return o[u][d]}),a=n&&Object.entries(n).reduce((u,m)=>{let[f,d]=m;return d===void 0||(u[f]=d),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,m)=>{let{class:f,className:d,...b}=m;return Object.entries(b).every(x=>{let[g,w]=x;return Array.isArray(w)?w.includes({...s,...a}[g]):{...s,...a}[g]===w})?[...u,f,d]:u},[]);return lp(e,i,c,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 $1=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Jg=(...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 H1={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 U1=v.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...a},c)=>v.createElement("svg",{ref:c,...H1,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Jg("lucide",o),...a},[...i.map(([u,m])=>v.createElement(u,m)),...Array.isArray(s)?s:[s]]));/**
 * @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 ye=(e,t)=>{const n=v.forwardRef(({className:r,...o},s)=>v.createElement(U1,{ref:s,iconNode:t,className:Jg(`lucide-${$1(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 V1=ye("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
 * @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 ev=ye("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
 * @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 Jc=ye("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
 * @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 tv=ye("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
 * @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 W1=ye("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
 * @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 nv=ye("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
 * @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 K1=ye("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
 * @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 Q1=ye("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
 * @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 rv=ye("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
 * @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 wd=ye("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
 * @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 ov=ye("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 G1=ye("Maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]);/**
 * @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 Y1=ye("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
 * @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 q1=ye("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
 * @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 X1=ye("Music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/**
 * @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 Z1=ye("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
 * @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 J1=ye("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
 * @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 eb=ye("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
 * @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 tb=ye("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);/**
 * @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 sv=ye("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
 * @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 cp=ye("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 nb=ye("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 rb=ye("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);/**
 * @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 ob=ye("VolumeX",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]]);/**
 * @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 iv=ye("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
 * @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 sb=ye("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]),bd="-",ib=e=>{const t=lb(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const a=i.split(bd);return a[0]===""&&a.length!==1&&a.shift(),av(a,t)||ab(i)},getConflictingClassGroupIds:(i,a)=>{const c=n[i]||[];return a&&r[i]?[...c,...r[i]]:c}}},av=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?av(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(bd);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},up=/^\[(.+)\]$/,ab=e=>{if(up.test(e)){const t=up.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},lb=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return ub(Object.entries(e.classGroups),n).forEach(([s,i])=>{eu(i,r,s,t)}),r},eu=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:dp(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(cb(o)){eu(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{eu(i,dp(t,s),n,r)})})},dp=(e,t)=>{let n=e;return t.split(bd).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},cb=e=>e.isThemeGetter,ub=(e,t)=>t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[t+i,a])):s);return[n,o]}):e,db=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}},lv="!",fb=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],s=t.length,i=a=>{const c=[];let u=0,m=0,f;for(let w=0;w<a.length;w++){let p=a[w];if(u===0){if(p===o&&(r||a.slice(w,w+s)===t)){c.push(a.slice(m,w)),m=w+s;continue}if(p==="/"){f=w;continue}}p==="["?u++:p==="]"&&u--}const d=c.length===0?a:a.substring(m),b=d.startsWith(lv),x=b?d.substring(1):d,g=f&&f>m?f-m:void 0;return{modifiers:c,hasImportantModifier:b,baseClassName:x,maybePostfixModifierPosition:g}};return n?a=>n({className:a,parseClassName:i}):i},pb=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},hb=e=>({cache:db(e.cacheSize),parseClassName:fb(e),...ib(e)}),mb=/\s+/,gb=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=[],i=e.trim().split(mb);let a="";for(let c=i.length-1;c>=0;c-=1){const u=i[c],{modifiers:m,hasImportantModifier:f,baseClassName:d,maybePostfixModifierPosition:b}=n(u);let x=!!b,g=r(x?d.substring(0,b):d);if(!g){if(!x){a=u+(a.length>0?" "+a:a);continue}if(g=r(d),!g){a=u+(a.length>0?" "+a:a);continue}x=!1}const w=pb(m).join(":"),p=f?w+lv:w,h=p+g;if(s.includes(h))continue;s.push(h);const y=o(g,x);for(let S=0;S<y.length;++S){const N=y[S];s.push(p+N)}a=u+(a.length>0?" "+a:a)}return a};function vb(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=cv(t))&&(r&&(r+=" "),r+=n);return r}const cv=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=cv(e[r]))&&(n&&(n+=" "),n+=t);return n};function yb(e,...t){let n,r,o,s=i;function i(c){const u=t.reduce((m,f)=>f(m),e());return n=hb(u),r=n.cache.get,o=n.cache.set,s=a,a(c)}function a(c){const u=r(c);if(u)return u;const m=gb(c,n);return o(c,m),m}return function(){return s(vb.apply(null,arguments))}}const xe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},uv=/^\[(?:([a-z-]+):)?(.+)\]$/i,xb=/^\d+\/\d+$/,wb=new Set(["px","full","screen"]),bb=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Sb=/\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$/,Nb=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,jb=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Eb=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,un=e=>so(e)||wb.has(e)||xb.test(e),kn=e=>Ao(e,"length",Ib),so=e=>!!e&&!Number.isNaN(Number(e)),Hl=e=>Ao(e,"number",so),Jo=e=>!!e&&Number.isInteger(Number(e)),Cb=e=>e.endsWith("%")&&so(e.slice(0,-1)),ee=e=>uv.test(e),Tn=e=>bb.test(e),kb=new Set(["length","size","percentage"]),Tb=e=>Ao(e,kb,dv),Pb=e=>Ao(e,"position",dv),Rb=new Set(["image","url"]),Ab=e=>Ao(e,Rb,_b),Mb=e=>Ao(e,"",Ob),es=()=>!0,Ao=(e,t,n)=>{const r=uv.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Ib=e=>Sb.test(e)&&!Nb.test(e),dv=()=>!1,Ob=e=>jb.test(e),_b=e=>Eb.test(e),Lb=()=>{const e=xe("colors"),t=xe("spacing"),n=xe("blur"),r=xe("brightness"),o=xe("borderColor"),s=xe("borderRadius"),i=xe("borderSpacing"),a=xe("borderWidth"),c=xe("contrast"),u=xe("grayscale"),m=xe("hueRotate"),f=xe("invert"),d=xe("gap"),b=xe("gradientColorStops"),x=xe("gradientColorStopPositions"),g=xe("inset"),w=xe("margin"),p=xe("opacity"),h=xe("padding"),y=xe("saturate"),S=xe("scale"),N=xe("sepia"),E=xe("skew"),j=xe("space"),C=xe("translate"),P=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto",ee,t],D=()=>[ee,t],V=()=>["",un,kn],I=()=>["auto",so,ee],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["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"],A=()=>["","0",ee],B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[so,ee];return{cacheSize:500,separator:":",theme:{colors:[es],spacing:[un,kn],blur:["none","",Tn,ee],brightness:z(),borderColor:[e],borderRadius:["none","","full",Tn,ee],borderSpacing:D(),borderWidth:V(),contrast:z(),grayscale:A(),hueRotate:z(),invert:A(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[Cb,kn],inset:_(),margin:_(),opacity:z(),padding:D(),saturate:z(),scale:z(),sepia:A(),skew:z(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",ee]}],container:["container"],columns:[{columns:[Tn]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"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:[...W(),ee]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],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",Jo,ee]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ee]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",Jo,ee]}],"grid-cols":[{"grid-cols":[es]}],"col-start-end":[{col:["auto",{span:["full",Jo,ee]},ee]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[es]}],"row-start-end":[{row:["auto",{span:[Jo,ee]},ee]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ee]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ee]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"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:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ee,t]}],"min-w":[{"min-w":[ee,t,"min","max","fit"]}],"max-w":[{"max-w":[ee,t,"none","full","min","max","fit","prose",{screen:[Tn]},Tn]}],h:[{h:[ee,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ee,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Tn,kn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Hl]}],"font-family":[{font:[es]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ee]}],"line-clamp":[{"line-clamp":["none",so,Hl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",un,ee]}],"list-image":[{"list-image":["none",ee]}],"list-style-type":[{list:["none","disc","decimal",ee]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[p]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[p]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",un,kn]}],"underline-offset":[{"underline-offset":["auto",un,ee]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ee]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[p]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),Pb]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Tb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ab]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[p]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[p]}],"divide-style":[{divide:F()}],"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:["",...F()]}],"outline-offset":[{"outline-offset":[un,ee]}],"outline-w":[{outline:[un,kn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[p]}],"ring-offset-w":[{"ring-offset":[un,kn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Tn,Mb]}],"shadow-color":[{shadow:[es]}],opacity:[{opacity:[p]}],"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:[c]}],"drop-shadow":[{"drop-shadow":["","none",Tn,ee]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[f]}],saturate:[{saturate:[y]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[p]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ee]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",ee]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",ee]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[Jo,ee]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ee]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","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",ee]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ee]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[un,kn,Hl]}],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"]}}},Db=yb(Lb);function de(...e){return Db(Zg(e))}const zb=B1,fv=v.forwardRef(({className:e,...t},n)=>l.jsx(Wg,{ref:n,className:de("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}));fv.displayName=Wg.displayName;const Fb=xd("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"}}),pv=v.forwardRef(({className:e,variant:t,...n},r)=>l.jsx(Kg,{ref:r,className:de(Fb({variant:t}),e),...n}));pv.displayName=Kg.displayName;const Bb=v.forwardRef(({className:e,...t},n)=>l.jsx(Yg,{ref:n,className:de("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}));Bb.displayName=Yg.displayName;const hv=v.forwardRef(({className:e,...t},n)=>l.jsx(qg,{ref:n,className:de("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:l.jsx(iv,{className:"h-4 w-4"})}));hv.displayName=qg.displayName;const mv=v.forwardRef(({className:e,...t},n)=>l.jsx(Qg,{ref:n,className:de("text-sm font-semibold",e),...t}));mv.displayName=Qg.displayName;const gv=v.forwardRef(({className:e,...t},n)=>l.jsx(Gg,{ref:n,className:de("text-sm opacity-90",e),...t}));gv.displayName=Gg.displayName;function $b(){const{toasts:e}=Zw();return l.jsxs(zb,{children:[e.map(function({id:t,title:n,description:r,action:o,...s}){return l.jsxs(pv,{...s,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(mv,{children:n}),r&&l.jsx(gv,{children:r})]}),o,l.jsx(hv,{})]},t)}),l.jsx(fv,{})]})}var fp=["light","dark"],Hb="(prefers-color-scheme: dark)",Ub=v.createContext(void 0),Vb={setTheme:e=>{},themes:[]},Wb=()=>{var e;return(e=v.useContext(Ub))!=null?e:Vb};v.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:s,value:i,attrs:a,nonce:c})=>{let u=s==="system",m=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(x=>`'${x}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=o?fp.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",d=(x,g=!1,w=!0)=>{let p=i?i[x]:x,h=g?x+"|| ''":`'${p}'`,y="";return o&&w&&!g&&fp.includes(x)&&(y+=`d.style.colorScheme = '${x}';`),n==="class"?g||p?y+=`c.add(${h})`:y+="null":p&&(y+=`d[s](n,${h})`),y},b=e?`!function(){${m}${d(e)}}()`:r?`!function(){try{${m}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${Hb}',m=window.matchMedia(t);if(m.media!==t||m.matches){${d("dark")}}else{${d("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${d(i?"x[e]":"e",!0)}}${u?"":"else{"+d(s,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${m}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${d(i?"x[e]":"e",!0)}}else{${d(s,!1,!1)};}${f}}catch(t){}}();`;return v.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:b}})});var Kb=e=>{switch(e){case"success":return Yb;case"info":return Xb;case"warning":return qb;case"error":return Zb;default:return null}},Qb=Array(12).fill(0),Gb=({visible:e})=>L.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},L.createElement("div",{className:"sonner-spinner"},Qb.map((t,n)=>L.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),Yb=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),qb=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},L.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"})),Xb=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),Zb=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),Jb=()=>{let[e,t]=L.useState(document.hidden);return L.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},tu=1,eS=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:tu++,s=this.toasts.find(a=>a.id===o),i=e.dismissible===void 0?!0:e.dismissible;return s?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:i,title:n}):a):this.addToast({title:n,...r,dismissible:i,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 s=>{if(nS(s)&&!s.ok){o=!1;let i=typeof t.error=="function"?await t.error(`HTTP error! status: ${s.status}`):t.error,a=typeof t.description=="function"?await t.description(`HTTP error! status: ${s.status}`):t.description;this.create({id:n,type:"error",message:i,description:a})}else if(t.success!==void 0){o=!1;let i=typeof t.success=="function"?await t.success(s):t.success,a=typeof t.description=="function"?await t.description(s):t.description;this.create({id:n,type:"success",message:i,description:a})}}).catch(async s=>{if(t.error!==void 0){o=!1;let i=typeof t.error=="function"?await t.error(s):t.error,a=typeof t.description=="function"?await t.description(s):t.description;this.create({id:n,type:"error",message:i,description:a})}}).finally(()=>{var s;o&&(this.dismiss(n),n=void 0),(s=t.finally)==null||s.call(t)}),n},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||tu++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},pt=new eS,tS=(e,t)=>{let n=(t==null?void 0:t.id)||tu++;return pt.addToast({title:e,...t,id:n}),n},nS=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",rS=tS,oS=()=>pt.toasts;Object.assign(rS,{success:pt.success,info:pt.info,warning:pt.warning,error:pt.error,custom:pt.custom,message:pt.message,promise:pt.promise,dismiss:pt.dismiss,loading:pt.loading},{getHistory:oS});function sS(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))}sS(`: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 Ei(e){return e.label!==void 0}var iS=3,aS="32px",lS=4e3,cS=356,uS=14,dS=20,fS=200;function pS(...e){return e.filter(Boolean).join(" ")}var hS=e=>{var t,n,r,o,s,i,a,c,u,m;let{invert:f,toast:d,unstyled:b,interacting:x,setHeights:g,visibleToasts:w,heights:p,index:h,toasts:y,expanded:S,removeToast:N,defaultRichColors:E,closeButton:j,style:C,cancelButtonStyle:P,actionButtonStyle:R,className:_="",descriptionClassName:D="",duration:V,position:I,gap:W,loadingIcon:F,expandByDefault:K,classNames:k,icons:A,closeButtonAriaLabel:B="Close toast",pauseWhenPageIsHidden:z,cn:U}=e,[Y,te]=L.useState(!1),[Se,J]=L.useState(!1),[$,G]=L.useState(!1),[ae,q]=L.useState(!1),[Q,O]=L.useState(0),[Z,se]=L.useState(0),Ne=L.useRef(null),Ee=L.useRef(null),$e=h===0,Et=h+1<=w,ge=d.type,ot=d.dismissible!==!1,cr=d.className||"",Fo=d.descriptionClassName||"",En=L.useMemo(()=>p.findIndex(X=>X.toastId===d.id)||0,[p,d.id]),ni=L.useMemo(()=>{var X;return(X=d.closeButton)!=null?X:j},[d.closeButton,j]),Bo=L.useMemo(()=>d.duration||V||lS,[d.duration,V]),$o=L.useRef(0),cn=L.useRef(0),ri=L.useRef(0),Gt=L.useRef(null),[It,Ho]=I.split("-"),_r=L.useMemo(()=>p.reduce((X,me,fe)=>fe>=En?X:X+me.height,0),[p,En]),ur=Jb(),Uo=d.invert||f,Vo=ge==="loading";cn.current=L.useMemo(()=>En*W+_r,[En,_r]),L.useEffect(()=>{te(!0)},[]),L.useLayoutEffect(()=>{if(!Y)return;let X=Ee.current,me=X.style.height;X.style.height="auto";let fe=X.getBoundingClientRect().height;X.style.height=me,se(fe),g(ut=>ut.find(dt=>dt.toastId===d.id)?ut.map(dt=>dt.toastId===d.id?{...dt,height:fe}:dt):[{toastId:d.id,height:fe,position:d.position},...ut])},[Y,d.title,d.description,g,d.id]);let Yt=L.useCallback(()=>{J(!0),O(cn.current),g(X=>X.filter(me=>me.toastId!==d.id)),setTimeout(()=>{N(d)},fS)},[d,N,g,cn]);L.useEffect(()=>{if(d.promise&&ge==="loading"||d.duration===1/0||d.type==="loading")return;let X,me=Bo;return S||x||z&&ur?(()=>{if(ri.current<$o.current){let fe=new Date().getTime()-$o.current;me=me-fe}ri.current=new Date().getTime()})():me!==1/0&&($o.current=new Date().getTime(),X=setTimeout(()=>{var fe;(fe=d.onAutoClose)==null||fe.call(d,d),Yt()},me)),()=>clearTimeout(X)},[S,x,K,d,Bo,Yt,d.promise,ge,z,ur]),L.useEffect(()=>{let X=Ee.current;if(X){let me=X.getBoundingClientRect().height;return se(me),g(fe=>[{toastId:d.id,height:me,position:d.position},...fe]),()=>g(fe=>fe.filter(ut=>ut.toastId!==d.id))}},[g,d.id]),L.useEffect(()=>{d.delete&&Yt()},[Yt,d.delete]);function dl(){return A!=null&&A.loading?L.createElement("div",{className:"sonner-loader","data-visible":ge==="loading"},A.loading):F?L.createElement("div",{className:"sonner-loader","data-visible":ge==="loading"},F):L.createElement(Gb,{visible:ge==="loading"})}return L.createElement("li",{"aria-live":d.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:Ee,className:U(_,cr,k==null?void 0:k.toast,(t=d==null?void 0:d.classNames)==null?void 0:t.toast,k==null?void 0:k.default,k==null?void 0:k[ge],(n=d==null?void 0:d.classNames)==null?void 0:n[ge]),"data-sonner-toast":"","data-rich-colors":(r=d.richColors)!=null?r:E,"data-styled":!(d.jsx||d.unstyled||b),"data-mounted":Y,"data-promise":!!d.promise,"data-removed":Se,"data-visible":Et,"data-y-position":It,"data-x-position":Ho,"data-index":h,"data-front":$e,"data-swiping":$,"data-dismissible":ot,"data-type":ge,"data-invert":Uo,"data-swipe-out":ae,"data-expanded":!!(S||K&&Y),style:{"--index":h,"--toasts-before":h,"--z-index":y.length-h,"--offset":`${Se?Q:cn.current}px`,"--initial-height":K?"auto":`${Z}px`,...C,...d.style},onPointerDown:X=>{Vo||!ot||(Ne.current=new Date,O(cn.current),X.target.setPointerCapture(X.pointerId),X.target.tagName!=="BUTTON"&&(G(!0),Gt.current={x:X.clientX,y:X.clientY}))},onPointerUp:()=>{var X,me,fe,ut;if(ae||!ot)return;Gt.current=null;let dt=Number(((X=Ee.current)==null?void 0:X.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Lr=new Date().getTime()-((me=Ne.current)==null?void 0:me.getTime()),oi=Math.abs(dt)/Lr;if(Math.abs(dt)>=dS||oi>.11){O(cn.current),(fe=d.onDismiss)==null||fe.call(d,d),Yt(),q(!0);return}(ut=Ee.current)==null||ut.style.setProperty("--swipe-amount","0px"),G(!1)},onPointerMove:X=>{var me;if(!Gt.current||!ot)return;let fe=X.clientY-Gt.current.y,ut=X.clientX-Gt.current.x,dt=(It==="top"?Math.min:Math.max)(0,fe),Lr=X.pointerType==="touch"?10:2;Math.abs(dt)>Lr?(me=Ee.current)==null||me.style.setProperty("--swipe-amount",`${fe}px`):Math.abs(ut)>Lr&&(Gt.current=null)}},ni&&!d.jsx?L.createElement("button",{"aria-label":B,"data-disabled":Vo,"data-close-button":!0,onClick:Vo||!ot?()=>{}:()=>{var X;Yt(),(X=d.onDismiss)==null||X.call(d,d)},className:U(k==null?void 0:k.closeButton,(o=d==null?void 0:d.classNames)==null?void 0:o.closeButton)},L.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"},L.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),L.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,d.jsx||L.isValidElement(d.title)?d.jsx||d.title:L.createElement(L.Fragment,null,ge||d.icon||d.promise?L.createElement("div",{"data-icon":"",className:U(k==null?void 0:k.icon,(s=d==null?void 0:d.classNames)==null?void 0:s.icon)},d.promise||d.type==="loading"&&!d.icon?d.icon||dl():null,d.type!=="loading"?d.icon||(A==null?void 0:A[ge])||Kb(ge):null):null,L.createElement("div",{"data-content":"",className:U(k==null?void 0:k.content,(i=d==null?void 0:d.classNames)==null?void 0:i.content)},L.createElement("div",{"data-title":"",className:U(k==null?void 0:k.title,(a=d==null?void 0:d.classNames)==null?void 0:a.title)},d.title),d.description?L.createElement("div",{"data-description":"",className:U(D,Fo,k==null?void 0:k.description,(c=d==null?void 0:d.classNames)==null?void 0:c.description)},d.description):null),L.isValidElement(d.cancel)?d.cancel:d.cancel&&Ei(d.cancel)?L.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||P,onClick:X=>{var me,fe;Ei(d.cancel)&&ot&&((fe=(me=d.cancel).onClick)==null||fe.call(me,X),Yt())},className:U(k==null?void 0:k.cancelButton,(u=d==null?void 0:d.classNames)==null?void 0:u.cancelButton)},d.cancel.label):null,L.isValidElement(d.action)?d.action:d.action&&Ei(d.action)?L.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||R,onClick:X=>{var me,fe;Ei(d.action)&&(X.defaultPrevented||((fe=(me=d.action).onClick)==null||fe.call(me,X),Yt()))},className:U(k==null?void 0:k.actionButton,(m=d==null?void 0:d.classNames)==null?void 0:m.actionButton)},d.action.label):null))};function pp(){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 mS=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:o,closeButton:s,className:i,offset:a,theme:c="light",richColors:u,duration:m,style:f,visibleToasts:d=iS,toastOptions:b,dir:x=pp(),gap:g=uS,loadingIcon:w,icons:p,containerAriaLabel:h="Notifications",pauseWhenPageIsHidden:y,cn:S=pS}=e,[N,E]=L.useState([]),j=L.useMemo(()=>Array.from(new Set([n].concat(N.filter(z=>z.position).map(z=>z.position)))),[N,n]),[C,P]=L.useState([]),[R,_]=L.useState(!1),[D,V]=L.useState(!1),[I,W]=L.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),F=L.useRef(null),K=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),k=L.useRef(null),A=L.useRef(!1),B=L.useCallback(z=>{var U;(U=N.find(Y=>Y.id===z.id))!=null&&U.delete||pt.dismiss(z.id),E(Y=>Y.filter(({id:te})=>te!==z.id))},[N]);return L.useEffect(()=>pt.subscribe(z=>{if(z.dismiss){E(U=>U.map(Y=>Y.id===z.id?{...Y,delete:!0}:Y));return}setTimeout(()=>{Ng.flushSync(()=>{E(U=>{let Y=U.findIndex(te=>te.id===z.id);return Y!==-1?[...U.slice(0,Y),{...U[Y],...z},...U.slice(Y+1)]:[z,...U]})})})}),[]),L.useEffect(()=>{if(c!=="system"){W(c);return}c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?W("dark"):W("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:z})=>{W(z?"dark":"light")})},[c]),L.useEffect(()=>{N.length<=1&&_(!1)},[N]),L.useEffect(()=>{let z=U=>{var Y,te;r.every(Se=>U[Se]||U.code===Se)&&(_(!0),(Y=F.current)==null||Y.focus()),U.code==="Escape"&&(document.activeElement===F.current||(te=F.current)!=null&&te.contains(document.activeElement))&&_(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[r]),L.useEffect(()=>{if(F.current)return()=>{k.current&&(k.current.focus({preventScroll:!0}),k.current=null,A.current=!1)}},[F.current]),N.length?L.createElement("section",{"aria-label":`${h} ${K}`,tabIndex:-1},j.map((z,U)=>{var Y;let[te,Se]=z.split("-");return L.createElement("ol",{key:z,dir:x==="auto"?pp():x,tabIndex:-1,ref:F,className:i,"data-sonner-toaster":!0,"data-theme":I,"data-y-position":te,"data-x-position":Se,style:{"--front-toast-height":`${((Y=C[0])==null?void 0:Y.height)||0}px`,"--offset":typeof a=="number"?`${a}px`:a||aS,"--width":`${cS}px`,"--gap":`${g}px`,...f},onBlur:J=>{A.current&&!J.currentTarget.contains(J.relatedTarget)&&(A.current=!1,k.current&&(k.current.focus({preventScroll:!0}),k.current=null))},onFocus:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||A.current||(A.current=!0,k.current=J.relatedTarget)},onMouseEnter:()=>_(!0),onMouseMove:()=>_(!0),onMouseLeave:()=>{D||_(!1)},onPointerDown:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||V(!0)},onPointerUp:()=>V(!1)},N.filter(J=>!J.position&&U===0||J.position===z).map((J,$)=>{var G,ae;return L.createElement(hS,{key:J.id,icons:p,index:$,toast:J,defaultRichColors:u,duration:(G=b==null?void 0:b.duration)!=null?G:m,className:b==null?void 0:b.className,descriptionClassName:b==null?void 0:b.descriptionClassName,invert:t,visibleToasts:d,closeButton:(ae=b==null?void 0:b.closeButton)!=null?ae:s,interacting:D,position:z,style:b==null?void 0:b.style,unstyled:b==null?void 0:b.unstyled,classNames:b==null?void 0:b.classNames,cancelButtonStyle:b==null?void 0:b.cancelButtonStyle,actionButtonStyle:b==null?void 0:b.actionButtonStyle,removeToast:B,toasts:N.filter(q=>q.position==J.position),heights:C.filter(q=>q.position==J.position),setHeights:P,expandByDefault:o,gap:g,loadingIcon:w,expanded:R,pauseWhenPageIsHidden:y,cn:S})}))})):null};const gS=({...e})=>{const{theme:t="system"}=Wb();return l.jsx(mS,{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})};var vS=wh.useId||(()=>{}),yS=0;function Sd(e){const[t,n]=v.useState(vS());return Xe(()=>{n(r=>r??String(yS++))},[e]),t?`radix-${t}`:""}const xS=["top","right","bottom","left"],er=Math.min,vt=Math.max,xa=Math.round,Ci=Math.floor,tr=e=>({x:e,y:e}),wS={left:"right",right:"left",bottom:"top",top:"bottom"},bS={start:"end",end:"start"};function nu(e,t,n){return vt(e,er(t,n))}function Sn(e,t){return typeof e=="function"?e(t):e}function Nn(e){return e.split("-")[0]}function Mo(e){return e.split("-")[1]}function Nd(e){return e==="x"?"y":"x"}function jd(e){return e==="y"?"height":"width"}function nr(e){return["top","bottom"].includes(Nn(e))?"y":"x"}function Ed(e){return Nd(nr(e))}function SS(e,t,n){n===void 0&&(n=!1);const r=Mo(e),o=Ed(e),s=jd(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=wa(i)),[i,wa(i)]}function NS(e){const t=wa(e);return[ru(e),t,ru(t)]}function ru(e){return e.replace(/start|end/g,t=>bS[t])}function jS(e,t,n){const r=["left","right"],o=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?s:i;default:return[]}}function ES(e,t,n,r){const o=Mo(e);let s=jS(Nn(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(ru)))),s}function wa(e){return e.replace(/left|right|bottom|top/g,t=>wS[t])}function CS(e){return{top:0,right:0,bottom:0,left:0,...e}}function vv(e){return typeof e!="number"?CS(e):{top:e,right:e,bottom:e,left:e}}function ba(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 hp(e,t,n){let{reference:r,floating:o}=e;const s=nr(t),i=Ed(t),a=jd(i),c=Nn(t),u=s==="y",m=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let b;switch(c){case"top":b={x:m,y:r.y-o.height};break;case"bottom":b={x:m,y:r.y+r.height};break;case"right":b={x:r.x+r.width,y:f};break;case"left":b={x:r.x-o.width,y:f};break;default:b={x:r.x,y:r.y}}switch(Mo(t)){case"start":b[i]-=d*(n&&u?-1:1);break;case"end":b[i]+=d*(n&&u?-1:1);break}return b}const kS=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:m,y:f}=hp(u,r,c),d=r,b={},x=0;for(let g=0;g<a.length;g++){const{name:w,fn:p}=a[g],{x:h,y,data:S,reset:N}=await p({x:m,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:b,rects:u,platform:i,elements:{reference:e,floating:t}});m=h??m,f=y??f,b={...b,[w]:{...b[w],...S}},N&&x<=50&&(x++,typeof N=="object"&&(N.placement&&(d=N.placement),N.rects&&(u=N.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):N.rects),{x:m,y:f}=hp(u,d,c)),g=-1)}return{x:m,y:f,placement:d,strategy:o,middlewareData:b}};async function _s(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:f="floating",altBoundary:d=!1,padding:b=0}=Sn(t,e),x=vv(b),w=a[d?f==="floating"?"reference":"floating":f],p=ba(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:m,strategy:c})),h=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},N=ba(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:h,offsetParent:y,strategy:c}):h);return{top:(p.top-N.top+x.top)/S.y,bottom:(N.bottom-p.bottom+x.bottom)/S.y,left:(p.left-N.left+x.left)/S.x,right:(N.right-p.right+x.right)/S.x}}const TS=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:c}=t,{element:u,padding:m=0}=Sn(e,t)||{};if(u==null)return{};const f=vv(m),d={x:n,y:r},b=Ed(o),x=jd(b),g=await i.getDimensions(u),w=b==="y",p=w?"top":"left",h=w?"bottom":"right",y=w?"clientHeight":"clientWidth",S=s.reference[x]+s.reference[b]-d[b]-s.floating[x],N=d[b]-s.reference[b],E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let j=E?E[y]:0;(!j||!await(i.isElement==null?void 0:i.isElement(E)))&&(j=a.floating[y]||s.floating[x]);const C=S/2-N/2,P=j/2-g[x]/2-1,R=er(f[p],P),_=er(f[h],P),D=R,V=j-g[x]-_,I=j/2-g[x]/2+C,W=nu(D,I,V),F=!c.arrow&&Mo(o)!=null&&I!==W&&s.reference[x]/2-(I<D?R:_)-g[x]/2<0,K=F?I<D?I-D:I-V:0;return{[b]:d[b]+K,data:{[b]:W,centerOffset:I-W-K,...F&&{alignmentOffset:K}},reset:F}}}),PS=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:c,elements:u}=t,{mainAxis:m=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:g=!0,...w}=Sn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const p=Nn(o),h=nr(a),y=Nn(a)===a,S=await(c.isRTL==null?void 0:c.isRTL(u.floating)),N=d||(y||!g?[wa(a)]:NS(a)),E=x!=="none";!d&&E&&N.push(...ES(a,g,x,S));const j=[a,...N],C=await _s(t,w),P=[];let R=((r=s.flip)==null?void 0:r.overflows)||[];if(m&&P.push(C[p]),f){const I=SS(o,i,S);P.push(C[I[0]],C[I[1]])}if(R=[...R,{placement:o,overflows:P}],!P.every(I=>I<=0)){var _,D;const I=(((_=s.flip)==null?void 0:_.index)||0)+1,W=j[I];if(W)return{data:{index:I,overflows:R},reset:{placement:W}};let F=(D=R.filter(K=>K.overflows[0]<=0).sort((K,k)=>K.overflows[1]-k.overflows[1])[0])==null?void 0:D.placement;if(!F)switch(b){case"bestFit":{var V;const K=(V=R.filter(k=>{if(E){const A=nr(k.placement);return A===h||A==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(A=>A>0).reduce((A,B)=>A+B,0)]).sort((k,A)=>k[1]-A[1])[0])==null?void 0:V[0];K&&(F=K);break}case"initialPlacement":F=a;break}if(o!==F)return{reset:{placement:F}}}return{}}}};function mp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function gp(e){return xS.some(t=>e[t]>=0)}const RS=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Sn(e,t);switch(r){case"referenceHidden":{const s=await _s(t,{...o,elementContext:"reference"}),i=mp(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:gp(i)}}}case"escaped":{const s=await _s(t,{...o,altBoundary:!0}),i=mp(s,n.floating);return{data:{escapedOffsets:i,escaped:gp(i)}}}default:return{}}}}};async function AS(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Nn(n),a=Mo(n),c=nr(n)==="y",u=["left","top"].includes(i)?-1:1,m=s&&c?-1:1,f=Sn(t,e);let{mainAxis:d,crossAxis:b,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof x=="number"&&(b=a==="end"?x*-1:x),c?{x:b*m,y:d*u}:{x:d*u,y:b*m}}const MS=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,c=await AS(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:i}}}}},IS=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:w=>{let{x:p,y:h}=w;return{x:p,y:h}}},...c}=Sn(e,t),u={x:n,y:r},m=await _s(t,c),f=nr(Nn(o)),d=Nd(f);let b=u[d],x=u[f];if(s){const w=d==="y"?"top":"left",p=d==="y"?"bottom":"right",h=b+m[w],y=b-m[p];b=nu(h,b,y)}if(i){const w=f==="y"?"top":"left",p=f==="y"?"bottom":"right",h=x+m[w],y=x-m[p];x=nu(h,x,y)}const g=a.fn({...t,[d]:b,[f]:x});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[d]:s,[f]:i}}}}}},OS=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:c=!0,crossAxis:u=!0}=Sn(e,t),m={x:n,y:r},f=nr(o),d=Nd(f);let b=m[d],x=m[f];const g=Sn(a,t),w=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const y=d==="y"?"height":"width",S=s.reference[d]-s.floating[y]+w.mainAxis,N=s.reference[d]+s.reference[y]-w.mainAxis;b<S?b=S:b>N&&(b=N)}if(u){var p,h;const y=d==="y"?"width":"height",S=["top","left"].includes(Nn(o)),N=s.reference[f]-s.floating[y]+(S&&((p=i.offset)==null?void 0:p[f])||0)+(S?0:w.crossAxis),E=s.reference[f]+s.reference[y]+(S?0:((h=i.offset)==null?void 0:h[f])||0)-(S?w.crossAxis:0);x<N?x=N:x>E&&(x=E)}return{[d]:b,[f]:x}}}},_S=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:c=()=>{},...u}=Sn(e,t),m=await _s(t,u),f=Nn(o),d=Mo(o),b=nr(o)==="y",{width:x,height:g}=s.floating;let w,p;f==="top"||f==="bottom"?(w=f,p=d===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(p=f,w=d==="end"?"top":"bottom");const h=g-m.top-m.bottom,y=x-m.left-m.right,S=er(g-m[w],h),N=er(x-m[p],y),E=!t.middlewareData.shift;let j=S,C=N;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(C=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(j=h),E&&!d){const R=vt(m.left,0),_=vt(m.right,0),D=vt(m.top,0),V=vt(m.bottom,0);b?C=x-2*(R!==0||_!==0?R+_:vt(m.left,m.right)):j=g-2*(D!==0||V!==0?D+V:vt(m.top,m.bottom))}await c({...t,availableWidth:C,availableHeight:j});const P=await i.getDimensions(a.floating);return x!==P.width||g!==P.height?{reset:{rects:!0}}:{}}}};function Ya(){return typeof window<"u"}function Io(e){return yv(e)?(e.nodeName||"").toLowerCase():"#document"}function wt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ln(e){var t;return(t=(yv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function yv(e){return Ya()?e instanceof Node||e instanceof wt(e).Node:!1}function Kt(e){return Ya()?e instanceof Element||e instanceof wt(e).Element:!1}function an(e){return Ya()?e instanceof HTMLElement||e instanceof wt(e).HTMLElement:!1}function vp(e){return!Ya()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof wt(e).ShadowRoot}function Zs(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Qt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function LS(e){return["table","td","th"].includes(Io(e))}function qa(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Cd(e){const t=kd(),n=Kt(e)?Qt(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 DS(e){let t=rr(e);for(;an(t)&&!Co(t);){if(Cd(t))return t;if(qa(t))return null;t=rr(t)}return null}function kd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Co(e){return["html","body","#document"].includes(Io(e))}function Qt(e){return wt(e).getComputedStyle(e)}function Xa(e){return Kt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function rr(e){if(Io(e)==="html")return e;const t=e.assignedSlot||e.parentNode||vp(e)&&e.host||ln(e);return vp(t)?t.host:t}function xv(e){const t=rr(e);return Co(t)?e.ownerDocument?e.ownerDocument.body:e.body:an(t)&&Zs(t)?t:xv(t)}function Ls(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=xv(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=wt(o);if(s){const a=ou(i);return t.concat(i,i.visualViewport||[],Zs(o)?o:[],a&&n?Ls(a):[])}return t.concat(o,Ls(o,[],n))}function ou(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function wv(e){const t=Qt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=an(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=xa(n)!==s||xa(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function Td(e){return Kt(e)?e:e.contextElement}function io(e){const t=Td(e);if(!an(t))return tr(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=wv(t);let i=(s?xa(n.width):n.width)/r,a=(s?xa(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const zS=tr(0);function bv(e){const t=wt(e);return!kd()||!t.visualViewport?zS:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function FS(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==wt(e)?!1:t}function kr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Td(e);let i=tr(1);t&&(r?Kt(r)&&(i=io(r)):i=io(e));const a=FS(s,n,r)?bv(s):tr(0);let c=(o.left+a.x)/i.x,u=(o.top+a.y)/i.y,m=o.width/i.x,f=o.height/i.y;if(s){const d=wt(s),b=r&&Kt(r)?wt(r):r;let x=d,g=ou(x);for(;g&&r&&b!==x;){const w=io(g),p=g.getBoundingClientRect(),h=Qt(g),y=p.left+(g.clientLeft+parseFloat(h.paddingLeft))*w.x,S=p.top+(g.clientTop+parseFloat(h.paddingTop))*w.y;c*=w.x,u*=w.y,m*=w.x,f*=w.y,c+=y,u+=S,x=wt(g),g=ou(x)}}return ba({width:m,height:f,x:c,y:u})}function BS(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=ln(r),a=t?qa(t.floating):!1;if(r===i||a&&s)return n;let c={scrollLeft:0,scrollTop:0},u=tr(1);const m=tr(0),f=an(r);if((f||!f&&!s)&&((Io(r)!=="body"||Zs(i))&&(c=Xa(r)),an(r))){const d=kr(r);u=io(r),m.x=d.x+r.clientLeft,m.y=d.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+m.x,y:n.y*u.y-c.scrollTop*u.y+m.y}}function $S(e){return Array.from(e.getClientRects())}function su(e,t){const n=Xa(e).scrollLeft;return t?t.left+n:kr(ln(e)).left+n}function HS(e){const t=ln(e),n=Xa(e),r=e.ownerDocument.body,o=vt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=vt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+su(e);const a=-n.scrollTop;return Qt(r).direction==="rtl"&&(i+=vt(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}function US(e,t){const n=wt(e),r=ln(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,c=0;if(o){s=o.width,i=o.height;const u=kd();(!u||u&&t==="fixed")&&(a=o.offsetLeft,c=o.offsetTop)}return{width:s,height:i,x:a,y:c}}function VS(e,t){const n=kr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=an(e)?io(e):tr(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,c=o*s.x,u=r*s.y;return{width:i,height:a,x:c,y:u}}function yp(e,t,n){let r;if(t==="viewport")r=US(e,n);else if(t==="document")r=HS(ln(e));else if(Kt(t))r=VS(t,n);else{const o=bv(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return ba(r)}function Sv(e,t){const n=rr(e);return n===t||!Kt(n)||Co(n)?!1:Qt(n).position==="fixed"||Sv(n,t)}function WS(e,t){const n=t.get(e);if(n)return n;let r=Ls(e,[],!1).filter(a=>Kt(a)&&Io(a)!=="body"),o=null;const s=Qt(e).position==="fixed";let i=s?rr(e):e;for(;Kt(i)&&!Co(i);){const a=Qt(i),c=Cd(i);!c&&a.position==="fixed"&&(o=null),(s?!c&&!o:!c&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Zs(i)&&!c&&Sv(e,i))?r=r.filter(m=>m!==i):o=a,i=rr(i)}return t.set(e,r),r}function KS(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?qa(t)?[]:WS(t,this._c):[].concat(n),r],a=i[0],c=i.reduce((u,m)=>{const f=yp(t,m,o);return u.top=vt(f.top,u.top),u.right=er(f.right,u.right),u.bottom=er(f.bottom,u.bottom),u.left=vt(f.left,u.left),u},yp(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function QS(e){const{width:t,height:n}=wv(e);return{width:t,height:n}}function GS(e,t,n){const r=an(t),o=ln(t),s=n==="fixed",i=kr(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const c=tr(0);if(r||!r&&!s)if((Io(t)!=="body"||Zs(o))&&(a=Xa(t)),r){const b=kr(t,!0,s,t);c.x=b.x+t.clientLeft,c.y=b.y+t.clientTop}else o&&(c.x=su(o));let u=0,m=0;if(o&&!r&&!s){const b=o.getBoundingClientRect();m=b.top+a.scrollTop,u=b.left+a.scrollLeft-su(o,b)}const f=i.left+a.scrollLeft-c.x-u,d=i.top+a.scrollTop-c.y-m;return{x:f,y:d,width:i.width,height:i.height}}function Ul(e){return Qt(e).position==="static"}function xp(e,t){if(!an(e)||Qt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ln(e)===n&&(n=n.ownerDocument.body),n}function Nv(e,t){const n=wt(e);if(qa(e))return n;if(!an(e)){let o=rr(e);for(;o&&!Co(o);){if(Kt(o)&&!Ul(o))return o;o=rr(o)}return n}let r=xp(e,t);for(;r&&LS(r)&&Ul(r);)r=xp(r,t);return r&&Co(r)&&Ul(r)&&!Cd(r)?n:r||DS(e)||n}const YS=async function(e){const t=this.getOffsetParent||Nv,n=this.getDimensions,r=await n(e.floating);return{reference:GS(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function qS(e){return Qt(e).direction==="rtl"}const XS={convertOffsetParentRelativeRectToViewportRelativeRect:BS,getDocumentElement:ln,getClippingRect:KS,getOffsetParent:Nv,getElementRects:YS,getClientRects:$S,getDimensions:QS,getScale:io,isElement:Kt,isRTL:qS};function ZS(e,t){let n=null,r;const o=ln(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),s();const{left:u,top:m,width:f,height:d}=e.getBoundingClientRect();if(a||t(),!f||!d)return;const b=Ci(m),x=Ci(o.clientWidth-(u+f)),g=Ci(o.clientHeight-(m+d)),w=Ci(u),h={rootMargin:-b+"px "+-x+"px "+-g+"px "+-w+"px",threshold:vt(0,er(1,c))||1};let y=!0;function S(N){const E=N[0].intersectionRatio;if(E!==c){if(!y)return i();E?i(!1,E):r=setTimeout(()=>{i(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(S,{...h,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,h)}n.observe(e)}return i(!0),s}function JS(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Td(e),m=o||s?[...u?Ls(u):[],...Ls(t)]:[];m.forEach(p=>{o&&p.addEventListener("scroll",n,{passive:!0}),s&&p.addEventListener("resize",n)});const f=u&&a?ZS(u,n):null;let d=-1,b=null;i&&(b=new ResizeObserver(p=>{let[h]=p;h&&h.target===u&&b&&(b.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var y;(y=b)==null||y.observe(t)})),n()}),u&&!c&&b.observe(u),b.observe(t));let x,g=c?kr(e):null;c&&w();function w(){const p=kr(e);g&&(p.x!==g.x||p.y!==g.y||p.width!==g.width||p.height!==g.height)&&n(),g=p,x=requestAnimationFrame(w)}return n(),()=>{var p;m.forEach(h=>{o&&h.removeEventListener("scroll",n),s&&h.removeEventListener("resize",n)}),f==null||f(),(p=b)==null||p.disconnect(),b=null,c&&cancelAnimationFrame(x)}}const e2=MS,t2=IS,n2=PS,r2=_S,o2=RS,wp=TS,s2=OS,i2=(e,t,n)=>{const r=new Map,o={platform:XS,...n},s={...o.platform,_c:r};return kS(e,t,{...o,platform:s})};var Ki=typeof document<"u"?v.useLayoutEffect:v.useEffect;function Sa(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(!Sa(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 s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!Sa(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function jv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function bp(e,t){const n=jv(e);return Math.round(t*n)/n}function Vl(e){const t=v.useRef(e);return Ki(()=>{t.current=e}),t}function a2(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:c,open:u}=e,[m,f]=v.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,b]=v.useState(r);Sa(d,r)||b(r);const[x,g]=v.useState(null),[w,p]=v.useState(null),h=v.useCallback(k=>{k!==E.current&&(E.current=k,g(k))},[]),y=v.useCallback(k=>{k!==j.current&&(j.current=k,p(k))},[]),S=s||x,N=i||w,E=v.useRef(null),j=v.useRef(null),C=v.useRef(m),P=c!=null,R=Vl(c),_=Vl(o),D=Vl(u),V=v.useCallback(()=>{if(!E.current||!j.current)return;const k={placement:t,strategy:n,middleware:d};_.current&&(k.platform=_.current),i2(E.current,j.current,k).then(A=>{const B={...A,isPositioned:D.current!==!1};I.current&&!Sa(C.current,B)&&(C.current=B,Mr.flushSync(()=>{f(B)}))})},[d,t,n,_,D]);Ki(()=>{u===!1&&C.current.isPositioned&&(C.current.isPositioned=!1,f(k=>({...k,isPositioned:!1})))},[u]);const I=v.useRef(!1);Ki(()=>(I.current=!0,()=>{I.current=!1}),[]),Ki(()=>{if(S&&(E.current=S),N&&(j.current=N),S&&N){if(R.current)return R.current(S,N,V);V()}},[S,N,V,R,P]);const W=v.useMemo(()=>({reference:E,floating:j,setReference:h,setFloating:y}),[h,y]),F=v.useMemo(()=>({reference:S,floating:N}),[S,N]),K=v.useMemo(()=>{const k={position:n,left:0,top:0};if(!F.floating)return k;const A=bp(F.floating,m.x),B=bp(F.floating,m.y);return a?{...k,transform:"translate("+A+"px, "+B+"px)",...jv(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:A,top:B}},[n,a,F.floating,m.x,m.y]);return v.useMemo(()=>({...m,update:V,refs:W,elements:F,floatingStyles:K}),[m,V,W,F,K])}const l2=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?wp({element:r.current,padding:o}).fn(n):{}:r?wp({element:r,padding:o}).fn(n):{}}}},c2=(e,t)=>({...e2(e),options:[e,t]}),u2=(e,t)=>({...t2(e),options:[e,t]}),d2=(e,t)=>({...s2(e),options:[e,t]}),f2=(e,t)=>({...n2(e),options:[e,t]}),p2=(e,t)=>({...r2(e),options:[e,t]}),h2=(e,t)=>({...o2(e),options:[e,t]}),m2=(e,t)=>({...l2(e),options:[e,t]});var g2="Arrow",Ev=v.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return l.jsx(he.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ev.displayName=g2;var v2=Ev;function y2(e,t=[]){let n=[];function r(s,i){const a=v.createContext(i),c=n.length;n=[...n,i];function u(f){const{scope:d,children:b,...x}=f,g=(d==null?void 0:d[e][c])||a,w=v.useMemo(()=>x,Object.values(x));return l.jsx(g.Provider,{value:w,children:b})}function m(f,d){const b=(d==null?void 0:d[e][c])||a,x=v.useContext(b);if(x)return x;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return u.displayName=s+"Provider",[u,m]}const o=()=>{const s=n.map(i=>v.createContext(i));return function(a){const c=(a==null?void 0:a[e])||s;return v.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return o.scopeName=e,[r,x2(o,...t)]}function x2(...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(s){const i=r.reduce((a,{useScope:c,scopeName:u})=>{const f=c(s)[`__scope${u}`];return{...a,...f}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function w2(e){const[t,n]=v.useState(void 0);return Xe(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const c=s.borderBoxSize,u=Array.isArray(c)?c[0]:c;i=u.inlineSize,a=u.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Pd="Popper",[Cv,Za]=y2(Pd),[b2,kv]=Cv(Pd),Tv=e=>{const{__scopePopper:t,children:n}=e,[r,o]=v.useState(null);return l.jsx(b2,{scope:t,anchor:r,onAnchorChange:o,children:n})};Tv.displayName=Pd;var Pv="PopperAnchor",Rv=v.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=kv(Pv,n),i=v.useRef(null),a=Ie(t,i);return v.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:l.jsx(he.div,{...o,ref:a})});Rv.displayName=Pv;var Rd="PopperContent",[S2,N2]=Cv(Rd),Av=v.forwardRef((e,t)=>{var $,G,ae,q,Q,O;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:m=0,sticky:f="partial",hideWhenDetached:d=!1,updatePositionStrategy:b="optimized",onPlaced:x,...g}=e,w=kv(Rd,n),[p,h]=v.useState(null),y=Ie(t,Z=>h(Z)),[S,N]=v.useState(null),E=w2(S),j=(E==null?void 0:E.width)??0,C=(E==null?void 0:E.height)??0,P=r+(s!=="center"?"-"+s:""),R=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},_=Array.isArray(u)?u:[u],D=_.length>0,V={padding:R,boundary:_.filter(E2),altBoundary:D},{refs:I,floatingStyles:W,placement:F,isPositioned:K,middlewareData:k}=a2({strategy:"fixed",placement:P,whileElementsMounted:(...Z)=>JS(...Z,{animationFrame:b==="always"}),elements:{reference:w.anchor},middleware:[c2({mainAxis:o+C,alignmentAxis:i}),c&&u2({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?d2():void 0,...V}),c&&f2({...V}),p2({...V,apply:({elements:Z,rects:se,availableWidth:Ne,availableHeight:Ee})=>{const{width:$e,height:Et}=se.reference,ge=Z.floating.style;ge.setProperty("--radix-popper-available-width",`${Ne}px`),ge.setProperty("--radix-popper-available-height",`${Ee}px`),ge.setProperty("--radix-popper-anchor-width",`${$e}px`),ge.setProperty("--radix-popper-anchor-height",`${Et}px`)}}),S&&m2({element:S,padding:a}),C2({arrowWidth:j,arrowHeight:C}),d&&h2({strategy:"referenceHidden",...V})]}),[A,B]=Ov(F),z=St(x);Xe(()=>{K&&(z==null||z())},[K,z]);const U=($=k.arrow)==null?void 0:$.x,Y=(G=k.arrow)==null?void 0:G.y,te=((ae=k.arrow)==null?void 0:ae.centerOffset)!==0,[Se,J]=v.useState();return Xe(()=>{p&&J(window.getComputedStyle(p).zIndex)},[p]),l.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:K?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Se,"--radix-popper-transform-origin":[(q=k.transformOrigin)==null?void 0:q.x,(Q=k.transformOrigin)==null?void 0:Q.y].join(" "),...((O=k.hide)==null?void 0:O.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(S2,{scope:n,placedSide:A,onArrowChange:N,arrowX:U,arrowY:Y,shouldHideArrow:te,children:l.jsx(he.div,{"data-side":A,"data-align":B,...g,ref:y,style:{...g.style,animation:K?void 0:"none"}})})})});Av.displayName=Rd;var Mv="PopperArrow",j2={top:"bottom",right:"left",bottom:"top",left:"right"},Iv=v.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=N2(Mv,r),i=j2[s.placedSide];return l.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:l.jsx(v2,{...o,ref:n,style:{...o.style,display:"block"}})})});Iv.displayName=Mv;function E2(e){return e!==null}var C2=e=>({name:"transformOrigin",options:e,fn(t){var w,p,h;const{placement:n,rects:r,middlewareData:o}=t,i=((w=o.arrow)==null?void 0:w.centerOffset)!==0,a=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[u,m]=Ov(n),f={start:"0%",center:"50%",end:"100%"}[m],d=(((p=o.arrow)==null?void 0:p.x)??0)+a/2,b=(((h=o.arrow)==null?void 0:h.y)??0)+c/2;let x="",g="";return u==="bottom"?(x=i?f:`${d}px`,g=`${-c}px`):u==="top"?(x=i?f:`${d}px`,g=`${r.floating.height+c}px`):u==="right"?(x=`${-c}px`,g=i?f:`${b}px`):u==="left"&&(x=`${r.floating.width+c}px`,g=i?f:`${b}px`),{data:{x,y:g}}}});function Ov(e){const[t,n="center"]=e.split("-");return[t,n]}var k2=Tv,_v=Rv,Lv=Av,Dv=Iv,[Ja,YC]=pd("Tooltip",[Za]),Ad=Za(),zv="TooltipProvider",T2=700,Sp="tooltip.open",[P2,Fv]=Ja(zv),Bv=e=>{const{__scopeTooltip:t,delayDuration:n=T2,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,[i,a]=v.useState(!0),c=v.useRef(!1),u=v.useRef(0);return v.useEffect(()=>{const m=u.current;return()=>window.clearTimeout(m)},[]),l.jsx(P2,{scope:t,isOpenDelayed:i,delayDuration:n,onOpen:v.useCallback(()=>{window.clearTimeout(u.current),a(!1)},[]),onClose:v.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>a(!0),r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:v.useCallback(m=>{c.current=m},[]),disableHoverableContent:o,children:s})};Bv.displayName=zv;var $v="Tooltip",[qC,el]=Ja($v),iu="TooltipTrigger",R2=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=el(iu,n),s=Fv(iu,n),i=Ad(n),a=v.useRef(null),c=Ie(t,a,o.onTriggerChange),u=v.useRef(!1),m=v.useRef(!1),f=v.useCallback(()=>u.current=!1,[]);return v.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),l.jsx(_v,{asChild:!0,...i,children:l.jsx(he.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:c,onPointerMove:oe(e.onPointerMove,d=>{d.pointerType!=="touch"&&!m.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),m.current=!0)}),onPointerLeave:oe(e.onPointerLeave,()=>{o.onTriggerLeave(),m.current=!1}),onPointerDown:oe(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:oe(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:oe(e.onBlur,o.onClose),onClick:oe(e.onClick,o.onClose)})})});R2.displayName=iu;var A2="TooltipPortal",[XC,M2]=Ja(A2,{forceMount:void 0}),ko="TooltipContent",Hv=v.forwardRef((e,t)=>{const n=M2(ko,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,i=el(ko,e.__scopeTooltip);return l.jsx(md,{present:r||i.open,children:i.disableHoverableContent?l.jsx(Uv,{side:o,...s,ref:t}):l.jsx(I2,{side:o,...s,ref:t})})}),I2=v.forwardRef((e,t)=>{const n=el(ko,e.__scopeTooltip),r=Fv(ko,e.__scopeTooltip),o=v.useRef(null),s=Ie(t,o),[i,a]=v.useState(null),{trigger:c,onClose:u}=n,m=o.current,{onPointerInTransitChange:f}=r,d=v.useCallback(()=>{a(null),f(!1)},[f]),b=v.useCallback((x,g)=>{const w=x.currentTarget,p={x:x.clientX,y:x.clientY},h=D2(p,w.getBoundingClientRect()),y=z2(p,h),S=F2(g.getBoundingClientRect()),N=$2([...y,...S]);a(N),f(!0)},[f]);return v.useEffect(()=>()=>d(),[d]),v.useEffect(()=>{if(c&&m){const x=w=>b(w,m),g=w=>b(w,c);return c.addEventListener("pointerleave",x),m.addEventListener("pointerleave",g),()=>{c.removeEventListener("pointerleave",x),m.removeEventListener("pointerleave",g)}}},[c,m,b,d]),v.useEffect(()=>{if(i){const x=g=>{const w=g.target,p={x:g.clientX,y:g.clientY},h=(c==null?void 0:c.contains(w))||(m==null?void 0:m.contains(w)),y=!B2(p,i);h?d():y&&(d(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[c,m,i,u,d]),l.jsx(Uv,{...e,ref:s})}),[O2,_2]=Ja($v,{isInside:!1}),Uv=v.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,c=el(ko,n),u=Ad(n),{onClose:m}=c;return v.useEffect(()=>(document.addEventListener(Sp,m),()=>document.removeEventListener(Sp,m)),[m]),v.useEffect(()=>{if(c.trigger){const f=d=>{const b=d.target;b!=null&&b.contains(c.trigger)&&m()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,m]),l.jsx(Ka,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:m,children:l.jsxs(Lv,{"data-state":c.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[l.jsx(Cg,{children:r}),l.jsx(O2,{scope:n,isInside:!0,children:l.jsx(S1,{id:c.contentId,role:"tooltip",children:o||r})})]})})});Hv.displayName=ko;var Vv="TooltipArrow",L2=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Ad(n);return _2(Vv,n).isInside?null:l.jsx(Dv,{...o,...r,ref:t})});L2.displayName=Vv;function D2(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function z2(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 F2(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 B2(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const a=t[s].x,c=t[s].y,u=t[i].x,m=t[i].y;c>r!=m>r&&n<(u-a)*(r-c)/(m-c)+a&&(o=!o)}return o}function $2(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),H2(t)}function H2(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 s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.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 s=n[n.length-1],i=n[n.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.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 U2=Bv,Wv=Hv;const V2=U2,W2=v.forwardRef(({className:e,sideOffset:t=4,...n},r)=>l.jsx(Wv,{ref:r,sideOffset:t,className:de("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}));W2.displayName=Wv.displayName;var tl=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(){}},nl=typeof window>"u"||"Deno"in globalThis;function zt(){}function K2(e,t){return typeof e=="function"?e(t):e}function Q2(e){return typeof e=="number"&&e>=0&&e!==1/0}function G2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Np(e,t){return typeof e=="function"?e(t):e}function Y2(e,t){return typeof e=="function"?e(t):e}function jp(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:a}=e;if(i){if(r){if(t.queryHash!==Md(i,t.options))return!1}else if(!zs(t.queryKey,i))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||s&&!s(t))}function Ep(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Ds(t.options.mutationKey)!==Ds(s))return!1}else if(!zs(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Md(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ds)(e)}function Ds(e){return JSON.stringify(e,(t,n)=>au(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function zs(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!zs(e[n],t[n])):!1}function Kv(e,t){if(e===t)return e;const n=Cp(e)&&Cp(t);if(n||au(e)&&au(t)){const r=n?e:Object.keys(e),o=r.length,s=n?t:Object.keys(t),i=s.length,a=n?[]:{};let c=0;for(let u=0;u<i;u++){const m=n?u:s[u];(!n&&r.includes(m)||n)&&e[m]===void 0&&t[m]===void 0?(a[m]=void 0,c++):(a[m]=Kv(e[m],t[m]),a[m]===e[m]&&e[m]!==void 0&&c++)}return o===i&&c===o?e:a}return t}function Cp(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function au(e){if(!kp(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!kp(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function kp(e){return Object.prototype.toString.call(e)==="[object Object]"}function q2(e){return new Promise(t=>{setTimeout(t,e)})}function X2(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Kv(e,t):t}function Z2(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function J2(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Id=Symbol();function Qv(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Id?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var gr,_n,lo,th,eN=(th=class extends tl{constructor(){super();ue(this,gr);ue(this,_n);ue(this,lo);ne(this,lo,t=>{if(!nl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){T(this,_n)||this.setEventListener(T(this,lo))}onUnsubscribe(){var t;this.hasListeners()||((t=T(this,_n))==null||t.call(this),ne(this,_n,void 0))}setEventListener(t){var n;ne(this,lo,t),(n=T(this,_n))==null||n.call(this),ne(this,_n,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){T(this,gr)!==t&&(ne(this,gr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof T(this,gr)=="boolean"?T(this,gr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},gr=new WeakMap,_n=new WeakMap,lo=new WeakMap,th),Gv=new eN,co,Ln,uo,nh,tN=(nh=class extends tl{constructor(){super();ue(this,co,!0);ue(this,Ln);ue(this,uo);ne(this,uo,t=>{if(!nl&&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(){T(this,Ln)||this.setEventListener(T(this,uo))}onUnsubscribe(){var t;this.hasListeners()||((t=T(this,Ln))==null||t.call(this),ne(this,Ln,void 0))}setEventListener(t){var n;ne(this,uo,t),(n=T(this,Ln))==null||n.call(this),ne(this,Ln,t(this.setOnline.bind(this)))}setOnline(t){T(this,co)!==t&&(ne(this,co,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return T(this,co)}},co=new WeakMap,Ln=new WeakMap,uo=new WeakMap,nh),Na=new tN;function nN(){let e,t;const n=new Promise((o,s)=>{e=o,t=s});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 rN(e){return Math.min(1e3*2**e,3e4)}function Yv(e){return(e??"online")==="online"?Na.isOnline():!0}var qv=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Wl(e){return e instanceof qv}function Xv(e){let t=!1,n=0,r=!1,o;const s=nN(),i=g=>{var w;r||(d(new qv(g)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},c=()=>{t=!1},u=()=>Gv.isFocused()&&(e.networkMode==="always"||Na.isOnline())&&e.canRun(),m=()=>Yv(e.networkMode)&&e.canRun(),f=g=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,g),o==null||o(),s.resolve(g))},d=g=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,g),o==null||o(),s.reject(g))},b=()=>new Promise(g=>{var w;o=p=>{(r||u())&&g(p)},(w=e.onPause)==null||w.call(e)}).then(()=>{var g;o=void 0,r||(g=e.onContinue)==null||g.call(e)}),x=()=>{if(r)return;let g;const w=n===0?e.initialPromise:void 0;try{g=w??e.fn()}catch(p){g=Promise.reject(p)}Promise.resolve(g).then(f).catch(p=>{var E;if(r)return;const h=e.retry??(nl?0:3),y=e.retryDelay??rN,S=typeof y=="function"?y(n,p):y,N=h===!0||typeof h=="number"&&n<h||typeof h=="function"&&h(n,p);if(t||!N){d(p);return}n++,(E=e.onFail)==null||E.call(e,n,p),q2(S).then(()=>u()?void 0:b()).then(()=>{t?d(p):x()})})};return{promise:s,cancel:i,continue:()=>(o==null||o(),s),cancelRetry:a,continueRetry:c,canStart:m,start:()=>(m()?x():b().then(x),s)}}function oN(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=a=>setTimeout(a,0);const s=a=>{t?e.push(a):o(()=>{n(a)})},i=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(c=>{n(c)})})})};return{batch:a=>{let c;t++;try{c=a()}finally{t--,t||i()}return c},batchCalls:a=>(...c)=>{s(()=>{a(...c)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var et=oN(),vr,rh,Zv=(rh=class{constructor(){ue(this,vr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Q2(this.gcTime)&&ne(this,vr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(nl?1/0:5*60*1e3))}clearGcTimeout(){T(this,vr)&&(clearTimeout(T(this,vr)),ne(this,vr,void 0))}},vr=new WeakMap,rh),fo,po,Ct,Ge,Vs,yr,Ft,dn,oh,sN=(oh=class extends Zv{constructor(t){super();ue(this,Ft);ue(this,fo);ue(this,po);ue(this,Ct);ue(this,Ge);ue(this,Vs);ue(this,yr);ne(this,yr,!1),ne(this,Vs,t.defaultOptions),this.setOptions(t.options),this.observers=[],ne(this,Ct,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ne(this,fo,aN(this.options)),this.state=t.state??T(this,fo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=T(this,Ge))==null?void 0:t.promise}setOptions(t){this.options={...T(this,Vs),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&T(this,Ct).remove(this)}setData(t,n){const r=X2(this.state.data,t,this.options);return We(this,Ft,dn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){We(this,Ft,dn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=T(this,Ge))==null?void 0:r.promise;return(o=T(this,Ge))==null||o.cancel(t),n?n.then(zt).catch(zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(T(this,fo))}isActive(){return this.observers.some(t=>Y2(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Id||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||!G2(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=T(this,Ge))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=T(this,Ge))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),T(this,Ct).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(T(this,Ge)&&(T(this,yr)?T(this,Ge).cancel({revert:!0}):T(this,Ge).cancelRetry()),this.scheduleGc()),T(this,Ct).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||We(this,Ft,dn).call(this,{type:"invalidate"})}fetch(t,n){var c,u,m;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(T(this,Ge))return T(this,Ge).continueRetry(),T(this,Ge).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(d=>d.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(ne(this,yr,!0),r.signal)})},s=()=>{const f=Qv(this.options,n),d={queryKey:this.queryKey,meta:this.meta};return o(d),ne(this,yr,!1),this.options.persister?this.options.persister(f,d,this):f(d)},i={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:s};o(i),(c=this.options.behavior)==null||c.onFetch(i,this),ne(this,po,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=i.fetchOptions)==null?void 0:u.meta))&&We(this,Ft,dn).call(this,{type:"fetch",meta:(m=i.fetchOptions)==null?void 0:m.meta});const a=f=>{var d,b,x,g;Wl(f)&&f.silent||We(this,Ft,dn).call(this,{type:"error",error:f}),Wl(f)||((b=(d=T(this,Ct).config).onError)==null||b.call(d,f,this),(g=(x=T(this,Ct).config).onSettled)==null||g.call(x,this.state.data,f,this)),this.scheduleGc()};return ne(this,Ge,Xv({initialPromise:n==null?void 0:n.initialPromise,fn:i.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var d,b,x,g;if(f===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(w){a(w);return}(b=(d=T(this,Ct).config).onSuccess)==null||b.call(d,f,this),(g=(x=T(this,Ct).config).onSettled)==null||g.call(x,f,this.state.error,this),this.scheduleGc()},onError:a,onFail:(f,d)=>{We(this,Ft,dn).call(this,{type:"failed",failureCount:f,error:d})},onPause:()=>{We(this,Ft,dn).call(this,{type:"pause"})},onContinue:()=>{We(this,Ft,dn).call(this,{type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0})),T(this,Ge).start()}},fo=new WeakMap,po=new WeakMap,Ct=new WeakMap,Ge=new WeakMap,Vs=new WeakMap,yr=new WeakMap,Ft=new WeakSet,dn=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,...iN(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 Wl(o)&&o.revert&&T(this,po)?{...T(this,po),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),et.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),T(this,Ct).notify({query:this,type:"updated",action:t})})},oh);function iN(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Yv(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function aN(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 Zt,sh,lN=(sh=class extends tl{constructor(t={}){super();ue(this,Zt);this.config=t,ne(this,Zt,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??Md(o,n);let i=this.get(s);return i||(i=new sN({cache:this,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(i)),i}add(t){T(this,Zt).has(t.queryHash)||(T(this,Zt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=T(this,Zt).get(t.queryHash);n&&(t.destroy(),n===t&&T(this,Zt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){et.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return T(this,Zt).get(t)}getAll(){return[...T(this,Zt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>jp(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>jp(t,r)):n}notify(t){et.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){et.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){et.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Zt=new WeakMap,sh),Jt,Ze,xr,en,Pn,ih,cN=(ih=class extends Zv{constructor(t){super();ue(this,en);ue(this,Jt);ue(this,Ze);ue(this,xr);this.mutationId=t.mutationId,ne(this,Ze,t.mutationCache),ne(this,Jt,[]),this.state=t.state||uN(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){T(this,Jt).includes(t)||(T(this,Jt).push(t),this.clearGcTimeout(),T(this,Ze).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ne(this,Jt,T(this,Jt).filter(n=>n!==t)),this.scheduleGc(),T(this,Ze).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){T(this,Jt).length||(this.state.status==="pending"?this.scheduleGc():T(this,Ze).remove(this))}continue(){var t;return((t=T(this,xr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,s,i,a,c,u,m,f,d,b,x,g,w,p,h,y,S,N,E,j;ne(this,xr,Xv({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(C,P)=>{We(this,en,Pn).call(this,{type:"failed",failureCount:C,error:P})},onPause:()=>{We(this,en,Pn).call(this,{type:"pause"})},onContinue:()=>{We(this,en,Pn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>T(this,Ze).canRun(this)}));const n=this.state.status==="pending",r=!T(this,xr).canStart();try{if(!n){We(this,en,Pn).call(this,{type:"pending",variables:t,isPaused:r}),await((s=(o=T(this,Ze).config).onMutate)==null?void 0:s.call(o,t,this));const P=await((a=(i=this.options).onMutate)==null?void 0:a.call(i,t));P!==this.state.context&&We(this,en,Pn).call(this,{type:"pending",context:P,variables:t,isPaused:r})}const C=await T(this,xr).start();return await((u=(c=T(this,Ze).config).onSuccess)==null?void 0:u.call(c,C,t,this.state.context,this)),await((f=(m=this.options).onSuccess)==null?void 0:f.call(m,C,t,this.state.context)),await((b=(d=T(this,Ze).config).onSettled)==null?void 0:b.call(d,C,null,this.state.variables,this.state.context,this)),await((g=(x=this.options).onSettled)==null?void 0:g.call(x,C,null,t,this.state.context)),We(this,en,Pn).call(this,{type:"success",data:C}),C}catch(C){try{throw await((p=(w=T(this,Ze).config).onError)==null?void 0:p.call(w,C,t,this.state.context,this)),await((y=(h=this.options).onError)==null?void 0:y.call(h,C,t,this.state.context)),await((N=(S=T(this,Ze).config).onSettled)==null?void 0:N.call(S,void 0,C,this.state.variables,this.state.context,this)),await((j=(E=this.options).onSettled)==null?void 0:j.call(E,void 0,C,t,this.state.context)),C}finally{We(this,en,Pn).call(this,{type:"error",error:C})}}finally{T(this,Ze).runNext(this)}}},Jt=new WeakMap,Ze=new WeakMap,xr=new WeakMap,en=new WeakSet,Pn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),et.batch(()=>{T(this,Jt).forEach(r=>{r.onMutationUpdate(t)}),T(this,Ze).notify({mutation:this,type:"updated",action:t})})},ih);function uN(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ft,Ws,ah,dN=(ah=class extends tl{constructor(t={}){super();ue(this,ft);ue(this,Ws);this.config=t,ne(this,ft,new Map),ne(this,Ws,Date.now())}build(t,n,r){const o=new cN({mutationCache:this,mutationId:++si(this,Ws)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){const n=ki(t),r=T(this,ft).get(n)??[];r.push(t),T(this,ft).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=ki(t);if(T(this,ft).has(n)){const o=(r=T(this,ft).get(n))==null?void 0:r.filter(s=>s!==t);o&&(o.length===0?T(this,ft).delete(n):T(this,ft).set(n,o))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=T(this,ft).get(ki(t)))==null?void 0:r.find(o=>o.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=T(this,ft).get(ki(t)))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){et.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...T(this,ft).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ep(n,r))}findAll(t={}){return this.getAll().filter(n=>Ep(t,n))}notify(t){et.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return et.batch(()=>Promise.all(t.map(n=>n.continue().catch(zt))))}},ft=new WeakMap,Ws=new WeakMap,ah);function ki(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Tp(e){return{onFetch:(t,n)=>{var m,f,d,b,x;const r=t.options,o=(d=(f=(m=t.fetchOptions)==null?void 0:m.meta)==null?void 0:f.fetchMore)==null?void 0:d.direction,s=((b=t.state.data)==null?void 0:b.pages)||[],i=((x=t.state.data)==null?void 0:x.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const u=async()=>{let g=!1;const w=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},p=Qv(t.options,t.fetchOptions),h=async(y,S,N)=>{if(g)return Promise.reject();if(S==null&&y.pages.length)return Promise.resolve(y);const E={queryKey:t.queryKey,pageParam:S,direction:N?"backward":"forward",meta:t.options.meta};w(E);const j=await p(E),{maxPages:C}=t.options,P=N?J2:Z2;return{pages:P(y.pages,j,C),pageParams:P(y.pageParams,S,C)}};if(o&&s.length){const y=o==="backward",S=y?fN:Pp,N={pages:s,pageParams:i},E=S(r,N);a=await h(N,E,y)}else{const y=e??s.length;do{const S=c===0?i[0]??r.initialPageParam:Pp(r,a);if(c>0&&S==null)break;a=await h(a,S),c++}while(c<y)}return a};t.options.persister?t.fetchFn=()=>{var g,w;return(w=(g=t.options).persister)==null?void 0:w.call(g,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Pp(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 fN(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 Ae,Dn,zn,ho,mo,Fn,go,vo,lh,pN=(lh=class{constructor(e={}){ue(this,Ae);ue(this,Dn);ue(this,zn);ue(this,ho);ue(this,mo);ue(this,Fn);ue(this,go);ue(this,vo);ne(this,Ae,e.queryCache||new lN),ne(this,Dn,e.mutationCache||new dN),ne(this,zn,e.defaultOptions||{}),ne(this,ho,new Map),ne(this,mo,new Map),ne(this,Fn,0)}mount(){si(this,Fn)._++,T(this,Fn)===1&&(ne(this,go,Gv.subscribe(async e=>{e&&(await this.resumePausedMutations(),T(this,Ae).onFocus())})),ne(this,vo,Na.subscribe(async e=>{e&&(await this.resumePausedMutations(),T(this,Ae).onOnline())})))}unmount(){var e,t;si(this,Fn)._--,T(this,Fn)===0&&((e=T(this,go))==null||e.call(this),ne(this,go,void 0),(t=T(this,vo))==null||t.call(this),ne(this,vo,void 0))}isFetching(e){return T(this,Ae).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return T(this,Dn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=T(this,Ae).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=T(this,Ae).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(Np(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return T(this,Ae).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=T(this,Ae).get(r.queryHash),s=o==null?void 0:o.state.data,i=K2(t,s);if(i!==void 0)return T(this,Ae).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return et.batch(()=>T(this,Ae).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=T(this,Ae).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=T(this,Ae);et.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=T(this,Ae),r={type:"active",...e};return et.batch(()=>(n.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=et.batch(()=>T(this,Ae).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(zt).catch(zt)}invalidateQueries(e={},t={}){return et.batch(()=>{if(T(this,Ae).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=et.batch(()=>T(this,Ae).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(zt)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(zt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=T(this,Ae).build(this,t);return n.isStaleByTime(Np(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(zt).catch(zt)}fetchInfiniteQuery(e){return e.behavior=Tp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(zt).catch(zt)}ensureInfiniteQueryData(e){return e.behavior=Tp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Na.isOnline()?T(this,Dn).resumePausedMutations():Promise.resolve()}getQueryCache(){return T(this,Ae)}getMutationCache(){return T(this,Dn)}getDefaultOptions(){return T(this,zn)}setDefaultOptions(e){ne(this,zn,e)}setQueryDefaults(e,t){T(this,ho).set(Ds(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...T(this,ho).values()];let n={};return t.forEach(r=>{zs(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){T(this,mo).set(Ds(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...T(this,mo).values()];let n={};return t.forEach(r=>{zs(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...T(this,zn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Md(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===Id&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...T(this,zn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){T(this,Ae).clear(),T(this,Dn).clear()}},Ae=new WeakMap,Dn=new WeakMap,zn=new WeakMap,ho=new WeakMap,mo=new WeakMap,Fn=new WeakMap,go=new WeakMap,vo=new WeakMap,lh),hN=v.createContext(void 0),mN=({client:e,children:t})=>(v.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(hN.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 Fs(){return Fs=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},Fs.apply(this,arguments)}var Hn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Hn||(Hn={}));const Rp="popstate";function gN(e){e===void 0&&(e={});function t(r,o){let{pathname:s,search:i,hash:a}=r.location;return lu("",{pathname:s,search:i,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:ja(o)}return yN(t,n,null,e)}function Le(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Jv(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function vN(){return Math.random().toString(36).substr(2,8)}function Ap(e,t){return{usr:e.state,key:e.key,idx:t}}function lu(e,t,n,r){return n===void 0&&(n=null),Fs({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Oo(t):t,{state:n,key:t&&t.key||r||vN()})}function ja(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 Oo(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 yN(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:s=!1}=r,i=o.history,a=Hn.Pop,c=null,u=m();u==null&&(u=0,i.replaceState(Fs({},i.state,{idx:u}),""));function m(){return(i.state||{idx:null}).idx}function f(){a=Hn.Pop;let w=m(),p=w==null?null:w-u;u=w,c&&c({action:a,location:g.location,delta:p})}function d(w,p){a=Hn.Push;let h=lu(g.location,w,p);u=m()+1;let y=Ap(h,u),S=g.createHref(h);try{i.pushState(y,"",S)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;o.location.assign(S)}s&&c&&c({action:a,location:g.location,delta:1})}function b(w,p){a=Hn.Replace;let h=lu(g.location,w,p);u=m();let y=Ap(h,u),S=g.createHref(h);i.replaceState(y,"",S),s&&c&&c({action:a,location:g.location,delta:0})}function x(w){let p=o.location.origin!=="null"?o.location.origin:o.location.href,h=typeof w=="string"?w:ja(w);return h=h.replace(/ $/,"%20"),Le(p,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,p)}let g={get action(){return a},get location(){return e(o,i)},listen(w){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(Rp,f),c=w,()=>{o.removeEventListener(Rp,f),c=null}},createHref(w){return t(o,w)},createURL:x,encodeLocation(w){let p=x(w);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:d,replace:b,go(w){return i.go(w)}};return g}var Mp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Mp||(Mp={}));function xN(e,t,n){return n===void 0&&(n="/"),wN(e,t,n,!1)}function wN(e,t,n,r){let o=typeof t=="string"?Oo(t):t,s=Od(o.pathname||"/",n);if(s==null)return null;let i=ey(e);bN(i);let a=null;for(let c=0;a==null&&c<i.length;++c){let u=MN(s);a=RN(i[c],u,r)}return a}function ey(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(s,i,a)=>{let c={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};c.relativePath.startsWith("/")&&(Le(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=Xn([r,c.relativePath]),m=n.concat(c);s.children&&s.children.length>0&&(Le(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),ey(s.children,t,m,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:TN(u,s.index),routesMeta:m})};return e.forEach((s,i)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))o(s,i);else for(let c of ty(s.path))o(s,i,c)}),t}function ty(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return o?[s,""]:[s];let i=ty(r.join("/")),a=[];return a.push(...i.map(c=>c===""?s:[s,c].join("/"))),o&&a.push(...i),a.map(c=>e.startsWith("/")&&c===""?"/":c)}function bN(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:PN(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const SN=/^:[\w-]+$/,NN=3,jN=2,EN=1,CN=10,kN=-2,Ip=e=>e==="*";function TN(e,t){let n=e.split("/"),r=n.length;return n.some(Ip)&&(r+=kN),t&&(r+=jN),n.filter(o=>!Ip(o)).reduce((o,s)=>o+(SN.test(s)?NN:s===""?EN:CN),r)}function PN(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 RN(e,t,n){let{routesMeta:r}=e,o={},s="/",i=[];for(let a=0;a<r.length;++a){let c=r[a],u=a===r.length-1,m=s==="/"?t:t.slice(s.length)||"/",f=Op({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},m),d=c.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=Op({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},m)),!f)return null;Object.assign(o,f.params),i.push({params:o,pathname:Xn([s,f.pathname]),pathnameBase:LN(Xn([s,f.pathnameBase])),route:d}),f.pathnameBase!=="/"&&(s=Xn([s,f.pathnameBase]))}return i}function Op(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=AN(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let s=o[0],i=s.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((u,m,f)=>{let{paramName:d,isOptional:b}=m;if(d==="*"){let g=a[f]||"";i=s.slice(0,s.length-g.length).replace(/(.)\/+$/,"$1")}const x=a[f];return b&&!x?u[d]=void 0:u[d]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:i,pattern:e}}function AN(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Jv(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,(i,a,c)=>(r.push({paramName:a,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function MN(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Jv(!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 Od(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 IN(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Oo(e):e;return{pathname:n?n.startsWith("/")?n:ON(n,t):t,search:DN(r),hash:zN(o)}}function ON(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 Kl(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 _N(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ny(e,t){let n=_N(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function ry(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Oo(e):(o=Fs({},e),Le(!o.pathname||!o.pathname.includes("?"),Kl("?","pathname","search",o)),Le(!o.pathname||!o.pathname.includes("#"),Kl("#","pathname","hash",o)),Le(!o.search||!o.search.includes("#"),Kl("#","search","hash",o)));let s=e===""||o.pathname==="",i=s?"/":o.pathname,a;if(i==null)a=n;else{let f=t.length-1;if(!r&&i.startsWith("..")){let d=i.split("/");for(;d[0]==="..";)d.shift(),f-=1;o.pathname=d.join("/")}a=f>=0?t[f]:"/"}let c=IN(o,a),u=i&&i!=="/"&&i.endsWith("/"),m=(s||i===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||m)&&(c.pathname+="/"),c}const Xn=e=>e.join("/").replace(/\/\/+/g,"/"),LN=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),DN=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,zN=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function FN(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const oy=["post","put","patch","delete"];new Set(oy);const BN=["get",...oy];new Set(BN);/**
 * 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 Bs(){return Bs=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},Bs.apply(this,arguments)}const _d=v.createContext(null),$N=v.createContext(null),Ir=v.createContext(null),rl=v.createContext(null),Or=v.createContext({outlet:null,matches:[],isDataRoute:!1}),sy=v.createContext(null);function HN(e,t){let{relative:n}=t===void 0?{}:t;Js()||Le(!1);let{basename:r,navigator:o}=v.useContext(Ir),{hash:s,pathname:i,search:a}=ay(e,{relative:n}),c=i;return r!=="/"&&(c=i==="/"?r:Xn([r,i])),o.createHref({pathname:c,search:a,hash:s})}function Js(){return v.useContext(rl)!=null}function _o(){return Js()||Le(!1),v.useContext(rl).location}function iy(e){v.useContext(Ir).static||v.useLayoutEffect(e)}function UN(){let{isDataRoute:e}=v.useContext(Or);return e?nj():VN()}function VN(){Js()||Le(!1);let e=v.useContext(_d),{basename:t,future:n,navigator:r}=v.useContext(Ir),{matches:o}=v.useContext(Or),{pathname:s}=_o(),i=JSON.stringify(ny(o,n.v7_relativeSplatPath)),a=v.useRef(!1);return iy(()=>{a.current=!0}),v.useCallback(function(u,m){if(m===void 0&&(m={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=ry(u,JSON.parse(i),s,m.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Xn([t,f.pathname])),(m.replace?r.replace:r.push)(f,m.state,m)},[t,r,i,s,e])}function ay(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=v.useContext(Ir),{matches:o}=v.useContext(Or),{pathname:s}=_o(),i=JSON.stringify(ny(o,r.v7_relativeSplatPath));return v.useMemo(()=>ry(e,JSON.parse(i),s,n==="path"),[e,i,s,n])}function WN(e,t){return KN(e,t)}function KN(e,t,n,r){Js()||Le(!1);let{navigator:o}=v.useContext(Ir),{matches:s}=v.useContext(Or),i=s[s.length-1],a=i?i.params:{};i&&i.pathname;let c=i?i.pathnameBase:"/";i&&i.route;let u=_o(),m;if(t){var f;let w=typeof t=="string"?Oo(t):t;c==="/"||(f=w.pathname)!=null&&f.startsWith(c)||Le(!1),m=w}else m=u;let d=m.pathname||"/",b=d;if(c!=="/"){let w=c.replace(/^\//,"").split("/");b="/"+d.replace(/^\//,"").split("/").slice(w.length).join("/")}let x=xN(e,{pathname:b}),g=XN(x&&x.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:Xn([c,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:Xn([c,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r);return t&&g?v.createElement(rl.Provider,{value:{location:Bs({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:Hn.Pop}},g):g}function QN(){let e=tj(),t=FN(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 v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),n?v.createElement("pre",{style:o},n):null,null)}const GN=v.createElement(QN,null);class YN extends v.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?v.createElement(Or.Provider,{value:this.props.routeContext},v.createElement(sy.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function qN(e){let{routeContext:t,match:n,children:r}=e,o=v.useContext(_d);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),v.createElement(Or.Provider,{value:t},r)}function XN(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let m=i.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);m>=0||Le(!1),i=i.slice(0,Math.min(i.length,m+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let m=0;m<i.length;m++){let f=i[m];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=m),f.route.id){let{loaderData:d,errors:b}=n,x=f.route.loader&&d[f.route.id]===void 0&&(!b||b[f.route.id]===void 0);if(f.route.lazy||x){c=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((m,f,d)=>{let b,x=!1,g=null,w=null;n&&(b=a&&f.route.id?a[f.route.id]:void 0,g=f.route.errorElement||GN,c&&(u<0&&d===0?(x=!0,w=null):u===d&&(x=!0,w=f.route.hydrateFallbackElement||null)));let p=t.concat(i.slice(0,d+1)),h=()=>{let y;return b?y=g:x?y=w:f.route.Component?y=v.createElement(f.route.Component,null):f.route.element?y=f.route.element:y=m,v.createElement(qN,{match:f,routeContext:{outlet:m,matches:p,isDataRoute:n!=null},children:y})};return n&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?v.createElement(YN,{location:n.location,revalidation:n.revalidation,component:g,error:b,children:h(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):h()},null)}var ly=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ly||{}),Ea=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}(Ea||{});function ZN(e){let t=v.useContext(_d);return t||Le(!1),t}function JN(e){let t=v.useContext($N);return t||Le(!1),t}function ej(e){let t=v.useContext(Or);return t||Le(!1),t}function cy(e){let t=ej(),n=t.matches[t.matches.length-1];return n.route.id||Le(!1),n.route.id}function tj(){var e;let t=v.useContext(sy),n=JN(Ea.UseRouteError),r=cy(Ea.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function nj(){let{router:e}=ZN(ly.UseNavigateStable),t=cy(Ea.UseNavigateStable),n=v.useRef(!1);return iy(()=>{n.current=!0}),v.useCallback(function(o,s){s===void 0&&(s={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Bs({fromRouteId:t},s)))},[e,t])}function _t(e){Le(!1)}function rj(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Hn.Pop,navigator:s,static:i=!1,future:a}=e;Js()&&Le(!1);let c=t.replace(/^\/*/,"/"),u=v.useMemo(()=>({basename:c,navigator:s,static:i,future:Bs({v7_relativeSplatPath:!1},a)}),[c,a,s,i]);typeof r=="string"&&(r=Oo(r));let{pathname:m="/",search:f="",hash:d="",state:b=null,key:x="default"}=r,g=v.useMemo(()=>{let w=Od(m,c);return w==null?null:{location:{pathname:w,search:f,hash:d,state:b,key:x},navigationType:o}},[c,m,f,d,b,x,o]);return g==null?null:v.createElement(Ir.Provider,{value:u},v.createElement(rl.Provider,{children:n,value:g}))}function oj(e){let{children:t,location:n}=e;return WN(cu(t),n)}new Promise(()=>{});function cu(e,t){t===void 0&&(t=[]);let n=[];return v.Children.forEach(e,(r,o)=>{if(!v.isValidElement(r))return;let s=[...t,o];if(r.type===v.Fragment){n.push.apply(n,cu(r.props.children,s));return}r.type!==_t&&Le(!1),!r.props.index||!r.props.children||Le(!1);let i={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=cu(r.props.children,s)),n.push(i)}),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 uu(){return uu=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},uu.apply(this,arguments)}function sj(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function ij(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function aj(e,t){return e.button===0&&(!t||t==="_self")&&!ij(e)}const lj=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],cj="6";try{window.__reactRouterVersion=cj}catch{}const uj="startTransition",_p=wh[uj];function dj(e){let{basename:t,children:n,future:r,window:o}=e,s=v.useRef();s.current==null&&(s.current=gN({window:o,v5Compat:!0}));let i=s.current,[a,c]=v.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},m=v.useCallback(f=>{u&&_p?_p(()=>c(f)):c(f)},[c,u]);return v.useLayoutEffect(()=>i.listen(m),[i,m]),v.createElement(rj,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:i,future:r})}const fj=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pj=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,nn=v.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:s,replace:i,state:a,target:c,to:u,preventScrollReset:m,viewTransition:f}=t,d=sj(t,lj),{basename:b}=v.useContext(Ir),x,g=!1;if(typeof u=="string"&&pj.test(u)&&(x=u,fj))try{let y=new URL(window.location.href),S=u.startsWith("//")?new URL(y.protocol+u):new URL(u),N=Od(S.pathname,b);S.origin===y.origin&&N!=null?u=N+S.search+S.hash:g=!0}catch{}let w=HN(u,{relative:o}),p=hj(u,{replace:i,state:a,target:c,preventScrollReset:m,relative:o,viewTransition:f});function h(y){r&&r(y),y.defaultPrevented||p(y)}return v.createElement("a",uu({},d,{href:x||w,onClick:g||s?r:h,ref:n,target:c}))});var Lp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Lp||(Lp={}));var Dp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Dp||(Dp={}));function hj(e,t){let{target:n,replace:r,state:o,preventScrollReset:s,relative:i,viewTransition:a}=t===void 0?{}:t,c=UN(),u=_o(),m=ay(e,{relative:i});return v.useCallback(f=>{if(aj(f,n)){f.preventDefault();let d=r!==void 0?r:ja(u)===ja(m);c(e,{replace:d,state:o,preventScrollReset:s,relative:i,viewTransition:a})}},[u,c,m,r,o,n,e,s,i,a])}const mj=xd("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),ke=v.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},s)=>{const i=r?Eo:"button";return l.jsx(i,{className:de(mj({variant:t,size:n,className:e})),ref:s,...o})});ke.displayName="Button";const gj=()=>{const[e,t]=v.useState(!1),n=_o(),r=[{name:"Home",path:"/"},{name:"About Me",path:"/about"},{name:"I AM HER",path:"/book"},{name:"Dear HER Sundays",path:"/dear-her-sundays"},{name:"Merch Shop",path:"/merch"},{name:"The Book Tour",path:"/tour"},{name:"Connect",path:"/connect"},{name:"Contact",path:"/contact"}],o=s=>n.pathname===s;return l.jsx("nav",{className:"fixed top-0 w-full bg-background/95 backdrop-blur-md z-50 border-b border-border",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsxs("div",{className:"flex justify-between items-center h-16",children:[l.jsx(nn,{to:"/",className:"flex items-center space-x-2",children:l.jsx("img",{className:"object-contain h-20",src:"/nancyLogo2.png",alt:""})}),l.jsxs("div",{className:"hidden lg:flex items-center space-x-8",children:[r.map(s=>l.jsx(nn,{to:s.path,className:`text-sm font-medium transition-colors hover:text-primary ${o(s.path)?"text-primary border-b-2 border-primary":"text-muted-foreground"}`,children:s.name},s.name)),l.jsx(ke,{asChild:!0,className:"bg-primary hover:bg-primary/90",children:l.jsx(nn,{to:"/coming-soon",children:"Join The Movement"})})]}),l.jsx("div",{className:"lg:hidden",children:l.jsx(ke,{variant:"ghost",size:"sm",onClick:()=>t(!e),"aria-label":"Toggle menu",children:e?l.jsx(iv,{className:"h-6 w-6"}):l.jsx(Y1,{className:"h-6 w-6"})})})]}),e&&l.jsx("div",{className:"lg:hidden",children:l.jsxs("div",{className:"px-2 pt-2 pb-3 space-y-1 bg-background border-t border-border",children:[r.map(s=>l.jsx(nn,{to:s.path,className:`block px-3 py-2 text-base font-medium transition-colors ${o(s.path)?"text-primary bg-primary/10":"text-muted-foreground hover:text-primary hover:bg-primary/5"}`,onClick:()=>t(!1),children:s.name},s.name)),l.jsx("div",{className:"px-3 py-2",children:l.jsx(ke,{asChild:!0,className:"w-full bg-primary hover:bg-primary/90",children:l.jsx(nn,{to:"/coming-soon",onClick:()=>t(!1),children:"Join Movement"})})})]})})]})})},le=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:de("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));le.displayName="Card";const Lo=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:de("flex flex-col space-y-1.5 p-6",e),...t}));Lo.displayName="CardHeader";const Do=v.forwardRef(({className:e,...t},n)=>l.jsx("h3",{ref:n,className:de("text-2xl font-semibold leading-none tracking-tight",e),...t}));Do.displayName="CardTitle";const vj=v.forwardRef(({className:e,...t},n)=>l.jsx("p",{ref:n,className:de("text-sm text-muted-foreground",e),...t}));vj.displayName="CardDescription";const ce=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:de("p-6 pt-0",e),...t}));ce.displayName="CardContent";const yj=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:de("flex items-center p-6 pt-0",e),...t}));yj.displayName="CardFooter";const xj=()=>l.jsxs("div",{className:"min-h-screen",children:[l.jsxs("section",{className:"relative h-screen flex items-center justify-center pt-20 md:pt-0 overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 z-0",children:l.jsx("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"w-full h-full object-cover",style:{filter:"brightness(0.7)"},children:l.jsx("source",{src:"https://dm0qx8t0i9gc9.cloudfront.net/watermarks/video/BYhbSjKDtkvty6l0n/videoblocks-652db06f13841572379b3628_scxzjo6ob6__6f2dcef1db38bd6975e674a39683e482__P360.mp4"})})}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/60 via-green-900/50 to-green-800/70 z-10"}),l.jsxs("div",{className:"flex relative z-20 text-center text-white max-w-screen w-full lg:justify-end justify-center px-4",children:[l.jsx("div",{className:"hidden lg:block absolute top-5 right-[60%]",children:l.jsx("img",{className:"max-w-[60rem] w-full",src:"/heroND.png",alt:""})}),l.jsxs("div",{className:"flex flex-col items-center lg:items-end lg:justify-end mr-10",children:[l.jsxs("h1",{className:"text-6xl md:text-8xl font-bold mb-6 animate-fade-in",children:["I GOT THIS!",l.jsx("br",{}),l.jsx("span",{className:"text-emerald-300",children:"I AM HER"})]}),l.jsx("p",{className:"text-xl md:text-2xl mb-8 max-w-2xl mx-auto leading-relaxed animate-fade-in",children:"A movement. A call. A spiritual assignment to restore what was broken and empower what was silenced."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center animate-fade-in",children:[l.jsx(ke,{asChild:!0,size:"lg",className:"bg-emerald-400 hover:bg-emerald-500 text-green-900 font-semibold",children:l.jsx(nn,{to:"/about",children:"Read My Story"})}),l.jsx(ke,{asChild:!0,size:"lg",variant:"outline",className:"bg-white/10 hover:bg-white/20 text-white border-emerald-200",children:l.jsx(nn,{to:"/book",children:"Buy the Book"})}),l.jsx(ke,{asChild:!0,size:"lg",className:"bg-primary hover:bg-primary/90",children:l.jsx(nn,{to:"/coming-soon",children:"Join the Movement"})}),l.jsx(ke,{asChild:!0,size:"lg",variant:"outline",className:"bg-white/10 hover:bg-white/20 text-white border-emerald-200",children:l.jsx(nn,{to:"/merch",children:"Shop 'I AM HER' Merch"})})]})]})]})]}),l.jsx("section",{className:"py-20 bg-gradient-to-r from-green-50 to-emerald-50",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[l.jsx("div",{className:"flex justify-center mb-6",children:[...Array(5)].map((e,t)=>l.jsx(sv,{className:"w-6 h-6 text-emerald-400 fill-current"},t))}),l.jsx("blockquote",{className:"text-2xl md:text-3xl font-light italic text-foreground mb-6",children:`"Nancy's words didn't just touch my heart—they awakened my spirit. For the first time in years, I remembered who I was before the world told me who to be."`}),l.jsx("cite",{className:"text-lg text-muted-foreground font-medium",children:"— Sarah M., Book Reader & Movement Member"})]})}),l.jsx("section",{className:"py-20",children:l.jsxs("div",{className:"max-w-6xl mx-auto px-4",children:[l.jsxs("div",{className:"text-center mb-12",children:[l.jsx("h2",{className:"text-4xl font-bold mb-4",children:"Follow the Journey"}),l.jsx("p",{className:"text-xl text-muted-foreground",children:"Connect with Nancy on Instagram for daily inspiration and behind-the-scenes moments"})]}),l.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 mb-8",children:[1,2,3,4].map(e=>l.jsx(le,{className:"overflow-hidden hover:scale-105 transition-transform border-green-200",children:l.jsx(ce,{className:"p-0",children:l.jsx("img",{src:"/ig1.jpeg",alt:`Instagram post ${e}`,className:"w-full h-64 object-cover"})})},e))}),l.jsx("div",{className:"text-center",children:l.jsx(ke,{asChild:!0,size:"lg",variant:"outline",className:"bg-gradient-to-r from-emerald-500 to-green-500 text-white border-0 hover:opacity-90",children:l.jsxs(nn,{to:"/connect",className:"flex items-center gap-2",children:[l.jsx(rv,{className:"w-5 h-5"}),"Follow @NancyDufour"]})})})]})})]}),wj=()=>l.jsxs("div",{className:"pt-20 min-h-screen",children:[l.jsx("section",{className:"py-20 bg-gradient-to-r from-emerald-900 via-green-700 to-emerald-900 text-white",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[l.jsx("blockquote",{className:"text-3xl md:text-4xl font-light italic mb-6",children:`"I am not just a woman. I'm a call. A movement. A Restora."`}),l.jsx("cite",{className:"text-xl font-medium",children:"— Nancy Dufour"})]})}),l.jsx("section",{className:"py-20",children:l.jsx("div",{className:"max-w-4xl mx-auto px-4",children:l.jsxs("div",{className:"grid md:grid-cols-3 gap-12 items-start",children:[l.jsx("div",{className:"md:col-span-1",children:l.jsx(le,{className:"overflow-hidden sticky top-24",children:l.jsx(ce,{className:"p-0",children:l.jsxs("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"w-full h-full object-cover",style:{filter:"brightness(0.7)"},children:[l.jsx("source",{src:"https://cdn.jsdelivr.net/gh/LeviUdoh-17/voqueenAudioAssets/audio/AboutVid.mp4",type:"video/mp4"}),l.jsx("img",{src:"https://images.unsplash.com/photo-1649972904349-6e44c42644a7?auto=format&fit=crop&w=400&h=600",alt:"Nancy Dufour - Restora",className:"w-full h-96 object-cover"})]})})})}),l.jsxs("div",{className:"md:col-span-2 space-y-8",children:[l.jsxs("div",{children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-8 text-primary",children:"Who am I? I'm not just a woman. I'm a call. A movement. A Restora."}),l.jsxs("div",{className:"prose prose-lg max-w-none space-y-6 text-foreground",children:[l.jsx("p",{className:"text-xl leading-relaxed",children:"My name is Nancy Duffour, but Heaven calls me Restora — and that's not just a name, it's a mantle. I was born with something deep inside me. A pull. A burden. A fire to bring restoration where the world has broken women, silenced truth, and normalized pain."}),l.jsx("p",{className:"text-lg leading-relaxed",children:"I am HER — and HER is not just a word. It's a mission. It means:"}),l.jsx("div",{className:"bg-muted/50 p-8 rounded-lg my-8",children:l.jsxs("ul",{className:"text-2xl font-bold space-y-4 text-primary",children:[l.jsx("li",{children:"Hope."}),l.jsx("li",{children:"Empowerment."}),l.jsx("li",{children:"Reform."})]})}),l.jsx("p",{className:"text-lg leading-relaxed",children:`HER is not a brand. It's a spiritual assignment. A wake-up call to the voiceless. A blueprint for women across Africa who have been told "you're too much," "you've failed," or "you'll never rise again."`}),l.jsx("p",{className:"text-lg leading-relaxed",children:`I've known pain. Not just the kind you talk about — the kind you hide. I've been through betrayal, abuse, deep abandonment, and seasons where even God felt far. But I never stopped hearing that still, small voice whisper, "You were born for more."`}),l.jsx("p",{className:"text-lg leading-relaxed font-medium text-primary",children:"I didn't build this platform to show off. I built it so you could find you again."}),l.jsx("p",{className:"text-lg leading-relaxed",children:"Yes, I wrote a book — I GOT THIS! I AM HER. But this website isn't just about a book. It's about a journey. A revival. A roar."})]})]}),l.jsxs("div",{className:"bg-gradient-to-r from-emerald-50 to-emerald-100 p-8 rounded-lg",children:[l.jsx("h2",{className:"text-3xl font-bold mb-6 text-primary",children:"WHO IS RESTORA?"}),l.jsxs("div",{className:"space-y-4 text-lg leading-relaxed",children:[l.jsx("p",{children:"Restora is the version of me that stopped apologizing for being powerful. She is bold. She is soft. She is fire and oil. She walks into rooms not to take space, but to shift atmospheres."}),l.jsx("p",{children:"Restora is not a name I gave myself — it's the name God gave me in the middle of my wilderness. Because I wasn't called to be trendy. I was called to restore Africa."}),l.jsx("p",{children:"That's why everything I create — from my book, to my content, to my voice — is rooted in healing, honesty, and holy rebellion. This is not about going viral. This is about going deep."})]})]}),l.jsxs("div",{children:[l.jsx("h2",{className:"text-3xl font-bold mb-6 text-primary",children:"WHAT I STAND FOR"}),l.jsxs("ul",{className:"space-y-4 text-lg",children:[l.jsxs("li",{className:"flex items-start space-x-3",children:[l.jsx("span",{className:"text-primary-400 text-2xl",children:"•"}),l.jsx("span",{children:"Healing for every woman who's ever been broken and blamed"})]}),l.jsxs("li",{className:"flex items-start space-x-3",children:[l.jsx("span",{className:"text-primary-400 text-2xl",children:"•"}),l.jsx("span",{children:"A voice for those who've been silenced"})]}),l.jsxs("li",{className:"flex items-start space-x-3",children:[l.jsx("span",{className:"text-primary-400 text-2xl",children:"•"}),l.jsx("span",{children:"A safe space where no one has to pretend"})]}),l.jsxs("li",{className:"flex items-start space-x-3",children:[l.jsx("span",{className:"text-primary-400 text-2xl",children:"•"}),l.jsx("span",{children:"A reminder that you don't have to shrink to be loved"})]})]})]}),l.jsxs("div",{className:"bg-primary text-white p-8 rounded-lg",children:[l.jsx("h2",{className:"text-3xl font-bold mb-6",children:"THIS IS JUST THE BEGINNING"}),l.jsxs("div",{className:"space-y-4 text-lg leading-relaxed",children:[l.jsx("p",{children:"You may have met me through a post, a video, or a page in a book. But what you're seeing now is only the surface."}),l.jsx("p",{children:"There are movements loading. There are systems about to shake. There are nations that will rise again."}),l.jsx("p",{children:"And you? You're not here by accident. You're here because your spirit knows that something real is happening."}),l.jsx("p",{className:"font-bold text-primary-400",children:"You are HER too. And if I can rise, so can you."}),l.jsx("p",{className:"text-right italic mt-8",children:"Nancy Duffour — Restora."})]})]})]})]})})})]}),mt=v.forwardRef(({className:e,type:t,...n},r)=>l.jsx("input",{type:t,className:de("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));mt.displayName="Input";var bj="Label",uy=v.forwardRef((e,t)=>l.jsx(he.label,{...e,ref:t,onMouseDown:n=>{var o;n.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));uy.displayName=bj;var dy=uy;const Sj=xd("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),gt=v.forwardRef(({className:e,...t},n)=>l.jsx(dy,{ref:n,className:de(Sj(),e),...t}));gt.displayName=dy.displayName;function zp(e,[t,n]){return Math.min(n,Math.max(t,e))}var Nj=v.createContext(void 0);function jj(e){const t=v.useContext(Nj);return e||t||"ltr"}var Ql=0;function Ej(){v.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Fp()),document.body.insertAdjacentElement("beforeend",e[1]??Fp()),Ql++,()=>{Ql===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Ql--}},[])}function Fp(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Gl="focusScope.autoFocusOnMount",Yl="focusScope.autoFocusOnUnmount",Bp={bubbles:!1,cancelable:!0},Cj="FocusScope",fy=v.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,c]=v.useState(null),u=St(o),m=St(s),f=v.useRef(null),d=Ie(t,g=>c(g)),b=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(r){let g=function(y){if(b.paused||!a)return;const S=y.target;a.contains(S)?f.current=S:Rn(f.current,{select:!0})},w=function(y){if(b.paused||!a)return;const S=y.relatedTarget;S!==null&&(a.contains(S)||Rn(f.current,{select:!0}))},p=function(y){if(document.activeElement===document.body)for(const N of y)N.removedNodes.length>0&&Rn(a)};document.addEventListener("focusin",g),document.addEventListener("focusout",w);const h=new MutationObserver(p);return a&&h.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",w),h.disconnect()}}},[r,a,b.paused]),v.useEffect(()=>{if(a){Hp.add(b);const g=document.activeElement;if(!a.contains(g)){const p=new CustomEvent(Gl,Bp);a.addEventListener(Gl,u),a.dispatchEvent(p),p.defaultPrevented||(kj(Mj(py(a)),{select:!0}),document.activeElement===g&&Rn(a))}return()=>{a.removeEventListener(Gl,u),setTimeout(()=>{const p=new CustomEvent(Yl,Bp);a.addEventListener(Yl,m),a.dispatchEvent(p),p.defaultPrevented||Rn(g??document.body,{select:!0}),a.removeEventListener(Yl,m),Hp.remove(b)},0)}}},[a,u,m,b]);const x=v.useCallback(g=>{if(!n&&!r||b.paused)return;const w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,p=document.activeElement;if(w&&p){const h=g.currentTarget,[y,S]=Tj(h);y&&S?!g.shiftKey&&p===S?(g.preventDefault(),n&&Rn(y,{select:!0})):g.shiftKey&&p===y&&(g.preventDefault(),n&&Rn(S,{select:!0})):p===h&&g.preventDefault()}},[n,r,b.paused]);return l.jsx(he.div,{tabIndex:-1,...i,ref:d,onKeyDown:x})});fy.displayName=Cj;function kj(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Rn(r,{select:t}),document.activeElement!==n)return}function Tj(e){const t=py(e),n=$p(t,e),r=$p(t.reverse(),e);return[n,r]}function py(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 $p(e,t){for(const n of e)if(!Pj(n,{upTo:t}))return n}function Pj(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Rj(e){return e instanceof HTMLInputElement&&"select"in e}function Rn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Rj(e)&&t&&e.select()}}var Hp=Aj();function Aj(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Up(e,t),e.unshift(t)},remove(t){var n;e=Up(e,t),(n=e[0])==null||n.resume()}}}function Up(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Mj(e){return e.filter(t=>t.tagName!=="A")}function Ij(e){const t=v.useRef({value:e,previous:e});return v.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Oj=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},zr=new WeakMap,Ti=new WeakMap,Pi={},ql=0,hy=function(e){return e&&(e.host||hy(e.parentNode))},_j=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=hy(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Lj=function(e,t,n,r){var o=_j(t,Array.isArray(e)?e:[e]);Pi[n]||(Pi[n]=new WeakMap);var s=Pi[n],i=[],a=new Set,c=new Set(o),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};o.forEach(u);var m=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(d){if(a.has(d))m(d);else try{var b=d.getAttribute(r),x=b!==null&&b!=="false",g=(zr.get(d)||0)+1,w=(s.get(d)||0)+1;zr.set(d,g),s.set(d,w),i.push(d),g===1&&x&&Ti.set(d,!0),w===1&&d.setAttribute(n,"true"),x||d.setAttribute(r,"true")}catch(p){console.error("aria-hidden: cannot operate on ",d,p)}})};return m(t),a.clear(),ql++,function(){i.forEach(function(f){var d=zr.get(f)-1,b=s.get(f)-1;zr.set(f,d),s.set(f,b),d||(Ti.has(f)||f.removeAttribute(r),Ti.delete(f)),b||f.removeAttribute(n)}),ql--,ql||(zr=new WeakMap,zr=new WeakMap,Ti=new WeakMap,Pi={})}},Dj=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=Oj(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Lj(r,o,n,"aria-hidden")):function(){return null}},rn=function(){return rn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},rn.apply(this,arguments)};function my(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function zj(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Qi="right-scroll-bar-position",Gi="width-before-scroll-bar",Fj="with-scroll-bars-hidden",Bj="--removed-body-scroll-bar-size";function Xl(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function $j(e,t){var n=v.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Hj=typeof window<"u"?v.useLayoutEffect:v.useEffect,Vp=new WeakMap;function Uj(e,t){var n=$j(null,function(r){return e.forEach(function(o){return Xl(o,r)})});return Hj(function(){var r=Vp.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(a){s.has(a)||Xl(a,null)}),s.forEach(function(a){o.has(a)||Xl(a,i)})}Vp.set(n,e)},[e]),n}function Vj(e){return e}function Wj(e,t){t===void 0&&(t=Vj);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var c=function(){var m=i;i=[],m.forEach(s)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(m){i.push(m),u()},filter:function(m){return i=i.filter(m),n}}}};return o}function Kj(e){e===void 0&&(e={});var t=Wj(null);return t.options=rn({async:!0,ssr:!1},e),t}var gy=function(e){var t=e.sideCar,n=my(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return v.createElement(r,rn({},n))};gy.isSideCarExport=!0;function Qj(e,t){return e.useMedium(t),gy}var vy=Kj(),Zl=function(){},ol=v.forwardRef(function(e,t){var n=v.useRef(null),r=v.useState({onScrollCapture:Zl,onWheelCapture:Zl,onTouchMoveCapture:Zl}),o=r[0],s=r[1],i=e.forwardProps,a=e.children,c=e.className,u=e.removeScrollBar,m=e.enabled,f=e.shards,d=e.sideCar,b=e.noIsolation,x=e.inert,g=e.allowPinchZoom,w=e.as,p=w===void 0?"div":w,h=e.gapMode,y=my(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=d,N=Uj([n,t]),E=rn(rn({},y),o);return v.createElement(v.Fragment,null,m&&v.createElement(S,{sideCar:vy,removeScrollBar:u,shards:f,noIsolation:b,inert:x,setCallbacks:s,allowPinchZoom:!!g,lockRef:n,gapMode:h}),i?v.cloneElement(v.Children.only(a),rn(rn({},E),{ref:N})):v.createElement(p,rn({},E,{className:c,ref:N}),a))});ol.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ol.classNames={fullWidth:Gi,zeroRight:Qi};var Gj=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Yj(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Gj();return t&&e.setAttribute("nonce",t),e}function qj(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Xj(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Zj=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Yj())&&(qj(t,n),Xj(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Jj=function(){var e=Zj();return function(t,n){v.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},yy=function(){var e=Jj(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},eE={left:0,top:0,right:0,gap:0},Jl=function(e){return parseInt(e||"",10)||0},tE=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Jl(n),Jl(r),Jl(o)]},nE=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return eE;var t=tE(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},rE=yy(),ao="data-scroll-locked",oE=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
  .`.concat(Fj,` {
   overflow: hidden `).concat(r,`;
   padding-right: `).concat(a,"px ").concat(r,`;
  }
  body[`).concat(ao,`] {
    overflow: hidden `).concat(r,`;
    overscroll-behavior: contain;
    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
    padding-left: `.concat(o,`px;
    padding-top: `).concat(s,`px;
    padding-right: `).concat(i,`px;
    margin-left:0;
    margin-top:0;
    margin-right: `).concat(a,"px ").concat(r,`;
    `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
  }
  
  .`).concat(Qi,` {
    right: `).concat(a,"px ").concat(r,`;
  }
  
  .`).concat(Gi,` {
    margin-right: `).concat(a,"px ").concat(r,`;
  }
  
  .`).concat(Qi," .").concat(Qi,` {
    right: 0 `).concat(r,`;
  }
  
  .`).concat(Gi," .").concat(Gi,` {
    margin-right: 0 `).concat(r,`;
  }
  
  body[`).concat(ao,`] {
    `).concat(Bj,": ").concat(a,`px;
  }
`)},Wp=function(){var e=parseInt(document.body.getAttribute(ao)||"0",10);return isFinite(e)?e:0},sE=function(){v.useEffect(function(){return document.body.setAttribute(ao,(Wp()+1).toString()),function(){var e=Wp()-1;e<=0?document.body.removeAttribute(ao):document.body.setAttribute(ao,e.toString())}},[])},iE=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;sE();var s=v.useMemo(function(){return nE(o)},[o]);return v.createElement(rE,{styles:oE(s,!t,o,n?"":"!important")})},du=!1;if(typeof window<"u")try{var Ri=Object.defineProperty({},"passive",{get:function(){return du=!0,!0}});window.addEventListener("test",Ri,Ri),window.removeEventListener("test",Ri,Ri)}catch{du=!1}var Fr=du?{passive:!1}:!1,aE=function(e){return e.tagName==="TEXTAREA"},xy=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!aE(e)&&n[t]==="visible")},lE=function(e){return xy(e,"overflowY")},cE=function(e){return xy(e,"overflowX")},Kp=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=wy(e,r);if(o){var s=by(e,r),i=s[1],a=s[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},uE=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},dE=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},wy=function(e,t){return e==="v"?lE(t):cE(t)},by=function(e,t){return e==="v"?uE(t):dE(t)},fE=function(e,t){return e==="h"&&t==="rtl"?-1:1},pE=function(e,t,n,r,o){var s=fE(e,window.getComputedStyle(t).direction),i=s*r,a=n.target,c=t.contains(a),u=!1,m=i>0,f=0,d=0;do{var b=by(e,a),x=b[0],g=b[1],w=b[2],p=g-w-s*x;(x||p)&&wy(e,a)&&(f+=p,d+=x),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(m&&(Math.abs(f)<1||!o)||!m&&(Math.abs(d)<1||!o))&&(u=!0),u},Ai=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Qp=function(e){return[e.deltaX,e.deltaY]},Gp=function(e){return e&&"current"in e?e.current:e},hE=function(e,t){return e[0]===t[0]&&e[1]===t[1]},mE=function(e){return`
  .block-interactivity-`.concat(e,` {pointer-events: none;}
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},gE=0,Br=[];function vE(e){var t=v.useRef([]),n=v.useRef([0,0]),r=v.useRef(),o=v.useState(gE++)[0],s=v.useState(yy)[0],i=v.useRef(e);v.useEffect(function(){i.current=e},[e]),v.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=zj([e.lockRef.current],(e.shards||[]).map(Gp),!0).filter(Boolean);return g.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=v.useCallback(function(g,w){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!i.current.allowPinchZoom;var p=Ai(g),h=n.current,y="deltaX"in g?g.deltaX:h[0]-p[0],S="deltaY"in g?g.deltaY:h[1]-p[1],N,E=g.target,j=Math.abs(y)>Math.abs(S)?"h":"v";if("touches"in g&&j==="h"&&E.type==="range")return!1;var C=Kp(j,E);if(!C)return!0;if(C?N=j:(N=j==="v"?"h":"v",C=Kp(j,E)),!C)return!1;if(!r.current&&"changedTouches"in g&&(y||S)&&(r.current=N),!N)return!0;var P=r.current||N;return pE(P,w,g,P==="h"?y:S,!0)},[]),c=v.useCallback(function(g){var w=g;if(!(!Br.length||Br[Br.length-1]!==s)){var p="deltaY"in w?Qp(w):Ai(w),h=t.current.filter(function(N){return N.name===w.type&&(N.target===w.target||w.target===N.shadowParent)&&hE(N.delta,p)})[0];if(h&&h.should){w.cancelable&&w.preventDefault();return}if(!h){var y=(i.current.shards||[]).map(Gp).filter(Boolean).filter(function(N){return N.contains(w.target)}),S=y.length>0?a(w,y[0]):!i.current.noIsolation;S&&w.cancelable&&w.preventDefault()}}},[]),u=v.useCallback(function(g,w,p,h){var y={name:g,delta:w,target:p,should:h,shadowParent:yE(p)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(S){return S!==y})},1)},[]),m=v.useCallback(function(g){n.current=Ai(g),r.current=void 0},[]),f=v.useCallback(function(g){u(g.type,Qp(g),g.target,a(g,e.lockRef.current))},[]),d=v.useCallback(function(g){u(g.type,Ai(g),g.target,a(g,e.lockRef.current))},[]);v.useEffect(function(){return Br.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",c,Fr),document.addEventListener("touchmove",c,Fr),document.addEventListener("touchstart",m,Fr),function(){Br=Br.filter(function(g){return g!==s}),document.removeEventListener("wheel",c,Fr),document.removeEventListener("touchmove",c,Fr),document.removeEventListener("touchstart",m,Fr)}},[]);var b=e.removeScrollBar,x=e.inert;return v.createElement(v.Fragment,null,x?v.createElement(s,{styles:mE(o)}):null,b?v.createElement(iE,{gapMode:e.gapMode}):null)}function yE(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const xE=Qj(vy,vE);var Sy=v.forwardRef(function(e,t){return v.createElement(ol,rn({},e,{ref:t,sideCar:xE}))});Sy.classNames=ol.classNames;var wE=[" ","Enter","ArrowUp","ArrowDown"],bE=[" ","Enter"],ei="Select",[sl,il,SE]=kg(ei),[zo,ZC]=pd(ei,[SE,Za]),al=Za(),[NE,ar]=zo(ei),[jE,EE]=zo(ei),Ny=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:s,value:i,defaultValue:a,onValueChange:c,dir:u,name:m,autoComplete:f,disabled:d,required:b,form:x}=e,g=al(t),[w,p]=v.useState(null),[h,y]=v.useState(null),[S,N]=v.useState(!1),E=jj(u),[j=!1,C]=Yc({prop:r,defaultProp:o,onChange:s}),[P,R]=Yc({prop:i,defaultProp:a,onChange:c}),_=v.useRef(null),D=w?x||!!w.closest("form"):!0,[V,I]=v.useState(new Set),W=Array.from(V).map(F=>F.props.value).join(";");return l.jsx(k2,{...g,children:l.jsxs(NE,{required:b,scope:t,trigger:w,onTriggerChange:p,valueNode:h,onValueNodeChange:y,valueNodeHasChildren:S,onValueNodeHasChildrenChange:N,contentId:Sd(),value:P,onValueChange:R,open:j,onOpenChange:C,dir:E,triggerPointerDownPosRef:_,disabled:d,children:[l.jsx(sl.Provider,{scope:t,children:l.jsx(jE,{scope:e.__scopeSelect,onNativeOptionAdd:v.useCallback(F=>{I(K=>new Set(K).add(F))},[]),onNativeOptionRemove:v.useCallback(F=>{I(K=>{const k=new Set(K);return k.delete(F),k})},[]),children:n})}),D?l.jsxs(Gy,{"aria-hidden":!0,required:b,tabIndex:-1,name:m,autoComplete:f,value:P,onChange:F=>R(F.target.value),disabled:d,form:x,children:[P===void 0?l.jsx("option",{value:""}):null,Array.from(V)]},W):null]})})};Ny.displayName=ei;var jy="SelectTrigger",Ey=v.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,s=al(n),i=ar(jy,n),a=i.disabled||r,c=Ie(t,i.onTriggerChange),u=il(n),m=v.useRef("touch"),[f,d,b]=Yy(g=>{const w=u().filter(y=>!y.disabled),p=w.find(y=>y.value===i.value),h=qy(w,g,p);h!==void 0&&i.onValueChange(h.value)}),x=g=>{a||(i.onOpenChange(!0),b()),g&&(i.triggerPointerDownPosRef.current={x:Math.round(g.pageX),y:Math.round(g.pageY)})};return l.jsx(_v,{asChild:!0,...s,children:l.jsx(he.button,{type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":Qy(i.value)?"":void 0,...o,ref:c,onClick:oe(o.onClick,g=>{g.currentTarget.focus(),m.current!=="mouse"&&x(g)}),onPointerDown:oe(o.onPointerDown,g=>{m.current=g.pointerType;const w=g.target;w.hasPointerCapture(g.pointerId)&&w.releasePointerCapture(g.pointerId),g.button===0&&g.ctrlKey===!1&&g.pointerType==="mouse"&&(x(g),g.preventDefault())}),onKeyDown:oe(o.onKeyDown,g=>{const w=f.current!=="";!(g.ctrlKey||g.altKey||g.metaKey)&&g.key.length===1&&d(g.key),!(w&&g.key===" ")&&wE.includes(g.key)&&(x(),g.preventDefault())})})})});Ey.displayName=jy;var Cy="SelectValue",ky=v.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:s,placeholder:i="",...a}=e,c=ar(Cy,n),{onValueNodeHasChildrenChange:u}=c,m=s!==void 0,f=Ie(t,c.onValueNodeChange);return Xe(()=>{u(m)},[u,m]),l.jsx(he.span,{...a,ref:f,style:{pointerEvents:"none"},children:Qy(c.value)?l.jsx(l.Fragment,{children:i}):s})});ky.displayName=Cy;var CE="SelectIcon",Ty=v.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return l.jsx(he.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});Ty.displayName=CE;var kE="SelectPortal",Py=e=>l.jsx(hd,{asChild:!0,...e});Py.displayName=kE;var Tr="SelectContent",Ry=v.forwardRef((e,t)=>{const n=ar(Tr,e.__scopeSelect),[r,o]=v.useState();if(Xe(()=>{o(new DocumentFragment)},[]),!n.open){const s=r;return s?Mr.createPortal(l.jsx(Ay,{scope:e.__scopeSelect,children:l.jsx(sl.Slot,{scope:e.__scopeSelect,children:l.jsx("div",{children:e.children})})}),s):null}return l.jsx(My,{...e,ref:t})});Ry.displayName=Tr;var Lt=10,[Ay,lr]=zo(Tr),TE="SelectContentImpl",My=v.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:i,side:a,sideOffset:c,align:u,alignOffset:m,arrowPadding:f,collisionBoundary:d,collisionPadding:b,sticky:x,hideWhenDetached:g,avoidCollisions:w,...p}=e,h=ar(Tr,n),[y,S]=v.useState(null),[N,E]=v.useState(null),j=Ie(t,$=>S($)),[C,P]=v.useState(null),[R,_]=v.useState(null),D=il(n),[V,I]=v.useState(!1),W=v.useRef(!1);v.useEffect(()=>{if(y)return Dj(y)},[y]),Ej();const F=v.useCallback($=>{const[G,...ae]=D().map(O=>O.ref.current),[q]=ae.slice(-1),Q=document.activeElement;for(const O of $)if(O===Q||(O==null||O.scrollIntoView({block:"nearest"}),O===G&&N&&(N.scrollTop=0),O===q&&N&&(N.scrollTop=N.scrollHeight),O==null||O.focus(),document.activeElement!==Q))return},[D,N]),K=v.useCallback(()=>F([C,y]),[F,C,y]);v.useEffect(()=>{V&&K()},[V,K]);const{onOpenChange:k,triggerPointerDownPosRef:A}=h;v.useEffect(()=>{if(y){let $={x:0,y:0};const G=q=>{var Q,O;$={x:Math.abs(Math.round(q.pageX)-(((Q=A.current)==null?void 0:Q.x)??0)),y:Math.abs(Math.round(q.pageY)-(((O=A.current)==null?void 0:O.y)??0))}},ae=q=>{$.x<=10&&$.y<=10?q.preventDefault():y.contains(q.target)||k(!1),document.removeEventListener("pointermove",G),A.current=null};return A.current!==null&&(document.addEventListener("pointermove",G),document.addEventListener("pointerup",ae,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",G),document.removeEventListener("pointerup",ae,{capture:!0})}}},[y,k,A]),v.useEffect(()=>{const $=()=>k(!1);return window.addEventListener("blur",$),window.addEventListener("resize",$),()=>{window.removeEventListener("blur",$),window.removeEventListener("resize",$)}},[k]);const[B,z]=Yy($=>{const G=D().filter(Q=>!Q.disabled),ae=G.find(Q=>Q.ref.current===document.activeElement),q=qy(G,$,ae);q&&setTimeout(()=>q.ref.current.focus())}),U=v.useCallback(($,G,ae)=>{const q=!W.current&&!ae;(h.value!==void 0&&h.value===G||q)&&(P($),q&&(W.current=!0))},[h.value]),Y=v.useCallback(()=>y==null?void 0:y.focus(),[y]),te=v.useCallback(($,G,ae)=>{const q=!W.current&&!ae;(h.value!==void 0&&h.value===G||q)&&_($)},[h.value]),Se=r==="popper"?fu:Iy,J=Se===fu?{side:a,sideOffset:c,align:u,alignOffset:m,arrowPadding:f,collisionBoundary:d,collisionPadding:b,sticky:x,hideWhenDetached:g,avoidCollisions:w}:{};return l.jsx(Ay,{scope:n,content:y,viewport:N,onViewportChange:E,itemRefCallback:U,selectedItem:C,onItemLeave:Y,itemTextRefCallback:te,focusSelectedItem:K,selectedItemText:R,position:r,isPositioned:V,searchRef:B,children:l.jsx(Sy,{as:Eo,allowPinchZoom:!0,children:l.jsx(fy,{asChild:!0,trapped:h.open,onMountAutoFocus:$=>{$.preventDefault()},onUnmountAutoFocus:oe(o,$=>{var G;(G=h.trigger)==null||G.focus({preventScroll:!0}),$.preventDefault()}),children:l.jsx(Ka,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:$=>$.preventDefault(),onDismiss:()=>h.onOpenChange(!1),children:l.jsx(Se,{role:"listbox",id:h.contentId,"data-state":h.open?"open":"closed",dir:h.dir,onContextMenu:$=>$.preventDefault(),...p,...J,onPlaced:()=>I(!0),ref:j,style:{display:"flex",flexDirection:"column",outline:"none",...p.style},onKeyDown:oe(p.onKeyDown,$=>{const G=$.ctrlKey||$.altKey||$.metaKey;if($.key==="Tab"&&$.preventDefault(),!G&&$.key.length===1&&z($.key),["ArrowUp","ArrowDown","Home","End"].includes($.key)){let q=D().filter(Q=>!Q.disabled).map(Q=>Q.ref.current);if(["ArrowUp","End"].includes($.key)&&(q=q.slice().reverse()),["ArrowUp","ArrowDown"].includes($.key)){const Q=$.target,O=q.indexOf(Q);q=q.slice(O+1)}setTimeout(()=>F(q)),$.preventDefault()}})})})})})})});My.displayName=TE;var PE="SelectItemAlignedPosition",Iy=v.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,s=ar(Tr,n),i=lr(Tr,n),[a,c]=v.useState(null),[u,m]=v.useState(null),f=Ie(t,j=>m(j)),d=il(n),b=v.useRef(!1),x=v.useRef(!0),{viewport:g,selectedItem:w,selectedItemText:p,focusSelectedItem:h}=i,y=v.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&u&&g&&w&&p){const j=s.trigger.getBoundingClientRect(),C=u.getBoundingClientRect(),P=s.valueNode.getBoundingClientRect(),R=p.getBoundingClientRect();if(s.dir!=="rtl"){const Q=R.left-C.left,O=P.left-Q,Z=j.left-O,se=j.width+Z,Ne=Math.max(se,C.width),Ee=window.innerWidth-Lt,$e=zp(O,[Lt,Math.max(Lt,Ee-Ne)]);a.style.minWidth=se+"px",a.style.left=$e+"px"}else{const Q=C.right-R.right,O=window.innerWidth-P.right-Q,Z=window.innerWidth-j.right-O,se=j.width+Z,Ne=Math.max(se,C.width),Ee=window.innerWidth-Lt,$e=zp(O,[Lt,Math.max(Lt,Ee-Ne)]);a.style.minWidth=se+"px",a.style.right=$e+"px"}const _=d(),D=window.innerHeight-Lt*2,V=g.scrollHeight,I=window.getComputedStyle(u),W=parseInt(I.borderTopWidth,10),F=parseInt(I.paddingTop,10),K=parseInt(I.borderBottomWidth,10),k=parseInt(I.paddingBottom,10),A=W+F+V+k+K,B=Math.min(w.offsetHeight*5,A),z=window.getComputedStyle(g),U=parseInt(z.paddingTop,10),Y=parseInt(z.paddingBottom,10),te=j.top+j.height/2-Lt,Se=D-te,J=w.offsetHeight/2,$=w.offsetTop+J,G=W+F+$,ae=A-G;if(G<=te){const Q=_.length>0&&w===_[_.length-1].ref.current;a.style.bottom="0px";const O=u.clientHeight-g.offsetTop-g.offsetHeight,Z=Math.max(Se,J+(Q?Y:0)+O+K),se=G+Z;a.style.height=se+"px"}else{const Q=_.length>0&&w===_[0].ref.current;a.style.top="0px";const Z=Math.max(te,W+g.offsetTop+(Q?U:0)+J)+ae;a.style.height=Z+"px",g.scrollTop=G-te+g.offsetTop}a.style.margin=`${Lt}px 0`,a.style.minHeight=B+"px",a.style.maxHeight=D+"px",r==null||r(),requestAnimationFrame(()=>b.current=!0)}},[d,s.trigger,s.valueNode,a,u,g,w,p,s.dir,r]);Xe(()=>y(),[y]);const[S,N]=v.useState();Xe(()=>{u&&N(window.getComputedStyle(u).zIndex)},[u]);const E=v.useCallback(j=>{j&&x.current===!0&&(y(),h==null||h(),x.current=!1)},[y,h]);return l.jsx(AE,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:b,onScrollButtonChange:E,children:l.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S},children:l.jsx(he.div,{...o,ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});Iy.displayName=PE;var RE="SelectPopperPosition",fu=v.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=Lt,...s}=e,i=al(n);return l.jsx(Lv,{...i,...s,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});fu.displayName=RE;var[AE,Ld]=zo(Tr,{}),pu="SelectViewport",Oy=v.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,s=lr(pu,n),i=Ld(pu,n),a=Ie(t,s.onViewportChange),c=v.useRef(0);return l.jsxs(l.Fragment,{children:[l.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),l.jsx(sl.Slot,{scope:n,children:l.jsx(he.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:oe(o.onScroll,u=>{const m=u.currentTarget,{contentWrapper:f,shouldExpandOnScrollRef:d}=i;if(d!=null&&d.current&&f){const b=Math.abs(c.current-m.scrollTop);if(b>0){const x=window.innerHeight-Lt*2,g=parseFloat(f.style.minHeight),w=parseFloat(f.style.height),p=Math.max(g,w);if(p<x){const h=p+b,y=Math.min(x,h),S=h-y;f.style.height=y+"px",f.style.bottom==="0px"&&(m.scrollTop=S>0?S:0,f.style.justifyContent="flex-end")}}}c.current=m.scrollTop})})})]})});Oy.displayName=pu;var _y="SelectGroup",[ME,IE]=zo(_y),OE=v.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Sd();return l.jsx(ME,{scope:n,id:o,children:l.jsx(he.div,{role:"group","aria-labelledby":o,...r,ref:t})})});OE.displayName=_y;var Ly="SelectLabel",Dy=v.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=IE(Ly,n);return l.jsx(he.div,{id:o.id,...r,ref:t})});Dy.displayName=Ly;var Ca="SelectItem",[_E,zy]=zo(Ca),Fy=v.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:s,...i}=e,a=ar(Ca,n),c=lr(Ca,n),u=a.value===r,[m,f]=v.useState(s??""),[d,b]=v.useState(!1),x=Ie(t,h=>{var y;return(y=c.itemRefCallback)==null?void 0:y.call(c,h,r,o)}),g=Sd(),w=v.useRef("touch"),p=()=>{o||(a.onValueChange(r),a.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return l.jsx(_E,{scope:n,value:r,disabled:o,textId:g,isSelected:u,onItemTextChange:v.useCallback(h=>{f(y=>y||((h==null?void 0:h.textContent)??"").trim())},[]),children:l.jsx(sl.ItemSlot,{scope:n,value:r,disabled:o,textValue:m,children:l.jsx(he.div,{role:"option","aria-labelledby":g,"data-highlighted":d?"":void 0,"aria-selected":u&&d,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...i,ref:x,onFocus:oe(i.onFocus,()=>b(!0)),onBlur:oe(i.onBlur,()=>b(!1)),onClick:oe(i.onClick,()=>{w.current!=="mouse"&&p()}),onPointerUp:oe(i.onPointerUp,()=>{w.current==="mouse"&&p()}),onPointerDown:oe(i.onPointerDown,h=>{w.current=h.pointerType}),onPointerMove:oe(i.onPointerMove,h=>{var y;w.current=h.pointerType,o?(y=c.onItemLeave)==null||y.call(c):w.current==="mouse"&&h.currentTarget.focus({preventScroll:!0})}),onPointerLeave:oe(i.onPointerLeave,h=>{var y;h.currentTarget===document.activeElement&&((y=c.onItemLeave)==null||y.call(c))}),onKeyDown:oe(i.onKeyDown,h=>{var S;((S=c.searchRef)==null?void 0:S.current)!==""&&h.key===" "||(bE.includes(h.key)&&p(),h.key===" "&&h.preventDefault())})})})})});Fy.displayName=Ca;var ss="SelectItemText",By=v.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...s}=e,i=ar(ss,n),a=lr(ss,n),c=zy(ss,n),u=EE(ss,n),[m,f]=v.useState(null),d=Ie(t,p=>f(p),c.onItemTextChange,p=>{var h;return(h=a.itemTextRefCallback)==null?void 0:h.call(a,p,c.value,c.disabled)}),b=m==null?void 0:m.textContent,x=v.useMemo(()=>l.jsx("option",{value:c.value,disabled:c.disabled,children:b},c.value),[c.disabled,c.value,b]),{onNativeOptionAdd:g,onNativeOptionRemove:w}=u;return Xe(()=>(g(x),()=>w(x)),[g,w,x]),l.jsxs(l.Fragment,{children:[l.jsx(he.span,{id:c.textId,...s,ref:d}),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?Mr.createPortal(s.children,i.valueNode):null]})});By.displayName=ss;var $y="SelectItemIndicator",Hy=v.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return zy($y,n).isSelected?l.jsx(he.span,{"aria-hidden":!0,...r,ref:t}):null});Hy.displayName=$y;var hu="SelectScrollUpButton",Uy=v.forwardRef((e,t)=>{const n=lr(hu,e.__scopeSelect),r=Ld(hu,e.__scopeSelect),[o,s]=v.useState(!1),i=Ie(t,r.onScrollButtonChange);return Xe(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=c.scrollTop>0;s(u)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?l.jsx(Wy,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop-c.offsetHeight)}}):null});Uy.displayName=hu;var mu="SelectScrollDownButton",Vy=v.forwardRef((e,t)=>{const n=lr(mu,e.__scopeSelect),r=Ld(mu,e.__scopeSelect),[o,s]=v.useState(!1),i=Ie(t,r.onScrollButtonChange);return Xe(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=c.scrollHeight-c.clientHeight,m=Math.ceil(c.scrollTop)<u;s(m)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?l.jsx(Wy,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop+c.offsetHeight)}}):null});Vy.displayName=mu;var Wy=v.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,s=lr("SelectScrollButton",n),i=v.useRef(null),a=il(n),c=v.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return v.useEffect(()=>()=>c(),[c]),Xe(()=>{var m;const u=a().find(f=>f.ref.current===document.activeElement);(m=u==null?void 0:u.ref.current)==null||m.scrollIntoView({block:"nearest"})},[a]),l.jsx(he.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:oe(o.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(r,50))}),onPointerMove:oe(o.onPointerMove,()=>{var u;(u=s.onItemLeave)==null||u.call(s),i.current===null&&(i.current=window.setInterval(r,50))}),onPointerLeave:oe(o.onPointerLeave,()=>{c()})})}),LE="SelectSeparator",Ky=v.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return l.jsx(he.div,{"aria-hidden":!0,...r,ref:t})});Ky.displayName=LE;var gu="SelectArrow",DE=v.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=al(n),s=ar(gu,n),i=lr(gu,n);return s.open&&i.position==="popper"?l.jsx(Dv,{...o,...r,ref:t}):null});DE.displayName=gu;function Qy(e){return e===""||e===void 0}var Gy=v.forwardRef((e,t)=>{const{value:n,...r}=e,o=v.useRef(null),s=Ie(t,o),i=Ij(n);return v.useEffect(()=>{const a=o.current,c=window.HTMLSelectElement.prototype,m=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==n&&m){const f=new Event("change",{bubbles:!0});m.call(a,n),a.dispatchEvent(f)}},[i,n]),l.jsx(Xs,{asChild:!0,children:l.jsx("select",{...r,ref:s,defaultValue:n})})});Gy.displayName="BubbleSelect";function Yy(e){const t=St(e),n=v.useRef(""),r=v.useRef(0),o=v.useCallback(i=>{const a=n.current+i;t(a),function c(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>c(""),1e3))}(a)},[t]),s=v.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return v.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,s]}function qy(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let i=zE(e,Math.max(s,0));o.length===1&&(i=i.filter(u=>u!==n));const c=i.find(u=>u.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==n?c:void 0}function zE(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var FE=Ny,Xy=Ey,BE=ky,$E=Ty,HE=Py,Zy=Ry,UE=Oy,Jy=Dy,e0=Fy,VE=By,WE=Hy,t0=Uy,n0=Vy,r0=Ky;const o0=FE,s0=BE,Dd=v.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(Xy,{ref:r,className:de("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,l.jsx($E,{asChild:!0,children:l.jsx(nv,{className:"h-4 w-4 opacity-50"})})]}));Dd.displayName=Xy.displayName;const i0=v.forwardRef(({className:e,...t},n)=>l.jsx(t0,{ref:n,className:de("flex cursor-default items-center justify-center py-1",e),...t,children:l.jsx(K1,{className:"h-4 w-4"})}));i0.displayName=t0.displayName;const a0=v.forwardRef(({className:e,...t},n)=>l.jsx(n0,{ref:n,className:de("flex cursor-default items-center justify-center py-1",e),...t,children:l.jsx(nv,{className:"h-4 w-4"})}));a0.displayName=n0.displayName;const zd=v.forwardRef(({className:e,children:t,position:n="popper",...r},o)=>l.jsx(HE,{children:l.jsxs(Zy,{ref:o,className:de("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-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",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[l.jsx(i0,{}),l.jsx(UE,{className:de("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),l.jsx(a0,{})]})}));zd.displayName=Zy.displayName;const KE=v.forwardRef(({className:e,...t},n)=>l.jsx(Jy,{ref:n,className:de("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));KE.displayName=Jy.displayName;const hn=v.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(e0,{ref:r,className:de("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[l.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:l.jsx(WE,{children:l.jsx(W1,{className:"h-4 w-4"})})}),l.jsx(VE,{children:t})]}));hn.displayName=e0.displayName;const QE=v.forwardRef(({className:e,...t},n)=>l.jsx(r0,{ref:n,className:de("-mx-1 my-1 h-px bg-muted",e),...t}));QE.displayName=r0.displayName;const Fd=v.forwardRef(({className:e,...t},n)=>l.jsx("textarea",{className:de("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));Fd.displayName="Textarea";const GE=()=>{const[e,t]=v.useState({fullName:"",email:"",phone:"",street:"",city:"",state:"",country:"",format:"",quantity:1,notes:""}),n=(o,s)=>{t(i=>({...i,[o]:s}))},r=o=>{o.preventDefault(),console.log("Order submitted:",e),alert("Order form submitted! (Paystack integration needed)")};return l.jsxs("div",{className:"pt-20 min-h-screen",children:[l.jsxs("section",{className:"py-20 bg-gradient-to-r from-emerald-900/30 via-gray-400 to-emerald-900/20 text-white",children:[l.jsx("div",{className:"absolute inset-0 z-0",children:l.jsx("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"w-full h-full object-cover",style:{filter:"brightness(0.7)"},children:l.jsx("source",{src:"https://cdn.jsdelivr.net/gh/LeviUdoh-17/voqueenAudioAssets/audio/AboutVid.mp4"})})}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-b h-full from-black/60 via-green-900/50 to-green-800/70 z-0"}),l.jsx("div",{className:"max-w-6xl mx-auto px-4 z-10",children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-12 items-center",children:[l.jsx("div",{className:"text-center",children:l.jsx(le,{className:"overflow-hidden inline-block transform hover:scale-105 transition-transform",children:l.jsx(ce,{className:"p-0",children:l.jsx("img",{src:"/NDBook.jpg",alt:"I GOT THIS. I AM HER - Book Cover",className:"w-full h-auto object-cover shadow-2xl"})})})}),l.jsxs("div",{className:"space-y-8 z-10",children:[l.jsxs("h1",{className:"text-5xl md:text-6xl font-bold",children:["I GOT THIS!",l.jsx("br",{}),l.jsx("span",{className:"text-emerald-400",children:"I AM HER"})]}),l.jsx("p",{className:"text-xl leading-relaxed",children:"This book is more than words. It's a mirror. A journey from brokenness to breakthrough, from silence to strength. Written for every woman who's ever felt lost, unheard, or forgotten."}),l.jsxs("div",{className:"flex items-center space-x-2",children:[[...Array(5)].map((o,s)=>l.jsx(sv,{className:"w-6 h-6 text-yellow-400 fill-current"},s)),l.jsx("span",{className:"ml-2 text-lg",children:"(4.9/5 from 247 readers)"})]})]})]})})]}),l.jsx("section",{className:"py-20",children:l.jsxs("div",{className:"max-w-6xl mx-auto px-4",children:[l.jsx("h2",{className:"text-4xl font-bold text-center mb-12",children:"What You'll Gain"}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[l.jsx(le,{className:"text-center p-8 hover:shadow-lg transition-shadow",children:l.jsxs(ce,{className:"space-y-4",children:[l.jsx("div",{className:"text-4xl",children:"💚"}),l.jsx("h3",{className:"text-2xl font-bold text-primary",children:"Healing"}),l.jsx("p",{className:"text-muted-foreground",children:"Deep, authentic healing from past wounds and traumas that have held you back."})]})}),l.jsx(le,{className:"text-center p-8 hover:shadow-lg transition-shadow",children:l.jsxs(ce,{className:"space-y-4",children:[l.jsx("div",{className:"text-4xl",children:"⚡"}),l.jsx("h3",{className:"text-2xl font-bold text-primary",children:"Empowerment"}),l.jsx("p",{className:"text-muted-foreground",children:"Rediscover your voice, your power, and your purpose in this world."})]})}),l.jsx(le,{className:"text-center p-8 hover:shadow-lg transition-shadow",children:l.jsxs(ce,{className:"space-y-4",children:[l.jsx("div",{className:"text-4xl",children:"👑"}),l.jsx("h3",{className:"text-2xl font-bold text-primary",children:"Identity"}),l.jsx("p",{className:"text-muted-foreground",children:"Remember who you were before the world told you who to be."})]})})]})]})}),l.jsx("section",{className:"py-12 bg-muted/50",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[l.jsx("h2",{className:"text-3xl font-bold mb-8",children:"Get Your Copy Today"}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[l.jsx("a",{href:"https://www.amazon.com/GOT-THIS-HER-Rejection-Redemption-ebook/dp/B0FC6N3QMK/ref=sr_1_1?s=books&sr=1-1",children:l.jsxs(ke,{size:"lg",className:"bg-yellow-500 hover:bg-yellow-400/90 text-white font-semibold",children:[l.jsx("img",{src:"/Amazon.webp",className:"w-5 h-5 mr-2",alt:"Amazon's Logo"}),"Buy on Amazon"]})}),l.jsxs(ke,{size:"lg",variant:"outline",className:"border-primary text-primary hover:bg-primary hover:text-white",children:[l.jsx(Q1,{className:"w-5 h-5 mr-2"}),"Buy Directly from Nancy"]})]})]})}),l.jsx("section",{className:"py-20",children:l.jsx("div",{className:"max-w-4xl mx-auto px-4",children:l.jsxs(le,{children:[l.jsx(Lo,{children:l.jsx(Do,{className:"text-3xl text-center",children:'Order "I GOT THIS! I AM HER" — Direct from Nancy Duffour'})}),l.jsx(ce,{children:l.jsxs("form",{onSubmit:r,className:"space-y-6",children:[l.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx(gt,{htmlFor:"fullName",children:"Full Name *"}),l.jsx(mt,{id:"fullName",required:!0,value:e.fullName,onChange:o=>n("fullName",o.target.value)})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(gt,{htmlFor:"email",children:"Email Address *"}),l.jsx(mt,{id:"email",type:"email",required:!0,value:e.email,onChange:o=>n("email",o.target.value)})]})]}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx(gt,{htmlFor:"phone",children:"Phone Number *"}),l.jsx(mt,{id:"phone",required:!0,value:e.phone,onChange:o=>n("phone",o.target.value)})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(gt,{htmlFor:"format",children:"Book Format *"}),l.jsxs(o0,{onValueChange:o=>n("format",o),children:[l.jsx(Dd,{children:l.jsx(s0,{placeholder:"Select format"})}),l.jsxs(zd,{children:[l.jsx(hn,{value:"hardcover",children:"Hardcover – ₦15,000"}),l.jsx(hn,{value:"paperback",children:"Paperback – ₦10,000"})]})]})]})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx(gt,{children:"Delivery Address *"}),l.jsxs("div",{className:"grid gap-4",children:[l.jsx(mt,{placeholder:"Street Address",value:e.street,onChange:o=>n("street",o.target.value),required:!0}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-4",children:[l.jsx(mt,{placeholder:"City",value:e.city,onChange:o=>n("city",o.target.value),required:!0}),l.jsx(mt,{placeholder:"State",value:e.state,onChange:o=>n("state",o.target.value),required:!0}),l.jsx(mt,{placeholder:"Country",value:e.country,onChange:o=>n("country",o.target.value),required:!0})]})]})]}),l.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:l.jsxs("div",{className:"space-y-2",children:[l.jsx(gt,{htmlFor:"quantity",children:"Quantity"}),l.jsx(mt,{id:"quantity",type:"number",min:"1",value:e.quantity,onChange:o=>n("quantity",parseInt(o.target.value))})]})}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(gt,{htmlFor:"notes",children:"Order Notes (Optional)"}),l.jsx(Fd,{id:"notes",placeholder:"Who should we sign the book to? Special instructions?",value:e.notes,onChange:o=>n("notes",o.target.value)})]}),l.jsx(ke,{type:"submit",size:"lg",className:"w-full bg-primary hover:bg-primary/90",children:"Complete Order with Paystack"})]})})]})})}),l.jsx("section",{className:"py-20 bg-muted/50",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[l.jsx("blockquote",{className:"text-2xl italic mb-6",children:`"This book didn't just change my perspective—it changed my life. Nancy's words are medicine for the soul."`}),l.jsx("cite",{className:"text-lg text-muted-foreground",children:"— Grace A., Movement Member"})]})})]})};var l0={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Yp=L.createContext&&L.createContext(l0),YE=["attr","size","title"];function qE(e,t){if(e==null)return{};var n=XE(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function XE(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ka(){return ka=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},ka.apply(this,arguments)}function qp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ta(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?qp(Object(n),!0).forEach(function(r){ZE(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ZE(e,t,n){return t=JE(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JE(e){var t=eC(e,"string");return typeof t=="symbol"?t:t+""}function eC(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function c0(e){return e&&e.map((t,n)=>L.createElement(t.tag,Ta({key:n},t.attr),c0(t.child)))}function ll(e){return t=>L.createElement(tC,ka({attr:Ta({},e.attr)},t),c0(e.child))}function tC(e){var t=n=>{var{attr:r,size:o,title:s}=e,i=qE(e,YE),a=o||n.size||"1em",c;return n.className&&(c=n.className),e.className&&(c=(c?c+" ":"")+e.className),L.createElement("svg",ka({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,i,{className:c,style:Ta(Ta({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),s&&L.createElement("title",null,s),e.children)};return Yp!==void 0?L.createElement(Yp.Consumer,null,n=>t(n)):t(l0)}function nC(e){return ll({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111.1 8 0 119.1 0 256s111.1 248 248 248 248-111.1 248-248S384.9 8 248 8zm100.7 364.9c-4.2 0-6.8-1.3-10.7-3.6-62.4-37.6-135-39.2-206.7-24.5-3.9 1-9 2.6-11.9 2.6-9.7 0-15.8-7.7-15.8-15.8 0-10.3 6.1-15.2 13.6-16.8 81.9-18.1 165.6-16.5 237 26.2 6.1 3.9 9.7 7.4 9.7 16.5s-7.1 15.4-15.2 15.4zm26.9-65.6c-5.2 0-8.7-2.3-12.3-4.2-62.5-37-155.7-51.9-238.6-29.4-4.8 1.3-7.4 2.6-11.9 2.6-10.7 0-19.4-8.7-19.4-19.4s5.2-17.8 15.5-20.7c27.8-7.8 56.2-13.6 97.8-13.6 64.9 0 127.6 16.1 177 45.5 8.1 4.8 11.3 11 11.3 19.7-.1 10.8-8.5 19.5-19.4 19.5zm31-76.2c-5.2 0-8.4-1.3-12.9-3.9-71.2-42.5-198.5-52.7-280.9-29.7-3.6 1-8.1 2.6-12.9 2.6-13.2 0-23.3-10.3-23.3-23.6 0-13.6 8.4-21.3 17.4-23.9 35.2-10.3 74.6-15.2 117.5-15.2 73 0 149.5 15.2 205.4 47.8 7.8 4.5 12.9 10.7 12.9 22.6 0 13.6-11 23.3-23.2 23.3z"},child:[]}]})(e)}function u0(e){return ll({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"},child:[]}]})(e)}function rC(e){return ll({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm160 215.5v6.93c0 5.87-3.32 11.24-8.57 13.86l-15.39 7.7a15.485 15.485 0 0 1-15.53-.97l-18.21-12.14a15.52 15.52 0 0 0-13.5-1.81l-2.65.88c-9.7 3.23-13.66 14.79-7.99 23.3l13.24 19.86c2.87 4.31 7.71 6.9 12.89 6.9h8.21c8.56 0 15.5 6.94 15.5 15.5v11.34c0 3.35-1.09 6.62-3.1 9.3l-18.74 24.98c-1.42 1.9-2.39 4.1-2.83 6.43l-4.3 22.83c-.62 3.29-2.29 6.29-4.76 8.56a159.608 159.608 0 0 0-25 29.16l-13.03 19.55a27.756 27.756 0 0 1-23.09 12.36c-10.51 0-20.12-5.94-24.82-15.34a78.902 78.902 0 0 1-8.33-35.29V367.5c0-8.56-6.94-15.5-15.5-15.5h-25.88c-14.49 0-28.38-5.76-38.63-16a54.659 54.659 0 0 1-16-38.63v-14.06c0-17.19 8.1-33.38 21.85-43.7l27.58-20.69a54.663 54.663 0 0 1 32.78-10.93h.89c8.48 0 16.85 1.97 24.43 5.77l14.72 7.36c3.68 1.84 7.93 2.14 11.83.84l47.31-15.77c6.33-2.11 10.6-8.03 10.6-14.7 0-8.56-6.94-15.5-15.5-15.5h-10.09c-4.11 0-8.05-1.63-10.96-4.54l-6.92-6.92a15.493 15.493 0 0 0-10.96-4.54H199.5c-8.56 0-15.5-6.94-15.5-15.5v-4.4c0-7.11 4.84-13.31 11.74-15.04l14.45-3.61c3.74-.94 7-3.23 9.14-6.44l8.08-12.11c2.87-4.31 7.71-6.9 12.89-6.9h24.21c8.56 0 15.5-6.94 15.5-15.5v-21.7C359.23 71.63 422.86 131.02 441.93 208H423.5c-8.56 0-15.5 6.94-15.5 15.5z"},child:[]}]})(e)}function ec(e){return ll({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"},child:[]}]})(e)}const oC=()=>{const[e,t]=v.useState(""),n=[{id:1,name:"I AM HER T-Shirt",price:"₦8,000",image:"https://unsplash.com/photos/acn5ERAeSb4/download?ixid=M3wxMjA3fDB8MXxzZWFyY2h8Nnx8dHNoaXJ0fGVufDB8fHx8MTc0OTgwODE4MHww&force=true",description:"Premium cotton t-shirt with empowering message"},{id:2,name:"I AM HER Hat",price:"₦5,000",image:"https://unsplash.com/photos/t8HiP3e5abg/download?ixid=M3wxMjA3fDB8MXxzZWFyY2h8NHx8aGF0fGVufDB8fHx8MTc0OTg2MDU5MXww&force=true",description:"Adjustable cap for everyday empowerment"},{id:3,name:"I AM HER Tote Bag",price:"₦6,500",image:"https://unsplash.com/photos/smTDI-z1rlY/download?ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzQ5OTExNTc0fA&force=true",description:"Eco-friendly tote for the empowered woman"},{id:4,name:"I AM HER Journal",price:"₦7,500",image:"https://unsplash.com/photos/y7GlIdTUOvo/download?ixid=M3wxMjA3fDB8MXxzZWFyY2h8NHx8Sm91cm5hbHxlbnwwfHx8fDE3NDk5MTE2Mzl8MA&force=true",description:"Daily affirmations and reflection journal"}];return l.jsxs("div",{className:"pt-20 min-h-screen",children:[l.jsx("section",{className:"py-20 bg-gradient-to-r from-emerald-400 via-emerald-500 to-emerald-600 text-black",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[l.jsx("h1",{className:"text-5xl md:text-6xl font-bold mb-6",children:"I AM HER Collection"}),l.jsx("p",{className:"text-xl mb-8 max-w-2xl mx-auto",children:"When you wear this, you're walking in healing. You're declaring your worth. You're part of the movement."}),l.jsx("blockquote",{className:"text-2xl italic font-light",children:`"When you wear this, you're walking in healing."`})]})}),l.jsx("section",{className:"py-20",children:l.jsx("div",{className:"max-w-6xl mx-auto px-4",children:l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-2 gap-8",children:n.map(r=>l.jsxs(le,{className:"overflow-hidden hover:shadow-lg transition-shadow",children:[l.jsx(ce,{className:"p-0",children:l.jsx("img",{src:r.image,alt:r.name,className:"w-full h-80 object-cover"})}),l.jsxs(Lo,{children:[l.jsx(Do,{className:"text-2xl",children:r.name}),l.jsx("p",{className:"text-muted-foreground",children:r.description}),l.jsxs("div",{className:"flex items-center justify-between pt-4",children:[l.jsx("span",{className:"text-3xl font-bold text-primary",children:r.price}),l.jsxs("div",{className:"flex items-center space-x-2",children:[l.jsxs(o0,{onValueChange:t,children:[l.jsx(Dd,{className:"w-24",children:l.jsx(s0,{placeholder:"Size"})}),l.jsxs(zd,{children:[l.jsx(hn,{value:"xs",children:"XS"}),l.jsx(hn,{value:"s",children:"S"}),l.jsx(hn,{value:"m",children:"M"}),l.jsx(hn,{value:"l",children:"L"}),l.jsx(hn,{value:"xl",children:"XL"}),l.jsx(hn,{value:"xxl",children:"XXL"})]})]}),l.jsxs(ke,{className:"bg-primary hover:bg-primary/90",children:[l.jsx(tb,{className:"w-4 h-4 mr-2"}),"Order"]})]})]})]})]},r.id))})})}),l.jsx("section",{className:"py-20 bg-primary text-white",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[l.jsx("h2",{className:"text-4xl font-bold mb-8",children:"More Than Merchandise"}),l.jsx("p",{className:"text-xl leading-relaxed mb-8",children:"Every piece you wear is a declaration. A reminder. A movement. You're not just buying clothing—you're joining a sisterhood of women who refuse to stay silent."}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-8 text-center",children:[l.jsxs("div",{children:[l.jsx(ec,{className:"w-12 h-12 mx-auto mb-4 text-white"}),l.jsx("h3",{className:"text-xl font-bold mb-2",children:"Premium Quality"}),l.jsx("p",{children:"Made with love and attention to detail"})]}),l.jsxs("div",{children:[l.jsx(ec,{className:"w-12 h-12 mx-auto mb-4 text-white"}),l.jsx("h3",{className:"text-xl font-bold mb-2",children:"Empowering Message"}),l.jsx("p",{children:"Every item carries the HER movement"})]}),l.jsxs("div",{children:[l.jsx(ec,{className:"w-12 h-12 mx-auto mb-4 text-white"}),l.jsx("h3",{className:"text-xl font-bold mb-2",children:"Supporting Women"}),l.jsx("p",{children:"Proceeds support women's empowerment initiatives"})]})]})]})}),l.jsx("section",{className:"py-20 bg-muted/50",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4",children:[l.jsx("h2",{className:"text-3xl font-bold text-center mb-12",children:"Size Guide"}),l.jsx(le,{children:l.jsx(ce,{className:"p-8",children:l.jsx("div",{className:"overflow-x-auto",children:l.jsxs("table",{className:"w-full text-sm",children:[l.jsx("thead",{children:l.jsxs("tr",{className:"border-b",children:[l.jsx("th",{className:"text-left py-2",children:"Size"}),l.jsx("th",{className:"text-left py-2",children:"Chest (inches)"}),l.jsx("th",{className:"text-left py-2",children:"Length (inches)"}),l.jsx("th",{className:"text-left py-2",children:"Recommended For"})]})}),l.jsxs("tbody",{children:[l.jsxs("tr",{className:"border-b",children:[l.jsx("td",{className:"py-2 font-medium",children:"XS"}),l.jsx("td",{className:"py-2",children:"32-34"}),l.jsx("td",{className:"py-2",children:"25"}),l.jsx("td",{className:"py-2",children:"Size 4-6"})]}),l.jsxs("tr",{className:"border-b",children:[l.jsx("td",{className:"py-2 font-medium",children:"S"}),l.jsx("td",{className:"py-2",children:"34-36"}),l.jsx("td",{className:"py-2",children:"26"}),l.jsx("td",{className:"py-2",children:"Size 6-8"})]}),l.jsxs("tr",{className:"border-b",children:[l.jsx("td",{className:"py-2 font-medium",children:"M"}),l.jsx("td",{className:"py-2",children:"36-38"}),l.jsx("td",{className:"py-2",children:"27"}),l.jsx("td",{className:"py-2",children:"Size 8-10"})]}),l.jsxs("tr",{className:"border-b",children:[l.jsx("td",{className:"py-2 font-medium",children:"L"}),l.jsx("td",{className:"py-2",children:"38-40"}),l.jsx("td",{className:"py-2",children:"28"}),l.jsx("td",{className:"py-2",children:"Size 10-12"})]}),l.jsxs("tr",{className:"border-b",children:[l.jsx("td",{className:"py-2 font-medium",children:"XL"}),l.jsx("td",{className:"py-2",children:"40-42"}),l.jsx("td",{className:"py-2",children:"29"}),l.jsx("td",{className:"py-2",children:"Size 12-14"})]}),l.jsxs("tr",{children:[l.jsx("td",{className:"py-2 font-medium",children:"XXL"}),l.jsx("td",{className:"py-2",children:"42-44"}),l.jsx("td",{className:"py-2",children:"30"}),l.jsx("td",{className:"py-2",children:"Size 14-16"})]})]})]})})})})]})})]})},Bd=({children:e,className:t=""})=>l.jsxs("section",{className:`relative py-20 overflow-hidden ${t}`,children:[l.jsx("div",{className:"absolute inset-0 z-0",children:l.jsx("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"w-full h-full object-cover",style:{filter:"brightness(0.7)"},children:l.jsx("source",{src:"https://dm0qx8t0i9gc9.cloudfront.net/watermarks/video/BYhbSjKDtkvty6l0n/videoblocks-652db06f13841572379b3628_scxzjo6ob6__6f2dcef1db38bd6975e674a39683e482__P360.mp4",type:"video/mp4"})})}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/60 via-green-900/50 to-green-800/70 z-10"}),l.jsx("div",{className:"relative z-20 text-white",children:e})]}),sC=()=>{const[e,t]=v.useState({name:"",email:"",message:""}),n=(o,s)=>{t(i=>({...i,[o]:s}))},r=o=>{o.preventDefault(),console.log("Contact form submitted:",e),alert("Message sent successfully!"),t({name:"",email:"",message:""})};return l.jsxs("div",{className:"pt-20 min-h-screen",children:[l.jsx(Bd,{children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[l.jsx("h1",{className:"text-5xl md:text-6xl font-bold mb-6",children:"Contact Me"}),l.jsx("p",{className:"text-xl mb-8 max-w-2xl mx-auto",children:"Have a question? Want to share your story? Need to book a speaking engagement? I'd love to hear from you."})]})}),l.jsx("section",{className:"py-20",children:l.jsx("div",{className:"max-w-6xl mx-auto px-4",children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-12",children:[l.jsxs(le,{className:"border-green-200",children:[l.jsx(Lo,{children:l.jsx(Do,{className:"text-3xl",children:"Send Me a Message"})}),l.jsx(ce,{children:l.jsxs("form",{onSubmit:r,className:"space-y-6",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx(gt,{htmlFor:"name",children:"Your Name *"}),l.jsx(mt,{id:"name",required:!0,value:e.name,onChange:o=>n("name",o.target.value),placeholder:"Enter your full name"})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(gt,{htmlFor:"email",children:"Email Address *"}),l.jsx(mt,{id:"email",type:"email",required:!0,value:e.email,onChange:o=>n("email",o.target.value),placeholder:"Enter your email address"})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(gt,{htmlFor:"message",children:"Your Message *"}),l.jsx(Fd,{id:"message",required:!0,rows:6,value:e.message,onChange:o=>n("message",o.target.value),placeholder:"Share your thoughts, questions, or story..."})]}),l.jsx(ke,{type:"submit",size:"lg",className:"w-full bg-primary hover:bg-primary/90",children:"Send Message"})]})})]}),l.jsxs("div",{className:"space-y-8",children:[l.jsx(le,{className:"border-green-200",children:l.jsx(ce,{className:"p-8",children:l.jsxs("div",{className:"flex items-center space-x-4 mb-4",children:[l.jsx(wd,{className:"w-8 h-8 text-primary"}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold",children:"Email"}),l.jsx("a",{className:"text-muted-foreground",href:"mailto:info@nancyduffour.com",children:"info@nancyduffour.com"})]})]})})}),l.jsx(le,{className:"border-green-200",children:l.jsx(ce,{className:"p-8",children:l.jsxs("div",{className:"flex items-center space-x-4 mb-4",children:[l.jsx(J1,{className:"w-8 h-8 text-primary"}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold",children:"Phone"}),l.jsx("a",{className:"text-muted-foreground block mt-3",href:"tel:+234 708 092 1501",children:"+234 708 092 1501"}),l.jsx("a",{className:"text-muted-foreground block mt-3",href:"tel:+234 704 777 1945",children:"+234 704 777 1945"}),l.jsx("a",{className:"text-muted-foreground block mt-3",href:"tel:+44 787 899 3686",children:"+44 787 899 3686"})]})]})})}),l.jsx(le,{className:"border-green-200",children:l.jsx(ce,{className:"p-8",children:l.jsxs("div",{className:"flex items-center space-x-4 mb-4",children:[l.jsx(u0,{className:"w-8 h-8 text-primary"}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold",children:"WhatsApp"}),l.jsx("a",{href:"https://wa.me/+447878993686",children:l.jsx(ke,{variant:"outline",className:"mt-2 border-green-300 text-green-700 hover:bg-green-50",children:"Chat with Team Nancy"})})]})]})})}),l.jsx(le,{className:"bg-green-50 border-green-200",children:l.jsxs(ce,{className:"p-8",children:[l.jsx("h3",{className:"text-xl font-bold mb-4 text-primary",children:"Speaking Engagements"}),l.jsx("p",{className:"text-muted-foreground mb-4",children:`Interested in having Nancy speak at your event, university, or organization? Let's discuss how we can bring the "I AM HER" message to your audience.`}),l.jsxs("ul",{className:"text-sm text-muted-foreground space-y-2",children:[l.jsx("li",{children:"• Book Talks & Readings"}),l.jsx("li",{children:"• Healing Sessions"}),l.jsx("li",{children:"• Women's Empowerment Workshops"}),l.jsx("li",{children:"• University Campus Tours"})]})]})})]})]})})}),l.jsx("section",{className:"py-12 bg-gradient-to-r from-green-50 to-emerald-50",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4",children:"Response Time"}),l.jsx("p",{className:"text-muted-foreground",children:"I personally read every message. You can expect a response within 24-48 hours. For urgent matters, please call or WhatsApp."})]})})]})},iC=()=>{const e=[{name:"Instagram",handle:"@NancyDuffour",description:"Daily inspiration, behind-the-scenes moments, and healing content",icon:rv,color:"from-purple-500 via-red-400 to-yellow-500",url:"https://www.instagram.com/nancyduffour_official?igsh=OTdyOWcyb3B0cmpk&utm_source=qr"},{name:"TikTok",handle:"@NancyDuffour",description:"Quick doses of empowerment and viral healing moments",icon:nb,color:"from-black via-gray-300 to-black",url:"http://www.tiktok.com/@iamherwithnancy"},{name:"WhatsApp",handle:"Chat with Team Nancy",description:"Direct communication and support from the HER movement team",icon:u0,color:"from-green-600 via-green-500 to-green-400",url:"https://wa.me/+447878993686"},{name:"YouTube",handle:"Nancy Duffour - Restora",description:"Deep dives, healing sessions, and the full HER movement journey",icon:sb,color:"from-red-600 via-red-400 to-red-600",url:"https://www.youtube.com/@IAMHERWITHNANCY"}];return l.jsxs("div",{className:"pt-20 min-h-screen",children:[l.jsx(Bd,{children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[l.jsx("h1",{className:"text-5xl md:text-6xl font-bold mb-6",children:"Join the Movement"}),l.jsx("p",{className:"text-xl mb-8 max-w-2xl mx-auto",children:"Follow Nancy on every platform. This is more than content — it's connection. It's community. It's the HER movement spreading across the world."})]})}),l.jsx("section",{className:"py-20",children:l.jsx("div",{className:"max-w-6xl mx-auto px-4",children:l.jsx("div",{className:"grid md:grid-cols-2 gap-8",children:e.map(t=>{const n=t.icon;return l.jsx(le,{className:"overflow-hidden hover:shadow-lg transition-all hover:scale-105 border-green-200",children:l.jsx(ce,{className:"p-0",children:l.jsxs("div",{className:`bg-gradient-to-r ${t.color} p-8 text-white`,children:[l.jsxs("div",{className:"flex items-center space-x-4 mb-4",children:[l.jsx(n,{className:"w-12 h-12"}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-2xl font-bold",children:t.name}),l.jsx("p",{className:"text-lg opacity-90",children:t.handle})]})]}),l.jsx("p",{className:"text-white/90 mb-6",children:t.description}),l.jsx(ke,{asChild:!0,variant:"secondary",size:"lg",className:"bg-white text-green-800 hover:bg-white/90",children:l.jsx("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",children:"Follow Now"})})]})})},t.name)})})})}),l.jsx("section",{className:"py-20 bg-primary text-white",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[l.jsx("div",{className:"flex justify-center mb-8",children:l.jsx(wd,{className:"w-16 h-16 text-emerald-300"})}),l.jsx("h2",{className:"text-4xl font-bold mb-6",children:"Stay Connected"}),l.jsx("p",{className:"text-xl mb-8 max-w-2xl mx-auto",children:"Be the first to know about new content, book releases, tour dates, and exclusive HER movement updates."}),l.jsx(le,{className:"max-w-md mx-auto",children:l.jsx(ce,{className:"p-6",children:l.jsxs("form",{className:"space-y-4",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx(gt,{htmlFor:"newsletter-email",className:"text-left block text-foreground",children:"Email Address"}),l.jsx(mt,{id:"newsletter-email",type:"email",placeholder:"Enter your email",required:!0})]}),l.jsx(ke,{type:"submit",className:"w-full bg-primary hover:bg-primary/90 text-white",children:"Join the Movement"})]})})})]})}),l.jsx("section",{className:"py-20",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[l.jsx("h2",{className:"text-4xl font-bold mb-6",children:"Ready to Rise?"}),l.jsx("p",{className:"text-xl text-muted-foreground mb-8",children:'This is your invitation to step into your power. To remember who you are. To join thousands of women who are saying "I AM HER" and meaning it.'}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[l.jsx(ke,{asChild:!0,size:"lg",className:"bg-emerald-400 hover:bg-emerald-500 text-white",children:l.jsx("a",{href:"/book",children:"Get the Book"})}),l.jsx(ke,{asChild:!0,size:"lg",variant:"outline",className:"border-green-300 text-green-700 hover:bg-green-50",children:l.jsx("a",{href:"/coming-soon",children:"Join the Movement"})})]})]})})]})},aC=()=>{const[e,t]=v.useState(""),n=r=>{r.preventDefault(),console.log("Email submitted:",e),alert("Thank you! You'll be the first to know when something new drops."),t("")};return l.jsxs("div",{className:"pt-20 min-h-screen",children:[l.jsxs("section",{className:"py-32 bg-gradient-to-r from-green-500 via-emerald-500 to-green-500 text-white relative overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0",children:[l.jsx("div",{className:"absolute top-[-10rem] left-[-10rem] w-[40rem] h-[40rem] bg-green-800/60 rounded-full animate-pulse"}),l.jsx("div",{className:"absolute bottom-[-10rem] right-[-10rem] w-[40rem] h-[40rem] bg-green-800/60 rounded-full animate-pulse",style:{animationDelay:"1s"}})]}),l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center relative z-11",children:[l.jsx("h1",{className:"text-4xl md:text-6xl font-bold mb-8",children:"You’ve seen the book. You’ve felt the fire. But there’s more coming."}),l.jsx("div",{className:"mt-12 space-y-6 text-lg md:text-xl",children:l.jsx("p",{children:"New movements. New power. New purpose."})}),l.jsx("div",{className:"mt-16",children:l.jsx("p",{className:"text-2xl md:text-3xl font-light italic mb-8",children:"Stay close. Stay ready."})})]})]}),l.jsx("section",{className:"py-20",children:l.jsx("div",{className:"max-w-2xl mx-auto px-4",children:l.jsxs(le,{className:"border-2 border-primary/20 shadow-2xl",children:[l.jsxs(Lo,{className:"text-center",children:[l.jsx(Do,{className:"text-3xl mb-4",children:"Join the Mailing List"}),l.jsx("p",{className:"text-lg text-muted-foreground",children:"Be the first to know when the next wave of the HER movement launches."})]}),l.jsx(ce,{children:l.jsxs("form",{onSubmit:n,className:"space-y-6",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx(gt,{htmlFor:"email",className:"text-lg",children:"Email Address"}),l.jsx(mt,{id:"email",type:"email",required:!0,value:e,onChange:r=>t(r.target.value),placeholder:"Enter your email to stay connected",className:"text-lg py-3"})]}),l.jsxs(ke,{type:"submit",size:"lg",className:"w-full bg-gradient-to-r from-emerald-600 to-green-600 hover:from-emerald-700 hover:to-green-700 text-lg py-3",children:["I'm Ready for What's Next",l.jsx(ev,{className:"ml-2 w-5 h-5"})]})]})})]})})}),l.jsx("section",{className:"py-20 bg-gradient-to-r from-green-50 to-emerald-50",children:l.jsxs("div",{className:"max-w-6xl mx-auto px-4",children:[l.jsx("h2",{className:"text-4xl font-bold text-center mb-12",children:"What's Loading..."}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[l.jsx(le,{className:"text-center hover:shadow-lg transition-shadow border-green-200",children:l.jsxs(ce,{className:"p-8",children:[l.jsx(rC,{className:"text-4xl text-emerald-950 mx-auto mb-4"}),l.jsx("h3",{className:"text-xl font-bold mb-4",children:"Global Sisterhood"}),l.jsx("p",{className:"text-muted-foreground",children:"A worldwide network of HER ambassadors spreading healing and empowerment."})]})}),l.jsx(le,{className:"text-center hover:shadow-lg transition-shadow border-green-200",children:l.jsxs(ce,{className:"p-8",children:[l.jsx("div",{className:"text-4xl mb-4",children:"🎓"}),l.jsx("h3",{className:"text-xl font-bold mb-4",children:"HER Academy"}),l.jsx("p",{className:"text-muted-foreground",children:"Deep healing courses and certification programs for women ready to lead."})]})}),l.jsx(le,{className:"text-center hover:shadow-lg transition-shadow border-green-200",children:l.jsxs(ce,{className:"p-8",children:[l.jsx("div",{className:"text-4xl mb-4",children:"📱"}),l.jsx("h3",{className:"text-xl font-bold mb-4",children:"HER App"}),l.jsx("p",{className:"text-muted-foreground",children:"Daily affirmations, healing exercises, and community connection in your pocket."})]})})]})]})}),l.jsx("section",{className:"py-20 bg-primary text-white",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[l.jsx("h2",{className:"text-4xl font-bold mb-8",children:"This Is Just the Beginning"}),l.jsx("p",{className:"text-xl leading-relaxed mb-8",children:"The book was the seed. The movement is growing. The revolution is coming. And you? You're not here by accident."}),l.jsx("p",{className:"text-2xl font-light italic",children:"You are HER. And HER is rising."})]})})]})};function lC(e){return Object.prototype.toString.call(e)==="[object Object]"}function Xp(e){return lC(e)||Array.isArray(e)}function cC(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function $d(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const o=JSON.stringify(Object.keys(e.breakpoints||{})),s=JSON.stringify(Object.keys(t.breakpoints||{}));return o!==s?!1:n.every(i=>{const a=e[i],c=t[i];return typeof a=="function"?`${a}`==`${c}`:!Xp(a)||!Xp(c)?a===c:$d(a,c)})}function Zp(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function uC(e,t){if(e.length!==t.length)return!1;const n=Zp(e),r=Zp(t);return n.every((o,s)=>{const i=r[s];return $d(o,i)})}function Hd(e){return typeof e=="number"}function vu(e){return typeof e=="string"}function cl(e){return typeof e=="boolean"}function Jp(e){return Object.prototype.toString.call(e)==="[object Object]"}function Te(e){return Math.abs(e)}function Ud(e){return Math.sign(e)}function vs(e,t){return Te(e-t)}function dC(e,t){if(e===0||t===0||Te(e)<=Te(t))return 0;const n=vs(Te(e),Te(t));return Te(n/e)}function $s(e){return Hs(e).map(Number)}function Vt(e){return e[ti(e)]}function ti(e){return Math.max(0,e.length-1)}function Vd(e,t){return t===ti(e)}function eh(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function Hs(e){return Object.keys(e)}function d0(e,t){return[e,t].reduce((n,r)=>(Hs(r).forEach(o=>{const s=n[o],i=r[o],a=Jp(s)&&Jp(i);n[o]=a?d0(s,i):i}),n),{})}function yu(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function fC(e,t){const n={start:r,center:o,end:s};function r(){return 0}function o(c){return s(c)/2}function s(c){return t-c}function i(c,u){return vu(e)?n[e](c):e(t,c,u)}return{measure:i}}function Us(){let e=[];function t(o,s,i,a={passive:!0}){let c;if("addEventListener"in o)o.addEventListener(s,i,a),c=()=>o.removeEventListener(s,i,a);else{const u=o;u.addListener(i),c=()=>u.removeListener(i)}return e.push(c),r}function n(){e=e.filter(o=>o())}const r={add:t,clear:n};return r}function pC(e,t,n,r){const o=Us(),s=1e3/60;let i=null,a=0,c=0;function u(){o.add(e,"visibilitychange",()=>{e.hidden&&x()})}function m(){b(),o.clear()}function f(w){if(!c)return;i||(i=w);const p=w-i;for(i=w,a+=p;a>=s;)n(s),a-=s;const h=a/s;r(h),c&&t.requestAnimationFrame(f)}function d(){c||(c=t.requestAnimationFrame(f))}function b(){t.cancelAnimationFrame(c),i=null,a=0,c=0}function x(){i=null,a=0}return{init:u,destroy:m,start:d,stop:b,update:()=>n(s),render:r}}function hC(e,t){const n=t==="rtl",r=e==="y",o=r?"y":"x",s=r?"x":"y",i=!r&&n?-1:1,a=m(),c=f();function u(x){const{height:g,width:w}=x;return r?g:w}function m(){return r?"top":n?"right":"left"}function f(){return r?"bottom":n?"left":"right"}function d(x){return x*i}return{scroll:o,cross:s,startEdge:a,endEdge:c,measureSize:u,direction:d}}function Pr(e=0,t=0){const n=Te(e-t);function r(u){return u<e}function o(u){return u>t}function s(u){return r(u)||o(u)}function i(u){return s(u)?r(u)?e:t:u}function a(u){return n?u-n*Math.ceil((u-t)/n):u}return{length:n,max:t,min:e,constrain:i,reachedAny:s,reachedMax:o,reachedMin:r,removeOffset:a}}function f0(e,t,n){const{constrain:r}=Pr(0,e),o=e+1;let s=i(t);function i(d){return n?Te((o+d)%o):r(d)}function a(){return s}function c(d){return s=i(d),f}function u(d){return m().set(a()+d)}function m(){return f0(e,a(),n)}const f={get:a,set:c,add:u,clone:m};return f}function mC(e,t,n,r,o,s,i,a,c,u,m,f,d,b,x,g,w,p,h){const{cross:y,direction:S}=e,N=["INPUT","SELECT","TEXTAREA"],E={passive:!1},j=Us(),C=Us(),P=Pr(50,225).constrain(b.measure(20)),R={mouse:300,touch:400},_={mouse:500,touch:600},D=x?43:25;let V=!1,I=0,W=0,F=!1,K=!1,k=!1,A=!1;function B(O){if(!h)return;function Z(Ne){(cl(h)||h(O,Ne))&&J(Ne)}const se=t;j.add(se,"dragstart",Ne=>Ne.preventDefault(),E).add(se,"touchmove",()=>{},E).add(se,"touchend",()=>{}).add(se,"touchstart",Z).add(se,"mousedown",Z).add(se,"touchcancel",G).add(se,"contextmenu",G).add(se,"click",ae,!0)}function z(){j.clear(),C.clear()}function U(){const O=A?n:t;C.add(O,"touchmove",$,E).add(O,"touchend",G).add(O,"mousemove",$,E).add(O,"mouseup",G)}function Y(O){const Z=O.nodeName||"";return N.includes(Z)}function te(){return(x?_:R)[A?"mouse":"touch"]}function Se(O,Z){const se=f.add(Ud(O)*-1),Ne=m.byDistance(O,!x).distance;return x||Te(O)<P?Ne:w&&Z?Ne*.5:m.byIndex(se.get(),0).distance}function J(O){const Z=yu(O,r);A=Z,k=x&&Z&&!O.buttons&&V,V=vs(o.get(),i.get())>=2,!(Z&&O.button!==0)&&(Y(O.target)||(F=!0,s.pointerDown(O),u.useFriction(0).useDuration(0),o.set(i),U(),I=s.readPoint(O),W=s.readPoint(O,y),d.emit("pointerDown")))}function $(O){if(!yu(O,r)&&O.touches.length>=2)return G(O);const se=s.readPoint(O),Ne=s.readPoint(O,y),Ee=vs(se,I),$e=vs(Ne,W);if(!K&&!A&&(!O.cancelable||(K=Ee>$e,!K)))return G(O);const Et=s.pointerMove(O);Ee>g&&(k=!0),u.useFriction(.3).useDuration(.75),a.start(),o.add(S(Et)),O.preventDefault()}function G(O){const se=m.byDistance(0,!1).index!==f.get(),Ne=s.pointerUp(O)*te(),Ee=Se(S(Ne),se),$e=dC(Ne,Ee),Et=D-10*$e,ge=p+$e/50;K=!1,F=!1,C.clear(),u.useDuration(Et).useFriction(ge),c.distance(Ee,!x),A=!1,d.emit("pointerUp")}function ae(O){k&&(O.stopPropagation(),O.preventDefault(),k=!1)}function q(){return F}return{init:B,destroy:z,pointerDown:q}}function gC(e,t){let r,o;function s(f){return f.timeStamp}function i(f,d){const x=`client${(d||e.scroll)==="x"?"X":"Y"}`;return(yu(f,t)?f:f.touches[0])[x]}function a(f){return r=f,o=f,i(f)}function c(f){const d=i(f)-i(o),b=s(f)-s(r)>170;return o=f,b&&(r=f),d}function u(f){if(!r||!o)return 0;const d=i(o)-i(r),b=s(f)-s(r),x=s(f)-s(o)>170,g=d/b;return b&&!x&&Te(g)>.1?g:0}return{pointerDown:a,pointerMove:c,pointerUp:u,readPoint:i}}function vC(){function e(n){const{offsetTop:r,offsetLeft:o,offsetWidth:s,offsetHeight:i}=n;return{top:r,right:o+s,bottom:r+i,left:o,width:s,height:i}}return{measure:e}}function yC(e){function t(r){return e*(r/100)}return{measure:t}}function xC(e,t,n,r,o,s,i){const a=[e].concat(r);let c,u,m=[],f=!1;function d(w){return o.measureSize(i.measure(w))}function b(w){if(!s)return;u=d(e),m=r.map(d);function p(h){for(const y of h){if(f)return;const S=y.target===e,N=r.indexOf(y.target),E=S?u:m[N],j=d(S?e:r[N]);if(Te(j-E)>=.5){w.reInit(),t.emit("resize");break}}}c=new ResizeObserver(h=>{(cl(s)||s(w,h))&&p(h)}),n.requestAnimationFrame(()=>{a.forEach(h=>c.observe(h))})}function x(){f=!0,c&&c.disconnect()}return{init:b,destroy:x}}function wC(e,t,n,r,o,s){let i=0,a=0,c=o,u=s,m=e.get(),f=0;function d(E){const j=E/1e3,C=c*j,P=r.get()-e.get(),R=!c;let _=0;return R?(i=0,n.set(r),e.set(r),_=P):(n.set(e),i+=P/C,i*=u,m+=i,e.add(i*j),_=m-f),a=Ud(_),f=m,N}function b(){const E=r.get()-t.get();return Te(E)<.001}function x(){return c}function g(){return a}function w(){return i}function p(){return y(o)}function h(){return S(s)}function y(E){return c=E,N}function S(E){return u=E,N}const N={direction:g,duration:x,velocity:w,seek:d,settled:b,useBaseFriction:h,useBaseDuration:p,useFriction:S,useDuration:y};return N}function bC(e,t,n,r,o){const s=o.measure(10),i=o.measure(50),a=Pr(.1,.99);let c=!1;function u(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function m(b){if(!u())return;const x=e.reachedMin(t.get())?"min":"max",g=Te(e[x]-t.get()),w=n.get()-t.get(),p=a.constrain(g/i);n.subtract(w*p),!b&&Te(w)<s&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function f(b){c=!b}return{shouldConstrain:u,constrain:m,toggleActive:f}}function SC(e,t,n,r,o){const s=Pr(-t+e,0),i=f(),a=m(),c=d();function u(x,g){return vs(x,g)<1}function m(){const x=i[0],g=Vt(i),w=i.lastIndexOf(x),p=i.indexOf(g)+1;return Pr(w,p)}function f(){return n.map((x,g)=>{const{min:w,max:p}=s,h=s.constrain(x),y=!g,S=Vd(n,g);return y?p:S||u(w,h)?w:u(p,h)?p:h}).map(x=>parseFloat(x.toFixed(3)))}function d(){if(t<=e+o)return[s.max];if(r==="keepSnaps")return i;const{min:x,max:g}=a;return i.slice(x,g)}return{snapsContained:c,scrollContainLimit:a}}function NC(e,t,n){const r=t[0],o=n?r-e:Vt(t);return{limit:Pr(o,r)}}function jC(e,t,n,r){const s=t.min+.1,i=t.max+.1,{reachedMin:a,reachedMax:c}=Pr(s,i);function u(d){return d===1?c(n.get()):d===-1?a(n.get()):!1}function m(d){if(!u(d))return;const b=e*(d*-1);r.forEach(x=>x.add(b))}return{loop:m}}function EC(e){const{max:t,length:n}=e;function r(s){const i=s-t;return n?i/-n:0}return{get:r}}function CC(e,t,n,r,o){const{startEdge:s,endEdge:i}=e,{groupSlides:a}=o,c=f().map(t.measure),u=d(),m=b();function f(){return a(r).map(g=>Vt(g)[i]-g[0][s]).map(Te)}function d(){return r.map(g=>n[s]-g[s]).map(g=>-Te(g))}function b(){return a(u).map(g=>g[0]).map((g,w)=>g+c[w])}return{snaps:u,snapsAligned:m}}function kC(e,t,n,r,o,s){const{groupSlides:i}=o,{min:a,max:c}=r,u=m();function m(){const d=i(s),b=!e||t==="keepSnaps";return n.length===1?[s]:b?d:d.slice(a,c).map((x,g,w)=>{const p=!g,h=Vd(w,g);if(p){const y=Vt(w[0])+1;return eh(y)}if(h){const y=ti(s)-Vt(w)[0]+1;return eh(y,Vt(w)[0])}return x})}return{slideRegistry:u}}function TC(e,t,n,r,o){const{reachedAny:s,removeOffset:i,constrain:a}=r;function c(x){return x.concat().sort((g,w)=>Te(g)-Te(w))[0]}function u(x){const g=e?i(x):a(x),w=t.map((h,y)=>({diff:m(h-g,0),index:y})).sort((h,y)=>Te(h.diff)-Te(y.diff)),{index:p}=w[0];return{index:p,distance:g}}function m(x,g){const w=[x,x+n,x-n];if(!e)return x;if(!g)return c(w);const p=w.filter(h=>Ud(h)===g);return p.length?c(p):Vt(w)-n}function f(x,g){const w=t[x]-o.get(),p=m(w,g);return{index:x,distance:p}}function d(x,g){const w=o.get()+x,{index:p,distance:h}=u(w),y=!e&&s(w);if(!g||y)return{index:p,distance:x};const S=t[p]-h,N=x+m(S,0);return{index:p,distance:N}}return{byDistance:d,byIndex:f,shortcut:m}}function PC(e,t,n,r,o,s,i){function a(f){const d=f.distance,b=f.index!==t.get();s.add(d),d&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),b&&(n.set(t.get()),t.set(f.index),i.emit("select"))}function c(f,d){const b=o.byDistance(f,d);a(b)}function u(f,d){const b=t.clone().set(f),x=o.byIndex(b.get(),d);a(x)}return{distance:c,index:u}}function RC(e,t,n,r,o,s,i,a){const c={passive:!0,capture:!0};let u=0;function m(b){if(!a)return;function x(g){if(new Date().getTime()-u>10)return;i.emit("slideFocusStart"),e.scrollLeft=0;const h=n.findIndex(y=>y.includes(g));Hd(h)&&(o.useDuration(0),r.index(h,0),i.emit("slideFocus"))}s.add(document,"keydown",f,!1),t.forEach((g,w)=>{s.add(g,"focus",p=>{(cl(a)||a(b,p))&&x(w)},c)})}function f(b){b.code==="Tab"&&(u=new Date().getTime())}return{init:m}}function is(e){let t=e;function n(){return t}function r(c){t=i(c)}function o(c){t+=i(c)}function s(c){t-=i(c)}function i(c){return Hd(c)?c:c.get()}return{get:n,set:r,add:o,subtract:s}}function p0(e,t){const n=e.scroll==="x"?s:i,r=t.style;let o=!1;function s(f){return`translate3d(${f}px,0px,0px)`}function i(f){return`translate3d(0px,${f}px,0px)`}function a(f){o||(r.transform=n(e.direction(f)))}function c(f){o=!f}function u(){o||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:u,to:a,toggleActive:c}}function AC(e,t,n,r,o,s,i,a,c){const m=$s(o),f=$s(o).reverse(),d=p().concat(h());function b(j,C){return j.reduce((P,R)=>P-o[R],C)}function x(j,C){return j.reduce((P,R)=>b(P,C)>0?P.concat([R]):P,[])}function g(j){return s.map((C,P)=>({start:C-r[P]+.5+j,end:C+t-.5+j}))}function w(j,C,P){const R=g(C);return j.map(_=>{const D=P?0:-n,V=P?n:0,I=P?"end":"start",W=R[_][I];return{index:_,loopPoint:W,slideLocation:is(-1),translate:p0(e,c[_]),target:()=>a.get()>W?D:V}})}function p(){const j=i[0],C=x(f,j);return w(C,n,!1)}function h(){const j=t-i[0]-1,C=x(m,j);return w(C,-n,!0)}function y(){return d.every(({index:j})=>{const C=m.filter(P=>P!==j);return b(C,t)<=.1})}function S(){d.forEach(j=>{const{target:C,translate:P,slideLocation:R}=j,_=C();_!==R.get()&&(P.to(_),R.set(_))})}function N(){d.forEach(j=>j.translate.clear())}return{canLoop:y,clear:N,loop:S,loopPoints:d}}function MC(e,t,n){let r,o=!1;function s(c){if(!n)return;function u(m){for(const f of m)if(f.type==="childList"){c.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(m=>{o||(cl(n)||n(c,m))&&u(m)}),r.observe(e,{childList:!0})}function i(){r&&r.disconnect(),o=!0}return{init:s,destroy:i}}function IC(e,t,n,r){const o={};let s=null,i=null,a,c=!1;function u(){a=new IntersectionObserver(x=>{c||(x.forEach(g=>{const w=t.indexOf(g.target);o[w]=g}),s=null,i=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(x=>a.observe(x))}function m(){a&&a.disconnect(),c=!0}function f(x){return Hs(o).reduce((g,w)=>{const p=parseInt(w),{isIntersecting:h}=o[p];return(x&&h||!x&&!h)&&g.push(p),g},[])}function d(x=!0){if(x&&s)return s;if(!x&&i)return i;const g=f(x);return x&&(s=g),x||(i=g),g}return{init:u,destroy:m,get:d}}function OC(e,t,n,r,o,s){const{measureSize:i,startEdge:a,endEdge:c}=e,u=n[0]&&o,m=x(),f=g(),d=n.map(i),b=w();function x(){if(!u)return 0;const h=n[0];return Te(t[a]-h[a])}function g(){if(!u)return 0;const h=s.getComputedStyle(Vt(r));return parseFloat(h.getPropertyValue(`margin-${c}`))}function w(){return n.map((h,y,S)=>{const N=!y,E=Vd(S,y);return N?d[y]+m:E?d[y]+f:S[y+1][a]-h[a]}).map(Te)}return{slideSizes:d,slideSizesWithGaps:b,startGap:m,endGap:f}}function _C(e,t,n,r,o,s,i,a,c){const{startEdge:u,endEdge:m,direction:f}=e,d=Hd(n);function b(p,h){return $s(p).filter(y=>y%h===0).map(y=>p.slice(y,y+h))}function x(p){return p.length?$s(p).reduce((h,y,S)=>{const N=Vt(h)||0,E=N===0,j=y===ti(p),C=o[u]-s[N][u],P=o[u]-s[y][m],R=!r&&E?f(i):0,_=!r&&j?f(a):0,D=Te(P-_-(C+R));return S&&D>t+c&&h.push(y),j&&h.push(p.length),h},[]).map((h,y,S)=>{const N=Math.max(S[y-1]||0);return p.slice(N,h)}):[]}function g(p){return d?b(p,n):x(p)}return{groupSlides:g}}function LC(e,t,n,r,o,s,i){const{align:a,axis:c,direction:u,startIndex:m,loop:f,duration:d,dragFree:b,dragThreshold:x,inViewThreshold:g,slidesToScroll:w,skipSnaps:p,containScroll:h,watchResize:y,watchSlides:S,watchDrag:N,watchFocus:E}=s,j=2,C=vC(),P=C.measure(t),R=n.map(C.measure),_=hC(c,u),D=_.measureSize(P),V=yC(D),I=fC(a,D),W=!f&&!!h,F=f||!!h,{slideSizes:K,slideSizesWithGaps:k,startGap:A,endGap:B}=OC(_,P,R,n,F,o),z=_C(_,D,w,f,P,R,A,B,j),{snaps:U,snapsAligned:Y}=CC(_,I,P,R,z),te=-Vt(U)+Vt(k),{snapsContained:Se,scrollContainLimit:J}=SC(D,te,Y,h,j),$=W?Se:Y,{limit:G}=NC(te,$,f),ae=f0(ti($),m,f),q=ae.clone(),Q=$s(n),O=({dragHandler:It,scrollBody:Ho,scrollBounds:_r,options:{loop:ur}},Uo)=>{ur||_r.constrain(It.pointerDown()),Ho.seek(Uo)},Z=({scrollBody:It,translate:Ho,location:_r,offsetLocation:ur,scrollLooper:Uo,slideLooper:Vo,dragHandler:Yt,animation:dl,eventHandler:X,scrollBounds:me,options:{loop:fe}},ut)=>{const dt=It.settled(),Lr=!me.shouldConstrain(),oi=fe?dt:dt&&Lr;oi&&!Yt.pointerDown()&&(dl.stop(),X.emit("settle")),oi||X.emit("scroll");const w0=_r.get()*ut+Et.get()*(1-ut);ur.set(w0),fe&&(Uo.loop(It.direction()),Vo.loop()),Ho.to(ur.get())},se=pC(r,o,It=>O(Gt,It),It=>Z(Gt,It)),Ne=.68,Ee=$[ae.get()],$e=is(Ee),Et=is(Ee),ge=is(Ee),ot=is(Ee),cr=wC($e,ge,Et,ot,d,Ne),Fo=TC(f,$,te,G,ot),En=PC(se,ae,q,cr,Fo,ot,i),ni=EC(G),Bo=Us(),$o=IC(t,n,i,g),{slideRegistry:cn}=kC(W,h,$,J,z,Q),ri=RC(e,n,cn,En,cr,Bo,i,E),Gt={ownerDocument:r,ownerWindow:o,eventHandler:i,containerRect:P,slideRects:R,animation:se,axis:_,dragHandler:mC(_,e,r,o,ot,gC(_,o),$e,se,En,cr,Fo,ae,i,V,b,x,p,Ne,N),eventStore:Bo,percentOfView:V,index:ae,indexPrevious:q,limit:G,location:$e,offsetLocation:ge,previousLocation:Et,options:s,resizeHandler:xC(t,i,o,n,_,y,C),scrollBody:cr,scrollBounds:bC(G,ge,ot,cr,V),scrollLooper:jC(te,G,ge,[$e,ge,Et,ot]),scrollProgress:ni,scrollSnapList:$.map(ni.get),scrollSnaps:$,scrollTarget:Fo,scrollTo:En,slideLooper:AC(_,D,te,K,k,U,$,ge,n),slideFocus:ri,slidesHandler:MC(t,i,S),slidesInView:$o,slideIndexes:Q,slideRegistry:cn,slidesToScroll:z,target:ot,translate:p0(_,t)};return Gt}function DC(){let e={},t;function n(u){t=u}function r(u){return e[u]||[]}function o(u){return r(u).forEach(m=>m(t,u)),c}function s(u,m){return e[u]=r(u).concat([m]),c}function i(u,m){return e[u]=r(u).filter(f=>f!==m),c}function a(){e={}}const c={init:n,emit:o,off:i,on:s,clear:a};return c}const zC={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function FC(e){function t(s,i){return d0(s,i||{})}function n(s){const i=s.breakpoints||{},a=Hs(i).filter(c=>e.matchMedia(c).matches).map(c=>i[c]).reduce((c,u)=>t(c,u),{});return t(s,a)}function r(s){return s.map(i=>Hs(i.breakpoints||{})).reduce((i,a)=>i.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function BC(e){let t=[];function n(s,i){return t=i.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(s,e)),i.reduce((a,c)=>Object.assign(a,{[c.name]:c}),{})}function r(){t=t.filter(s=>s.destroy())}return{init:n,destroy:r}}function Pa(e,t,n){const r=e.ownerDocument,o=r.defaultView,s=FC(o),i=BC(s),a=Us(),c=DC(),{mergeOptions:u,optionsAtMedia:m,optionsMediaQueries:f}=s,{on:d,off:b,emit:x}=c,g=_;let w=!1,p,h=u(zC,Pa.globalOptions),y=u(h),S=[],N,E,j;function C(){const{container:Q,slides:O}=y;E=(vu(Q)?e.querySelector(Q):Q)||e.children[0];const se=vu(O)?E.querySelectorAll(O):O;j=[].slice.call(se||E.children)}function P(Q){const O=LC(e,E,j,r,o,Q,c);if(Q.loop&&!O.slideLooper.canLoop()){const Z=Object.assign({},Q,{loop:!1});return P(Z)}return O}function R(Q,O){w||(h=u(h,Q),y=m(h),S=O||S,C(),p=P(y),f([h,...S.map(({options:Z})=>Z)]).forEach(Z=>a.add(Z,"change",_)),y.active&&(p.translate.to(p.location.get()),p.animation.init(),p.slidesInView.init(),p.slideFocus.init(q),p.eventHandler.init(q),p.resizeHandler.init(q),p.slidesHandler.init(q),p.options.loop&&p.slideLooper.loop(),E.offsetParent&&j.length&&p.dragHandler.init(q),N=i.init(q,S)))}function _(Q,O){const Z=z();D(),R(u({startIndex:Z},Q),O),c.emit("reInit")}function D(){p.dragHandler.destroy(),p.eventStore.clear(),p.translate.clear(),p.slideLooper.clear(),p.resizeHandler.destroy(),p.slidesHandler.destroy(),p.slidesInView.destroy(),p.animation.destroy(),i.destroy(),a.clear()}function V(){w||(w=!0,a.clear(),D(),c.emit("destroy"),c.clear())}function I(Q,O,Z){!y.active||w||(p.scrollBody.useBaseFriction().useDuration(O===!0?0:y.duration),p.scrollTo.index(Q,Z||0))}function W(Q){const O=p.index.add(1).get();I(O,Q,-1)}function F(Q){const O=p.index.add(-1).get();I(O,Q,1)}function K(){return p.index.add(1).get()!==z()}function k(){return p.index.add(-1).get()!==z()}function A(){return p.scrollSnapList}function B(){return p.scrollProgress.get(p.location.get())}function z(){return p.index.get()}function U(){return p.indexPrevious.get()}function Y(){return p.slidesInView.get()}function te(){return p.slidesInView.get(!1)}function Se(){return N}function J(){return p}function $(){return e}function G(){return E}function ae(){return j}const q={canScrollNext:K,canScrollPrev:k,containerNode:G,internalEngine:J,destroy:V,off:b,on:d,emit:x,plugins:Se,previousScrollSnap:U,reInit:g,rootNode:$,scrollNext:W,scrollPrev:F,scrollProgress:B,scrollSnapList:A,scrollTo:I,selectedScrollSnap:z,slideNodes:ae,slidesInView:Y,slidesNotInView:te};return R(t,n),setTimeout(()=>c.emit("init"),0),q}Pa.globalOptions=void 0;function Wd(e={},t=[]){const n=v.useRef(e),r=v.useRef(t),[o,s]=v.useState(),[i,a]=v.useState(),c=v.useCallback(()=>{o&&o.reInit(n.current,r.current)},[o]);return v.useEffect(()=>{$d(n.current,e)||(n.current=e,c())},[e,c]),v.useEffect(()=>{uC(r.current,t)||(r.current=t,c())},[t,c]),v.useEffect(()=>{if(cC()&&i){Pa.globalOptions=Wd.globalOptions;const u=Pa(i,n.current,r.current);return s(u),()=>u.destroy()}else s(void 0)},[i,s]),[a,o]}Wd.globalOptions=void 0;const h0=v.createContext(null);function ul(){const e=v.useContext(h0);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const m0=v.forwardRef(({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:o,children:s,...i},a)=>{const[c,u]=Wd({...t,axis:e==="horizontal"?"x":"y"},r),[m,f]=v.useState(!1),[d,b]=v.useState(!1),x=v.useCallback(h=>{h&&(f(h.canScrollPrev()),b(h.canScrollNext()))},[]),g=v.useCallback(()=>{u==null||u.scrollPrev()},[u]),w=v.useCallback(()=>{u==null||u.scrollNext()},[u]),p=v.useCallback(h=>{h.key==="ArrowLeft"?(h.preventDefault(),g()):h.key==="ArrowRight"&&(h.preventDefault(),w())},[g,w]);return v.useEffect(()=>{!u||!n||n(u)},[u,n]),v.useEffect(()=>{if(u)return x(u),u.on("reInit",x),u.on("select",x),()=>{u==null||u.off("select",x)}},[u,x]),l.jsx(h0.Provider,{value:{carouselRef:c,api:u,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:g,scrollNext:w,canScrollPrev:m,canScrollNext:d},children:l.jsx("div",{ref:a,onKeyDownCapture:p,className:de("relative",o),role:"region","aria-roledescription":"carousel",...i,children:s})})});m0.displayName="Carousel";const g0=v.forwardRef(({className:e,...t},n)=>{const{carouselRef:r,orientation:o}=ul();return l.jsx("div",{ref:r,className:"overflow-hidden",children:l.jsx("div",{ref:n,className:de("flex",o==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});g0.displayName="CarouselContent";const v0=v.forwardRef(({className:e,...t},n)=>{const{orientation:r}=ul();return l.jsx("div",{ref:n,role:"group","aria-roledescription":"slide",className:de("min-w-0 shrink-0 grow-0 basis-full",r==="horizontal"?"pl-4":"pt-4",e),...t})});v0.displayName="CarouselItem";const y0=v.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},o)=>{const{orientation:s,scrollPrev:i,canScrollPrev:a}=ul();return l.jsxs(ke,{ref:o,variant:t,size:n,className:de("absolute  h-8 w-8 rounded-full",s==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!a,onClick:i,...r,children:[l.jsx(V1,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Previous slide"})]})});y0.displayName="CarouselPrevious";const x0=v.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},o)=>{const{orientation:s,scrollNext:i,canScrollNext:a}=ul();return l.jsxs(ke,{ref:o,variant:t,size:n,className:de("absolute h-8 w-8 rounded-full",s==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!a,onClick:i,...r,children:[l.jsx(ev,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Next slide"})]})});x0.displayName="CarouselNext";const $C=()=>{const[e,t]=v.useState(),[n,r]=v.useState(0),[o,s]=v.useState(null),[i,a]=v.useState(null),[c,u]=v.useState(new Set),m=v.useRef({}),f=[{id:"1",title:"University of Lagos Book Talk",location:"Lagos, Nigeria",videoUrl:"https://dm0qx8t0i9gc9.cloudfront.net/watermarks/video/BYhbSjKDtkvty6l0n/videoblocks-652db06f13841572379b3628_scxzjo6ob6__6f2dcef1db38bd6975e674a39683e482__P360.mp4",thumbnail:"/ig1.jpeg",description:"Nancy shares her powerful message with students at University of Lagos"},{id:"2",title:"Covenant University Workshop",location:"Ota, Nigeria",videoUrl:"https://dm0qx8t0i9gc9.cloudfront.net/watermarks/video/BYhbSjKDtkvty6l0n/videoblocks-652db06f13841572379b3628_scxzjo6ob6__6f2dcef1db38bd6975e674a39683e482__P360.mp4",thumbnail:"/ig1.jpeg",description:"Women's empowerment workshop at Covenant University"},{id:"3",title:"Healing Session Highlights",location:"Ibadan, Nigeria",videoUrl:"https://dm0qx8t0i9gc9.cloudfront.net/watermarks/video/BYhbSjKDtkvty6l0n/videoblocks-652db06f13841572379b3628_scxzjo6ob6__6f2dcef1db38bd6975e674a39683e482__P360.mp4",thumbnail:"/ig1.jpeg",description:"Transformative healing session moments from the tour"},{id:"4",title:"Campus Movement Launch",location:"Zaria, Nigeria",videoUrl:"https://dm0qx8t0i9gc9.cloudfront.net/watermarks/video/BYhbSjKDtkvty6l0n/videoblocks-652db06f13841572379b3628_scxzjo6ob6__6f2dcef1db38bd6975e674a39683e482__P360.mp4",thumbnail:"/ig1.jpeg",description:"The official HER movement launch at university campus"}],d=[...f,...f,...f];v.useEffect(()=>{if(!e)return;const p=()=>{r(e.selectedScrollSnap())};return e.on("select",p),r(e.selectedScrollSnap()),()=>{e.off("select",p)}},[e]),v.useEffect(()=>{var h;const p=(h=d[n])==null?void 0:h.id;if(p){Object.values(m.current).forEach(S=>{S&&S.dataset.videoId!==p&&S.pause()});const y=m.current[p];y&&(y.play(),a(p))}},[n,d]);const b=p=>{s(o===p?null:p)},x=p=>{const h=m.current[p];h&&(h.paused?(h.play(),a(p)):(h.pause(),a(null)))},g=p=>{const h=m.current[p];h&&(h.muted=!h.muted,h.muted?u(y=>new Set([...y,p])):u(y=>{const S=new Set(y);return S.delete(p),S}))},w=p=>{const h=m.current[p];h&&h.requestFullscreen&&h.requestFullscreen()};return l.jsx("section",{className:"py-20",children:l.jsxs("div",{className:"max-w-6xl mx-auto px-4",children:[l.jsx("h2",{className:"text-4xl font-bold text-center mb-12",children:"Tour Highlights"}),l.jsxs(m0,{setApi:t,className:"w-full",opts:{align:"center",loop:!0},children:[l.jsx(g0,{className:"-ml-2 md:-ml-4",children:d.map((p,h)=>l.jsx(v0,{className:"pl-2 md:pl-4 md:basis-1/2 lg:basis-1/3",children:l.jsx(le,{className:"border border-green-600 shadow-lg rounded-lg overflow-hidden hover:shadow-xl transition-shadow",children:l.jsxs(ce,{className:"p-0 relative",children:[l.jsxs("div",{className:"relative",children:[l.jsx("video",{ref:y=>{y&&(m.current[p.id]=y)},"data-video-id":p.id,className:"w-full h-64 object-cover cursor-pointer",poster:p.thumbnail,muted:!0,loop:!0,onClick:()=>b(p.id),children:l.jsx("source",{src:p.videoUrl,type:"video/mp4"})}),o===p.id&&l.jsx("div",{className:"absolute inset-0 bg-black/40 flex items-center justify-center",children:l.jsxs("div",{className:"flex items-center space-x-4",children:[l.jsx("button",{onClick:y=>{y.stopPropagation(),x(p.id)},className:"p-3 rounded-full border-2 border-white/80 bg-white/20 hover:bg-white/30 transition-colors",children:i===p.id?l.jsx(Z1,{className:"w-6 h-6 text-white"}):l.jsx(eb,{className:"w-6 h-6 text-white"})}),l.jsx("button",{onClick:y=>{y.stopPropagation(),g(p.id)},className:"p-3 rounded-full border-2 border-white/80 bg-white/20 hover:bg-white/30 transition-colors",children:c.has(p.id)?l.jsx(ob,{className:"w-6 h-6 text-white"}):l.jsx(rb,{className:"w-6 h-6 text-white"})}),l.jsx("button",{onClick:y=>{y.stopPropagation(),w(p.id)},className:"p-3 rounded-full border-2 border-white/80 bg-white/20 hover:bg-white/30 transition-colors",children:l.jsx(G1,{className:"w-6 h-6 text-white"})})]})})]}),l.jsxs("div",{className:"p-4",children:[l.jsx("h3",{className:"font-bold mb-2 text-lg",children:p.title}),l.jsxs("div",{className:"flex items-center text-sm text-muted-foreground mb-2",children:[l.jsx(ov,{className:"w-3 h-3 mr-1"}),l.jsx("span",{children:p.location})]}),l.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:p.description})]})]})})},`${p.id}-${h}`))}),l.jsx(y0,{className:"left-4 border-green-600 text-green-600 hover:bg-green-600 hover:text-white"}),l.jsx(x0,{className:"right-4 border-green-600 text-green-600 hover:bg-green-600 hover:text-white"})]}),l.jsx("div",{className:"text-center mt-8",children:l.jsx("p",{className:"text-muted-foreground mb-4",children:"Tap on any video to show controls • Videos auto-play when centered"})})]})})},HC=()=>{const e=[{date:"TBC",university:"University of Lagos",location:"Lagos, Nigeria",eventType:"Book Talk & Healing Session",status:"confirmed"},{date:"TBC",university:"Lagos University",location:"Lagos, Nigeria",eventType:"Book Talk & Healing Session",status:"confirmed"},{date:"TBC",university:"University of Nnamdi Azikiwe University",location:"Anambra, Nigeria",eventType:"Book Talk & Healing Session",status:"confirmed"},{date:"TBC",university:"University of Abuja",location:"Abuja, Nigeria",eventType:"Women's Empowerment Workshop",status:"confirmed"},{date:"TBC",university:"University of Ibadan",location:"Ibadan, Nigeria",eventType:"Meet & Greet + Book Signing",status:"confirmed"},{date:"TBC",university:"Caleb University",location:"Ogun State, Nigeria",eventType:"Meet & Greet + Book Signing",status:"confirmed"},{date:"TBC",university:"Babcock University",location:"Ogun State, Nigeria",eventType:"Meet & Greet + Book Signing",status:"confirmed"},{date:"TBC",university:"Obafemi Awolowo University",location:"Osun, Nigeria",eventType:"HER Movement Campus Launch",status:"confirmed"}],t=[{title:"Book Talk",description:'Deep dive into "I GOT THIS. I AM HER" with Q&A session',icon:Jc,duration:"90 minutes"},{title:"Healing Sessions",description:"Interactive workshops focusing on emotional and spiritual healing",icon:cp,duration:"2 hours"},{title:"Meet & Greet",description:"Personal connections with students and book signing",icon:cp,duration:"60 minutes"},{title:"Book Signing Booth",description:"Campus booth for book sales and personal dedications",icon:Jc,duration:"All day"}];return l.jsxs("div",{className:"pt-20 min-h-screen",children:[l.jsx(Bd,{children:l.jsxs("div",{className:"max-w-6xl mx-auto px-4 text-center",children:[l.jsx("h1",{className:"text-5xl md:text-6xl font-bold mb-6",children:"I GOT THIS! I AM HER"}),l.jsx("h2",{className:"text-3xl md:text-4xl font-light mb-8",children:"The Campus Tour"}),l.jsx("p",{className:"text-xl mb-8 max-w-3xl mx-auto",children:"Bringing the HER movement directly to universities across Nigeria. Healing, empowerment, and transformation happening one campus at a time."})]})}),l.jsx($C,{}),l.jsx("section",{className:"py-20",children:l.jsxs("div",{className:"max-w-6xl mx-auto px-4",children:[l.jsx("h2",{className:"text-4xl font-bold text-center mb-12",children:"Upcoming Tour Dates"}),l.jsx("div",{className:"grid gap-6",children:e.map((n,r)=>l.jsx(le,{className:"hover:shadow-lg transition-shadow",children:l.jsx(ce,{className:"p-8",children:l.jsxs("div",{className:"grid md:grid-cols-4 gap-6 items-center",children:[l.jsxs("div",{className:"text-center md:text-left",children:[l.jsxs("div",{className:"flex items-center justify-center md:justify-start mb-2",children:[l.jsx(tv,{className:"w-5 h-5 text-primary mr-2"}),l.jsx("span",{className:"text-2xl font-bold text-primary",children:n.date})]}),l.jsx("span",{className:`inline-block px-3 py-1 rounded-full text-sm font-medium ${n.status==="confirmed"?"bg-green-100 text-green-800":"bg-yellow-100 text-yellow-800"}`,children:n.status})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold mb-2",children:n.university}),l.jsxs("div",{className:"flex items-center text-muted-foreground",children:[l.jsx(ov,{className:"w-4 h-4 mr-1"}),l.jsx("span",{children:n.location})]})]}),l.jsx("div",{children:l.jsx("p",{className:"font-medium text-primary",children:n.eventType})})]})})},r))})]})}),l.jsx("section",{className:"py-20 bg-muted/50",children:l.jsxs("div",{className:"max-w-6xl mx-auto px-4",children:[l.jsx("h2",{className:"text-4xl font-bold text-center mb-12",children:"What to Expect"}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:t.map((n,r)=>{const o=n.icon;return l.jsx(le,{className:"text-center hover:shadow-lg transition-shadow",children:l.jsxs(ce,{className:"p-8",children:[l.jsx("div",{className:"flex justify-center mb-4",children:l.jsx(o,{className:"w-12 h-12 text-primary"})}),l.jsx("h3",{className:"text-xl font-bold mb-4",children:n.title}),l.jsx("p",{className:"text-muted-foreground mb-4",children:n.description}),l.jsx("span",{className:"text-sm font-medium text-primary",children:n.duration})]})},r)})})]})}),l.jsx("section",{className:"py-20 bg-primary text-white",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[l.jsx("h2",{className:"text-4xl font-bold mb-8",children:"Want Nancy at Your University?"}),l.jsx("p",{className:"text-xl mb-8 max-w-2xl mx-auto",children:'Bring the "I AM HER" movement to your campus. Nancy is available for speaking engagements, workshops, and healing sessions at universities across Africa.'}),l.jsxs(le,{className:"max-w-2xl mx-auto",children:[l.jsx(Lo,{children:l.jsx(Do,{className:"text-2xl text-foreground",children:"Request a Campus Visit"})}),l.jsx(ce,{children:l.jsxs("div",{className:"space-y-4 text-foreground",children:[l.jsxs("div",{className:"flex items-center justify-center space-x-2",children:[l.jsx(wd,{className:"w-5 h-5 text-primary"}),l.jsx("span",{className:"font-medium",children:"iamherbook@gmail.com"})]}),l.jsx("p",{className:"text-muted-foreground",children:"Include your university name, preferred dates, and expected audience size."}),l.jsx(ke,{size:"lg",className:"bg-primary hover:bg-primary/90 text-white",children:"Send Booking Request"})]})})]})]})})]})},UC=()=>l.jsxs("div",{className:"pt-20 min-h-screen bg-gradient-to-br from-emerald-50 via-white to-green-50",children:[l.jsx("section",{className:"py-12 bg-gradient-to-r from-emerald-600 to-green-600 text-white",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 text-center",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4",children:"Dear HER Sundays"}),l.jsx("p",{className:"text-xl md:text-2xl font-light",children:"by Nancy Duffour"}),l.jsxs("div",{className:"flex items-center justify-center mt-6 text-emerald-100",children:[l.jsx(tv,{className:"w-5 h-5 mr-2"}),l.jsx("span",{children:"Blog #1 – The Woman Nobody Clapped For"})]})]})}),l.jsx("section",{className:"py-16",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 space-y-12",children:[l.jsx(le,{className:"overflow-hidden shadow-lg border-l-4 border-emerald-500",children:l.jsxs(ce,{className:"p-8",children:[l.jsxs("div",{className:"flex items-center mb-6",children:[l.jsx("div",{className:"bg-emerald-100 p-2 rounded-full mr-4",children:l.jsx("span",{className:"text-2xl",children:"🌿"})}),l.jsx("h2",{className:"text-2xl font-bold text-emerald-700",children:"HER Reflection"})]}),l.jsxs("div",{className:"prose prose-lg max-w-none text-gray-700 leading-relaxed space-y-4",children:[l.jsxs("p",{className:"italic text-lg",children:["They clapped for the loud ones.",l.jsx("br",{}),"They celebrated the bold ones.",l.jsx("br",{}),"They noticed the shiny, confident, flawless ones.",l.jsx("br",{}),"But you…? You were the woman who held it together silently.",l.jsx("br",{}),"The one who clapped for others while your own world was falling apart."]}),l.jsxs("p",{children:["They didn't cheer when you forgave what almost destroyed you.",l.jsx("br",{}),"They didn't see you walk back into rooms that once broke you.",l.jsx("br",{}),"They didn't know what it took to get out of bed when grief sat on your chest like a stone.",l.jsx("br",{}),"You didn't have a stage. You had a secret storm.",l.jsx("br",{}),"And still, you poured, you smiled, you stayed."]}),l.jsx("p",{className:"font-medium",children:"You were the woman nobody clapped for."}),l.jsxs("p",{children:["But Heaven? Heaven never stopped watching.",l.jsx("br",{}),"Heaven was clapping when you cried in silence.",l.jsx("br",{}),"Heaven was clapping when you chose not to fight back.",l.jsx("br",{}),"Heaven was clapping when you chose dignity over drama, faith over fear, grace over gossip."]}),l.jsxs("p",{className:"font-semibold text-emerald-700 text-xl",children:["And now… something is shifting.",l.jsx("br",{}),"Because HER is rising — not the version that needed validation,",l.jsx("br",{}),"But the version who knows that worth was never meant to be measured by applause."]})]})]})}),l.jsx(le,{className:"overflow-hidden shadow-lg border-l-4 border-green-500",children:l.jsxs(ce,{className:"p-8",children:[l.jsx("div",{className:"flex items-center mb-6",children:l.jsx("h2",{className:"text-2xl font-bold text-green-700",children:"A Short Personal Story (but told long, real and raw)"})}),l.jsxs("div",{className:"prose prose-lg max-w-none text-gray-700 leading-relaxed space-y-4",children:[l.jsxs("p",{children:["I remember a season when everyone around me was moving forward and I was silently drowning.",l.jsx("br",{}),"They were sharing testimonies and travelling abroad.",l.jsx("br",{}),"Posting proposal videos.",l.jsx("br",{}),"Publishing books.",l.jsx("br",{}),"And I… I was surviving.",l.jsx("br",{}),"Trying to breathe through betrayal. Trying to forgive someone who never apologized.",l.jsx("br",{}),"Trying to heal in a room where I still had to smile at the people who broke me.",l.jsx("br",{}),'Nobody knew. I told no one. I was just "strong."']}),l.jsxs("p",{children:["I went to their birthdays. Their naming ceremonies. Their business launches.",l.jsx("br",{}),"I cheered. I clapped. I hugged.",l.jsx("br",{}),"And then I went home, sat in the dark, and cried into my own hands.",l.jsx("br",{}),'I kept asking God — "When will someone clap for me the way I clap for others?"']}),l.jsx("p",{className:"font-medium",children:"And the silence was loud."}),l.jsxs("p",{children:["But I'll never forget what God whispered to me one morning when I was about to give up.",l.jsx("br",{}),"He said, ",l.jsx("span",{className:"italic font-semibold text-emerald-700",children:`"You are the seed. Seeds don't get applause. They get buried. They get crushed. And then… they rise."`})]}),l.jsx("p",{children:"I cried like a child."}),l.jsxs("p",{children:["Because I realized: maybe nobody clapped because nobody saw what God was doing in private.",l.jsx("br",{}),"Maybe the crushing wasn't punishment — it was planting."]}),l.jsxs("p",{className:"font-semibold text-green-700",children:["And now, years later, I get it.",l.jsx("br",{}),"I was HER all along. I just needed time to rise."]})]})]})}),l.jsx(le,{className:"overflow-hidden shadow-lg border-l-4 border-emerald-400",children:l.jsxs(ce,{className:"p-8",children:[l.jsx("div",{className:"flex items-center mb-6",children:l.jsx("h2",{className:"text-2xl font-bold text-emerald-700",children:"HER Affirmation This Week"})}),l.jsxs("blockquote",{className:"text-lg font-medium text-emerald-800 italic text-center bg-white p-6 rounded-lg shadow-sm",children:['"Even without the applause, I am worthy. I am powerful. I am still her.',l.jsx("br",{}),`My healing is not a performance. My value is not a vote. I was her before they noticed, and I'll still be her even if they never do."`]})]})}),l.jsx(le,{className:"overflow-hidden shadow-lg border-l-4 border-green-600",children:l.jsxs(ce,{className:"p-8",children:[l.jsxs("div",{className:"flex items-center mb-6",children:[l.jsx("div",{className:"bg-green-100 p-2 rounded-full mr-4",children:l.jsx(Jc,{className:"w-6 h-6 text-green-600"})}),l.jsx("h2",{className:"text-2xl font-bold text-green-700",children:"HER Scripture of the Week"})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsxs("blockquote",{className:"text-xl font-semibold text-center bg-green-50 p-6 rounded-lg border-l-4 border-green-500",children:['"So do not throw away your confidence; it will be richly rewarded."',l.jsx("br",{}),l.jsx("cite",{className:"text-lg font-normal text-green-600",children:"— Hebrews 10:35 (NIV)"})]}),l.jsx("div",{className:"prose prose-lg max-w-none text-gray-700 leading-relaxed space-y-4",children:l.jsxs("p",{children:["This verse used to confuse me.",l.jsx("br",{}),"I thought confidence was just about being bold, being seen, being heard.",l.jsx("br",{}),"But God showed me: real confidence is choosing not to give up even when it looks like nothing is working.",l.jsx("br",{}),"Even when nobody notices.",l.jsx("br",{}),"Even when it feels like your life is paused while everyone else is fast-forwarding.",l.jsx("br",{}),"Even then — do not throw away your confidence.",l.jsx("br",{}),"Because God rewards quiet obedience. Not just loud progress."]})})]})]})}),l.jsx(le,{className:"overflow-hidden shadow-lg bg-gradient-to-br from-emerald-600 to-green-600 text-white",children:l.jsxs(ce,{className:"p-8",children:[l.jsxs("div",{className:"flex items-center mb-6",children:[l.jsx("div",{className:"bg-white/20 p-2 rounded-full mr-4",children:l.jsx(q1,{className:"w-6 h-6 text-white"})}),l.jsx("h2",{className:"text-2xl font-bold",children:"A Letter from Me to You"})]}),l.jsxs("div",{className:"prose prose-lg max-w-none text-white leading-relaxed space-y-4",children:[l.jsx("p",{className:"font-medium text-lg",children:"Dear HER,"}),l.jsxs("p",{children:["I know what it feels like to be invisible in the crowd.",l.jsx("br",{}),"To show up for everyone and wonder who would show up for you.",l.jsx("br",{}),"To be the encourager, the fixer, the helper, the strong one —",l.jsx("br",{}),"And then go home and cry into your own pillow."]}),l.jsxs("p",{children:["I know what it feels like to want to disappear.",l.jsx("br",{}),"To wonder if your presence even matters."]}),l.jsxs("p",{children:["But let me tell you something: You were never invisible to God.",l.jsx("br",{}),"Every time you stayed when you wanted to run…",l.jsx("br",{}),"Every time you prayed for others when you needed prayers yourself…",l.jsx("br",{}),"Every time you smiled through heartbreak just to keep the peace…",l.jsx("br",{}),"He saw it."]}),l.jsxs("p",{children:["And not only did He see it — He kept the receipts.",l.jsx("br",{}),"And one day, maybe not today, maybe not tomorrow…",l.jsx("br",{}),"You will walk into a room, and the same people who overlooked you will ask you,",l.jsx("br",{}),l.jsx("span",{className:"font-semibold",children:'"Where did you find your strength?"'})]}),l.jsx("p",{className:"font-semibold",children:'Tell them: "I was her… even when nobody clapped."'}),l.jsxs("p",{children:["You don't need an audience to be powerful.",l.jsx("br",{}),"You just need to keep rising."]}),l.jsxs("p",{children:["I'm proud of you.",l.jsx("br",{}),"I see you.",l.jsx("br",{}),"I honor your silent victories."]}),l.jsxs("p",{className:"font-medium text-lg",children:["With all my love,",l.jsx("br",{}),"—Nancy 💚"]})]})]})}),l.jsx(le,{className:"overflow-hidden shadow-lg border-l-4 border-emerald-500",children:l.jsxs(ce,{className:"p-8",children:[l.jsxs("div",{className:"flex items-center mb-6",children:[l.jsx("div",{className:"bg-emerald-100 p-2 rounded-full mr-4",children:l.jsx(X1,{className:"w-6 h-6 text-emerald-600"})}),l.jsx("h2",{className:"text-2xl font-bold text-emerald-700",children:"HER Song of the Week"})]}),l.jsxs("div",{className:"text-center",children:[l.jsx("h3",{className:"text-xl font-semibold text-gray-800 mb-2",children:'"Still God" – Naomi Raine'}),l.jsx("p",{className:"text-gray-600 italic mb-4",children:"A song for the unseen moments. A reminder that even when they don't see you, He still does."}),l.jsx("div",{className:" p-4 rounded-lg",children:l.jsx("a",{href:"#",children:l.jsxs("p",{className:"text-md flex items-center justify-center gap-6 text-emerald-700",children:[" ",l.jsx(nC,{})," Listen on Spotify"]})})})]})]})})]})})]}),VC=()=>{const e=_o();return v.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),l.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:l.jsxs("div",{className:"text-center",children:[l.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404"}),l.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Oops! Page not found"}),l.jsx("a",{href:"/",className:"text-blue-500 hover:text-blue-700 underline",children:"Return to Home"})]})})},WC=new pN,KC=()=>l.jsx(mN,{client:WC,children:l.jsxs(V2,{children:[l.jsx($b,{}),l.jsx(gS,{}),l.jsx(dj,{children:l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(gj,{}),l.jsxs(oj,{children:[l.jsx(_t,{path:"/",element:l.jsx(xj,{})}),l.jsx(_t,{path:"/about",element:l.jsx(wj,{})}),l.jsx(_t,{path:"/book",element:l.jsx(GE,{})}),l.jsx(_t,{path:"/merch",element:l.jsx(oC,{})}),l.jsx(_t,{path:"/contact",element:l.jsx(sC,{})}),l.jsx(_t,{path:"/connect",element:l.jsx(iC,{})}),l.jsx(_t,{path:"/tour",element:l.jsx(HC,{})}),l.jsx(_t,{path:"/dear-her-sundays",element:l.jsx(UC,{})}),l.jsx(_t,{path:"/coming-soon",element:l.jsx(aC,{})}),l.jsx(_t,{path:"*",element:l.jsx(VC,{})})]})]})})]})});jg(document.getElementById("root")).render(l.jsx(KC,{}));