%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /var/www/html/new-ugenterprises.com/assets/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/new-ugenterprises.com/assets/index-0v0ra7BM.js
var tx=Object.defineProperty;var Wd=e=>{throw TypeError(e)};var nx=(e,t,n)=>t in e?tx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var dn=(e,t,n)=>nx(e,typeof t!="symbol"?t+"":t,n),ml=(e,t,n)=>t.has(e)||Wd("Cannot "+n);var P=(e,t,n)=>(ml(e,t,"read from private field"),n?n.call(e):t.get(e)),re=(e,t,n)=>t.has(e)?Wd("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Y=(e,t,n,r)=>(ml(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),He=(e,t,n)=>(ml(e,t,"access private method"),n);var fs=(e,t,n,r)=>({set _(o){Y(e,t,o,n)},get _(){return P(e,t,r)}});function rx(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function ar(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ah={exports:{}},Da={},lh={exports:{}},X={};/**
 * @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 Zi=Symbol.for("react.element"),ox=Symbol.for("react.portal"),ix=Symbol.for("react.fragment"),sx=Symbol.for("react.strict_mode"),ax=Symbol.for("react.profiler"),lx=Symbol.for("react.provider"),cx=Symbol.for("react.context"),ux=Symbol.for("react.forward_ref"),dx=Symbol.for("react.suspense"),fx=Symbol.for("react.memo"),px=Symbol.for("react.lazy"),Vd=Symbol.iterator;function hx(e){return e===null||typeof e!="object"?null:(e=Vd&&e[Vd]||e["@@iterator"],typeof e=="function"?e:null)}var ch={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},uh=Object.assign,dh={};function Ao(e,t,n){this.props=e,this.context=t,this.refs=dh,this.updater=n||ch}Ao.prototype.isReactComponent={};Ao.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")};Ao.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function fh(){}fh.prototype=Ao.prototype;function xu(e,t,n){this.props=e,this.context=t,this.refs=dh,this.updater=n||ch}var wu=xu.prototype=new fh;wu.constructor=xu;uh(wu,Ao.prototype);wu.isPureReactComponent=!0;var Gd=Array.isArray,ph=Object.prototype.hasOwnProperty,bu={current:null},hh={key:!0,ref:!0,__self:!0,__source:!0};function mh(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)ph.call(t,r)&&!hh.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:Zi,type:e,key:i,ref:s,props:o,_owner:bu.current}}function mx(e,t){return{$$typeof:Zi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Cu(e){return typeof e=="object"&&e!==null&&e.$$typeof===Zi}function gx(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var qd=/\/+/g;function gl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?gx(""+e.key):t.toString(36)}function Ls(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Zi:case ox:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+gl(s,0):r,Gd(o)?(n="",e!=null&&(n=e.replace(qd,"$&/")+"/"),Ls(o,t,n,"",function(c){return c})):o!=null&&(Cu(o)&&(o=mx(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(qd,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",Gd(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+gl(i,a);s+=Ls(i,t,n,l,o)}else if(l=hx(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+gl(i,a++),s+=Ls(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function ps(e,t,n){if(e==null)return e;var r=[],o=0;return Ls(e,r,"","",function(i){return t.call(n,i,o++)}),r}function vx(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 et={current:null},_s={transition:null},yx={ReactCurrentDispatcher:et,ReactCurrentBatchConfig:_s,ReactCurrentOwner:bu};function gh(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:ps,forEach:function(e,t,n){ps(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ps(e,function(){t++}),t},toArray:function(e){return ps(e,function(t){return t})||[]},only:function(e){if(!Cu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=Ao;X.Fragment=ix;X.Profiler=ax;X.PureComponent=xu;X.StrictMode=sx;X.Suspense=dx;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=yx;X.act=gh;X.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=uh({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=bu.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)ph.call(t,l)&&!hh.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var c=0;c<l;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:Zi,type:e.type,key:o,ref:i,props:r,_owner:s}};X.createContext=function(e){return e={$$typeof:cx,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:lx,_context:e},e.Consumer=e};X.createElement=mh;X.createFactory=function(e){var t=mh.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:ux,render:e}};X.isValidElement=Cu;X.lazy=function(e){return{$$typeof:px,_payload:{_status:-1,_result:e},_init:vx}};X.memo=function(e,t){return{$$typeof:fx,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=_s.transition;_s.transition={};try{e()}finally{_s.transition=t}};X.unstable_act=gh;X.useCallback=function(e,t){return et.current.useCallback(e,t)};X.useContext=function(e){return et.current.useContext(e)};X.useDebugValue=function(){};X.useDeferredValue=function(e){return et.current.useDeferredValue(e)};X.useEffect=function(e,t){return et.current.useEffect(e,t)};X.useId=function(){return et.current.useId()};X.useImperativeHandle=function(e,t,n){return et.current.useImperativeHandle(e,t,n)};X.useInsertionEffect=function(e,t){return et.current.useInsertionEffect(e,t)};X.useLayoutEffect=function(e,t){return et.current.useLayoutEffect(e,t)};X.useMemo=function(e,t){return et.current.useMemo(e,t)};X.useReducer=function(e,t,n){return et.current.useReducer(e,t,n)};X.useRef=function(e){return et.current.useRef(e)};X.useState=function(e){return et.current.useState(e)};X.useSyncExternalStore=function(e,t,n){return et.current.useSyncExternalStore(e,t,n)};X.useTransition=function(){return et.current.useTransition()};X.version="18.3.1";lh.exports=X;var b=lh.exports;const j=ar(b),vh=rx({__proto__:null,default:j},[b]);/**
 * @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 xx=b,wx=Symbol.for("react.element"),bx=Symbol.for("react.fragment"),Cx=Object.prototype.hasOwnProperty,Sx=xx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ex={key:!0,ref:!0,__self:!0,__source:!0};function yh(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Cx.call(t,r)&&!Ex.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:wx,type:e,key:i,ref:s,props:o,_owner:Sx.current}}Da.Fragment=bx;Da.jsx=yh;Da.jsxs=yh;ah.exports=Da;var u=ah.exports,xh={exports:{}},bt={},wh={exports:{}},bh={};/**
 * @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(T,D){var z=T.length;T.push(D);e:for(;0<z;){var L=z-1>>>1,U=T[L];if(0<o(U,D))T[L]=D,T[z]=U,z=L;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var D=T[0],z=T.pop();if(z!==D){T[0]=z;e:for(var L=0,U=T.length,Q=U>>>1;L<Q;){var te=2*(L+1)-1,Re=T[te],Z=te+1,de=T[Z];if(0>o(Re,z))Z<U&&0>o(de,Re)?(T[L]=de,T[Z]=z,L=Z):(T[L]=Re,T[te]=z,L=te);else if(Z<U&&0>o(de,z))T[L]=de,T[Z]=z,L=Z;else break e}}return D}function o(T,D){var z=T.sortIndex-D.sortIndex;return z!==0?z:T.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],c=[],p=1,f=null,d=3,g=!1,y=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,m=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 x(T){for(var D=n(c);D!==null;){if(D.callback===null)r(c);else if(D.startTime<=T)r(c),D.sortIndex=D.expirationTime,t(l,D);else break;D=n(c)}}function C(T){if(v=!1,x(T),!y)if(n(l)!==null)y=!0,B(S);else{var D=n(c);D!==null&&V(C,D.startTime-T)}}function S(T,D){y=!1,v&&(v=!1,m(N),N=-1),g=!0;var z=d;try{for(x(D),f=n(l);f!==null&&(!(f.expirationTime>D)||T&&!M());){var L=f.callback;if(typeof L=="function"){f.callback=null,d=f.priorityLevel;var U=L(f.expirationTime<=D);D=e.unstable_now(),typeof U=="function"?f.callback=U:f===n(l)&&r(l),x(D)}else r(l);f=n(l)}if(f!==null)var Q=!0;else{var te=n(c);te!==null&&V(C,te.startTime-D),Q=!1}return Q}finally{f=null,d=z,g=!1}}var k=!1,E=null,N=-1,A=5,O=-1;function M(){return!(e.unstable_now()-O<A)}function _(){if(E!==null){var T=e.unstable_now();O=T;var D=!0;try{D=E(!0,T)}finally{D?H():(k=!1,E=null)}}else k=!1}var H;if(typeof h=="function")H=function(){h(_)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,W=I.port2;I.port1.onmessage=_,H=function(){W.postMessage(null)}}else H=function(){w(_,0)};function B(T){E=T,k||(k=!0,H())}function V(T,D){N=w(function(){T(e.unstable_now())},D)}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(T){T.callback=null},e.unstable_continueExecution=function(){y||g||(y=!0,B(S))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(T){switch(d){case 1:case 2:case 3:var D=3;break;default:D=d}var z=d;d=D;try{return T()}finally{d=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,D){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var z=d;d=T;try{return D()}finally{d=z}},e.unstable_scheduleCallback=function(T,D,z){var L=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?L+z:L):z=L,T){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=z+U,T={id:p++,callback:D,priorityLevel:T,startTime:z,expirationTime:U,sortIndex:-1},z>L?(T.sortIndex=z,t(c,T),n(l)===null&&T===n(c)&&(v?(m(N),N=-1):v=!0,V(C,z-L))):(T.sortIndex=U,t(l,T),y||g||(y=!0,B(S))),T},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(T){var D=d;return function(){var z=d;d=D;try{return T.apply(this,arguments)}finally{d=z}}}})(bh);wh.exports=bh;var kx=wh.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 Tx=b,xt=kx;function R(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 Ch=new Set,wi={};function Ir(e,t){bo(e,t),bo(e+"Capture",t)}function bo(e,t){for(wi[e]=t,e=0;e<t.length;e++)Ch.add(t[e])}var wn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tc=Object.prototype.hasOwnProperty,Nx=/^[: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={},Kd={};function Px(e){return tc.call(Kd,e)?!0:tc.call(Qd,e)?!1:Nx.test(e)?Kd[e]=!0:(Qd[e]=!0,!1)}function jx(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 Ax(e,t,n,r){if(t===null||typeof t>"u"||jx(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 tt(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var Be={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Be[e]=new tt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Be[t]=new tt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Be[e]=new tt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Be[e]=new tt(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){Be[e]=new tt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Be[e]=new tt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Be[e]=new tt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Be[e]=new tt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Be[e]=new tt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Su=/[\-:]([a-z])/g;function Eu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Su,Eu);Be[t]=new tt(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(Su,Eu);Be[t]=new tt(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(Su,Eu);Be[t]=new tt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Be[e]=new tt(e,1,!1,e.toLowerCase(),null,!1,!1)});Be.xlinkHref=new tt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Be[e]=new tt(e,1,!1,e.toLowerCase(),null,!0,!0)});function ku(e,t,n,r){var o=Be.hasOwnProperty(t)?Be[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Ax(t,n,o,r)&&(n=null),r||o===null?Px(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 Nn=Tx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,hs=Symbol.for("react.element"),Br=Symbol.for("react.portal"),Hr=Symbol.for("react.fragment"),Tu=Symbol.for("react.strict_mode"),nc=Symbol.for("react.profiler"),Sh=Symbol.for("react.provider"),Eh=Symbol.for("react.context"),Nu=Symbol.for("react.forward_ref"),rc=Symbol.for("react.suspense"),oc=Symbol.for("react.suspense_list"),Pu=Symbol.for("react.memo"),In=Symbol.for("react.lazy"),kh=Symbol.for("react.offscreen"),Yd=Symbol.iterator;function Wo(e){return e===null||typeof e!="object"?null:(e=Yd&&e[Yd]||e["@@iterator"],typeof e=="function"?e:null)}var Ce=Object.assign,vl;function oi(e){if(vl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);vl=t&&t[1]||""}return`
`+vl+e}var yl=!1;function xl(e,t){if(!e||yl)return"";yl=!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(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
`),i=r.stack.split(`
`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=`
`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{yl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?oi(e):""}function Ox(e){switch(e.tag){case 5:return oi(e.type);case 16:return oi("Lazy");case 13:return oi("Suspense");case 19:return oi("SuspenseList");case 0:case 2:case 15:return e=xl(e.type,!1),e;case 11:return e=xl(e.type.render,!1),e;case 1:return e=xl(e.type,!0),e;default:return""}}function ic(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 Br:return"Portal";case nc:return"Profiler";case Tu:return"StrictMode";case rc:return"Suspense";case oc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Eh:return(e.displayName||"Context")+".Consumer";case Sh:return(e._context.displayName||"Context")+".Provider";case Nu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Pu:return t=e.displayName||null,t!==null?t:ic(e.type)||"Memo";case In:t=e._payload,e=e._init;try{return ic(e(t))}catch{}}return null}function Rx(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 ic(t);case 8:return t===Tu?"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 tr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Th(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Dx(e){var t=Th(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ms(e){e._valueTracker||(e._valueTracker=Dx(e))}function Nh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Th(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Js(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 sc(e,t){var n=t.checked;return Ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Xd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=tr(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 Ph(e,t){t=t.checked,t!=null&&ku(e,"checked",t,!1)}function ac(e,t){Ph(e,t);var n=tr(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,tr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Zd(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"||Js(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ii=Array.isArray;function eo(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=""+tr(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(R(91));return Ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Jd(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(R(92));if(ii(n)){if(1<n.length)throw Error(R(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:tr(n)}}function jh(e,t){var n=tr(t.value),r=tr(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 ef(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ah(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"?Ah(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var gs,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(gs=gs||document.createElement("div"),gs.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=gs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function bi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ci={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},Ix=["Webkit","ms","Moz","O"];Object.keys(ci).forEach(function(e){Ix.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ci[t]=ci[e]})});function Rh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ci.hasOwnProperty(e)&&ci[e]?(""+t).trim():t+"px"}function Dh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Rh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Mx=Ce({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function dc(e,t){if(t){if(Mx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(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 ju(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hc=null,to=null,no=null;function tf(e){if(e=ts(e)){if(typeof hc!="function")throw Error(R(280));var t=e.stateNode;t&&(t=Fa(t),hc(e.stateNode,e.type,t))}}function Ih(e){to?no?no.push(e):no=[e]:to=e}function Mh(){if(to){var e=to,t=no;if(no=to=null,tf(e),t)for(e=0;e<t.length;e++)tf(t[e])}}function Lh(e,t){return e(t)}function _h(){}var wl=!1;function Fh(e,t,n){if(wl)return e(t,n);wl=!0;try{return Lh(e,t,n)}finally{wl=!1,(to!==null||no!==null)&&(_h(),Mh())}}function Ci(e,t){var n=e.stateNode;if(n===null)return null;var r=Fa(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(R(231,t,typeof n));return n}var mc=!1;if(wn)try{var Vo={};Object.defineProperty(Vo,"passive",{get:function(){mc=!0}}),window.addEventListener("test",Vo,Vo),window.removeEventListener("test",Vo,Vo)}catch{mc=!1}function Lx(e,t,n,r,o,i,s,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(p){this.onError(p)}}var ui=!1,ea=null,ta=!1,gc=null,_x={onError:function(e){ui=!0,ea=e}};function Fx(e,t,n,r,o,i,s,a,l){ui=!1,ea=null,Lx.apply(_x,arguments)}function zx(e,t,n,r,o,i,s,a,l){if(Fx.apply(this,arguments),ui){if(ui){var c=ea;ui=!1,ea=null}else throw Error(R(198));ta||(ta=!0,gc=c)}}function Mr(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 zh(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 nf(e){if(Mr(e)!==e)throw Error(R(188))}function $x(e){var t=e.alternate;if(!t){if(t=Mr(e),t===null)throw Error(R(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return nf(o),e;if(i===r)return nf(o),t;i=i.sibling}throw Error(R(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s)throw Error(R(189))}}if(n.alternate!==r)throw Error(R(190))}if(n.tag!==3)throw Error(R(188));return n.stateNode.current===n?e:t}function $h(e){return e=$x(e),e!==null?Uh(e):null}function Uh(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Uh(e);if(t!==null)return t;e=e.sibling}return null}var Bh=xt.unstable_scheduleCallback,rf=xt.unstable_cancelCallback,Ux=xt.unstable_shouldYield,Bx=xt.unstable_requestPaint,Ne=xt.unstable_now,Hx=xt.unstable_getCurrentPriorityLevel,Au=xt.unstable_ImmediatePriority,Hh=xt.unstable_UserBlockingPriority,na=xt.unstable_NormalPriority,Wx=xt.unstable_LowPriority,Wh=xt.unstable_IdlePriority,Ia=null,on=null;function Vx(e){if(on&&typeof on.onCommitFiberRoot=="function")try{on.onCommitFiberRoot(Ia,e,void 0,(e.current.flags&128)===128)}catch{}}var Ht=Math.clz32?Math.clz32:Qx,Gx=Math.log,qx=Math.LN2;function Qx(e){return e>>>=0,e===0?32:31-(Gx(e)/qx|0)|0}var vs=64,ys=4194304;function si(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 ra(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=si(a):(i&=s,i!==0&&(r=si(i)))}else s=n&~o,s!==0?r=si(s):i!==0&&(r=si(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ht(t),o=1<<n,r|=e[n],t&=~o;return r}function Kx(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 Yx(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-Ht(i),a=1<<s,l=o[s];l===-1?(!(a&n)||a&r)&&(o[s]=Kx(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function vc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Vh(){var e=vs;return vs<<=1,!(vs&4194240)&&(vs=64),e}function bl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ji(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 Xx(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),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Ou(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 ie=0;function Gh(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var qh,Ru,Qh,Kh,Yh,yc=!1,xs=[],Gn=null,qn=null,Qn=null,Si=new Map,Ei=new Map,Ln=[],Zx="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 of(e,t){switch(e){case"focusin":case"focusout":Gn=null;break;case"dragenter":case"dragleave":qn=null;break;case"mouseover":case"mouseout":Qn=null;break;case"pointerover":case"pointerout":Si.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ei.delete(t.pointerId)}}function Go(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=ts(t),t!==null&&Ru(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Jx(e,t,n,r,o){switch(t){case"focusin":return Gn=Go(Gn,e,t,n,r,o),!0;case"dragenter":return qn=Go(qn,e,t,n,r,o),!0;case"mouseover":return Qn=Go(Qn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Si.set(i,Go(Si.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Ei.set(i,Go(Ei.get(i)||null,e,t,n,r,o)),!0}return!1}function Xh(e){var t=gr(e.target);if(t!==null){var n=Mr(t);if(n!==null){if(t=n.tag,t===13){if(t=zh(n),t!==null){e.blockedOn=t,Yh(e.priority,function(){Qh(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 Fs(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=ts(n),t!==null&&Ru(t),e.blockedOn=n,!1;t.shift()}return!0}function sf(e,t,n){Fs(e)&&n.delete(t)}function e0(){yc=!1,Gn!==null&&Fs(Gn)&&(Gn=null),qn!==null&&Fs(qn)&&(qn=null),Qn!==null&&Fs(Qn)&&(Qn=null),Si.forEach(sf),Ei.forEach(sf)}function qo(e,t){e.blockedOn===t&&(e.blockedOn=null,yc||(yc=!0,xt.unstable_scheduleCallback(xt.unstable_NormalPriority,e0)))}function ki(e){function t(o){return qo(o,e)}if(0<xs.length){qo(xs[0],e);for(var n=1;n<xs.length;n++){var r=xs[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Gn!==null&&qo(Gn,e),qn!==null&&qo(qn,e),Qn!==null&&qo(Qn,e),Si.forEach(t),Ei.forEach(t),n=0;n<Ln.length;n++)r=Ln[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ln.length&&(n=Ln[0],n.blockedOn===null);)Xh(n),n.blockedOn===null&&Ln.shift()}var ro=Nn.ReactCurrentBatchConfig,oa=!0;function t0(e,t,n,r){var o=ie,i=ro.transition;ro.transition=null;try{ie=1,Du(e,t,n,r)}finally{ie=o,ro.transition=i}}function n0(e,t,n,r){var o=ie,i=ro.transition;ro.transition=null;try{ie=4,Du(e,t,n,r)}finally{ie=o,ro.transition=i}}function Du(e,t,n,r){if(oa){var o=xc(e,t,n,r);if(o===null)Ol(e,t,r,ia,n),of(e,r);else if(Jx(o,e,t,n,r))r.stopPropagation();else if(of(e,r),t&4&&-1<Zx.indexOf(e)){for(;o!==null;){var i=ts(o);if(i!==null&&qh(i),i=xc(e,t,n,r),i===null&&Ol(e,t,r,ia,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Ol(e,t,r,null,n)}}var ia=null;function xc(e,t,n,r){if(ia=null,e=ju(r),e=gr(e),e!==null)if(t=Mr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=zh(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 ia=e,null}function Zh(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(Hx()){case Au:return 1;case Hh:return 4;case na:case Wx:return 16;case Wh:return 536870912;default:return 16}default:return 16}}var Hn=null,Iu=null,zs=null;function Jh(){if(zs)return zs;var e,t=Iu,n=t.length,r,o="value"in Hn?Hn.value:Hn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return zs=o.slice(e,1<r?1-r:void 0)}function $s(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 ws(){return!0}function af(){return!1}function Ct(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?ws:af,this.isPropagationStopped=af,this}return Ce(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ws)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ws)},persist:function(){},isPersistent:ws}),t}var Oo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mu=Ct(Oo),es=Ce({},Oo,{view:0,detail:0}),r0=Ct(es),Cl,Sl,Qo,Ma=Ce({},es,{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!==Qo&&(Qo&&e.type==="mousemove"?(Cl=e.screenX-Qo.screenX,Sl=e.screenY-Qo.screenY):Sl=Cl=0,Qo=e),Cl)},movementY:function(e){return"movementY"in e?e.movementY:Sl}}),lf=Ct(Ma),o0=Ce({},Ma,{dataTransfer:0}),i0=Ct(o0),s0=Ce({},es,{relatedTarget:0}),El=Ct(s0),a0=Ce({},Oo,{animationName:0,elapsedTime:0,pseudoElement:0}),l0=Ct(a0),c0=Ce({},Oo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),u0=Ct(c0),d0=Ce({},Oo,{data:0}),cf=Ct(d0),f0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},p0={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"},h0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function m0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=h0[e])?!!t[e]:!1}function Lu(){return m0}var g0=Ce({},es,{key:function(e){if(e.key){var t=f0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=$s(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?p0[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"?$s(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?$s(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),v0=Ct(g0),y0=Ce({},Ma,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),uf=Ct(y0),x0=Ce({},es,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Lu}),w0=Ct(x0),b0=Ce({},Oo,{propertyName:0,elapsedTime:0,pseudoElement:0}),C0=Ct(b0),S0=Ce({},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}),E0=Ct(S0),k0=[9,13,27,32],_u=wn&&"CompositionEvent"in window,di=null;wn&&"documentMode"in document&&(di=document.documentMode);var T0=wn&&"TextEvent"in window&&!di,em=wn&&(!_u||di&&8<di&&11>=di),df=" ",ff=!1;function tm(e,t){switch(e){case"keyup":return k0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Wr=!1;function N0(e,t){switch(e){case"compositionend":return nm(t);case"keypress":return t.which!==32?null:(ff=!0,df);case"textInput":return e=t.data,e===df&&ff?null:e;default:return null}}function P0(e,t){if(Wr)return e==="compositionend"||!_u&&tm(e,t)?(e=Jh(),zs=Iu=Hn=null,Wr=!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 em&&t.locale!=="ko"?null:t.data;default:return null}}var j0={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 pf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!j0[e.type]:t==="textarea"}function rm(e,t,n,r){Ih(r),t=sa(t,"onChange"),0<t.length&&(n=new Mu("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var fi=null,Ti=null;function A0(e){hm(e,0)}function La(e){var t=qr(e);if(Nh(t))return e}function O0(e,t){if(e==="change")return t}var om=!1;if(wn){var kl;if(wn){var Tl="oninput"in document;if(!Tl){var hf=document.createElement("div");hf.setAttribute("oninput","return;"),Tl=typeof hf.oninput=="function"}kl=Tl}else kl=!1;om=kl&&(!document.documentMode||9<document.documentMode)}function mf(){fi&&(fi.detachEvent("onpropertychange",im),Ti=fi=null)}function im(e){if(e.propertyName==="value"&&La(Ti)){var t=[];rm(t,Ti,e,ju(e)),Fh(A0,t)}}function R0(e,t,n){e==="focusin"?(mf(),fi=t,Ti=n,fi.attachEvent("onpropertychange",im)):e==="focusout"&&mf()}function D0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return La(Ti)}function I0(e,t){if(e==="click")return La(t)}function M0(e,t){if(e==="input"||e==="change")return La(t)}function L0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Gt=typeof Object.is=="function"?Object.is:L0;function Ni(e,t){if(Gt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!tc.call(t,o)||!Gt(e[o],t[o]))return!1}return!0}function gf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vf(e,t){var n=gf(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=gf(n)}}function sm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?sm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function am(){for(var e=window,t=Js();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Js(e.document)}return t}function Fu(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 _0(e){var t=am(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sm(n.ownerDocument.documentElement,n)){if(r!==null&&Fu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=vf(n,i);var s=vf(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var F0=wn&&"documentMode"in document&&11>=document.documentMode,Vr=null,wc=null,pi=null,bc=!1;function yf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;bc||Vr==null||Vr!==Js(r)||(r=Vr,"selectionStart"in r&&Fu(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}),pi&&Ni(pi,r)||(pi=r,r=sa(wc,"onSelect"),0<r.length&&(t=new Mu("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Vr)))}function bs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Gr={animationend:bs("Animation","AnimationEnd"),animationiteration:bs("Animation","AnimationIteration"),animationstart:bs("Animation","AnimationStart"),transitionend:bs("Transition","TransitionEnd")},Nl={},lm={};wn&&(lm=document.createElement("div").style,"AnimationEvent"in window||(delete Gr.animationend.animation,delete Gr.animationiteration.animation,delete Gr.animationstart.animation),"TransitionEvent"in window||delete Gr.transitionend.transition);function _a(e){if(Nl[e])return Nl[e];if(!Gr[e])return e;var t=Gr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in lm)return Nl[e]=t[n];return e}var cm=_a("animationend"),um=_a("animationiteration"),dm=_a("animationstart"),fm=_a("transitionend"),pm=new Map,xf="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 lr(e,t){pm.set(e,t),Ir(t,[e])}for(var Pl=0;Pl<xf.length;Pl++){var jl=xf[Pl],z0=jl.toLowerCase(),$0=jl[0].toUpperCase()+jl.slice(1);lr(z0,"on"+$0)}lr(cm,"onAnimationEnd");lr(um,"onAnimationIteration");lr(dm,"onAnimationStart");lr("dblclick","onDoubleClick");lr("focusin","onFocus");lr("focusout","onBlur");lr(fm,"onTransitionEnd");bo("onMouseEnter",["mouseout","mouseover"]);bo("onMouseLeave",["mouseout","mouseover"]);bo("onPointerEnter",["pointerout","pointerover"]);bo("onPointerLeave",["pointerout","pointerover"]);Ir("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ir("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ir("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ir("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ir("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ir("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ai="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(" "),U0=new Set("cancel close invalid load scroll toggle".split(" ").concat(ai));function wf(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,zx(r,t,void 0,e),e.currentTarget=null}function hm(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==i&&o.isPropagationStopped())break e;wf(o,a,c),i=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,c=a.currentTarget,a=a.listener,l!==i&&o.isPropagationStopped())break e;wf(o,a,c),i=l}}}if(ta)throw e=gc,ta=!1,gc=null,e}function pe(e,t){var n=t[Tc];n===void 0&&(n=t[Tc]=new Set);var r=e+"__bubble";n.has(r)||(mm(t,e,2,!1),n.add(r))}function Al(e,t,n){var r=0;t&&(r|=4),mm(n,e,r,t)}var Cs="_reactListening"+Math.random().toString(36).slice(2);function Pi(e){if(!e[Cs]){e[Cs]=!0,Ch.forEach(function(n){n!=="selectionchange"&&(U0.has(n)||Al(n,!1,e),Al(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Cs]||(t[Cs]=!0,Al("selectionchange",!1,t))}}function mm(e,t,n,r){switch(Zh(t)){case 1:var o=t0;break;case 4:o=n0;break;default:o=Du}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 Ol(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;s=s.return}for(;a!==null;){if(s=gr(a),s===null)return;if(l=s.tag,l===5||l===6){r=i=s;continue e}a=a.parentNode}}r=r.return}Fh(function(){var c=i,p=ju(n),f=[];e:{var d=pm.get(e);if(d!==void 0){var g=Mu,y=e;switch(e){case"keypress":if($s(n)===0)break e;case"keydown":case"keyup":g=v0;break;case"focusin":y="focus",g=El;break;case"focusout":y="blur",g=El;break;case"beforeblur":case"afterblur":g=El;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=lf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=i0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=w0;break;case cm:case um:case dm:g=l0;break;case fm:g=C0;break;case"scroll":g=r0;break;case"wheel":g=E0;break;case"copy":case"cut":case"paste":g=u0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=uf}var v=(t&4)!==0,w=!v&&e==="scroll",m=v?d!==null?d+"Capture":null:d;v=[];for(var h=c,x;h!==null;){x=h;var C=x.stateNode;if(x.tag===5&&C!==null&&(x=C,m!==null&&(C=Ci(h,m),C!=null&&v.push(ji(h,C,x)))),w)break;h=h.return}0<v.length&&(d=new g(d,y,null,n,p),f.push({event:d,listeners:v}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",d&&n!==pc&&(y=n.relatedTarget||n.fromElement)&&(gr(y)||y[bn]))break e;if((g||d)&&(d=p.window===p?p:(d=p.ownerDocument)?d.defaultView||d.parentWindow:window,g?(y=n.relatedTarget||n.toElement,g=c,y=y?gr(y):null,y!==null&&(w=Mr(y),y!==w||y.tag!==5&&y.tag!==6)&&(y=null)):(g=null,y=c),g!==y)){if(v=lf,C="onMouseLeave",m="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(v=uf,C="onPointerLeave",m="onPointerEnter",h="pointer"),w=g==null?d:qr(g),x=y==null?d:qr(y),d=new v(C,h+"leave",g,n,p),d.target=w,d.relatedTarget=x,C=null,gr(p)===c&&(v=new v(m,h+"enter",y,n,p),v.target=x,v.relatedTarget=w,C=v),w=C,g&&y)t:{for(v=g,m=y,h=0,x=v;x;x=zr(x))h++;for(x=0,C=m;C;C=zr(C))x++;for(;0<h-x;)v=zr(v),h--;for(;0<x-h;)m=zr(m),x--;for(;h--;){if(v===m||m!==null&&v===m.alternate)break t;v=zr(v),m=zr(m)}v=null}else v=null;g!==null&&bf(f,d,g,v,!1),y!==null&&w!==null&&bf(f,w,y,v,!0)}}e:{if(d=c?qr(c):window,g=d.nodeName&&d.nodeName.toLowerCase(),g==="select"||g==="input"&&d.type==="file")var S=O0;else if(pf(d))if(om)S=M0;else{S=D0;var k=R0}else(g=d.nodeName)&&g.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(S=I0);if(S&&(S=S(e,c))){rm(f,S,n,p);break e}k&&k(e,d,c),e==="focusout"&&(k=d._wrapperState)&&k.controlled&&d.type==="number"&&lc(d,"number",d.value)}switch(k=c?qr(c):window,e){case"focusin":(pf(k)||k.contentEditable==="true")&&(Vr=k,wc=c,pi=null);break;case"focusout":pi=wc=Vr=null;break;case"mousedown":bc=!0;break;case"contextmenu":case"mouseup":case"dragend":bc=!1,yf(f,n,p);break;case"selectionchange":if(F0)break;case"keydown":case"keyup":yf(f,n,p)}var E;if(_u)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else Wr?tm(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(em&&n.locale!=="ko"&&(Wr||N!=="onCompositionStart"?N==="onCompositionEnd"&&Wr&&(E=Jh()):(Hn=p,Iu="value"in Hn?Hn.value:Hn.textContent,Wr=!0)),k=sa(c,N),0<k.length&&(N=new cf(N,e,null,n,p),f.push({event:N,listeners:k}),E?N.data=E:(E=nm(n),E!==null&&(N.data=E)))),(E=T0?N0(e,n):P0(e,n))&&(c=sa(c,"onBeforeInput"),0<c.length&&(p=new cf("onBeforeInput","beforeinput",null,n,p),f.push({event:p,listeners:c}),p.data=E))}hm(f,t)})}function ji(e,t,n){return{instance:e,listener:t,currentTarget:n}}function sa(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Ci(e,n),i!=null&&r.unshift(ji(e,i,o)),i=Ci(e,t),i!=null&&r.push(ji(e,i,o))),e=e.return}return r}function zr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function bf(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&c!==null&&(a=c,o?(l=Ci(n,i),l!=null&&s.unshift(ji(n,l,a))):o||(l=Ci(n,i),l!=null&&s.push(ji(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var B0=/\r\n?/g,H0=/\u0000|\uFFFD/g;function Cf(e){return(typeof e=="string"?e:""+e).replace(B0,`
`).replace(H0,"")}function Ss(e,t,n){if(t=Cf(t),Cf(e)!==t&&n)throw Error(R(425))}function aa(){}var Cc=null,Sc=null;function Ec(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 kc=typeof setTimeout=="function"?setTimeout:void 0,W0=typeof clearTimeout=="function"?clearTimeout:void 0,Sf=typeof Promise=="function"?Promise:void 0,V0=typeof queueMicrotask=="function"?queueMicrotask:typeof Sf<"u"?function(e){return Sf.resolve(null).then(e).catch(G0)}:kc;function G0(e){setTimeout(function(){throw e})}function Rl(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),ki(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);ki(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 Ef(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),rn="__reactFiber$"+Ro,Ai="__reactProps$"+Ro,bn="__reactContainer$"+Ro,Tc="__reactEvents$"+Ro,q0="__reactListeners$"+Ro,Q0="__reactHandles$"+Ro;function gr(e){var t=e[rn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[bn]||n[rn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ef(e);e!==null;){if(n=e[rn])return n;e=Ef(e)}return t}e=n,n=e.parentNode}return null}function ts(e){return e=e[rn]||e[bn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function qr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(R(33))}function Fa(e){return e[Ai]||null}var Nc=[],Qr=-1;function cr(e){return{current:e}}function he(e){0>Qr||(e.current=Nc[Qr],Nc[Qr]=null,Qr--)}function ue(e,t){Qr++,Nc[Qr]=e.current,e.current=t}var nr={},Qe=cr(nr),st=cr(!1),Nr=nr;function Co(e,t){var n=e.type.contextTypes;if(!n)return nr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function at(e){return e=e.childContextTypes,e!=null}function la(){he(st),he(Qe)}function kf(e,t,n){if(Qe.current!==nr)throw Error(R(168));ue(Qe,t),ue(st,n)}function gm(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(R(108,Rx(e)||"Unknown",o));return Ce({},n,r)}function ca(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nr,Nr=Qe.current,ue(Qe,e),ue(st,st.current),!0}function Tf(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=gm(e,t,Nr),r.__reactInternalMemoizedMergedChildContext=e,he(st),he(Qe),ue(Qe,e)):he(st),ue(st,n)}var gn=null,za=!1,Dl=!1;function vm(e){gn===null?gn=[e]:gn.push(e)}function K0(e){za=!0,vm(e)}function ur(){if(!Dl&&gn!==null){Dl=!0;var e=0,t=ie;try{var n=gn;for(ie=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}gn=null,za=!1}catch(o){throw gn!==null&&(gn=gn.slice(e+1)),Bh(Au,ur),o}finally{ie=t,Dl=!1}}return null}var Kr=[],Yr=0,ua=null,da=0,Pt=[],jt=0,Pr=null,vn=1,yn="";function hr(e,t){Kr[Yr++]=da,Kr[Yr++]=ua,ua=e,da=t}function ym(e,t,n){Pt[jt++]=vn,Pt[jt++]=yn,Pt[jt++]=Pr,Pr=e;var r=vn;e=yn;var o=32-Ht(r)-1;r&=~(1<<o),n+=1;var i=32-Ht(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,vn=1<<32-Ht(t)+o|n<<o|r,yn=i+e}else vn=1<<i|n<<o|r,yn=e}function zu(e){e.return!==null&&(hr(e,1),ym(e,1,0))}function $u(e){for(;e===ua;)ua=Kr[--Yr],Kr[Yr]=null,da=Kr[--Yr],Kr[Yr]=null;for(;e===Pr;)Pr=Pt[--jt],Pt[jt]=null,yn=Pt[--jt],Pt[jt]=null,vn=Pt[--jt],Pt[jt]=null}var vt=null,gt=null,ye=!1,$t=null;function xm(e,t){var n=At(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 Nf(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,vt=e,gt=Kn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,vt=e,gt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Pr!==null?{id:vn,overflow:yn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=At(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,vt=e,gt=null,!0):!1;default:return!1}}function Pc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function jc(e){if(ye){var t=gt;if(t){var n=t;if(!Nf(e,t)){if(Pc(e))throw Error(R(418));t=Kn(n.nextSibling);var r=vt;t&&Nf(e,t)?xm(r,n):(e.flags=e.flags&-4097|2,ye=!1,vt=e)}}else{if(Pc(e))throw Error(R(418));e.flags=e.flags&-4097|2,ye=!1,vt=e}}}function Pf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;vt=e}function Es(e){if(e!==vt)return!1;if(!ye)return Pf(e),ye=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ec(e.type,e.memoizedProps)),t&&(t=gt)){if(Pc(e))throw wm(),Error(R(418));for(;t;)xm(e,t),t=Kn(t.nextSibling)}if(Pf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){gt=Kn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}gt=null}}else gt=vt?Kn(e.stateNode.nextSibling):null;return!0}function wm(){for(var e=gt;e;)e=Kn(e.nextSibling)}function So(){gt=vt=null,ye=!1}function Uu(e){$t===null?$t=[e]:$t.push(e)}var Y0=Nn.ReactCurrentBatchConfig;function Ko(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(R(309));var r=n.stateNode}if(!r)throw Error(R(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var a=o.refs;s===null?delete a[i]:a[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(R(284));if(!n._owner)throw Error(R(290,e))}return e}function ks(e,t){throw e=Object.prototype.toString.call(t),Error(R(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function jf(e){var t=e._init;return t(e._payload)}function bm(e){function t(m,h){if(e){var x=m.deletions;x===null?(m.deletions=[h],m.flags|=16):x.push(h)}}function n(m,h){if(!e)return null;for(;h!==null;)t(m,h),h=h.sibling;return null}function r(m,h){for(m=new Map;h!==null;)h.key!==null?m.set(h.key,h):m.set(h.index,h),h=h.sibling;return m}function o(m,h){return m=Jn(m,h),m.index=0,m.sibling=null,m}function i(m,h,x){return m.index=x,e?(x=m.alternate,x!==null?(x=x.index,x<h?(m.flags|=2,h):x):(m.flags|=2,h)):(m.flags|=1048576,h)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,h,x,C){return h===null||h.tag!==6?(h=$l(x,m.mode,C),h.return=m,h):(h=o(h,x),h.return=m,h)}function l(m,h,x,C){var S=x.type;return S===Hr?p(m,h,x.props.children,C,x.key):h!==null&&(h.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===In&&jf(S)===h.type)?(C=o(h,x.props),C.ref=Ko(m,h,x),C.return=m,C):(C=qs(x.type,x.key,x.props,null,m.mode,C),C.ref=Ko(m,h,x),C.return=m,C)}function c(m,h,x,C){return h===null||h.tag!==4||h.stateNode.containerInfo!==x.containerInfo||h.stateNode.implementation!==x.implementation?(h=Ul(x,m.mode,C),h.return=m,h):(h=o(h,x.children||[]),h.return=m,h)}function p(m,h,x,C,S){return h===null||h.tag!==7?(h=kr(x,m.mode,C,S),h.return=m,h):(h=o(h,x),h.return=m,h)}function f(m,h,x){if(typeof h=="string"&&h!==""||typeof h=="number")return h=$l(""+h,m.mode,x),h.return=m,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case hs:return x=qs(h.type,h.key,h.props,null,m.mode,x),x.ref=Ko(m,null,h),x.return=m,x;case Br:return h=Ul(h,m.mode,x),h.return=m,h;case In:var C=h._init;return f(m,C(h._payload),x)}if(ii(h)||Wo(h))return h=kr(h,m.mode,x,null),h.return=m,h;ks(m,h)}return null}function d(m,h,x,C){var S=h!==null?h.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return S!==null?null:a(m,h,""+x,C);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case hs:return x.key===S?l(m,h,x,C):null;case Br:return x.key===S?c(m,h,x,C):null;case In:return S=x._init,d(m,h,S(x._payload),C)}if(ii(x)||Wo(x))return S!==null?null:p(m,h,x,C,null);ks(m,x)}return null}function g(m,h,x,C,S){if(typeof C=="string"&&C!==""||typeof C=="number")return m=m.get(x)||null,a(h,m,""+C,S);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case hs:return m=m.get(C.key===null?x:C.key)||null,l(h,m,C,S);case Br:return m=m.get(C.key===null?x:C.key)||null,c(h,m,C,S);case In:var k=C._init;return g(m,h,x,k(C._payload),S)}if(ii(C)||Wo(C))return m=m.get(x)||null,p(h,m,C,S,null);ks(h,C)}return null}function y(m,h,x,C){for(var S=null,k=null,E=h,N=h=0,A=null;E!==null&&N<x.length;N++){E.index>N?(A=E,E=null):A=E.sibling;var O=d(m,E,x[N],C);if(O===null){E===null&&(E=A);break}e&&E&&O.alternate===null&&t(m,E),h=i(O,h,N),k===null?S=O:k.sibling=O,k=O,E=A}if(N===x.length)return n(m,E),ye&&hr(m,N),S;if(E===null){for(;N<x.length;N++)E=f(m,x[N],C),E!==null&&(h=i(E,h,N),k===null?S=E:k.sibling=E,k=E);return ye&&hr(m,N),S}for(E=r(m,E);N<x.length;N++)A=g(E,m,N,x[N],C),A!==null&&(e&&A.alternate!==null&&E.delete(A.key===null?N:A.key),h=i(A,h,N),k===null?S=A:k.sibling=A,k=A);return e&&E.forEach(function(M){return t(m,M)}),ye&&hr(m,N),S}function v(m,h,x,C){var S=Wo(x);if(typeof S!="function")throw Error(R(150));if(x=S.call(x),x==null)throw Error(R(151));for(var k=S=null,E=h,N=h=0,A=null,O=x.next();E!==null&&!O.done;N++,O=x.next()){E.index>N?(A=E,E=null):A=E.sibling;var M=d(m,E,O.value,C);if(M===null){E===null&&(E=A);break}e&&E&&M.alternate===null&&t(m,E),h=i(M,h,N),k===null?S=M:k.sibling=M,k=M,E=A}if(O.done)return n(m,E),ye&&hr(m,N),S;if(E===null){for(;!O.done;N++,O=x.next())O=f(m,O.value,C),O!==null&&(h=i(O,h,N),k===null?S=O:k.sibling=O,k=O);return ye&&hr(m,N),S}for(E=r(m,E);!O.done;N++,O=x.next())O=g(E,m,N,O.value,C),O!==null&&(e&&O.alternate!==null&&E.delete(O.key===null?N:O.key),h=i(O,h,N),k===null?S=O:k.sibling=O,k=O);return e&&E.forEach(function(_){return t(m,_)}),ye&&hr(m,N),S}function w(m,h,x,C){if(typeof x=="object"&&x!==null&&x.type===Hr&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case hs:e:{for(var S=x.key,k=h;k!==null;){if(k.key===S){if(S=x.type,S===Hr){if(k.tag===7){n(m,k.sibling),h=o(k,x.props.children),h.return=m,m=h;break e}}else if(k.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===In&&jf(S)===k.type){n(m,k.sibling),h=o(k,x.props),h.ref=Ko(m,k,x),h.return=m,m=h;break e}n(m,k);break}else t(m,k);k=k.sibling}x.type===Hr?(h=kr(x.props.children,m.mode,C,x.key),h.return=m,m=h):(C=qs(x.type,x.key,x.props,null,m.mode,C),C.ref=Ko(m,h,x),C.return=m,m=C)}return s(m);case Br:e:{for(k=x.key;h!==null;){if(h.key===k)if(h.tag===4&&h.stateNode.containerInfo===x.containerInfo&&h.stateNode.implementation===x.implementation){n(m,h.sibling),h=o(h,x.children||[]),h.return=m,m=h;break e}else{n(m,h);break}else t(m,h);h=h.sibling}h=Ul(x,m.mode,C),h.return=m,m=h}return s(m);case In:return k=x._init,w(m,h,k(x._payload),C)}if(ii(x))return y(m,h,x,C);if(Wo(x))return v(m,h,x,C);ks(m,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,h!==null&&h.tag===6?(n(m,h.sibling),h=o(h,x),h.return=m,m=h):(n(m,h),h=$l(x,m.mode,C),h.return=m,m=h),s(m)):n(m,h)}return w}var Eo=bm(!0),Cm=bm(!1),fa=cr(null),pa=null,Xr=null,Bu=null;function Hu(){Bu=Xr=pa=null}function Wu(e){var t=fa.current;he(fa),e._currentValue=t}function Ac(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 oo(e,t){pa=e,Bu=Xr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(it=!0),e.firstContext=null)}function Rt(e){var t=e._currentValue;if(Bu!==e)if(e={context:e,memoizedValue:t,next:null},Xr===null){if(pa===null)throw Error(R(308));Xr=e,pa.dependencies={lanes:0,firstContext:e}}else Xr=Xr.next=e;return t}var vr=null;function Vu(e){vr===null?vr=[e]:vr.push(e)}function Sm(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Vu(t)):(n.next=o.next,o.next=n),t.interleaved=n,Cn(e,r)}function Cn(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 Gu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Em(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 xn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ne&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Cn(e,n)}return o=r.interleaved,o===null?(t.next=t,Vu(r)):(t.next=o.next,o.next=t),r.interleaved=t,Cn(e,n)}function Us(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,Ou(e,n)}}function Af(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ha(e,t,n,r){var o=e.updateQueue;Mn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,c=l.next;l.next=null,s===null?i=c:s.next=c,s=l;var p=e.alternate;p!==null&&(p=p.updateQueue,a=p.lastBaseUpdate,a!==s&&(a===null?p.firstBaseUpdate=c:a.next=c,p.lastBaseUpdate=l))}if(i!==null){var f=o.baseState;s=0,p=c=l=null,a=i;do{var d=a.lane,g=a.eventTime;if((r&d)===d){p!==null&&(p=p.next={eventTime:g,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,v=a;switch(d=t,g=n,v.tag){case 1:if(y=v.payload,typeof y=="function"){f=y.call(g,f,d);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=v.payload,d=typeof y=="function"?y.call(g,f,d):y,d==null)break e;f=Ce({},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 g={eventTime:g,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},p===null?(c=p=g,l=f):p=p.next=g,s|=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(p===null&&(l=f),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=p,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Ar|=s,e.lanes=s,e.memoizedState=f}}function Of(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(R(191,o));o.call(r)}}}var ns={},sn=cr(ns),Oi=cr(ns),Ri=cr(ns);function yr(e){if(e===ns)throw Error(R(174));return e}function qu(e,t){switch(ue(Ri,t),ue(Oi,e),ue(sn,ns),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)}he(sn),ue(sn,t)}function ko(){he(sn),he(Oi),he(Ri)}function km(e){yr(Ri.current);var t=yr(sn.current),n=uc(t,e.type);t!==n&&(ue(Oi,e),ue(sn,n))}function Qu(e){Oi.current===e&&(he(sn),he(Oi))}var xe=cr(0);function ma(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 Il=[];function Ku(){for(var e=0;e<Il.length;e++)Il[e]._workInProgressVersionPrimary=null;Il.length=0}var Bs=Nn.ReactCurrentDispatcher,Ml=Nn.ReactCurrentBatchConfig,jr=0,be=null,Ie=null,Fe=null,ga=!1,hi=!1,Di=0,X0=0;function We(){throw Error(R(321))}function Yu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Gt(e[n],t[n]))return!1;return!0}function Xu(e,t,n,r,o,i){if(jr=i,be=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Bs.current=e===null||e.memoizedState===null?tw:nw,e=n(r,o),hi){i=0;do{if(hi=!1,Di=0,25<=i)throw Error(R(301));i+=1,Fe=Ie=null,t.updateQueue=null,Bs.current=rw,e=n(r,o)}while(hi)}if(Bs.current=va,t=Ie!==null&&Ie.next!==null,jr=0,Fe=Ie=be=null,ga=!1,t)throw Error(R(300));return e}function Zu(){var e=Di!==0;return Di=0,e}function Jt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fe===null?be.memoizedState=Fe=e:Fe=Fe.next=e,Fe}function Dt(){if(Ie===null){var e=be.alternate;e=e!==null?e.memoizedState:null}else e=Ie.next;var t=Fe===null?be.memoizedState:Fe.next;if(t!==null)Fe=t,Ie=e;else{if(e===null)throw Error(R(310));Ie=e,e={memoizedState:Ie.memoizedState,baseState:Ie.baseState,baseQueue:Ie.baseQueue,queue:Ie.queue,next:null},Fe===null?be.memoizedState=Fe=e:Fe=Fe.next=e}return Fe}function Ii(e,t){return typeof t=="function"?t(e):t}function Ll(e){var t=Dt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=Ie,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=s=null,l=null,c=i;do{var p=c.lane;if((jr&p)===p)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:p,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=f,s=r):l=l.next=f,be.lanes|=p,Ar|=p}c=c.next}while(c!==null&&c!==i);l===null?s=r:l.next=a,Gt(r,t.memoizedState)||(it=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,be.lanes|=i,Ar|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function _l(e){var t=Dt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);Gt(i,t.memoizedState)||(it=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Tm(){}function Nm(e,t){var n=be,r=Dt(),o=t(),i=!Gt(r.memoizedState,o);if(i&&(r.memoizedState=o,it=!0),r=r.queue,Ju(Am.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Fe!==null&&Fe.memoizedState.tag&1){if(n.flags|=2048,Mi(9,jm.bind(null,n,r,o,t),void 0,null),ze===null)throw Error(R(349));jr&30||Pm(n,t,o)}return o}function Pm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=be.updateQueue,t===null?(t={lastEffect:null,stores:null},be.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function jm(e,t,n,r){t.value=n,t.getSnapshot=r,Om(t)&&Rm(e)}function Am(e,t,n){return n(function(){Om(t)&&Rm(e)})}function Om(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Gt(e,n)}catch{return!0}}function Rm(e){var t=Cn(e,1);t!==null&&Wt(t,e,1,-1)}function Rf(e){var t=Jt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ii,lastRenderedState:e},t.queue=e,e=e.dispatch=ew.bind(null,be,e),[t.memoizedState,e]}function Mi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=be.updateQueue,t===null?(t={lastEffect:null,stores:null},be.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 Dm(){return Dt().memoizedState}function Hs(e,t,n,r){var o=Jt();be.flags|=e,o.memoizedState=Mi(1|t,n,void 0,r===void 0?null:r)}function $a(e,t,n,r){var o=Dt();r=r===void 0?null:r;var i=void 0;if(Ie!==null){var s=Ie.memoizedState;if(i=s.destroy,r!==null&&Yu(r,s.deps)){o.memoizedState=Mi(t,n,i,r);return}}be.flags|=e,o.memoizedState=Mi(1|t,n,i,r)}function Df(e,t){return Hs(8390656,8,e,t)}function Ju(e,t){return $a(2048,8,e,t)}function Im(e,t){return $a(4,2,e,t)}function Mm(e,t){return $a(4,4,e,t)}function Lm(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 _m(e,t,n){return n=n!=null?n.concat([e]):null,$a(4,4,Lm.bind(null,t,e),n)}function ed(){}function Fm(e,t){var n=Dt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Yu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function zm(e,t){var n=Dt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Yu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function $m(e,t,n){return jr&21?(Gt(n,t)||(n=Vh(),be.lanes|=n,Ar|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,it=!0),e.memoizedState=n)}function Z0(e,t){var n=ie;ie=n!==0&&4>n?n:4,e(!0);var r=Ml.transition;Ml.transition={};try{e(!1),t()}finally{ie=n,Ml.transition=r}}function Um(){return Dt().memoizedState}function J0(e,t,n){var r=Zn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Bm(e))Hm(t,n);else if(n=Sm(e,t,n,r),n!==null){var o=Je();Wt(n,e,r,o),Wm(n,t,r)}}function ew(e,t,n){var r=Zn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bm(e))Hm(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,Gt(a,s)){var l=t.interleaved;l===null?(o.next=o,Vu(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Sm(e,t,o,r),n!==null&&(o=Je(),Wt(n,e,r,o),Wm(n,t,r))}}function Bm(e){var t=e.alternate;return e===be||t!==null&&t===be}function Hm(e,t){hi=ga=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Wm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ou(e,n)}}var va={readContext:Rt,useCallback:We,useContext:We,useEffect:We,useImperativeHandle:We,useInsertionEffect:We,useLayoutEffect:We,useMemo:We,useReducer:We,useRef:We,useState:We,useDebugValue:We,useDeferredValue:We,useTransition:We,useMutableSource:We,useSyncExternalStore:We,useId:We,unstable_isNewReconciler:!1},tw={readContext:Rt,useCallback:function(e,t){return Jt().memoizedState=[e,t===void 0?null:t],e},useContext:Rt,useEffect:Df,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Hs(4194308,4,Lm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Hs(4194308,4,e,t)},useInsertionEffect:function(e,t){return Hs(4,2,e,t)},useMemo:function(e,t){var n=Jt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Jt();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=J0.bind(null,be,e),[r.memoizedState,e]},useRef:function(e){var t=Jt();return e={current:e},t.memoizedState=e},useState:Rf,useDebugValue:ed,useDeferredValue:function(e){return Jt().memoizedState=e},useTransition:function(){var e=Rf(!1),t=e[0];return e=Z0.bind(null,e[1]),Jt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=be,o=Jt();if(ye){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),ze===null)throw Error(R(349));jr&30||Pm(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Df(Am.bind(null,r,i,e),[e]),r.flags|=2048,Mi(9,jm.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Jt(),t=ze.identifierPrefix;if(ye){var n=yn,r=vn;n=(r&~(1<<32-Ht(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Di++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=X0++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},nw={readContext:Rt,useCallback:Fm,useContext:Rt,useEffect:Ju,useImperativeHandle:_m,useInsertionEffect:Im,useLayoutEffect:Mm,useMemo:zm,useReducer:Ll,useRef:Dm,useState:function(){return Ll(Ii)},useDebugValue:ed,useDeferredValue:function(e){var t=Dt();return $m(t,Ie.memoizedState,e)},useTransition:function(){var e=Ll(Ii)[0],t=Dt().memoizedState;return[e,t]},useMutableSource:Tm,useSyncExternalStore:Nm,useId:Um,unstable_isNewReconciler:!1},rw={readContext:Rt,useCallback:Fm,useContext:Rt,useEffect:Ju,useImperativeHandle:_m,useInsertionEffect:Im,useLayoutEffect:Mm,useMemo:zm,useReducer:_l,useRef:Dm,useState:function(){return _l(Ii)},useDebugValue:ed,useDeferredValue:function(e){var t=Dt();return Ie===null?t.memoizedState=e:$m(t,Ie.memoizedState,e)},useTransition:function(){var e=_l(Ii)[0],t=Dt().memoizedState;return[e,t]},useMutableSource:Tm,useSyncExternalStore:Nm,useId:Um,unstable_isNewReconciler:!1};function Lt(e,t){if(e&&e.defaultProps){t=Ce({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Oc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ce({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ua={isMounted:function(e){return(e=e._reactInternals)?Mr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Je(),o=Zn(e),i=xn(r,o);i.payload=t,n!=null&&(i.callback=n),t=Yn(e,i,o),t!==null&&(Wt(t,e,o,r),Us(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Je(),o=Zn(e),i=xn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Yn(e,i,o),t!==null&&(Wt(t,e,o,r),Us(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Je(),r=Zn(e),o=xn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Yn(e,o,r),t!==null&&(Wt(t,e,r,n),Us(t,e,r))}};function If(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!Ni(n,r)||!Ni(o,i):!0}function Vm(e,t,n){var r=!1,o=nr,i=t.contextType;return typeof i=="object"&&i!==null?i=Rt(i):(o=at(t)?Nr:Qe.current,r=t.contextTypes,i=(r=r!=null)?Co(e,o):nr),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ua,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Mf(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&&Ua.enqueueReplaceState(t,t.state,null)}function Rc(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Gu(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Rt(i):(i=at(t)?Nr:Qe.current,o.context=Co(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Oc(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Ua.enqueueReplaceState(o,o.state,null),ha(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function To(e,t){try{var n="",r=t;do n+=Ox(r),r=r.return;while(r);var o=n}catch(i){o=`
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Fl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Dc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var ow=typeof WeakMap=="function"?WeakMap:Map;function Gm(e,t,n){n=xn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){xa||(xa=!0,Hc=r),Dc(e,t)},n}function qm(e,t,n){n=xn(-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(){Dc(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Dc(e,t),typeof r!="function"&&(Xn===null?Xn=new Set([this]):Xn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Lf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ow;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=yw.bind(null,e,t,n),t.then(e,e))}function _f(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 Ff(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=xn(-1,1),t.tag=2,Yn(n,t,1))),n.lanes|=1),e)}var iw=Nn.ReactCurrentOwner,it=!1;function Ye(e,t,n,r){t.child=e===null?Cm(t,null,n,r):Eo(t,e.child,n,r)}function zf(e,t,n,r,o){n=n.render;var i=t.ref;return oo(t,o),r=Xu(e,t,n,r,i,o),n=Zu(),e!==null&&!it?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Sn(e,t,o)):(ye&&n&&zu(t),t.flags|=1,Ye(e,t,r,o),t.child)}function $f(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!ld(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Qm(e,t,i,r,o)):(e=qs(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Ni,n(s,r)&&e.ref===t.ref)return Sn(e,t,o)}return t.flags|=1,e=Jn(i,r),e.ref=t.ref,e.return=t,t.child=e}function Qm(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Ni(i,r)&&e.ref===t.ref)if(it=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(it=!0);else return t.lanes=e.lanes,Sn(e,t,o)}return Ic(e,t,n,r,o)}function Km(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ue(Jr,ht),ht|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ue(Jr,ht),ht|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ue(Jr,ht),ht|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ue(Jr,ht),ht|=r;return Ye(e,t,o,n),t.child}function Ym(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ic(e,t,n,r,o){var i=at(n)?Nr:Qe.current;return i=Co(t,i),oo(t,o),n=Xu(e,t,n,r,i,o),r=Zu(),e!==null&&!it?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Sn(e,t,o)):(ye&&r&&zu(t),t.flags|=1,Ye(e,t,n,o),t.child)}function Uf(e,t,n,r,o){if(at(n)){var i=!0;ca(t)}else i=!1;if(oo(t,o),t.stateNode===null)Ws(e,t),Vm(t,n,r),Rc(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=Rt(c):(c=at(n)?Nr:Qe.current,c=Co(t,c));var p=n.getDerivedStateFromProps,f=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==c)&&Mf(t,s,r,c),Mn=!1;var d=t.memoizedState;s.state=d,ha(t,r,s,o),l=t.memoizedState,a!==r||d!==l||st.current||Mn?(typeof p=="function"&&(Oc(t,n,p,r),l=t.memoizedState),(a=Mn||If(t,n,a,r,d,l,c))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=c,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Em(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:Lt(t.type,a),s.props=c,f=t.pendingProps,d=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=Rt(l):(l=at(n)?Nr:Qe.current,l=Co(t,l));var g=n.getDerivedStateFromProps;(p=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||d!==l)&&Mf(t,s,r,l),Mn=!1,d=t.memoizedState,s.state=d,ha(t,r,s,o);var y=t.memoizedState;a!==f||d!==y||st.current||Mn?(typeof g=="function"&&(Oc(t,n,g,r),y=t.memoizedState),(c=Mn||If(t,n,c,r,d,y,l)||!1)?(p||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,y,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,y,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),s.props=r,s.state=y,s.context=l,r=c):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Mc(e,t,n,r,i,o)}function Mc(e,t,n,r,o,i){Ym(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Tf(t,n,!1),Sn(e,t,i);r=t.stateNode,iw.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Eo(t,e.child,null,i),t.child=Eo(t,null,a,i)):Ye(e,t,a,i),t.memoizedState=r.state,o&&Tf(t,n,!0),t.child}function Xm(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 Bf(e,t,n,r,o){return So(),Uu(o),t.flags|=256,Ye(e,t,n,r),t.child}var Lc={dehydrated:null,treeContext:null,retryLane:0};function _c(e){return{baseLanes:e,cachePool:null,transitions:null}}function Zm(e,t,n){var r=t.pendingProps,o=xe.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ue(xe,o&1),e===null)return jc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=Wa(s,r,0,null),e=kr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=_c(n),t.memoizedState=Lc,e):td(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return sw(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Jn(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=Jn(a,i):(i=kr(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?_c(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=Lc,r}return i=e.child,e=i.sibling,r=Jn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function td(e,t){return t=Wa({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ts(e,t,n,r){return r!==null&&Uu(r),Eo(t,e.child,null,n),e=td(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function sw(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Fl(Error(R(422))),Ts(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Wa({mode:"visible",children:r.children},o,0,null),i=kr(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Eo(t,e.child,null,s),t.child.memoizedState=_c(s),t.memoizedState=Lc,i);if(!(t.mode&1))return Ts(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(R(419)),r=Fl(i,r,void 0),Ts(e,t,s,r)}if(a=(s&e.childLanes)!==0,it||a){if(r=ze,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Cn(e,o),Wt(r,e,o,-1))}return ad(),r=Fl(Error(R(421))),Ts(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=xw.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,gt=Kn(o.nextSibling),vt=t,ye=!0,$t=null,e!==null&&(Pt[jt++]=vn,Pt[jt++]=yn,Pt[jt++]=Pr,vn=e.id,yn=e.overflow,Pr=t),t=td(t,r.children),t.flags|=4096,t)}function Hf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ac(e.return,t,n)}function zl(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Jm(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ye(e,t,r.children,n),r=xe.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&&Hf(e,n,t);else if(e.tag===19)Hf(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(ue(xe,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&&ma(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),zl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&ma(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}zl(t,!0,n,null,i);break;case"together":zl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ws(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Sn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ar|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(R(153));if(t.child!==null){for(e=t.child,n=Jn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Jn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function aw(e,t,n){switch(t.tag){case 3:Xm(t),So();break;case 5:km(t);break;case 1:at(t.type)&&ca(t);break;case 4:qu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ue(fa,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ue(xe,xe.current&1),t.flags|=128,null):n&t.child.childLanes?Zm(e,t,n):(ue(xe,xe.current&1),e=Sn(e,t,n),e!==null?e.sibling:null);ue(xe,xe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Jm(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ue(xe,xe.current),r)break;return null;case 22:case 23:return t.lanes=0,Km(e,t,n)}return Sn(e,t,n)}var eg,Fc,tg,ng;eg=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}};Fc=function(){};tg=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,yr(sn.current);var i=null;switch(n){case"input":o=sc(e,o),r=sc(e,r),i=[];break;case"select":o=Ce({},o,{value:void 0}),r=Ce({},r,{value:void 0}),i=[];break;case"textarea":o=cc(e,o),r=cc(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=aa)}dc(n,r);var s;n=null;for(c in o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var a=o[c];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(wi.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var l=r[c];if(a=o!=null?o[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(i||(i=[]),i.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(wi.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&pe("scroll",e),i||a===l||(i=[])):(i=i||[]).push(c,l))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};ng=function(e,t,n,r){n!==r&&(t.flags|=4)};function Yo(e,t){if(!ye)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 Ve(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 lw(e,t,n){var r=t.pendingProps;switch($u(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ve(t),null;case 1:return at(t.type)&&la(),Ve(t),null;case 3:return r=t.stateNode,ko(),he(st),he(Qe),Ku(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Es(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,$t!==null&&(Gc($t),$t=null))),Fc(e,t),Ve(t),null;case 5:Qu(t);var o=yr(Ri.current);if(n=t.type,e!==null&&t.stateNode!=null)tg(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(R(166));return Ve(t),null}if(e=yr(sn.current),Es(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[rn]=t,r[Ai]=i,e=(t.mode&1)!==0,n){case"dialog":pe("cancel",r),pe("close",r);break;case"iframe":case"object":case"embed":pe("load",r);break;case"video":case"audio":for(o=0;o<ai.length;o++)pe(ai[o],r);break;case"source":pe("error",r);break;case"img":case"image":case"link":pe("error",r),pe("load",r);break;case"details":pe("toggle",r);break;case"input":Xd(r,i),pe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},pe("invalid",r);break;case"textarea":Jd(r,i),pe("invalid",r)}dc(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&Ss(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Ss(r.textContent,a,e),o=["children",""+a]):wi.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&pe("scroll",r)}switch(n){case"input":ms(r),Zd(r,i,!0);break;case"textarea":ms(r),ef(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=aa)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ah(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[rn]=t,e[Ai]=r,eg(e,t,!1,!1),t.stateNode=e;e:{switch(s=fc(n,r),n){case"dialog":pe("cancel",e),pe("close",e),o=r;break;case"iframe":case"object":case"embed":pe("load",e),o=r;break;case"video":case"audio":for(o=0;o<ai.length;o++)pe(ai[o],e);o=r;break;case"source":pe("error",e),o=r;break;case"img":case"image":case"link":pe("error",e),pe("load",e),o=r;break;case"details":pe("toggle",e),o=r;break;case"input":Xd(e,r),o=sc(e,r),pe("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Ce({},r,{value:void 0}),pe("invalid",e);break;case"textarea":Jd(e,r),o=cc(e,r),pe("invalid",e);break;default:o=r}dc(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?Dh(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Oh(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&bi(e,l):typeof l=="number"&&bi(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(wi.hasOwnProperty(i)?l!=null&&i==="onScroll"&&pe("scroll",e):l!=null&&ku(e,i,l,s))}switch(n){case"input":ms(e),Zd(e,r,!1);break;case"textarea":ms(e),ef(e);break;case"option":r.value!=null&&e.setAttribute("value",""+tr(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?eo(e,!!r.multiple,i,!1):r.defaultValue!=null&&eo(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=aa)}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 Ve(t),null;case 6:if(e&&t.stateNode!=null)ng(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(R(166));if(n=yr(Ri.current),yr(sn.current),Es(t)){if(r=t.stateNode,n=t.memoizedProps,r[rn]=t,(i=r.nodeValue!==n)&&(e=vt,e!==null))switch(e.tag){case 3:Ss(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ss(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[rn]=t,t.stateNode=r}return Ve(t),null;case 13:if(he(xe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ye&&gt!==null&&t.mode&1&&!(t.flags&128))wm(),So(),t.flags|=98560,i=!1;else if(i=Es(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(R(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(R(317));i[rn]=t}else So(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ve(t),i=!1}else $t!==null&&(Gc($t),$t=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||xe.current&1?Me===0&&(Me=3):ad())),t.updateQueue!==null&&(t.flags|=4),Ve(t),null);case 4:return ko(),Fc(e,t),e===null&&Pi(t.stateNode.containerInfo),Ve(t),null;case 10:return Wu(t.type._context),Ve(t),null;case 17:return at(t.type)&&la(),Ve(t),null;case 19:if(he(xe),i=t.memoizedState,i===null)return Ve(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)Yo(i,!1);else{if(Me!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=ma(e),s!==null){for(t.flags|=128,Yo(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ue(xe,xe.current&1|2),t.child}e=e.sibling}i.tail!==null&&Ne()>No&&(t.flags|=128,r=!0,Yo(i,!1),t.lanes=4194304)}else{if(!r)if(e=ma(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Yo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!ye)return Ve(t),null}else 2*Ne()-i.renderingStartTime>No&&n!==1073741824&&(t.flags|=128,r=!0,Yo(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ne(),t.sibling=null,n=xe.current,ue(xe,r?n&1|2:n&1),t):(Ve(t),null);case 22:case 23:return sd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ht&1073741824&&(Ve(t),t.subtreeFlags&6&&(t.flags|=8192)):Ve(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function cw(e,t){switch($u(t),t.tag){case 1:return at(t.type)&&la(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ko(),he(st),he(Qe),Ku(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qu(t),null;case 13:if(he(xe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));So()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return he(xe),null;case 4:return ko(),null;case 10:return Wu(t.type._context),null;case 22:case 23:return sd(),null;case 24:return null;default:return null}}var Ns=!1,qe=!1,uw=typeof WeakSet=="function"?WeakSet:Set,F=null;function Zr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ke(e,t,r)}else n.current=null}function zc(e,t,n){try{n()}catch(r){ke(e,t,r)}}var Wf=!1;function dw(e,t){if(Cc=oa,e=am(),Fu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,p=0,f=e,d=null;t:for(;;){for(var g;f!==n||o!==0&&f.nodeType!==3||(a=s+o),f!==i||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(g=f.firstChild)!==null;)d=f,f=g;for(;;){if(f===e)break t;if(d===n&&++c===o&&(a=s),d===i&&++p===r&&(l=s),(g=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=g}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Sc={focusedElem:e,selectionRange:n},oa=!1,F=t;F!==null;)if(t=F,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,F=e;else for(;F!==null;){t=F;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,w=y.memoizedState,m=t.stateNode,h=m.getSnapshotBeforeUpdate(t.elementType===t.type?v:Lt(t.type,v),w);m.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(C){ke(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return y=Wf,Wf=!1,y}function mi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&zc(t,n,i)}o=o.next}while(o!==r)}}function Ba(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 $c(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 rg(e){var t=e.alternate;t!==null&&(e.alternate=null,rg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rn],delete t[Ai],delete t[Tc],delete t[q0],delete t[Q0])),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 og(e){return e.tag===5||e.tag===3||e.tag===4}function Vf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||og(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 Uc(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=aa));else if(r!==4&&(e=e.child,e!==null))for(Uc(e,t,n),e=e.sibling;e!==null;)Uc(e,t,n),e=e.sibling}function Bc(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(Bc(e,t,n),e=e.sibling;e!==null;)Bc(e,t,n),e=e.sibling}var $e=null,zt=!1;function An(e,t,n){for(n=n.child;n!==null;)ig(e,t,n),n=n.sibling}function ig(e,t,n){if(on&&typeof on.onCommitFiberUnmount=="function")try{on.onCommitFiberUnmount(Ia,n)}catch{}switch(n.tag){case 5:qe||Zr(n,t);case 6:var r=$e,o=zt;$e=null,An(e,t,n),$e=r,zt=o,$e!==null&&(zt?(e=$e,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):$e.removeChild(n.stateNode));break;case 18:$e!==null&&(zt?(e=$e,n=n.stateNode,e.nodeType===8?Rl(e.parentNode,n):e.nodeType===1&&Rl(e,n),ki(e)):Rl($e,n.stateNode));break;case 4:r=$e,o=zt,$e=n.stateNode.containerInfo,zt=!0,An(e,t,n),$e=r,zt=o;break;case 0:case 11:case 14:case 15:if(!qe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&zc(n,t,s),o=o.next}while(o!==r)}An(e,t,n);break;case 1:if(!qe&&(Zr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ke(n,t,a)}An(e,t,n);break;case 21:An(e,t,n);break;case 22:n.mode&1?(qe=(r=qe)||n.memoizedState!==null,An(e,t,n),qe=r):An(e,t,n);break;default:An(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 uw),t.forEach(function(r){var o=ww.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Mt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:$e=a.stateNode,zt=!1;break e;case 3:$e=a.stateNode.containerInfo,zt=!0;break e;case 4:$e=a.stateNode.containerInfo,zt=!0;break e}a=a.return}if($e===null)throw Error(R(160));ig(i,s,o),$e=null,zt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(c){ke(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)sg(t,e),t=t.sibling}function sg(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Mt(t,e),Zt(e),r&4){try{mi(3,e,e.return),Ba(3,e)}catch(v){ke(e,e.return,v)}try{mi(5,e,e.return)}catch(v){ke(e,e.return,v)}}break;case 1:Mt(t,e),Zt(e),r&512&&n!==null&&Zr(n,n.return);break;case 5:if(Mt(t,e),Zt(e),r&512&&n!==null&&Zr(n,n.return),e.flags&32){var o=e.stateNode;try{bi(o,"")}catch(v){ke(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&Ph(o,i),fc(a,s);var c=fc(a,i);for(s=0;s<l.length;s+=2){var p=l[s],f=l[s+1];p==="style"?Dh(o,f):p==="dangerouslySetInnerHTML"?Oh(o,f):p==="children"?bi(o,f):ku(o,p,f,c)}switch(a){case"input":ac(o,i);break;case"textarea":jh(o,i);break;case"select":var d=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var g=i.value;g!=null?eo(o,!!i.multiple,g,!1):d!==!!i.multiple&&(i.defaultValue!=null?eo(o,!!i.multiple,i.defaultValue,!0):eo(o,!!i.multiple,i.multiple?[]:"",!1))}o[Ai]=i}catch(v){ke(e,e.return,v)}}break;case 6:if(Mt(t,e),Zt(e),r&4){if(e.stateNode===null)throw Error(R(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(v){ke(e,e.return,v)}}break;case 3:if(Mt(t,e),Zt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ki(t.containerInfo)}catch(v){ke(e,e.return,v)}break;case 4:Mt(t,e),Zt(e);break;case 13:Mt(t,e),Zt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(od=Ne())),r&4&&Gf(e);break;case 22:if(p=n!==null&&n.memoizedState!==null,e.mode&1?(qe=(c=qe)||p,Mt(t,e),qe=c):Mt(t,e),Zt(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!p&&e.mode&1)for(F=e,p=e.child;p!==null;){for(f=F=p;F!==null;){switch(d=F,g=d.child,d.tag){case 0:case 11:case 14:case 15:mi(4,d,d.return);break;case 1:Zr(d,d.return);var y=d.stateNode;if(typeof y.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(v){ke(r,n,v)}}break;case 5:Zr(d,d.return);break;case 22:if(d.memoizedState!==null){Qf(f);continue}}g!==null?(g.return=d,F=g):Qf(f)}p=p.sibling}e:for(p=null,f=e;;){if(f.tag===5){if(p===null){p=f;try{o=f.stateNode,c?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Rh("display",s))}catch(v){ke(e,e.return,v)}}}else if(f.tag===6){if(p===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(v){ke(e,e.return,v)}}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;p===f&&(p=null),f=f.return}p===f&&(p=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Mt(t,e),Zt(e),r&4&&Gf(e);break;case 21:break;default:Mt(t,e),Zt(e)}}function Zt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(og(n)){var r=n;break e}n=n.return}throw Error(R(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(bi(o,""),r.flags&=-33);var i=Vf(e);Bc(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Vf(e);Uc(e,a,s);break;default:throw Error(R(161))}}catch(l){ke(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function fw(e,t,n){F=e,ag(e)}function ag(e,t,n){for(var r=(e.mode&1)!==0;F!==null;){var o=F,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||Ns;if(!s){var a=o.alternate,l=a!==null&&a.memoizedState!==null||qe;a=Ns;var c=qe;if(Ns=s,(qe=l)&&!c)for(F=o;F!==null;)s=F,l=s.child,s.tag===22&&s.memoizedState!==null?Kf(o):l!==null?(l.return=s,F=l):Kf(o);for(;i!==null;)F=i,ag(i),i=i.sibling;F=o,Ns=a,qe=c}qf(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,F=i):qf(e)}}function qf(e){for(;F!==null;){var t=F;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:qe||Ba(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!qe)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Lt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Of(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Of(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var p=c.memoizedState;if(p!==null){var f=p.dehydrated;f!==null&&ki(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(R(163))}qe||t.flags&512&&$c(t)}catch(d){ke(t,t.return,d)}}if(t===e){F=null;break}if(n=t.sibling,n!==null){n.return=t.return,F=n;break}F=t.return}}function Qf(e){for(;F!==null;){var t=F;if(t===e){F=null;break}var n=t.sibling;if(n!==null){n.return=t.return,F=n;break}F=t.return}}function Kf(e){for(;F!==null;){var t=F;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ba(4,t)}catch(l){ke(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){ke(t,o,l)}}var i=t.return;try{$c(t)}catch(l){ke(t,i,l)}break;case 5:var s=t.return;try{$c(t)}catch(l){ke(t,s,l)}}}catch(l){ke(t,t.return,l)}if(t===e){F=null;break}var a=t.sibling;if(a!==null){a.return=t.return,F=a;break}F=t.return}}var pw=Math.ceil,ya=Nn.ReactCurrentDispatcher,nd=Nn.ReactCurrentOwner,Ot=Nn.ReactCurrentBatchConfig,ne=0,ze=null,Ae=null,Ue=0,ht=0,Jr=cr(0),Me=0,Li=null,Ar=0,Ha=0,rd=0,gi=null,ot=null,od=0,No=1/0,mn=null,xa=!1,Hc=null,Xn=null,Ps=!1,Wn=null,wa=0,vi=0,Wc=null,Vs=-1,Gs=0;function Je(){return ne&6?Ne():Vs!==-1?Vs:Vs=Ne()}function Zn(e){return e.mode&1?ne&2&&Ue!==0?Ue&-Ue:Y0.transition!==null?(Gs===0&&(Gs=Vh()),Gs):(e=ie,e!==0||(e=window.event,e=e===void 0?16:Zh(e.type)),e):1}function Wt(e,t,n,r){if(50<vi)throw vi=0,Wc=null,Error(R(185));Ji(e,n,r),(!(ne&2)||e!==ze)&&(e===ze&&(!(ne&2)&&(Ha|=n),Me===4&&_n(e,Ue)),lt(e,r),n===1&&ne===0&&!(t.mode&1)&&(No=Ne()+500,za&&ur()))}function lt(e,t){var n=e.callbackNode;Yx(e,t);var r=ra(e,e===ze?Ue:0);if(r===0)n!==null&&rf(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&rf(n),t===1)e.tag===0?K0(Yf.bind(null,e)):vm(Yf.bind(null,e)),V0(function(){!(ne&6)&&ur()}),n=null;else{switch(Gh(r)){case 1:n=Au;break;case 4:n=Hh;break;case 16:n=na;break;case 536870912:n=Wh;break;default:n=na}n=mg(n,lg.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function lg(e,t){if(Vs=-1,Gs=0,ne&6)throw Error(R(327));var n=e.callbackNode;if(io()&&e.callbackNode!==n)return null;var r=ra(e,e===ze?Ue:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ba(e,r);else{t=r;var o=ne;ne|=2;var i=ug();(ze!==e||Ue!==t)&&(mn=null,No=Ne()+500,Er(e,t));do try{gw();break}catch(a){cg(e,a)}while(!0);Hu(),ya.current=i,ne=o,Ae!==null?t=0:(ze=null,Ue=0,t=Me)}if(t!==0){if(t===2&&(o=vc(e),o!==0&&(r=o,t=Vc(e,o))),t===1)throw n=Li,Er(e,0),_n(e,r),lt(e,Ne()),n;if(t===6)_n(e,r);else{if(o=e.current.alternate,!(r&30)&&!hw(o)&&(t=ba(e,r),t===2&&(i=vc(e),i!==0&&(r=i,t=Vc(e,i))),t===1))throw n=Li,Er(e,0),_n(e,r),lt(e,Ne()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(R(345));case 2:mr(e,ot,mn);break;case 3:if(_n(e,r),(r&130023424)===r&&(t=od+500-Ne(),10<t)){if(ra(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Je(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=kc(mr.bind(null,e,ot,mn),t);break}mr(e,ot,mn);break;case 4:if(_n(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-Ht(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=Ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*pw(r/1960))-r,10<r){e.timeoutHandle=kc(mr.bind(null,e,ot,mn),r);break}mr(e,ot,mn);break;case 5:mr(e,ot,mn);break;default:throw Error(R(329))}}}return lt(e,Ne()),e.callbackNode===n?lg.bind(null,e):null}function Vc(e,t){var n=gi;return e.current.memoizedState.isDehydrated&&(Er(e,t).flags|=256),e=ba(e,t),e!==2&&(t=ot,ot=n,t!==null&&Gc(t)),e}function Gc(e){ot===null?ot=e:ot.push.apply(ot,e)}function hw(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Gt(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function _n(e,t){for(t&=~rd,t&=~Ha,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 Yf(e){if(ne&6)throw Error(R(327));io();var t=ra(e,0);if(!(t&1))return lt(e,Ne()),null;var n=ba(e,t);if(e.tag!==0&&n===2){var r=vc(e);r!==0&&(t=r,n=Vc(e,r))}if(n===1)throw n=Li,Er(e,0),_n(e,t),lt(e,Ne()),n;if(n===6)throw Error(R(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,mr(e,ot,mn),lt(e,Ne()),null}function id(e,t){var n=ne;ne|=1;try{return e(t)}finally{ne=n,ne===0&&(No=Ne()+500,za&&ur())}}function Or(e){Wn!==null&&Wn.tag===0&&!(ne&6)&&io();var t=ne;ne|=1;var n=Ot.transition,r=ie;try{if(Ot.transition=null,ie=1,e)return e()}finally{ie=r,Ot.transition=n,ne=t,!(ne&6)&&ur()}}function sd(){ht=Jr.current,he(Jr)}function Er(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,W0(n)),Ae!==null)for(n=Ae.return;n!==null;){var r=n;switch($u(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&la();break;case 3:ko(),he(st),he(Qe),Ku();break;case 5:Qu(r);break;case 4:ko();break;case 13:he(xe);break;case 19:he(xe);break;case 10:Wu(r.type._context);break;case 22:case 23:sd()}n=n.return}if(ze=e,Ae=e=Jn(e.current,null),Ue=ht=t,Me=0,Li=null,rd=Ha=Ar=0,ot=gi=null,vr!==null){for(t=0;t<vr.length;t++)if(n=vr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}vr=null}return e}function cg(e,t){do{var n=Ae;try{if(Hu(),Bs.current=va,ga){for(var r=be.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}ga=!1}if(jr=0,Fe=Ie=be=null,hi=!1,Di=0,nd.current=null,n===null||n.return===null){Me=1,Li=t,Ae=null;break}e:{var i=e,s=n.return,a=n,l=t;if(t=Ue,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,p=a,f=p.tag;if(!(p.mode&1)&&(f===0||f===11||f===15)){var d=p.alternate;d?(p.updateQueue=d.updateQueue,p.memoizedState=d.memoizedState,p.lanes=d.lanes):(p.updateQueue=null,p.memoizedState=null)}var g=_f(s);if(g!==null){g.flags&=-257,Ff(g,s,a,i,t),g.mode&1&&Lf(i,c,t),t=g,l=c;var y=t.updateQueue;if(y===null){var v=new Set;v.add(l),t.updateQueue=v}else y.add(l);break e}else{if(!(t&1)){Lf(i,c,t),ad();break e}l=Error(R(426))}}else if(ye&&a.mode&1){var w=_f(s);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Ff(w,s,a,i,t),Uu(To(l,a));break e}}i=l=To(l,a),Me!==4&&(Me=2),gi===null?gi=[i]:gi.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=Gm(i,l,t);Af(i,m);break e;case 1:a=l;var h=i.type,x=i.stateNode;if(!(i.flags&128)&&(typeof h.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(Xn===null||!Xn.has(x)))){i.flags|=65536,t&=-t,i.lanes|=t;var C=qm(i,a,t);Af(i,C);break e}}i=i.return}while(i!==null)}fg(n)}catch(S){t=S,Ae===n&&n!==null&&(Ae=n=n.return);continue}break}while(!0)}function ug(){var e=ya.current;return ya.current=va,e===null?va:e}function ad(){(Me===0||Me===3||Me===2)&&(Me=4),ze===null||!(Ar&268435455)&&!(Ha&268435455)||_n(ze,Ue)}function ba(e,t){var n=ne;ne|=2;var r=ug();(ze!==e||Ue!==t)&&(mn=null,Er(e,t));do try{mw();break}catch(o){cg(e,o)}while(!0);if(Hu(),ne=n,ya.current=r,Ae!==null)throw Error(R(261));return ze=null,Ue=0,Me}function mw(){for(;Ae!==null;)dg(Ae)}function gw(){for(;Ae!==null&&!Ux();)dg(Ae)}function dg(e){var t=hg(e.alternate,e,ht);e.memoizedProps=e.pendingProps,t===null?fg(e):Ae=t,nd.current=null}function fg(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=cw(n,t),n!==null){n.flags&=32767,Ae=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Me=6,Ae=null;return}}else if(n=lw(n,t,ht),n!==null){Ae=n;return}if(t=t.sibling,t!==null){Ae=t;return}Ae=t=e}while(t!==null);Me===0&&(Me=5)}function mr(e,t,n){var r=ie,o=Ot.transition;try{Ot.transition=null,ie=1,vw(e,t,n,r)}finally{Ot.transition=o,ie=r}return null}function vw(e,t,n,r){do io();while(Wn!==null);if(ne&6)throw Error(R(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(R(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Xx(e,i),e===ze&&(Ae=ze=null,Ue=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ps||(Ps=!0,mg(na,function(){return io(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Ot.transition,Ot.transition=null;var s=ie;ie=1;var a=ne;ne|=4,nd.current=null,dw(e,n),sg(n,e),_0(Sc),oa=!!Cc,Sc=Cc=null,e.current=n,fw(n),Bx(),ne=a,ie=s,Ot.transition=i}else e.current=n;if(Ps&&(Ps=!1,Wn=e,wa=o),i=e.pendingLanes,i===0&&(Xn=null),Vx(n.stateNode),lt(e,Ne()),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(xa)throw xa=!1,e=Hc,Hc=null,e;return wa&1&&e.tag!==0&&io(),i=e.pendingLanes,i&1?e===Wc?vi++:(vi=0,Wc=e):vi=0,ur(),null}function io(){if(Wn!==null){var e=Gh(wa),t=Ot.transition,n=ie;try{if(Ot.transition=null,ie=16>e?16:e,Wn===null)var r=!1;else{if(e=Wn,Wn=null,wa=0,ne&6)throw Error(R(331));var o=ne;for(ne|=4,F=e.current;F!==null;){var i=F,s=i.child;if(F.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(F=c;F!==null;){var p=F;switch(p.tag){case 0:case 11:case 15:mi(8,p,i)}var f=p.child;if(f!==null)f.return=p,F=f;else for(;F!==null;){p=F;var d=p.sibling,g=p.return;if(rg(p),p===c){F=null;break}if(d!==null){d.return=g,F=d;break}F=g}}}var y=i.alternate;if(y!==null){var v=y.child;if(v!==null){y.child=null;do{var w=v.sibling;v.sibling=null,v=w}while(v!==null)}}F=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,F=s;else e:for(;F!==null;){if(i=F,i.flags&2048)switch(i.tag){case 0:case 11:case 15:mi(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,F=m;break e}F=i.return}}var h=e.current;for(F=h;F!==null;){s=F;var x=s.child;if(s.subtreeFlags&2064&&x!==null)x.return=s,F=x;else e:for(s=h;F!==null;){if(a=F,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Ba(9,a)}}catch(S){ke(a,a.return,S)}if(a===s){F=null;break e}var C=a.sibling;if(C!==null){C.return=a.return,F=C;break e}F=a.return}}if(ne=o,ur(),on&&typeof on.onPostCommitFiberRoot=="function")try{on.onPostCommitFiberRoot(Ia,e)}catch{}r=!0}return r}finally{ie=n,Ot.transition=t}}return!1}function Xf(e,t,n){t=To(n,t),t=Gm(e,t,1),e=Yn(e,t,1),t=Je(),e!==null&&(Ji(e,1,t),lt(e,t))}function ke(e,t,n){if(e.tag===3)Xf(e,e,n);else for(;t!==null;){if(t.tag===3){Xf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Xn===null||!Xn.has(r))){e=To(n,e),e=qm(t,e,1),t=Yn(t,e,1),e=Je(),t!==null&&(Ji(t,1,e),lt(t,e));break}}t=t.return}}function yw(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Je(),e.pingedLanes|=e.suspendedLanes&n,ze===e&&(Ue&n)===n&&(Me===4||Me===3&&(Ue&130023424)===Ue&&500>Ne()-od?Er(e,0):rd|=n),lt(e,t)}function pg(e,t){t===0&&(e.mode&1?(t=ys,ys<<=1,!(ys&130023424)&&(ys=4194304)):t=1);var n=Je();e=Cn(e,t),e!==null&&(Ji(e,t,n),lt(e,n))}function xw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),pg(e,n)}function ww(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(R(314))}r!==null&&r.delete(t),pg(e,n)}var hg;hg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||st.current)it=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return it=!1,aw(e,t,n);it=!!(e.flags&131072)}else it=!1,ye&&t.flags&1048576&&ym(t,da,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ws(e,t),e=t.pendingProps;var o=Co(t,Qe.current);oo(t,n),o=Xu(null,t,r,e,o,n);var i=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,at(r)?(i=!0,ca(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Gu(t),o.updater=Ua,t.stateNode=o,o._reactInternals=t,Rc(t,r,e,n),t=Mc(null,t,r,!0,i,n)):(t.tag=0,ye&&i&&zu(t),Ye(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ws(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Cw(r),e=Lt(r,e),o){case 0:t=Ic(null,t,r,e,n);break e;case 1:t=Uf(null,t,r,e,n);break e;case 11:t=zf(null,t,r,e,n);break e;case 14:t=$f(null,t,r,Lt(r.type,e),n);break e}throw Error(R(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),Ic(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),Uf(e,t,r,o,n);case 3:e:{if(Xm(t),e===null)throw Error(R(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Em(e,t),ha(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=To(Error(R(423)),t),t=Bf(e,t,r,n,o);break e}else if(r!==o){o=To(Error(R(424)),t),t=Bf(e,t,r,n,o);break e}else for(gt=Kn(t.stateNode.containerInfo.firstChild),vt=t,ye=!0,$t=null,n=Cm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(So(),r===o){t=Sn(e,t,n);break e}Ye(e,t,r,n)}t=t.child}return t;case 5:return km(t),e===null&&jc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Ec(r,o)?s=null:i!==null&&Ec(r,i)&&(t.flags|=32),Ym(e,t),Ye(e,t,s,n),t.child;case 6:return e===null&&jc(t),null;case 13:return Zm(e,t,n);case 4:return qu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Eo(t,null,r,n):Ye(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),zf(e,t,r,o,n);case 7:return Ye(e,t,t.pendingProps,n),t.child;case 8:return Ye(e,t,t.pendingProps.children,n),t.child;case 12:return Ye(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,ue(fa,r._currentValue),r._currentValue=s,i!==null)if(Gt(i.value,s)){if(i.children===o.children&&!st.current){t=Sn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=xn(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var p=c.pending;p===null?l.next=l:(l.next=p.next,p.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Ac(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(R(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Ac(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ye(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,oo(t,n),o=Rt(o),r=r(o),t.flags|=1,Ye(e,t,r,n),t.child;case 14:return r=t.type,o=Lt(r,t.pendingProps),o=Lt(r.type,o),$f(e,t,r,o,n);case 15:return Qm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),Ws(e,t),t.tag=1,at(r)?(e=!0,ca(t)):e=!1,oo(t,n),Vm(t,r,o),Rc(t,r,o,n),Mc(null,t,r,!0,e,n);case 19:return Jm(e,t,n);case 22:return Km(e,t,n)}throw Error(R(156,t.tag))};function mg(e,t){return Bh(e,t)}function bw(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 At(e,t,n,r){return new bw(e,t,n,r)}function ld(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Cw(e){if(typeof e=="function")return ld(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Nu)return 11;if(e===Pu)return 14}return 2}function Jn(e,t){var n=e.alternate;return n===null?(n=At(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 qs(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")ld(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Hr:return kr(n.children,o,i,t);case Tu:s=8,o|=8;break;case nc:return e=At(12,n,t,o|2),e.elementType=nc,e.lanes=i,e;case rc:return e=At(13,n,t,o),e.elementType=rc,e.lanes=i,e;case oc:return e=At(19,n,t,o),e.elementType=oc,e.lanes=i,e;case kh:return Wa(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Sh:s=10;break e;case Eh:s=9;break e;case Nu:s=11;break e;case Pu:s=14;break e;case In:s=16,r=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=At(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function kr(e,t,n,r){return e=At(7,e,r,t),e.lanes=n,e}function Wa(e,t,n,r){return e=At(22,e,r,t),e.elementType=kh,e.lanes=n,e.stateNode={isHidden:!1},e}function $l(e,t,n){return e=At(6,e,null,t),e.lanes=n,e}function Ul(e,t,n){return t=At(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Sw(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=bl(0),this.expirationTimes=bl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function cd(e,t,n,r,o,i,s,a,l){return e=new Sw(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=At(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gu(i),e}function Ew(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Br,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function gg(e){if(!e)return nr;e=e._reactInternals;e:{if(Mr(e)!==e||e.tag!==1)throw Error(R(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(at(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(R(171))}if(e.tag===1){var n=e.type;if(at(n))return gm(e,n,t)}return t}function vg(e,t,n,r,o,i,s,a,l){return e=cd(n,r,!0,e,o,i,s,a,l),e.context=gg(null),n=e.current,r=Je(),o=Zn(n),i=xn(r,o),i.callback=t??null,Yn(n,i,o),e.current.lanes=o,Ji(e,o,r),lt(e,r),e}function Va(e,t,n,r){var o=t.current,i=Je(),s=Zn(o);return n=gg(n),t.context===null?t.context=n:t.pendingContext=n,t=xn(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Yn(o,t,s),e!==null&&(Wt(e,o,s,i),Us(e,o,s)),s}function Ca(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 Zf(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){Zf(e,t),(e=e.alternate)&&Zf(e,t)}function kw(){return null}var yg=typeof reportError=="function"?reportError:function(e){console.error(e)};function dd(e){this._internalRoot=e}Ga.prototype.render=dd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(R(409));Va(e,t,null,null)};Ga.prototype.unmount=dd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Or(function(){Va(null,e,null,null)}),t[bn]=null}};function Ga(e){this._internalRoot=e}Ga.prototype.unstable_scheduleHydration=function(e){if(e){var t=Kh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ln.length&&t!==0&&t<Ln[n].priority;n++);Ln.splice(n,0,e),n===0&&Xh(e)}};function fd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function qa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Jf(){}function Tw(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var c=Ca(s);i.call(c)}}var s=vg(t,r,e,0,null,!1,!1,"",Jf);return e._reactRootContainer=s,e[bn]=s.current,Pi(e.nodeType===8?e.parentNode:e),Or(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var c=Ca(l);a.call(c)}}var l=cd(e,0,!1,null,null,!1,!1,"",Jf);return e._reactRootContainer=l,e[bn]=l.current,Pi(e.nodeType===8?e.parentNode:e),Or(function(){Va(t,l,n,r)}),l}function Qa(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var a=o;o=function(){var l=Ca(s);a.call(l)}}Va(t,s,e,o)}else s=Tw(n,t,e,o,r);return Ca(s)}qh=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=si(t.pendingLanes);n!==0&&(Ou(t,n|1),lt(t,Ne()),!(ne&6)&&(No=Ne()+500,ur()))}break;case 13:Or(function(){var r=Cn(e,1);if(r!==null){var o=Je();Wt(r,e,1,o)}}),ud(e,1)}};Ru=function(e){if(e.tag===13){var t=Cn(e,134217728);if(t!==null){var n=Je();Wt(t,e,134217728,n)}ud(e,134217728)}};Qh=function(e){if(e.tag===13){var t=Zn(e),n=Cn(e,t);if(n!==null){var r=Je();Wt(n,e,t,r)}ud(e,t)}};Kh=function(){return ie};Yh=function(e,t){var n=ie;try{return ie=e,t()}finally{ie=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=Fa(r);if(!o)throw Error(R(90));Nh(r),ac(r,o)}}}break;case"textarea":jh(e,n);break;case"select":t=n.value,t!=null&&eo(e,!!n.multiple,t,!1)}};Lh=id;_h=Or;var Nw={usingClientEntryPoint:!1,Events:[ts,qr,Fa,Ih,Mh,id]},Xo={findFiberByHostInstance:gr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Pw={bundleType:Xo.bundleType,version:Xo.version,rendererPackageName:Xo.rendererPackageName,rendererConfig:Xo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Nn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=$h(e),e===null?null:e.stateNode},findFiberByHostInstance:Xo.findFiberByHostInstance||kw,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 js=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!js.isDisabled&&js.supportsFiber)try{Ia=js.inject(Pw),on=js}catch{}}bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Nw;bt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!fd(t))throw Error(R(200));return Ew(e,t,null,n)};bt.createRoot=function(e,t){if(!fd(e))throw Error(R(299));var n=!1,r="",o=yg;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[bn]=t.current,Pi(e.nodeType===8?e.parentNode:e),new dd(t)};bt.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(R(188)):(e=Object.keys(e).join(","),Error(R(268,e)));return e=$h(t),e=e===null?null:e.stateNode,e};bt.flushSync=function(e){return Or(e)};bt.hydrate=function(e,t,n){if(!qa(t))throw Error(R(200));return Qa(null,e,t,!0,n)};bt.hydrateRoot=function(e,t,n){if(!fd(e))throw Error(R(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=yg;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=vg(t,null,e,1,n??null,o,!1,i,s),e[bn]=t.current,Pi(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 Ga(t)};bt.render=function(e,t,n){if(!qa(t))throw Error(R(200));return Qa(null,e,t,!1,n)};bt.unmountComponentAtNode=function(e){if(!qa(e))throw Error(R(40));return e._reactRootContainer?(Or(function(){Qa(null,null,e,!1,function(){e._reactRootContainer=null,e[bn]=null})}),!0):!1};bt.unstable_batchedUpdates=id;bt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!qa(n))throw Error(R(200));if(e==null||e._reactInternals===void 0)throw Error(R(38));return Qa(e,t,n,!1,r)};bt.version="18.3.1-next-f1338f8080-20240426";function xg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xg)}catch(e){console.error(e)}}xg(),xh.exports=bt;var rs=xh.exports;const wg=ar(rs);var bg,ep=rs;bg=ep.createRoot,ep.hydrateRoot;const jw=1,Aw=1e6;let Bl=0;function Ow(){return Bl=(Bl+1)%Number.MAX_SAFE_INTEGER,Bl.toString()}const Hl=new Map,tp=e=>{if(Hl.has(e))return;const t=setTimeout(()=>{Hl.delete(e),yi({type:"REMOVE_TOAST",toastId:e})},Aw);Hl.set(e,t)},Rw=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,jw)};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?tp(n):e.toasts.forEach(r=>{tp(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)}}},Qs=[];let Ks={toasts:[]};function yi(e){Ks=Rw(Ks,e),Qs.forEach(t=>{t(Ks)})}function Dw({...e}){const t=Ow(),n=o=>yi({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>yi({type:"DISMISS_TOAST",toastId:t});return yi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function Iw(){const[e,t]=b.useState(Ks);return b.useEffect(()=>(Qs.push(t),()=>{const n=Qs.indexOf(t);n>-1&&Qs.splice(n,1)}),[e]),{...e,toast:Dw,dismiss:n=>yi({type:"DISMISS_TOAST",toastId:n})}}function Pe(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 Mw(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Cg(...e){return t=>e.forEach(n=>Mw(n,t))}function wt(...e){return b.useCallback(Cg(...e),e)}function Lw(e,t=[]){let n=[];function r(i,s){const a=b.createContext(s),l=n.length;n=[...n,s];function c(f){const{scope:d,children:g,...y}=f,v=(d==null?void 0:d[e][l])||a,w=b.useMemo(()=>y,Object.values(y));return u.jsx(v.Provider,{value:w,children:g})}function p(f,d){const g=(d==null?void 0:d[e][l])||a,y=b.useContext(g);if(y)return y;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return c.displayName=i+"Provider",[c,p]}const o=()=>{const i=n.map(s=>b.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return b.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,_w(o,...t)]}function _w(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:c})=>{const f=l(i)[`__scope${c}`];return{...a,...f}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var _i=b.forwardRef((e,t)=>{const{children:n,...r}=e,o=b.Children.toArray(n),i=o.find(Fw);if(i){const s=i.props.children,a=o.map(l=>l===i?b.Children.count(s)>1?b.Children.only(null):b.isValidElement(s)?s.props.children:null:l);return u.jsx(qc,{...r,ref:t,children:b.isValidElement(s)?b.cloneElement(s,void 0,a):null})}return u.jsx(qc,{...r,ref:t,children:n})});_i.displayName="Slot";var qc=b.forwardRef((e,t)=>{const{children:n,...r}=e;if(b.isValidElement(n)){const o=$w(n);return b.cloneElement(n,{...zw(r,n.props),ref:t?Cg(t,o):o})}return b.Children.count(n)>1?b.Children.only(null):null});qc.displayName="SlotClone";var Sg=({children:e})=>u.jsx(u.Fragment,{children:e});function Fw(e){return b.isValidElement(e)&&e.type===Sg}function zw(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{i(...a),o(...a)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function $w(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 Eg(e){const t=e+"CollectionProvider",[n,r]=Lw(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=g=>{const{scope:y,children:v}=g,w=j.useRef(null),m=j.useRef(new Map).current;return u.jsx(o,{scope:y,itemMap:m,collectionRef:w,children:v})};s.displayName=t;const a=e+"CollectionSlot",l=j.forwardRef((g,y)=>{const{scope:v,children:w}=g,m=i(a,v),h=wt(y,m.collectionRef);return u.jsx(_i,{ref:h,children:w})});l.displayName=a;const c=e+"CollectionItemSlot",p="data-radix-collection-item",f=j.forwardRef((g,y)=>{const{scope:v,children:w,...m}=g,h=j.useRef(null),x=wt(y,h),C=i(c,v);return j.useEffect(()=>(C.itemMap.set(h,{ref:h,...m}),()=>void C.itemMap.delete(h))),u.jsx(_i,{[p]:"",ref:x,children:w})});f.displayName=c;function d(g){const y=i(e+"CollectionConsumer",g);return j.useCallback(()=>{const w=y.collectionRef.current;if(!w)return[];const m=Array.from(w.querySelectorAll(`[${p}]`));return Array.from(y.itemMap.values()).sort((C,S)=>m.indexOf(C.ref.current)-m.indexOf(S.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:s,Slot:l,ItemSlot:f},d,r]}function Ka(e,t=[]){let n=[];function r(i,s){const a=b.createContext(s),l=n.length;n=[...n,s];const c=f=>{var m;const{scope:d,children:g,...y}=f,v=((m=d==null?void 0:d[e])==null?void 0:m[l])||a,w=b.useMemo(()=>y,Object.values(y));return u.jsx(v.Provider,{value:w,children:g})};c.displayName=i+"Provider";function p(f,d){var v;const g=((v=d==null?void 0:d[e])==null?void 0:v[l])||a,y=b.useContext(g);if(y)return y;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[c,p]}const o=()=>{const i=n.map(s=>b.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return b.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,Uw(o,...t)]}function Uw(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:c})=>{const f=l(i)[`__scope${c}`];return{...a,...f}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var Bw=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Le=Bw.reduce((e,t)=>{const n=b.forwardRef((r,o)=>{const{asChild:i,...s}=r,a=i?_i:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(a,{...s,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function kg(e,t){e&&rs.flushSync(()=>e.dispatchEvent(t))}function an(e){const t=b.useRef(e);return b.useEffect(()=>{t.current=e}),b.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Hw(e,t=globalThis==null?void 0:globalThis.document){const n=an(e);b.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 Ww="DismissableLayer",Qc="dismissableLayer.update",Vw="dismissableLayer.pointerDownOutside",Gw="dismissableLayer.focusOutside",np,Tg=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),pd=b.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,c=b.useContext(Tg),[p,f]=b.useState(null),d=(p==null?void 0:p.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=b.useState({}),y=wt(t,E=>f(E)),v=Array.from(c.layers),[w]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),m=v.indexOf(w),h=p?v.indexOf(p):-1,x=c.layersWithOutsidePointerEventsDisabled.size>0,C=h>=m,S=Qw(E=>{const N=E.target,A=[...c.branches].some(O=>O.contains(N));!C||A||(o==null||o(E),s==null||s(E),E.defaultPrevented||a==null||a())},d),k=Kw(E=>{const N=E.target;[...c.branches].some(O=>O.contains(N))||(i==null||i(E),s==null||s(E),E.defaultPrevented||a==null||a())},d);return Hw(E=>{h===c.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},d),b.useEffect(()=>{if(p)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(np=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(p)),c.layers.add(p),rp(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=np)}},[p,d,n,c]),b.useEffect(()=>()=>{p&&(c.layers.delete(p),c.layersWithOutsidePointerEventsDisabled.delete(p),rp())},[p,c]),b.useEffect(()=>{const E=()=>g({});return document.addEventListener(Qc,E),()=>document.removeEventListener(Qc,E)},[]),u.jsx(Le.div,{...l,ref:y,style:{pointerEvents:x?C?"auto":"none":void 0,...e.style},onFocusCapture:Pe(e.onFocusCapture,k.onFocusCapture),onBlurCapture:Pe(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:Pe(e.onPointerDownCapture,S.onPointerDownCapture)})});pd.displayName=Ww;var qw="DismissableLayerBranch",Ng=b.forwardRef((e,t)=>{const n=b.useContext(Tg),r=b.useRef(null),o=wt(t,r);return b.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),u.jsx(Le.div,{...e,ref:o})});Ng.displayName=qw;function Qw(e,t=globalThis==null?void 0:globalThis.document){const n=an(e),r=b.useRef(!1),o=b.useRef(()=>{});return b.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){Pg(Vw,n,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Kw(e,t=globalThis==null?void 0:globalThis.document){const n=an(e),r=b.useRef(!1);return b.useEffect(()=>{const o=i=>{i.target&&!r.current&&Pg(Gw,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function rp(){const e=new CustomEvent(Qc);document.dispatchEvent(e)}function Pg(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?kg(o,i):o.dispatchEvent(i)}var Yw=pd,Xw=Ng,En=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},Zw="Portal",jg=b.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=b.useState(!1);En(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?wg.createPortal(u.jsx(Le.div,{...r,ref:t}),s):null});jg.displayName=Zw;function Jw(e,t){return b.useReducer((n,r)=>t[n][r]??n,e)}var Ya=e=>{const{present:t,children:n}=e,r=e1(t),o=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),i=wt(r.ref,t1(o));return typeof n=="function"||r.isPresent?b.cloneElement(o,{ref:i}):null};Ya.displayName="Presence";function e1(e){const[t,n]=b.useState(),r=b.useRef({}),o=b.useRef(e),i=b.useRef("none"),s=e?"mounted":"unmounted",[a,l]=Jw(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const c=As(r.current);i.current=a==="mounted"?c:"none"},[a]),En(()=>{const c=r.current,p=o.current;if(p!==e){const d=i.current,g=As(c);e?l("MOUNT"):g==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(p&&d!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),En(()=>{if(t){let c;const p=t.ownerDocument.defaultView??window,f=g=>{const v=As(r.current).includes(g.animationName);if(g.target===t&&v&&(l("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",c=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},d=g=>{g.target===t&&(i.current=As(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{p.clearTimeout(c),t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:b.useCallback(c=>{c&&(r.current=getComputedStyle(c)),n(c)},[])}}function As(e){return(e==null?void 0:e.animationName)||"none"}function t1(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 Xa({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=n1({defaultProp:t,onChange:n}),i=e!==void 0,s=i?e:r,a=an(n),l=b.useCallback(c=>{if(i){const f=typeof c=="function"?c(e):c;f!==e&&a(f)}else o(c)},[i,e,o,a]);return[s,l]}function n1({defaultProp:e,onChange:t}){const n=b.useState(e),[r]=n,o=b.useRef(r),i=an(t);return b.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var r1="VisuallyHidden",Za=b.forwardRef((e,t)=>u.jsx(Le.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}}));Za.displayName=r1;var o1=Za,hd="ToastProvider",[md,i1,s1]=Eg("Toast"),[Ag,KN]=Ka("Toast",[s1]),[a1,Ja]=Ag(hd),Og=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,l]=b.useState(null),[c,p]=b.useState(0),f=b.useRef(!1),d=b.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${hd}\`. Expected non-empty \`string\`.`),u.jsx(md.Provider,{scope:t,children:u.jsx(a1,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:c,viewport:a,onViewportChange:l,onToastAdd:b.useCallback(()=>p(g=>g+1),[]),onToastRemove:b.useCallback(()=>p(g=>g-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:d,children:s})})};Og.displayName=hd;var Rg="ToastViewport",l1=["F8"],Kc="toast.viewportPause",Yc="toast.viewportResume",Dg=b.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=l1,label:o="Notifications ({hotkey})",...i}=e,s=Ja(Rg,n),a=i1(n),l=b.useRef(null),c=b.useRef(null),p=b.useRef(null),f=b.useRef(null),d=wt(t,f,s.onViewportChange),g=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),y=s.toastCount>0;b.useEffect(()=>{const w=m=>{var x;r.length!==0&&r.every(C=>m[C]||m.code===C)&&((x=f.current)==null||x.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),b.useEffect(()=>{const w=l.current,m=f.current;if(y&&w&&m){const h=()=>{if(!s.isClosePausedRef.current){const k=new CustomEvent(Kc);m.dispatchEvent(k),s.isClosePausedRef.current=!0}},x=()=>{if(s.isClosePausedRef.current){const k=new CustomEvent(Yc);m.dispatchEvent(k),s.isClosePausedRef.current=!1}},C=k=>{!w.contains(k.relatedTarget)&&x()},S=()=>{w.contains(document.activeElement)||x()};return w.addEventListener("focusin",h),w.addEventListener("focusout",C),w.addEventListener("pointermove",h),w.addEventListener("pointerleave",S),window.addEventListener("blur",h),window.addEventListener("focus",x),()=>{w.removeEventListener("focusin",h),w.removeEventListener("focusout",C),w.removeEventListener("pointermove",h),w.removeEventListener("pointerleave",S),window.removeEventListener("blur",h),window.removeEventListener("focus",x)}}},[y,s.isClosePausedRef]);const v=b.useCallback(({tabbingDirection:w})=>{const h=a().map(x=>{const C=x.ref.current,S=[C,...b1(C)];return w==="forwards"?S:S.reverse()});return(w==="forwards"?h.reverse():h).flat()},[a]);return b.useEffect(()=>{const w=f.current;if(w){const m=h=>{var S,k,E;const x=h.altKey||h.ctrlKey||h.metaKey;if(h.key==="Tab"&&!x){const N=document.activeElement,A=h.shiftKey;if(h.target===w&&A){(S=c.current)==null||S.focus();return}const _=v({tabbingDirection:A?"backwards":"forwards"}),H=_.findIndex(I=>I===N);Wl(_.slice(H+1))?h.preventDefault():A?(k=c.current)==null||k.focus():(E=p.current)==null||E.focus()}};return w.addEventListener("keydown",m),()=>w.removeEventListener("keydown",m)}},[a,v]),u.jsxs(Xw,{ref:l,role:"region","aria-label":o.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:y?void 0:"none"},children:[y&&u.jsx(Xc,{ref:c,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"forwards"});Wl(w)}}),u.jsx(md.Slot,{scope:n,children:u.jsx(Le.ol,{tabIndex:-1,...i,ref:d})}),y&&u.jsx(Xc,{ref:p,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"backwards"});Wl(w)}})]})});Dg.displayName=Rg;var Ig="ToastFocusProxy",Xc=b.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=Ja(Ig,n);return u.jsx(Za,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var c;const a=s.relatedTarget;!((c=i.viewport)!=null&&c.contains(a))&&r()}})});Xc.displayName=Ig;var el="Toast",c1="toast.swipeStart",u1="toast.swipeMove",d1="toast.swipeCancel",f1="toast.swipeEnd",Mg=b.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[a=!0,l]=Xa({prop:r,defaultProp:o,onChange:i});return u.jsx(Ya,{present:n||a,children:u.jsx(m1,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:an(e.onPause),onResume:an(e.onResume),onSwipeStart:Pe(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Pe(e.onSwipeMove,c=>{const{x:p,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${p}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:Pe(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Pe(e.onSwipeEnd,c=>{const{x:p,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${p}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});Mg.displayName=el;var[p1,h1]=Ag(el,{onClose(){}}),m1=b.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:c,onSwipeStart:p,onSwipeMove:f,onSwipeCancel:d,onSwipeEnd:g,...y}=e,v=Ja(el,n),[w,m]=b.useState(null),h=wt(t,I=>m(I)),x=b.useRef(null),C=b.useRef(null),S=o||v.duration,k=b.useRef(0),E=b.useRef(S),N=b.useRef(0),{onToastAdd:A,onToastRemove:O}=v,M=an(()=>{var W;(w==null?void 0:w.contains(document.activeElement))&&((W=v.viewport)==null||W.focus()),s()}),_=b.useCallback(I=>{!I||I===1/0||(window.clearTimeout(N.current),k.current=new Date().getTime(),N.current=window.setTimeout(M,I))},[M]);b.useEffect(()=>{const I=v.viewport;if(I){const W=()=>{_(E.current),c==null||c()},B=()=>{const V=new Date().getTime()-k.current;E.current=E.current-V,window.clearTimeout(N.current),l==null||l()};return I.addEventListener(Kc,B),I.addEventListener(Yc,W),()=>{I.removeEventListener(Kc,B),I.removeEventListener(Yc,W)}}},[v.viewport,S,l,c,_]),b.useEffect(()=>{i&&!v.isClosePausedRef.current&&_(S)},[i,S,v.isClosePausedRef,_]),b.useEffect(()=>(A(),()=>O()),[A,O]);const H=b.useMemo(()=>w?Bg(w):null,[w]);return v.viewport?u.jsxs(u.Fragment,{children:[H&&u.jsx(g1,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:H}),u.jsx(p1,{scope:n,onClose:M,children:rs.createPortal(u.jsx(md.ItemSlot,{scope:n,children:u.jsx(Yw,{asChild:!0,onEscapeKeyDown:Pe(a,()=>{v.isFocusedToastEscapeKeyDownRef.current||M(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:u.jsx(Le.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":v.swipeDirection,...y,ref:h,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Pe(e.onKeyDown,I=>{I.key==="Escape"&&(a==null||a(I.nativeEvent),I.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,M()))}),onPointerDown:Pe(e.onPointerDown,I=>{I.button===0&&(x.current={x:I.clientX,y:I.clientY})}),onPointerMove:Pe(e.onPointerMove,I=>{if(!x.current)return;const W=I.clientX-x.current.x,B=I.clientY-x.current.y,V=!!C.current,T=["left","right"].includes(v.swipeDirection),D=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,z=T?D(0,W):0,L=T?0:D(0,B),U=I.pointerType==="touch"?10:2,Q={x:z,y:L},te={originalEvent:I,delta:Q};V?(C.current=Q,Os(u1,f,te,{discrete:!1})):op(Q,v.swipeDirection,U)?(C.current=Q,Os(c1,p,te,{discrete:!1}),I.target.setPointerCapture(I.pointerId)):(Math.abs(W)>U||Math.abs(B)>U)&&(x.current=null)}),onPointerUp:Pe(e.onPointerUp,I=>{const W=C.current,B=I.target;if(B.hasPointerCapture(I.pointerId)&&B.releasePointerCapture(I.pointerId),C.current=null,x.current=null,W){const V=I.currentTarget,T={originalEvent:I,delta:W};op(W,v.swipeDirection,v.swipeThreshold)?Os(f1,g,T,{discrete:!0}):Os(d1,d,T,{discrete:!0}),V.addEventListener("click",D=>D.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),g1=e=>{const{__scopeToast:t,children:n,...r}=e,o=Ja(el,t),[i,s]=b.useState(!1),[a,l]=b.useState(!1);return x1(()=>s(!0)),b.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),a?null:u.jsx(jg,{asChild:!0,children:u.jsx(Za,{...r,children:i&&u.jsxs(u.Fragment,{children:[o.label," ",n]})})})},v1="ToastTitle",Lg=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return u.jsx(Le.div,{...r,ref:t})});Lg.displayName=v1;var y1="ToastDescription",_g=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return u.jsx(Le.div,{...r,ref:t})});_g.displayName=y1;var Fg="ToastAction",zg=b.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?u.jsx(Ug,{altText:n,asChild:!0,children:u.jsx(gd,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Fg}\`. Expected non-empty \`string\`.`),null)});zg.displayName=Fg;var $g="ToastClose",gd=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=h1($g,n);return u.jsx(Ug,{asChild:!0,children:u.jsx(Le.button,{type:"button",...r,ref:t,onClick:Pe(e.onClick,o.onClose)})})});gd.displayName=$g;var Ug=b.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return u.jsx(Le.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Bg(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),w1(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Bg(r))}}),t}function Os(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?kg(o,i):o.dispatchEvent(i)}var op=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function x1(e=()=>{}){const t=an(e);En(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function w1(e){return e.nodeType===e.ELEMENT_NODE}function b1(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 Wl(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var C1=Og,Hg=Dg,Wg=Mg,Vg=Lg,Gg=_g,qg=zg,Qg=gd;function Kg(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=Kg(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Yg(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Kg(e))&&(r&&(r+=" "),r+=t);return r}const ip=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,sp=Yg,Xg=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return sp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(c=>{const p=n==null?void 0:n[c],f=i==null?void 0:i[c];if(p===null)return null;const d=ip(p)||ip(f);return o[c][d]}),a=n&&Object.entries(n).reduce((c,p)=>{let[f,d]=p;return d===void 0||(c[f]=d),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,p)=>{let{class:f,className:d,...g}=p;return Object.entries(g).every(y=>{let[v,w]=y;return Array.isArray(w)?w.includes({...i,...a}[v]):{...i,...a}[v]===w})?[...c,f,d]:c},[]);return sp(e,s,l,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 S1=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Zg=(...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 E1={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 k1=b.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...a},l)=>b.createElement("svg",{ref:l,...E1,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Zg("lucide",o),...a},[...s.map(([c,p])=>b.createElement(c,p)),...Array.isArray(i)?i:[i]]));/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Kt=(e,t)=>{const n=b.forwardRef(({className:r,...o},i)=>b.createElement(k1,{ref:i,iconNode:t,className:Zg(`lucide-${S1(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 Jg=Kt("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=Kt("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 T1=Kt("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 N1=Kt("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
 * @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 P1=Kt("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
 * @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=Kt("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
 * @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 A1=Kt("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 O1=Kt("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
 * @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 R1=Kt("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 D1=Kt("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/**
 * @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=Kt("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),vd="-",I1=e=>{const t=L1(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(vd);return a[0]===""&&a.length!==1&&a.shift(),nv(a,t)||M1(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},nv=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?nv(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(vd);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},ap=/^\[(.+)\]$/,M1=e=>{if(ap.test(e)){const t=ap.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},L1=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return F1(Object.entries(e.classGroups),n).forEach(([i,s])=>{Zc(s,r,i,t)}),r},Zc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:lp(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(_1(o)){Zc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Zc(s,lp(t,i),n,r)})})},lp=(e,t)=>{let n=e;return t.split(vd).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},_1=e=>e.isThemeGetter,F1=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,a])=>[t+s,a])):i);return[n,o]}):e,z1=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},rv="!",$1=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=a=>{const l=[];let c=0,p=0,f;for(let w=0;w<a.length;w++){let m=a[w];if(c===0){if(m===o&&(r||a.slice(w,w+i)===t)){l.push(a.slice(p,w)),p=w+i;continue}if(m==="/"){f=w;continue}}m==="["?c++:m==="]"&&c--}const d=l.length===0?a:a.substring(p),g=d.startsWith(rv),y=g?d.substring(1):d,v=f&&f>p?f-p:void 0;return{modifiers:l,hasImportantModifier:g,baseClassName:y,maybePostfixModifierPosition:v}};return n?a=>n({className:a,parseClassName:s}):s},U1=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},B1=e=>({cache:z1(e.cacheSize),parseClassName:$1(e),...I1(e)}),H1=/\s+/,W1=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(H1);let a="";for(let l=s.length-1;l>=0;l-=1){const c=s[l],{modifiers:p,hasImportantModifier:f,baseClassName:d,maybePostfixModifierPosition:g}=n(c);let y=!!g,v=r(y?d.substring(0,g):d);if(!v){if(!y){a=c+(a.length>0?" "+a:a);continue}if(v=r(d),!v){a=c+(a.length>0?" "+a:a);continue}y=!1}const w=U1(p).join(":"),m=f?w+rv:w,h=m+v;if(i.includes(h))continue;i.push(h);const x=o(v,y);for(let C=0;C<x.length;++C){const S=x[C];i.push(m+S)}a=c+(a.length>0?" "+a:a)}return a};function V1(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=ov(t))&&(r&&(r+=" "),r+=n);return r}const ov=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=ov(e[r]))&&(n&&(n+=" "),n+=t);return n};function G1(e,...t){let n,r,o,i=s;function s(l){const c=t.reduce((p,f)=>f(p),e());return n=B1(c),r=n.cache.get,o=n.cache.set,i=a,a(l)}function a(l){const c=r(l);if(c)return c;const p=W1(l,n);return o(l,p),p}return function(){return i(V1.apply(null,arguments))}}const fe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},iv=/^\[(?:([a-z-]+):)?(.+)\]$/i,q1=/^\d+\/\d+$/,Q1=new Set(["px","full","screen"]),K1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Y1=/\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$/,X1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Z1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,J1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,fn=e=>so(e)||Q1.has(e)||q1.test(e),On=e=>Do(e,"length",ab),so=e=>!!e&&!Number.isNaN(Number(e)),Vl=e=>Do(e,"number",so),Zo=e=>!!e&&Number.isInteger(Number(e)),eb=e=>e.endsWith("%")&&so(e.slice(0,-1)),K=e=>iv.test(e),Rn=e=>K1.test(e),tb=new Set(["length","size","percentage"]),nb=e=>Do(e,tb,sv),rb=e=>Do(e,"position",sv),ob=new Set(["image","url"]),ib=e=>Do(e,ob,cb),sb=e=>Do(e,"",lb),Jo=()=>!0,Do=(e,t,n)=>{const r=iv.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},ab=e=>Y1.test(e)&&!X1.test(e),sv=()=>!1,lb=e=>Z1.test(e),cb=e=>J1.test(e),ub=()=>{const e=fe("colors"),t=fe("spacing"),n=fe("blur"),r=fe("brightness"),o=fe("borderColor"),i=fe("borderRadius"),s=fe("borderSpacing"),a=fe("borderWidth"),l=fe("contrast"),c=fe("grayscale"),p=fe("hueRotate"),f=fe("invert"),d=fe("gap"),g=fe("gradientColorStops"),y=fe("gradientColorStopPositions"),v=fe("inset"),w=fe("margin"),m=fe("opacity"),h=fe("padding"),x=fe("saturate"),C=fe("scale"),S=fe("sepia"),k=fe("skew"),E=fe("space"),N=fe("translate"),A=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto",K,t],_=()=>[K,t],H=()=>["",fn,On],I=()=>["auto",so,K],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],T=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",K],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[so,K];return{cacheSize:500,separator:":",theme:{colors:[Jo],spacing:[fn,On],blur:["none","",Rn,K],brightness:L(),borderColor:[e],borderRadius:["none","","full",Rn,K],borderSpacing:_(),borderWidth:H(),contrast:L(),grayscale:D(),hueRotate:L(),invert:D(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[eb,On],inset:M(),margin:M(),opacity:L(),padding:_(),saturate:L(),scale:L(),sepia:D(),skew:L(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",K]}],container:["container"],columns:[{columns:[Rn]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),K]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Zo,K]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",K]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",Zo,K]}],"grid-cols":[{"grid-cols":[Jo]}],"col-start-end":[{col:["auto",{span:["full",Zo,K]},K]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[Jo]}],"row-start-end":[{row:["auto",{span:[Zo,K]},K]}],"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",K]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",K]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...T()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...T(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...T(),"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":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",K,t]}],"min-w":[{"min-w":[K,t,"min","max","fit"]}],"max-w":[{"max-w":[K,t,"none","full","min","max","fit","prose",{screen:[Rn]},Rn]}],h:[{h:[K,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[K,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Rn,On]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Vl]}],"font-family":[{font:[Jo]}],"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",K]}],"line-clamp":[{"line-clamp":["none",so,Vl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",fn,K]}],"list-image":[{"list-image":["none",K]}],"list-style-type":[{list:["none","disc","decimal",K]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",fn,On]}],"underline-offset":[{"underline-offset":["auto",fn,K]}],"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:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K]}],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",K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),rb]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ib]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:B()}],"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:["",...B()]}],"outline-offset":[{"outline-offset":[fn,K]}],"outline-w":[{outline:[fn,On]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[fn,On]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Rn,sb]}],"shadow-color":[{shadow:[Jo]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Rn,K]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[f]}],saturate:[{saturate:[x]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",K]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",K]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",K]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Zo,K]}],"translate-x":[{"translate-x":[N]}],"translate-y":[{"translate-y":[N]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",K]}],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",K]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"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",K]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[fn,On,Vl]}],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=G1(ub);function Se(...e){return db(Yg(e))}const fb=C1,av=b.forwardRef(({className:e,...t},n)=>u.jsx(Hg,{ref:n,className:Se("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}));av.displayName=Hg.displayName;const pb=Xg("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"}}),lv=b.forwardRef(({className:e,variant:t,...n},r)=>u.jsx(Wg,{ref:r,className:Se(pb({variant:t}),e),...n}));lv.displayName=Wg.displayName;const hb=b.forwardRef(({className:e,...t},n)=>u.jsx(qg,{ref:n,className:Se("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}));hb.displayName=qg.displayName;const cv=b.forwardRef(({className:e,...t},n)=>u.jsx(Qg,{ref:n,className:Se("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:u.jsx(tv,{className:"h-4 w-4"})}));cv.displayName=Qg.displayName;const uv=b.forwardRef(({className:e,...t},n)=>u.jsx(Vg,{ref:n,className:Se("text-sm font-semibold",e),...t}));uv.displayName=Vg.displayName;const dv=b.forwardRef(({className:e,...t},n)=>u.jsx(Gg,{ref:n,className:Se("text-sm opacity-90",e),...t}));dv.displayName=Gg.displayName;function mb(){const{toasts:e}=Iw();return u.jsxs(fb,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return u.jsxs(lv,{...i,children:[u.jsxs("div",{className:"grid gap-1",children:[n&&u.jsx(uv,{children:n}),r&&u.jsx(dv,{children:r})]}),o,u.jsx(cv,{})]},t)}),u.jsx(av,{})]})}var cp=["light","dark"],gb="(prefers-color-scheme: dark)",vb=b.createContext(void 0),yb={setTheme:e=>{},themes:[]},xb=()=>{var e;return(e=b.useContext(vb))!=null?e:yb};b.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:a,nonce:l})=>{let c=i==="system",p=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(y=>`'${y}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=o?cp.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",d=(y,v=!1,w=!0)=>{let m=s?s[y]:y,h=v?y+"|| ''":`'${m}'`,x="";return o&&w&&!v&&cp.includes(y)&&(x+=`d.style.colorScheme = '${y}';`),n==="class"?v||m?x+=`c.add(${h})`:x+="null":m&&(x+=`d[s](n,${h})`),x},g=e?`!function(){${p}${d(e)}}()`:r?`!function(){try{${p}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${gb}',m=window.matchMedia(t);if(m.media!==t||m.matches){${d("dark")}}else{${d("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${d(s?"x[e]":"e",!0)}}${c?"":"else{"+d(i,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${p}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${d(s?"x[e]":"e",!0)}}else{${d(i,!1,!1)};}${f}}catch(t){}}();`;return b.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:g}})});var wb=e=>{switch(e){case"success":return Sb;case"info":return kb;case"warning":return Eb;case"error":return Tb;default:return null}},bb=Array(12).fill(0),Cb=({visible:e})=>j.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},j.createElement("div",{className:"sonner-spinner"},bb.map((t,n)=>j.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),Sb=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.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"})),Eb=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},j.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"})),kb=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.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"})),Tb=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.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"})),Nb=()=>{let[e,t]=j.useState(document.hidden);return j.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Jc=1,Pb=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:Jc++,i=this.toasts.find(a=>a.id===o),s=e.dismissible===void 0?!0:e.dismissible;return i?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0;return r.then(async i=>{if(Ab(i)&&!i.ok){o=!1;let s=typeof t.error=="function"?await t.error(`HTTP error! status: ${i.status}`):t.error,a=typeof t.description=="function"?await t.description(`HTTP error! status: ${i.status}`):t.description;this.create({id:n,type:"error",message:s,description:a})}else if(t.success!==void 0){o=!1;let s=typeof t.success=="function"?await t.success(i):t.success,a=typeof t.description=="function"?await t.description(i):t.description;this.create({id:n,type:"success",message:s,description:a})}}).catch(async i=>{if(t.error!==void 0){o=!1;let s=typeof t.error=="function"?await t.error(i):t.error,a=typeof t.description=="function"?await t.description(i):t.description;this.create({id:n,type:"error",message:s,description:a})}}).finally(()=>{var i;o&&(this.dismiss(n),n=void 0),(i=t.finally)==null||i.call(t)}),n},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Jc++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},pt=new Pb,jb=(e,t)=>{let n=(t==null?void 0:t.id)||Jc++;return pt.addToast({title:e,...t,id:n}),n},Ab=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Ob=jb,Rb=()=>pt.toasts;Object.assign(Ob,{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:Rb});function Db(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))}Db(`: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 Rs(e){return e.label!==void 0}var Ib=3,Mb="32px",Lb=4e3,_b=356,Fb=14,zb=20,$b=200;function Ub(...e){return e.filter(Boolean).join(" ")}var Bb=e=>{var t,n,r,o,i,s,a,l,c,p;let{invert:f,toast:d,unstyled:g,interacting:y,setHeights:v,visibleToasts:w,heights:m,index:h,toasts:x,expanded:C,removeToast:S,defaultRichColors:k,closeButton:E,style:N,cancelButtonStyle:A,actionButtonStyle:O,className:M="",descriptionClassName:_="",duration:H,position:I,gap:W,loadingIcon:B,expandByDefault:V,classNames:T,icons:D,closeButtonAriaLabel:z="Close toast",pauseWhenPageIsHidden:L,cn:U}=e,[Q,te]=j.useState(!1),[Re,Z]=j.useState(!1),[de,me]=j.useState(!1),[_e,Te]=j.useState(!1),[se,$]=j.useState(0),[J,le]=j.useState(0),je=j.useRef(null),De=j.useRef(null),ct=h===0,St=h+1<=w,ce=d.type,nt=d.dismissible!==!1,fr=d.className||"",Fo=d.descriptionClassName||"",jn=j.useMemo(()=>m.findIndex(G=>G.toastId===d.id)||0,[m,d.id]),cs=j.useMemo(()=>{var G;return(G=d.closeButton)!=null?G:E},[d.closeButton,E]),zo=j.useMemo(()=>d.duration||H||Lb,[d.duration,H]),$o=j.useRef(0),un=j.useRef(0),us=j.useRef(0),Yt=j.useRef(null),[It,Uo]=I.split("-"),_r=j.useMemo(()=>m.reduce((G,ae,oe)=>oe>=jn?G:G+ae.height,0),[m,jn]),pr=Nb(),Bo=d.invert||f,Ho=ce==="loading";un.current=j.useMemo(()=>jn*W+_r,[jn,_r]),j.useEffect(()=>{te(!0)},[]),j.useLayoutEffect(()=>{if(!Q)return;let G=De.current,ae=G.style.height;G.style.height="auto";let oe=G.getBoundingClientRect().height;G.style.height=ae,le(oe),v(ut=>ut.find(dt=>dt.toastId===d.id)?ut.map(dt=>dt.toastId===d.id?{...dt,height:oe}:dt):[{toastId:d.id,height:oe,position:d.position},...ut])},[Q,d.title,d.description,v,d.id]);let Xt=j.useCallback(()=>{Z(!0),$(un.current),v(G=>G.filter(ae=>ae.toastId!==d.id)),setTimeout(()=>{S(d)},$b)},[d,S,v,un]);j.useEffect(()=>{if(d.promise&&ce==="loading"||d.duration===1/0||d.type==="loading")return;let G,ae=zo;return C||y||L&&pr?(()=>{if(us.current<$o.current){let oe=new Date().getTime()-$o.current;ae=ae-oe}us.current=new Date().getTime()})():ae!==1/0&&($o.current=new Date().getTime(),G=setTimeout(()=>{var oe;(oe=d.onAutoClose)==null||oe.call(d,d),Xt()},ae)),()=>clearTimeout(G)},[C,y,V,d,zo,Xt,d.promise,ce,L,pr]),j.useEffect(()=>{let G=De.current;if(G){let ae=G.getBoundingClientRect().height;return le(ae),v(oe=>[{toastId:d.id,height:ae,position:d.position},...oe]),()=>v(oe=>oe.filter(ut=>ut.toastId!==d.id))}},[v,d.id]),j.useEffect(()=>{d.delete&&Xt()},[Xt,d.delete]);function hl(){return D!=null&&D.loading?j.createElement("div",{className:"sonner-loader","data-visible":ce==="loading"},D.loading):B?j.createElement("div",{className:"sonner-loader","data-visible":ce==="loading"},B):j.createElement(Cb,{visible:ce==="loading"})}return j.createElement("li",{"aria-live":d.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:De,className:U(M,fr,T==null?void 0:T.toast,(t=d==null?void 0:d.classNames)==null?void 0:t.toast,T==null?void 0:T.default,T==null?void 0:T[ce],(n=d==null?void 0:d.classNames)==null?void 0:n[ce]),"data-sonner-toast":"","data-rich-colors":(r=d.richColors)!=null?r:k,"data-styled":!(d.jsx||d.unstyled||g),"data-mounted":Q,"data-promise":!!d.promise,"data-removed":Re,"data-visible":St,"data-y-position":It,"data-x-position":Uo,"data-index":h,"data-front":ct,"data-swiping":de,"data-dismissible":nt,"data-type":ce,"data-invert":Bo,"data-swipe-out":_e,"data-expanded":!!(C||V&&Q),style:{"--index":h,"--toasts-before":h,"--z-index":x.length-h,"--offset":`${Re?se:un.current}px`,"--initial-height":V?"auto":`${J}px`,...N,...d.style},onPointerDown:G=>{Ho||!nt||(je.current=new Date,$(un.current),G.target.setPointerCapture(G.pointerId),G.target.tagName!=="BUTTON"&&(me(!0),Yt.current={x:G.clientX,y:G.clientY}))},onPointerUp:()=>{var G,ae,oe,ut;if(_e||!nt)return;Yt.current=null;let dt=Number(((G=De.current)==null?void 0:G.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Fr=new Date().getTime()-((ae=je.current)==null?void 0:ae.getTime()),ds=Math.abs(dt)/Fr;if(Math.abs(dt)>=zb||ds>.11){$(un.current),(oe=d.onDismiss)==null||oe.call(d,d),Xt(),Te(!0);return}(ut=De.current)==null||ut.style.setProperty("--swipe-amount","0px"),me(!1)},onPointerMove:G=>{var ae;if(!Yt.current||!nt)return;let oe=G.clientY-Yt.current.y,ut=G.clientX-Yt.current.x,dt=(It==="top"?Math.min:Math.max)(0,oe),Fr=G.pointerType==="touch"?10:2;Math.abs(dt)>Fr?(ae=De.current)==null||ae.style.setProperty("--swipe-amount",`${oe}px`):Math.abs(ut)>Fr&&(Yt.current=null)}},cs&&!d.jsx?j.createElement("button",{"aria-label":z,"data-disabled":Ho,"data-close-button":!0,onClick:Ho||!nt?()=>{}:()=>{var G;Xt(),(G=d.onDismiss)==null||G.call(d,d)},className:U(T==null?void 0:T.closeButton,(o=d==null?void 0:d.classNames)==null?void 0:o.closeButton)},j.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"},j.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),j.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,d.jsx||j.isValidElement(d.title)?d.jsx||d.title:j.createElement(j.Fragment,null,ce||d.icon||d.promise?j.createElement("div",{"data-icon":"",className:U(T==null?void 0:T.icon,(i=d==null?void 0:d.classNames)==null?void 0:i.icon)},d.promise||d.type==="loading"&&!d.icon?d.icon||hl():null,d.type!=="loading"?d.icon||(D==null?void 0:D[ce])||wb(ce):null):null,j.createElement("div",{"data-content":"",className:U(T==null?void 0:T.content,(s=d==null?void 0:d.classNames)==null?void 0:s.content)},j.createElement("div",{"data-title":"",className:U(T==null?void 0:T.title,(a=d==null?void 0:d.classNames)==null?void 0:a.title)},d.title),d.description?j.createElement("div",{"data-description":"",className:U(_,Fo,T==null?void 0:T.description,(l=d==null?void 0:d.classNames)==null?void 0:l.description)},d.description):null),j.isValidElement(d.cancel)?d.cancel:d.cancel&&Rs(d.cancel)?j.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||A,onClick:G=>{var ae,oe;Rs(d.cancel)&&nt&&((oe=(ae=d.cancel).onClick)==null||oe.call(ae,G),Xt())},className:U(T==null?void 0:T.cancelButton,(c=d==null?void 0:d.classNames)==null?void 0:c.cancelButton)},d.cancel.label):null,j.isValidElement(d.action)?d.action:d.action&&Rs(d.action)?j.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||O,onClick:G=>{var ae,oe;Rs(d.action)&&(G.defaultPrevented||((oe=(ae=d.action).onClick)==null||oe.call(ae,G),Xt()))},className:U(T==null?void 0:T.actionButton,(p=d==null?void 0:d.classNames)==null?void 0:p.actionButton)},d.action.label):null))};function up(){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 Hb=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:o,closeButton:i,className:s,offset:a,theme:l="light",richColors:c,duration:p,style:f,visibleToasts:d=Ib,toastOptions:g,dir:y=up(),gap:v=Fb,loadingIcon:w,icons:m,containerAriaLabel:h="Notifications",pauseWhenPageIsHidden:x,cn:C=Ub}=e,[S,k]=j.useState([]),E=j.useMemo(()=>Array.from(new Set([n].concat(S.filter(L=>L.position).map(L=>L.position)))),[S,n]),[N,A]=j.useState([]),[O,M]=j.useState(!1),[_,H]=j.useState(!1),[I,W]=j.useState(l!=="system"?l:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=j.useRef(null),V=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),T=j.useRef(null),D=j.useRef(!1),z=j.useCallback(L=>{var U;(U=S.find(Q=>Q.id===L.id))!=null&&U.delete||pt.dismiss(L.id),k(Q=>Q.filter(({id:te})=>te!==L.id))},[S]);return j.useEffect(()=>pt.subscribe(L=>{if(L.dismiss){k(U=>U.map(Q=>Q.id===L.id?{...Q,delete:!0}:Q));return}setTimeout(()=>{wg.flushSync(()=>{k(U=>{let Q=U.findIndex(te=>te.id===L.id);return Q!==-1?[...U.slice(0,Q),{...U[Q],...L},...U.slice(Q+1)]:[L,...U]})})})}),[]),j.useEffect(()=>{if(l!=="system"){W(l);return}l==="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:L})=>{W(L?"dark":"light")})},[l]),j.useEffect(()=>{S.length<=1&&M(!1)},[S]),j.useEffect(()=>{let L=U=>{var Q,te;r.every(Re=>U[Re]||U.code===Re)&&(M(!0),(Q=B.current)==null||Q.focus()),U.code==="Escape"&&(document.activeElement===B.current||(te=B.current)!=null&&te.contains(document.activeElement))&&M(!1)};return document.addEventListener("keydown",L),()=>document.removeEventListener("keydown",L)},[r]),j.useEffect(()=>{if(B.current)return()=>{T.current&&(T.current.focus({preventScroll:!0}),T.current=null,D.current=!1)}},[B.current]),S.length?j.createElement("section",{"aria-label":`${h} ${V}`,tabIndex:-1},E.map((L,U)=>{var Q;let[te,Re]=L.split("-");return j.createElement("ol",{key:L,dir:y==="auto"?up():y,tabIndex:-1,ref:B,className:s,"data-sonner-toaster":!0,"data-theme":I,"data-y-position":te,"data-x-position":Re,style:{"--front-toast-height":`${((Q=N[0])==null?void 0:Q.height)||0}px`,"--offset":typeof a=="number"?`${a}px`:a||Mb,"--width":`${_b}px`,"--gap":`${v}px`,...f},onBlur:Z=>{D.current&&!Z.currentTarget.contains(Z.relatedTarget)&&(D.current=!1,T.current&&(T.current.focus({preventScroll:!0}),T.current=null))},onFocus:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||D.current||(D.current=!0,T.current=Z.relatedTarget)},onMouseEnter:()=>M(!0),onMouseMove:()=>M(!0),onMouseLeave:()=>{_||M(!1)},onPointerDown:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||H(!0)},onPointerUp:()=>H(!1)},S.filter(Z=>!Z.position&&U===0||Z.position===L).map((Z,de)=>{var me,_e;return j.createElement(Bb,{key:Z.id,icons:m,index:de,toast:Z,defaultRichColors:c,duration:(me=g==null?void 0:g.duration)!=null?me:p,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:t,visibleToasts:d,closeButton:(_e=g==null?void 0:g.closeButton)!=null?_e:i,interacting:_,position:L,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:z,toasts:S.filter(Te=>Te.position==Z.position),heights:N.filter(Te=>Te.position==Z.position),setHeights:A,expandByDefault:o,gap:v,loadingIcon:w,expanded:O,pauseWhenPageIsHidden:x,cn:C})}))})):null};const Wb=({...e})=>{const{theme:t="system"}=xb();return u.jsx(Hb,{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 Vb=vh.useId||(()=>{}),Gb=0;function fv(e){const[t,n]=b.useState(Vb());return En(()=>{n(r=>r??String(Gb++))},[e]),t?`radix-${t}`:""}const qb=["top","right","bottom","left"],rr=Math.min,mt=Math.max,Sa=Math.round,Ds=Math.floor,or=e=>({x:e,y:e}),Qb={left:"right",right:"left",bottom:"top",top:"bottom"},Kb={start:"end",end:"start"};function eu(e,t,n){return mt(e,rr(t,n))}function kn(e,t){return typeof e=="function"?e(t):e}function Tn(e){return e.split("-")[0]}function Io(e){return e.split("-")[1]}function yd(e){return e==="x"?"y":"x"}function xd(e){return e==="y"?"height":"width"}function ir(e){return["top","bottom"].includes(Tn(e))?"y":"x"}function wd(e){return yd(ir(e))}function Yb(e,t,n){n===void 0&&(n=!1);const r=Io(e),o=wd(e),i=xd(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Ea(s)),[s,Ea(s)]}function Xb(e){const t=Ea(e);return[tu(e),t,tu(t)]}function tu(e){return e.replace(/start|end/g,t=>Kb[t])}function Zb(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function Jb(e,t,n,r){const o=Io(e);let i=Zb(Tn(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(tu)))),i}function Ea(e){return e.replace(/left|right|bottom|top/g,t=>Qb[t])}function eC(e){return{top:0,right:0,bottom:0,left:0,...e}}function pv(e){return typeof e!="number"?eC(e):{top:e,right:e,bottom:e,left:e}}function ka(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 dp(e,t,n){let{reference:r,floating:o}=e;const i=ir(t),s=wd(t),a=xd(s),l=Tn(t),c=i==="y",p=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 g;switch(l){case"top":g={x:p,y:r.y-o.height};break;case"bottom":g={x:p,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:f};break;case"left":g={x:r.x-o.width,y:f};break;default:g={x:r.x,y:r.y}}switch(Io(t)){case"start":g[s]-=d*(n&&c?-1:1);break;case"end":g[s]+=d*(n&&c?-1:1);break}return g}const tC=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:f}=dp(c,r,l),d=r,g={},y=0;for(let v=0;v<a.length;v++){const{name:w,fn:m}=a[v],{x:h,y:x,data:C,reset:S}=await m({x:p,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:g,rects:c,platform:s,elements:{reference:e,floating:t}});p=h??p,f=x??f,g={...g,[w]:{...g[w],...C}},S&&y<=50&&(y++,typeof S=="object"&&(S.placement&&(d=S.placement),S.rects&&(c=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:p,y:f}=dp(c,d,l)),v=-1)}return{x:p,y:f,placement:d,strategy:o,middlewareData:g}};async function Fi(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:g=0}=kn(t,e),y=pv(g),w=a[d?f==="floating"?"reference":"floating":f],m=ka(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:p,strategy:l})),h=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),C=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},S=ka(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:h,offsetParent:x,strategy:l}):h);return{top:(m.top-S.top+y.top)/C.y,bottom:(S.bottom-m.bottom+y.bottom)/C.y,left:(m.left-S.left+y.left)/C.x,right:(S.right-m.right+y.right)/C.x}}const nC=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:p=0}=kn(e,t)||{};if(c==null)return{};const f=pv(p),d={x:n,y:r},g=wd(o),y=xd(g),v=await s.getDimensions(c),w=g==="y",m=w?"top":"left",h=w?"bottom":"right",x=w?"clientHeight":"clientWidth",C=i.reference[y]+i.reference[g]-d[g]-i.floating[y],S=d[g]-i.reference[g],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let E=k?k[x]:0;(!E||!await(s.isElement==null?void 0:s.isElement(k)))&&(E=a.floating[x]||i.floating[y]);const N=C/2-S/2,A=E/2-v[y]/2-1,O=rr(f[m],A),M=rr(f[h],A),_=O,H=E-v[y]-M,I=E/2-v[y]/2+N,W=eu(_,I,H),B=!l.arrow&&Io(o)!=null&&I!==W&&i.reference[y]/2-(I<_?O:M)-v[y]/2<0,V=B?I<_?I-_:I-H:0;return{[g]:d[g]+V,data:{[g]:W,centerOffset:I-W-V,...B&&{alignmentOffset:V}},reset:B}}}),rC=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:p=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...w}=kn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const m=Tn(o),h=ir(a),x=Tn(a)===a,C=await(l.isRTL==null?void 0:l.isRTL(c.floating)),S=d||(x||!v?[Ea(a)]:Xb(a)),k=y!=="none";!d&&k&&S.push(...Jb(a,v,y,C));const E=[a,...S],N=await Fi(t,w),A=[];let O=((r=i.flip)==null?void 0:r.overflows)||[];if(p&&A.push(N[m]),f){const I=Yb(o,s,C);A.push(N[I[0]],N[I[1]])}if(O=[...O,{placement:o,overflows:A}],!A.every(I=>I<=0)){var M,_;const I=(((M=i.flip)==null?void 0:M.index)||0)+1,W=E[I];if(W)return{data:{index:I,overflows:O},reset:{placement:W}};let B=(_=O.filter(V=>V.overflows[0]<=0).sort((V,T)=>V.overflows[1]-T.overflows[1])[0])==null?void 0:_.placement;if(!B)switch(g){case"bestFit":{var H;const V=(H=O.filter(T=>{if(k){const D=ir(T.placement);return D===h||D==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(D=>D>0).reduce((D,z)=>D+z,0)]).sort((T,D)=>T[1]-D[1])[0])==null?void 0:H[0];V&&(B=V);break}case"initialPlacement":B=a;break}if(o!==B)return{reset:{placement:B}}}return{}}}};function fp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function pp(e){return qb.some(t=>e[t]>=0)}const oC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=kn(e,t);switch(r){case"referenceHidden":{const i=await Fi(t,{...o,elementContext:"reference"}),s=fp(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:pp(s)}}}case"escaped":{const i=await Fi(t,{...o,altBoundary:!0}),s=fp(i,n.floating);return{data:{escapedOffsets:s,escaped:pp(s)}}}default:return{}}}}};async function iC(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Tn(n),a=Io(n),l=ir(n)==="y",c=["left","top"].includes(s)?-1:1,p=i&&l?-1:1,f=kn(t,e);let{mainAxis:d,crossAxis:g,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof y=="number"&&(g=a==="end"?y*-1:y),l?{x:g*p,y:d*c}:{x:d*c,y:g*p}}const sC=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await iC(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},aC=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:w=>{let{x:m,y:h}=w;return{x:m,y:h}}},...l}=kn(e,t),c={x:n,y:r},p=await Fi(t,l),f=ir(Tn(o)),d=yd(f);let g=c[d],y=c[f];if(i){const w=d==="y"?"top":"left",m=d==="y"?"bottom":"right",h=g+p[w],x=g-p[m];g=eu(h,g,x)}if(s){const w=f==="y"?"top":"left",m=f==="y"?"bottom":"right",h=y+p[w],x=y-p[m];y=eu(h,y,x)}const v=a.fn({...t,[d]:g,[f]:y});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[d]:i,[f]:s}}}}}},lC=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=kn(e,t),p={x:n,y:r},f=ir(o),d=yd(f);let g=p[d],y=p[f];const v=kn(a,t),w=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const x=d==="y"?"height":"width",C=i.reference[d]-i.floating[x]+w.mainAxis,S=i.reference[d]+i.reference[x]-w.mainAxis;g<C?g=C:g>S&&(g=S)}if(c){var m,h;const x=d==="y"?"width":"height",C=["top","left"].includes(Tn(o)),S=i.reference[f]-i.floating[x]+(C&&((m=s.offset)==null?void 0:m[f])||0)+(C?0:w.crossAxis),k=i.reference[f]+i.reference[x]+(C?0:((h=s.offset)==null?void 0:h[f])||0)-(C?w.crossAxis:0);y<S?y=S:y>k&&(y=k)}return{[d]:g,[f]:y}}}},cC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...c}=kn(e,t),p=await Fi(t,c),f=Tn(o),d=Io(o),g=ir(o)==="y",{width:y,height:v}=i.floating;let w,m;f==="top"||f==="bottom"?(w=f,m=d===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(m=f,w=d==="end"?"top":"bottom");const h=v-p.top-p.bottom,x=y-p.left-p.right,C=rr(v-p[w],h),S=rr(y-p[m],x),k=!t.middlewareData.shift;let E=C,N=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=h),k&&!d){const O=mt(p.left,0),M=mt(p.right,0),_=mt(p.top,0),H=mt(p.bottom,0);g?N=y-2*(O!==0||M!==0?O+M:mt(p.left,p.right)):E=v-2*(_!==0||H!==0?_+H:mt(p.top,p.bottom))}await l({...t,availableWidth:N,availableHeight:E});const A=await s.getDimensions(a.floating);return y!==A.width||v!==A.height?{reset:{rects:!0}}:{}}}};function tl(){return typeof window<"u"}function Mo(e){return hv(e)?(e.nodeName||"").toLowerCase():"#document"}function yt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function cn(e){var t;return(t=(hv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function hv(e){return tl()?e instanceof Node||e instanceof yt(e).Node:!1}function qt(e){return tl()?e instanceof Element||e instanceof yt(e).Element:!1}function ln(e){return tl()?e instanceof HTMLElement||e instanceof yt(e).HTMLElement:!1}function hp(e){return!tl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof yt(e).ShadowRoot}function os(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 uC(e){return["table","td","th"].includes(Mo(e))}function nl(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function bd(e){const t=Cd(),n=qt(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 dC(e){let t=sr(e);for(;ln(t)&&!Po(t);){if(bd(t))return t;if(nl(t))return null;t=sr(t)}return null}function Cd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Po(e){return["html","body","#document"].includes(Mo(e))}function Qt(e){return yt(e).getComputedStyle(e)}function rl(e){return qt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function sr(e){if(Mo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||hp(e)&&e.host||cn(e);return hp(t)?t.host:t}function mv(e){const t=sr(e);return Po(t)?e.ownerDocument?e.ownerDocument.body:e.body:ln(t)&&os(t)?t:mv(t)}function zi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=mv(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=yt(o);if(i){const a=nu(s);return t.concat(s,s.visualViewport||[],os(o)?o:[],a&&n?zi(a):[])}return t.concat(o,zi(o,[],n))}function nu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function gv(e){const t=Qt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ln(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Sa(n)!==i||Sa(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function Sd(e){return qt(e)?e:e.contextElement}function ao(e){const t=Sd(e);if(!ln(t))return or(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=gv(t);let s=(i?Sa(n.width):n.width)/r,a=(i?Sa(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const fC=or(0);function vv(e){const t=yt(e);return!Cd()||!t.visualViewport?fC:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function pC(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==yt(e)?!1:t}function Rr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Sd(e);let s=or(1);t&&(r?qt(r)&&(s=ao(r)):s=ao(e));const a=pC(i,n,r)?vv(i):or(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,p=o.width/s.x,f=o.height/s.y;if(i){const d=yt(i),g=r&&qt(r)?yt(r):r;let y=d,v=nu(y);for(;v&&r&&g!==y;){const w=ao(v),m=v.getBoundingClientRect(),h=Qt(v),x=m.left+(v.clientLeft+parseFloat(h.paddingLeft))*w.x,C=m.top+(v.clientTop+parseFloat(h.paddingTop))*w.y;l*=w.x,c*=w.y,p*=w.x,f*=w.y,l+=x,c+=C,y=yt(v),v=nu(y)}}return ka({width:p,height:f,x:l,y:c})}function hC(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=cn(r),a=t?nl(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=or(1);const p=or(0),f=ln(r);if((f||!f&&!i)&&((Mo(r)!=="body"||os(s))&&(l=rl(r)),ln(r))){const d=Rr(r);c=ao(r),p.x=d.x+r.clientLeft,p.y=d.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+p.x,y:n.y*c.y-l.scrollTop*c.y+p.y}}function mC(e){return Array.from(e.getClientRects())}function ru(e,t){const n=rl(e).scrollLeft;return t?t.left+n:Rr(cn(e)).left+n}function gC(e){const t=cn(e),n=rl(e),r=e.ownerDocument.body,o=mt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=mt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+ru(e);const a=-n.scrollTop;return Qt(r).direction==="rtl"&&(s+=mt(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function vC(e,t){const n=yt(e),r=cn(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const c=Cd();(!c||c&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}function yC(e,t){const n=Rr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ln(e)?ao(e):or(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,c=r*i.y;return{width:s,height:a,x:l,y:c}}function mp(e,t,n){let r;if(t==="viewport")r=vC(e,n);else if(t==="document")r=gC(cn(e));else if(qt(t))r=yC(t,n);else{const o=vv(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return ka(r)}function yv(e,t){const n=sr(e);return n===t||!qt(n)||Po(n)?!1:Qt(n).position==="fixed"||yv(n,t)}function xC(e,t){const n=t.get(e);if(n)return n;let r=zi(e,[],!1).filter(a=>qt(a)&&Mo(a)!=="body"),o=null;const i=Qt(e).position==="fixed";let s=i?sr(e):e;for(;qt(s)&&!Po(s);){const a=Qt(s),l=bd(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||os(s)&&!l&&yv(e,s))?r=r.filter(p=>p!==s):o=a,s=sr(s)}return t.set(e,r),r}function wC(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?nl(t)?[]:xC(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((c,p)=>{const f=mp(t,p,o);return c.top=mt(f.top,c.top),c.right=rr(f.right,c.right),c.bottom=rr(f.bottom,c.bottom),c.left=mt(f.left,c.left),c},mp(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function bC(e){const{width:t,height:n}=gv(e);return{width:t,height:n}}function CC(e,t,n){const r=ln(t),o=cn(t),i=n==="fixed",s=Rr(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=or(0);if(r||!r&&!i)if((Mo(t)!=="body"||os(o))&&(a=rl(t)),r){const g=Rr(t,!0,i,t);l.x=g.x+t.clientLeft,l.y=g.y+t.clientTop}else o&&(l.x=ru(o));let c=0,p=0;if(o&&!r&&!i){const g=o.getBoundingClientRect();p=g.top+a.scrollTop,c=g.left+a.scrollLeft-ru(o,g)}const f=s.left+a.scrollLeft-l.x-c,d=s.top+a.scrollTop-l.y-p;return{x:f,y:d,width:s.width,height:s.height}}function Gl(e){return Qt(e).position==="static"}function gp(e,t){if(!ln(e)||Qt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return cn(e)===n&&(n=n.ownerDocument.body),n}function xv(e,t){const n=yt(e);if(nl(e))return n;if(!ln(e)){let o=sr(e);for(;o&&!Po(o);){if(qt(o)&&!Gl(o))return o;o=sr(o)}return n}let r=gp(e,t);for(;r&&uC(r)&&Gl(r);)r=gp(r,t);return r&&Po(r)&&Gl(r)&&!bd(r)?n:r||dC(e)||n}const SC=async function(e){const t=this.getOffsetParent||xv,n=this.getDimensions,r=await n(e.floating);return{reference:CC(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function EC(e){return Qt(e).direction==="rtl"}const kC={convertOffsetParentRelativeRectToViewportRelativeRect:hC,getDocumentElement:cn,getClippingRect:wC,getOffsetParent:xv,getElementRects:SC,getClientRects:mC,getDimensions:bC,getScale:ao,isElement:qt,isRTL:EC};function TC(e,t){let n=null,r;const o=cn(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const{left:c,top:p,width:f,height:d}=e.getBoundingClientRect();if(a||t(),!f||!d)return;const g=Ds(p),y=Ds(o.clientWidth-(c+f)),v=Ds(o.clientHeight-(p+d)),w=Ds(c),h={rootMargin:-g+"px "+-y+"px "+-v+"px "+-w+"px",threshold:mt(0,rr(1,l))||1};let x=!0;function C(S){const k=S[0].intersectionRatio;if(k!==l){if(!x)return s();k?s(!1,k):r=setTimeout(()=>{s(!1,1e-7)},1e3)}x=!1}try{n=new IntersectionObserver(C,{...h,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,h)}n.observe(e)}return s(!0),i}function NC(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=Sd(e),p=o||i?[...c?zi(c):[],...zi(t)]:[];p.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const f=c&&a?TC(c,n):null;let d=-1,g=null;s&&(g=new ResizeObserver(m=>{let[h]=m;h&&h.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var x;(x=g)==null||x.observe(t)})),n()}),c&&!l&&g.observe(c),g.observe(t));let y,v=l?Rr(e):null;l&&w();function w(){const m=Rr(e);v&&(m.x!==v.x||m.y!==v.y||m.width!==v.width||m.height!==v.height)&&n(),v=m,y=requestAnimationFrame(w)}return n(),()=>{var m;p.forEach(h=>{o&&h.removeEventListener("scroll",n),i&&h.removeEventListener("resize",n)}),f==null||f(),(m=g)==null||m.disconnect(),g=null,l&&cancelAnimationFrame(y)}}const PC=sC,jC=aC,AC=rC,OC=cC,RC=oC,vp=nC,DC=lC,IC=(e,t,n)=>{const r=new Map,o={platform:kC,...n},i={...o.platform,_c:r};return tC(e,t,{...o,platform:i})};var Ys=typeof document<"u"?b.useLayoutEffect:b.useEffect;function Ta(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(!Ta(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Ta(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function wv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function yp(e,t){const n=wv(e);return Math.round(t*n)/n}function ql(e){const t=b.useRef(e);return Ys(()=>{t.current=e}),t}function MC(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[p,f]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,g]=b.useState(r);Ta(d,r)||g(r);const[y,v]=b.useState(null),[w,m]=b.useState(null),h=b.useCallback(T=>{T!==k.current&&(k.current=T,v(T))},[]),x=b.useCallback(T=>{T!==E.current&&(E.current=T,m(T))},[]),C=i||y,S=s||w,k=b.useRef(null),E=b.useRef(null),N=b.useRef(p),A=l!=null,O=ql(l),M=ql(o),_=ql(c),H=b.useCallback(()=>{if(!k.current||!E.current)return;const T={placement:t,strategy:n,middleware:d};M.current&&(T.platform=M.current),IC(k.current,E.current,T).then(D=>{const z={...D,isPositioned:_.current!==!1};I.current&&!Ta(N.current,z)&&(N.current=z,rs.flushSync(()=>{f(z)}))})},[d,t,n,M,_]);Ys(()=>{c===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,f(T=>({...T,isPositioned:!1})))},[c]);const I=b.useRef(!1);Ys(()=>(I.current=!0,()=>{I.current=!1}),[]),Ys(()=>{if(C&&(k.current=C),S&&(E.current=S),C&&S){if(O.current)return O.current(C,S,H);H()}},[C,S,H,O,A]);const W=b.useMemo(()=>({reference:k,floating:E,setReference:h,setFloating:x}),[h,x]),B=b.useMemo(()=>({reference:C,floating:S}),[C,S]),V=b.useMemo(()=>{const T={position:n,left:0,top:0};if(!B.floating)return T;const D=yp(B.floating,p.x),z=yp(B.floating,p.y);return a?{...T,transform:"translate("+D+"px, "+z+"px)",...wv(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:D,top:z}},[n,a,B.floating,p.x,p.y]);return b.useMemo(()=>({...p,update:H,refs:W,elements:B,floatingStyles:V}),[p,H,W,B,V])}const LC=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?vp({element:r.current,padding:o}).fn(n):{}:r?vp({element:r,padding:o}).fn(n):{}}}},_C=(e,t)=>({...PC(e),options:[e,t]}),FC=(e,t)=>({...jC(e),options:[e,t]}),zC=(e,t)=>({...DC(e),options:[e,t]}),$C=(e,t)=>({...AC(e),options:[e,t]}),UC=(e,t)=>({...OC(e),options:[e,t]}),BC=(e,t)=>({...RC(e),options:[e,t]}),HC=(e,t)=>({...LC(e),options:[e,t]});var WC="Arrow",bv=b.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return u.jsx(Le.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:u.jsx("polygon",{points:"0,0 30,0 15,10"})})});bv.displayName=WC;var VC=bv;function GC(e,t=[]){let n=[];function r(i,s){const a=b.createContext(s),l=n.length;n=[...n,s];function c(f){const{scope:d,children:g,...y}=f,v=(d==null?void 0:d[e][l])||a,w=b.useMemo(()=>y,Object.values(y));return u.jsx(v.Provider,{value:w,children:g})}function p(f,d){const g=(d==null?void 0:d[e][l])||a,y=b.useContext(g);if(y)return y;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return c.displayName=i+"Provider",[c,p]}const o=()=>{const i=n.map(s=>b.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return b.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,qC(o,...t)]}function qC(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:c})=>{const f=l(i)[`__scope${c}`];return{...a,...f}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function QC(e){const[t,n]=b.useState(void 0);return En(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,a;if("borderBoxSize"in i){const l=i.borderBoxSize,c=Array.isArray(l)?l[0]:l;s=c.inlineSize,a=c.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Cv="Popper",[Sv,Ev]=GC(Cv),[YN,kv]=Sv(Cv),Tv="PopperAnchor",Nv=b.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=kv(Tv,n),s=b.useRef(null),a=wt(t,s);return b.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:u.jsx(Le.div,{...o,ref:a})});Nv.displayName=Tv;var Ed="PopperContent",[KC,YC]=Sv(Ed),Pv=b.forwardRef((e,t)=>{var de,me,_e,Te,se,$;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:p=0,sticky:f="partial",hideWhenDetached:d=!1,updatePositionStrategy:g="optimized",onPlaced:y,...v}=e,w=kv(Ed,n),[m,h]=b.useState(null),x=wt(t,J=>h(J)),[C,S]=b.useState(null),k=QC(C),E=(k==null?void 0:k.width)??0,N=(k==null?void 0:k.height)??0,A=r+(i!=="center"?"-"+i:""),O=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},M=Array.isArray(c)?c:[c],_=M.length>0,H={padding:O,boundary:M.filter(ZC),altBoundary:_},{refs:I,floatingStyles:W,placement:B,isPositioned:V,middlewareData:T}=MC({strategy:"fixed",placement:A,whileElementsMounted:(...J)=>NC(...J,{animationFrame:g==="always"}),elements:{reference:w.anchor},middleware:[_C({mainAxis:o+N,alignmentAxis:s}),l&&FC({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?zC():void 0,...H}),l&&$C({...H}),UC({...H,apply:({elements:J,rects:le,availableWidth:je,availableHeight:De})=>{const{width:ct,height:St}=le.reference,ce=J.floating.style;ce.setProperty("--radix-popper-available-width",`${je}px`),ce.setProperty("--radix-popper-available-height",`${De}px`),ce.setProperty("--radix-popper-anchor-width",`${ct}px`),ce.setProperty("--radix-popper-anchor-height",`${St}px`)}}),C&&HC({element:C,padding:a}),JC({arrowWidth:E,arrowHeight:N}),d&&BC({strategy:"referenceHidden",...H})]}),[D,z]=Ov(B),L=an(y);En(()=>{V&&(L==null||L())},[V,L]);const U=(de=T.arrow)==null?void 0:de.x,Q=(me=T.arrow)==null?void 0:me.y,te=((_e=T.arrow)==null?void 0:_e.centerOffset)!==0,[Re,Z]=b.useState();return En(()=>{m&&Z(window.getComputedStyle(m).zIndex)},[m]),u.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:V?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Re,"--radix-popper-transform-origin":[(Te=T.transformOrigin)==null?void 0:Te.x,(se=T.transformOrigin)==null?void 0:se.y].join(" "),...(($=T.hide)==null?void 0:$.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsx(KC,{scope:n,placedSide:D,onArrowChange:S,arrowX:U,arrowY:Q,shouldHideArrow:te,children:u.jsx(Le.div,{"data-side":D,"data-align":z,...v,ref:x,style:{...v.style,animation:V?void 0:"none"}})})})});Pv.displayName=Ed;var jv="PopperArrow",XC={top:"bottom",right:"left",bottom:"top",left:"right"},Av=b.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=YC(jv,r),s=XC[i.placedSide];return u.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:u.jsx(VC,{...o,ref:n,style:{...o.style,display:"block"}})})});Av.displayName=jv;function ZC(e){return e!==null}var JC=e=>({name:"transformOrigin",options:e,fn(t){var w,m,h;const{placement:n,rects:r,middlewareData:o}=t,s=((w=o.arrow)==null?void 0:w.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[c,p]=Ov(n),f={start:"0%",center:"50%",end:"100%"}[p],d=(((m=o.arrow)==null?void 0:m.x)??0)+a/2,g=(((h=o.arrow)==null?void 0:h.y)??0)+l/2;let y="",v="";return c==="bottom"?(y=s?f:`${d}px`,v=`${-l}px`):c==="top"?(y=s?f:`${d}px`,v=`${r.floating.height+l}px`):c==="right"?(y=`${-l}px`,v=s?f:`${g}px`):c==="left"&&(y=`${r.floating.width+l}px`,v=s?f:`${g}px`),{data:{x:y,y:v}}}});function Ov(e){const[t,n="center"]=e.split("-");return[t,n]}var eS=Nv,tS=Pv,nS=Av,[ol,XN]=Ka("Tooltip",[Ev]),kd=Ev(),Rv="TooltipProvider",rS=700,xp="tooltip.open",[oS,Dv]=ol(Rv),Iv=e=>{const{__scopeTooltip:t,delayDuration:n=rS,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[s,a]=b.useState(!0),l=b.useRef(!1),c=b.useRef(0);return b.useEffect(()=>{const p=c.current;return()=>window.clearTimeout(p)},[]),u.jsx(oS,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:b.useCallback(()=>{window.clearTimeout(c.current),a(!1)},[]),onClose:b.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>a(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:b.useCallback(p=>{l.current=p},[]),disableHoverableContent:o,children:i})};Iv.displayName=Rv;var Mv="Tooltip",[ZN,il]=ol(Mv),ou="TooltipTrigger",iS=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=il(ou,n),i=Dv(ou,n),s=kd(n),a=b.useRef(null),l=wt(t,a,o.onTriggerChange),c=b.useRef(!1),p=b.useRef(!1),f=b.useCallback(()=>c.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),u.jsx(eS,{asChild:!0,...s,children:u.jsx(Le.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:Pe(e.onPointerMove,d=>{d.pointerType!=="touch"&&!p.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),p.current=!0)}),onPointerLeave:Pe(e.onPointerLeave,()=>{o.onTriggerLeave(),p.current=!1}),onPointerDown:Pe(e.onPointerDown,()=>{c.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Pe(e.onFocus,()=>{c.current||o.onOpen()}),onBlur:Pe(e.onBlur,o.onClose),onClick:Pe(e.onClick,o.onClose)})})});iS.displayName=ou;var sS="TooltipPortal",[JN,aS]=ol(sS,{forceMount:void 0}),jo="TooltipContent",Lv=b.forwardRef((e,t)=>{const n=aS(jo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=il(jo,e.__scopeTooltip);return u.jsx(Ya,{present:r||s.open,children:s.disableHoverableContent?u.jsx(_v,{side:o,...i,ref:t}):u.jsx(lS,{side:o,...i,ref:t})})}),lS=b.forwardRef((e,t)=>{const n=il(jo,e.__scopeTooltip),r=Dv(jo,e.__scopeTooltip),o=b.useRef(null),i=wt(t,o),[s,a]=b.useState(null),{trigger:l,onClose:c}=n,p=o.current,{onPointerInTransitChange:f}=r,d=b.useCallback(()=>{a(null),f(!1)},[f]),g=b.useCallback((y,v)=>{const w=y.currentTarget,m={x:y.clientX,y:y.clientY},h=fS(m,w.getBoundingClientRect()),x=pS(m,h),C=hS(v.getBoundingClientRect()),S=gS([...x,...C]);a(S),f(!0)},[f]);return b.useEffect(()=>()=>d(),[d]),b.useEffect(()=>{if(l&&p){const y=w=>g(w,p),v=w=>g(w,l);return l.addEventListener("pointerleave",y),p.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",y),p.removeEventListener("pointerleave",v)}}},[l,p,g,d]),b.useEffect(()=>{if(s){const y=v=>{const w=v.target,m={x:v.clientX,y:v.clientY},h=(l==null?void 0:l.contains(w))||(p==null?void 0:p.contains(w)),x=!mS(m,s);h?d():x&&(d(),c())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[l,p,s,c,d]),u.jsx(_v,{...e,ref:i})}),[cS,uS]=ol(Mv,{isInside:!1}),_v=b.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,l=il(jo,n),c=kd(n),{onClose:p}=l;return b.useEffect(()=>(document.addEventListener(xp,p),()=>document.removeEventListener(xp,p)),[p]),b.useEffect(()=>{if(l.trigger){const f=d=>{const g=d.target;g!=null&&g.contains(l.trigger)&&p()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,p]),u.jsx(pd,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:f=>f.preventDefault(),onDismiss:p,children:u.jsxs(tS,{"data-state":l.stateAttribute,...c,...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:[u.jsx(Sg,{children:r}),u.jsx(cS,{scope:n,isInside:!0,children:u.jsx(o1,{id:l.contentId,role:"tooltip",children:o||r})})]})})});Lv.displayName=jo;var Fv="TooltipArrow",dS=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=kd(n);return uS(Fv,n).isInside?null:u.jsx(nS,{...o,...r,ref:t})});dS.displayName=Fv;function fS(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function pS(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 hS(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 mS(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i].x,l=t[i].y,c=t[s].x,p=t[s].y;l>r!=p>r&&n<(c-a)*(r-l)/(p-l)+a&&(o=!o)}return o}function gS(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),vS(t)}function vS(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var yS=Iv,zv=Lv;const xS=yS,wS=b.forwardRef(({className:e,sideOffset:t=4,...n},r)=>u.jsx(zv,{ref:r,sideOffset:t,className:Se("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}));wS.displayName=zv.displayName;var sl=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(){}},al=typeof window>"u"||"Deno"in globalThis;function _t(){}function bS(e,t){return typeof e=="function"?e(t):e}function CS(e){return typeof e=="number"&&e>=0&&e!==1/0}function SS(e,t){return Math.max(e+(t||0)-Date.now(),0)}function wp(e,t){return typeof e=="function"?e(t):e}function ES(e,t){return typeof e=="function"?e(t):e}function bp(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Td(s,t.options))return!1}else if(!Ui(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||i&&!i(t))}function Cp(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if($i(t.options.mutationKey)!==$i(i))return!1}else if(!Ui(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Td(e,t){return((t==null?void 0:t.queryKeyHashFn)||$i)(e)}function $i(e){return JSON.stringify(e,(t,n)=>iu(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Ui(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Ui(e[n],t[n])):!1}function $v(e,t){if(e===t)return e;const n=Sp(e)&&Sp(t);if(n||iu(e)&&iu(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,a=n?[]:{};let l=0;for(let c=0;c<s;c++){const p=n?c:i[c];(!n&&r.includes(p)||n)&&e[p]===void 0&&t[p]===void 0?(a[p]=void 0,l++):(a[p]=$v(e[p],t[p]),a[p]===e[p]&&e[p]!==void 0&&l++)}return o===s&&l===o?e:a}return t}function Sp(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function iu(e){if(!Ep(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Ep(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ep(e){return Object.prototype.toString.call(e)==="[object Object]"}function kS(e){return new Promise(t=>{setTimeout(t,e)})}function TS(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?$v(e,t):t}function NS(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function PS(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Nd=Symbol();function Uv(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Nd?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var xr,Fn,fo,Jp,jS=(Jp=class extends sl{constructor(){super();re(this,xr);re(this,Fn);re(this,fo);Y(this,fo,t=>{if(!al&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){P(this,Fn)||this.setEventListener(P(this,fo))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,Fn))==null||t.call(this),Y(this,Fn,void 0))}setEventListener(t){var n;Y(this,fo,t),(n=P(this,Fn))==null||n.call(this),Y(this,Fn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){P(this,xr)!==t&&(Y(this,xr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof P(this,xr)=="boolean"?P(this,xr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},xr=new WeakMap,Fn=new WeakMap,fo=new WeakMap,Jp),Bv=new jS,po,zn,ho,eh,AS=(eh=class extends sl{constructor(){super();re(this,po,!0);re(this,zn);re(this,ho);Y(this,ho,t=>{if(!al&&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(){P(this,zn)||this.setEventListener(P(this,ho))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,zn))==null||t.call(this),Y(this,zn,void 0))}setEventListener(t){var n;Y(this,ho,t),(n=P(this,zn))==null||n.call(this),Y(this,zn,t(this.setOnline.bind(this)))}setOnline(t){P(this,po)!==t&&(Y(this,po,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return P(this,po)}},po=new WeakMap,zn=new WeakMap,ho=new WeakMap,eh),Na=new AS;function OS(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function RS(e){return Math.min(1e3*2**e,3e4)}function Hv(e){return(e??"online")==="online"?Na.isOnline():!0}var Wv=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ql(e){return e instanceof Wv}function Vv(e){let t=!1,n=0,r=!1,o;const i=OS(),s=v=>{var w;r||(d(new Wv(v)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},l=()=>{t=!1},c=()=>Bv.isFocused()&&(e.networkMode==="always"||Na.isOnline())&&e.canRun(),p=()=>Hv(e.networkMode)&&e.canRun(),f=v=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,v),o==null||o(),i.resolve(v))},d=v=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,v),o==null||o(),i.reject(v))},g=()=>new Promise(v=>{var w;o=m=>{(r||c())&&v(m)},(w=e.onPause)==null||w.call(e)}).then(()=>{var v;o=void 0,r||(v=e.onContinue)==null||v.call(e)}),y=()=>{if(r)return;let v;const w=n===0?e.initialPromise:void 0;try{v=w??e.fn()}catch(m){v=Promise.reject(m)}Promise.resolve(v).then(f).catch(m=>{var k;if(r)return;const h=e.retry??(al?0:3),x=e.retryDelay??RS,C=typeof x=="function"?x(n,m):x,S=h===!0||typeof h=="number"&&n<h||typeof h=="function"&&h(n,m);if(t||!S){d(m);return}n++,(k=e.onFail)==null||k.call(e,n,m),kS(C).then(()=>c()?void 0:g()).then(()=>{t?d(m):y()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:a,continueRetry:l,canStart:p,start:()=>(p()?y():g().then(y),i)}}function DS(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=a=>setTimeout(a,0);const i=a=>{t?e.push(a):o(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var Xe=DS(),wr,th,Gv=(th=class{constructor(){re(this,wr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),CS(this.gcTime)&&Y(this,wr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(al?1/0:5*60*1e3))}clearGcTimeout(){P(this,wr)&&(clearTimeout(P(this,wr)),Y(this,wr,void 0))}},wr=new WeakMap,th),mo,go,Nt,Ge,Yi,br,Ft,hn,nh,IS=(nh=class extends Gv{constructor(t){super();re(this,Ft);re(this,mo);re(this,go);re(this,Nt);re(this,Ge);re(this,Yi);re(this,br);Y(this,br,!1),Y(this,Yi,t.defaultOptions),this.setOptions(t.options),this.observers=[],Y(this,Nt,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Y(this,mo,LS(this.options)),this.state=t.state??P(this,mo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=P(this,Ge))==null?void 0:t.promise}setOptions(t){this.options={...P(this,Yi),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&P(this,Nt).remove(this)}setData(t,n){const r=TS(this.state.data,t,this.options);return He(this,Ft,hn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){He(this,Ft,hn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=P(this,Ge))==null?void 0:r.promise;return(o=P(this,Ge))==null||o.cancel(t),n?n.then(_t).catch(_t):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(P(this,mo))}isActive(){return this.observers.some(t=>ES(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Nd||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||!SS(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=P(this,Ge))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=P(this,Ge))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),P(this,Nt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(P(this,Ge)&&(P(this,br)?P(this,Ge).cancel({revert:!0}):P(this,Ge).cancelRetry()),this.scheduleGc()),P(this,Nt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||He(this,Ft,hn).call(this,{type:"invalidate"})}fetch(t,n){var l,c,p;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(P(this,Ge))return P(this,Ge).continueRetry(),P(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:()=>(Y(this,br,!0),r.signal)})},i=()=>{const f=Uv(this.options,n),d={queryKey:this.queryKey,meta:this.meta};return o(d),Y(this,br,!1),this.options.persister?this.options.persister(f,d,this):f(d)},s={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:i};o(s),(l=this.options.behavior)==null||l.onFetch(s,this),Y(this,go,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=s.fetchOptions)==null?void 0:c.meta))&&He(this,Ft,hn).call(this,{type:"fetch",meta:(p=s.fetchOptions)==null?void 0:p.meta});const a=f=>{var d,g,y,v;Ql(f)&&f.silent||He(this,Ft,hn).call(this,{type:"error",error:f}),Ql(f)||((g=(d=P(this,Nt).config).onError)==null||g.call(d,f,this),(v=(y=P(this,Nt).config).onSettled)==null||v.call(y,this.state.data,f,this)),this.scheduleGc()};return Y(this,Ge,Vv({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var d,g,y,v;if(f===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(w){a(w);return}(g=(d=P(this,Nt).config).onSuccess)==null||g.call(d,f,this),(v=(y=P(this,Nt).config).onSettled)==null||v.call(y,f,this.state.error,this),this.scheduleGc()},onError:a,onFail:(f,d)=>{He(this,Ft,hn).call(this,{type:"failed",failureCount:f,error:d})},onPause:()=>{He(this,Ft,hn).call(this,{type:"pause"})},onContinue:()=>{He(this,Ft,hn).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),P(this,Ge).start()}},mo=new WeakMap,go=new WeakMap,Nt=new WeakMap,Ge=new WeakMap,Yi=new WeakMap,br=new WeakMap,Ft=new WeakSet,hn=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,...MS(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 Ql(o)&&o.revert&&P(this,go)?{...P(this,go),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),Xe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),P(this,Nt).notify({query:this,type:"updated",action:t})})},nh);function MS(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Hv(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function LS(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 en,rh,_S=(rh=class extends sl{constructor(t={}){super();re(this,en);this.config=t,Y(this,en,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??Td(o,n);let s=this.get(i);return s||(s=new IS({cache:this,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){P(this,en).has(t.queryHash)||(P(this,en).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=P(this,en).get(t.queryHash);n&&(t.destroy(),n===t&&P(this,en).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Xe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return P(this,en).get(t)}getAll(){return[...P(this,en).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>bp(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>bp(t,r)):n}notify(t){Xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Xe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Xe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},en=new WeakMap,rh),tn,Ke,Cr,nn,Dn,oh,FS=(oh=class extends Gv{constructor(t){super();re(this,nn);re(this,tn);re(this,Ke);re(this,Cr);this.mutationId=t.mutationId,Y(this,Ke,t.mutationCache),Y(this,tn,[]),this.state=t.state||zS(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){P(this,tn).includes(t)||(P(this,tn).push(t),this.clearGcTimeout(),P(this,Ke).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Y(this,tn,P(this,tn).filter(n=>n!==t)),this.scheduleGc(),P(this,Ke).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){P(this,tn).length||(this.state.status==="pending"?this.scheduleGc():P(this,Ke).remove(this))}continue(){var t;return((t=P(this,Cr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,i,s,a,l,c,p,f,d,g,y,v,w,m,h,x,C,S,k,E;Y(this,Cr,Vv({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(N,A)=>{He(this,nn,Dn).call(this,{type:"failed",failureCount:N,error:A})},onPause:()=>{He(this,nn,Dn).call(this,{type:"pause"})},onContinue:()=>{He(this,nn,Dn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>P(this,Ke).canRun(this)}));const n=this.state.status==="pending",r=!P(this,Cr).canStart();try{if(!n){He(this,nn,Dn).call(this,{type:"pending",variables:t,isPaused:r}),await((i=(o=P(this,Ke).config).onMutate)==null?void 0:i.call(o,t,this));const A=await((a=(s=this.options).onMutate)==null?void 0:a.call(s,t));A!==this.state.context&&He(this,nn,Dn).call(this,{type:"pending",context:A,variables:t,isPaused:r})}const N=await P(this,Cr).start();return await((c=(l=P(this,Ke).config).onSuccess)==null?void 0:c.call(l,N,t,this.state.context,this)),await((f=(p=this.options).onSuccess)==null?void 0:f.call(p,N,t,this.state.context)),await((g=(d=P(this,Ke).config).onSettled)==null?void 0:g.call(d,N,null,this.state.variables,this.state.context,this)),await((v=(y=this.options).onSettled)==null?void 0:v.call(y,N,null,t,this.state.context)),He(this,nn,Dn).call(this,{type:"success",data:N}),N}catch(N){try{throw await((m=(w=P(this,Ke).config).onError)==null?void 0:m.call(w,N,t,this.state.context,this)),await((x=(h=this.options).onError)==null?void 0:x.call(h,N,t,this.state.context)),await((S=(C=P(this,Ke).config).onSettled)==null?void 0:S.call(C,void 0,N,this.state.variables,this.state.context,this)),await((E=(k=this.options).onSettled)==null?void 0:E.call(k,void 0,N,t,this.state.context)),N}finally{He(this,nn,Dn).call(this,{type:"error",error:N})}}finally{P(this,Ke).runNext(this)}}},tn=new WeakMap,Ke=new WeakMap,Cr=new WeakMap,nn=new WeakSet,Dn=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),Xe.batch(()=>{P(this,tn).forEach(r=>{r.onMutationUpdate(t)}),P(this,Ke).notify({mutation:this,type:"updated",action:t})})},oh);function zS(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ft,Xi,ih,$S=(ih=class extends sl{constructor(t={}){super();re(this,ft);re(this,Xi);this.config=t,Y(this,ft,new Map),Y(this,Xi,Date.now())}build(t,n,r){const o=new FS({mutationCache:this,mutationId:++fs(this,Xi)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){const n=Is(t),r=P(this,ft).get(n)??[];r.push(t),P(this,ft).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Is(t);if(P(this,ft).has(n)){const o=(r=P(this,ft).get(n))==null?void 0:r.filter(i=>i!==t);o&&(o.length===0?P(this,ft).delete(n):P(this,ft).set(n,o))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=P(this,ft).get(Is(t)))==null?void 0:r.find(o=>o.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=P(this,ft).get(Is(t)))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Xe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...P(this,ft).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Cp(n,r))}findAll(t={}){return this.getAll().filter(n=>Cp(t,n))}notify(t){Xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Xe.batch(()=>Promise.all(t.map(n=>n.continue().catch(_t))))}},ft=new WeakMap,Xi=new WeakMap,ih);function Is(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function kp(e){return{onFetch:(t,n)=>{var p,f,d,g,y;const r=t.options,o=(d=(f=(p=t.fetchOptions)==null?void 0:p.meta)==null?void 0:f.fetchMore)==null?void 0:d.direction,i=((g=t.state.data)==null?void 0:g.pages)||[],s=((y=t.state.data)==null?void 0:y.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let v=!1;const w=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},m=Uv(t.options,t.fetchOptions),h=async(x,C,S)=>{if(v)return Promise.reject();if(C==null&&x.pages.length)return Promise.resolve(x);const k={queryKey:t.queryKey,pageParam:C,direction:S?"backward":"forward",meta:t.options.meta};w(k);const E=await m(k),{maxPages:N}=t.options,A=S?PS:NS;return{pages:A(x.pages,E,N),pageParams:A(x.pageParams,C,N)}};if(o&&i.length){const x=o==="backward",C=x?US:Tp,S={pages:i,pageParams:s},k=C(r,S);a=await h(S,k,x)}else{const x=e??i.length;do{const C=l===0?s[0]??r.initialPageParam:Tp(r,a);if(l>0&&C==null)break;a=await h(a,C),l++}while(l<x)}return a};t.options.persister?t.fetchFn=()=>{var v,w;return(w=(v=t.options).persister)==null?void 0:w.call(v,c,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function Tp(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 US(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 Ee,$n,Un,vo,yo,Bn,xo,wo,sh,BS=(sh=class{constructor(e={}){re(this,Ee);re(this,$n);re(this,Un);re(this,vo);re(this,yo);re(this,Bn);re(this,xo);re(this,wo);Y(this,Ee,e.queryCache||new _S),Y(this,$n,e.mutationCache||new $S),Y(this,Un,e.defaultOptions||{}),Y(this,vo,new Map),Y(this,yo,new Map),Y(this,Bn,0)}mount(){fs(this,Bn)._++,P(this,Bn)===1&&(Y(this,xo,Bv.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,Ee).onFocus())})),Y(this,wo,Na.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,Ee).onOnline())})))}unmount(){var e,t;fs(this,Bn)._--,P(this,Bn)===0&&((e=P(this,xo))==null||e.call(this),Y(this,xo,void 0),(t=P(this,wo))==null||t.call(this),Y(this,wo,void 0))}isFetching(e){return P(this,Ee).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return P(this,$n).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=P(this,Ee).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=P(this,Ee).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(wp(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return P(this,Ee).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=P(this,Ee).get(r.queryHash),i=o==null?void 0:o.state.data,s=bS(t,i);if(s!==void 0)return P(this,Ee).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return Xe.batch(()=>P(this,Ee).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=P(this,Ee).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=P(this,Ee);Xe.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=P(this,Ee),r={type:"active",...e};return Xe.batch(()=>(n.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Xe.batch(()=>P(this,Ee).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(_t).catch(_t)}invalidateQueries(e={},t={}){return Xe.batch(()=>{if(P(this,Ee).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=Xe.batch(()=>P(this,Ee).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(_t)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(_t)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=P(this,Ee).build(this,t);return n.isStaleByTime(wp(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(_t).catch(_t)}fetchInfiniteQuery(e){return e.behavior=kp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(_t).catch(_t)}ensureInfiniteQueryData(e){return e.behavior=kp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Na.isOnline()?P(this,$n).resumePausedMutations():Promise.resolve()}getQueryCache(){return P(this,Ee)}getMutationCache(){return P(this,$n)}getDefaultOptions(){return P(this,Un)}setDefaultOptions(e){Y(this,Un,e)}setQueryDefaults(e,t){P(this,vo).set($i(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...P(this,vo).values()];let n={};return t.forEach(r=>{Ui(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){P(this,yo).set($i(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...P(this,yo).values()];let n={};return t.forEach(r=>{Ui(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...P(this,Un).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Td(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===Nd&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...P(this,Un).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){P(this,Ee).clear(),P(this,$n).clear()}},Ee=new WeakMap,$n=new WeakMap,Un=new WeakMap,vo=new WeakMap,yo=new WeakMap,Bn=new WeakMap,xo=new WeakMap,wo=new WeakMap,sh),HS=b.createContext(void 0),WS=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),u.jsx(HS.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 Bi(){return Bi=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},Bi.apply(this,arguments)}var Vn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Vn||(Vn={}));const Np="popstate";function VS(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return su("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Pa(o)}return qS(t,n,null,e)}function Oe(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function qv(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function GS(){return Math.random().toString(36).substr(2,8)}function Pp(e,t){return{usr:e.state,key:e.key,idx:t}}function su(e,t,n,r){return n===void 0&&(n=null),Bi({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Lo(t):t,{state:n,key:t&&t.key||r||GS()})}function Pa(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 Lo(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 qS(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=Vn.Pop,l=null,c=p();c==null&&(c=0,s.replaceState(Bi({},s.state,{idx:c}),""));function p(){return(s.state||{idx:null}).idx}function f(){a=Vn.Pop;let w=p(),m=w==null?null:w-c;c=w,l&&l({action:a,location:v.location,delta:m})}function d(w,m){a=Vn.Push;let h=su(v.location,w,m);c=p()+1;let x=Pp(h,c),C=v.createHref(h);try{s.pushState(x,"",C)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;o.location.assign(C)}i&&l&&l({action:a,location:v.location,delta:1})}function g(w,m){a=Vn.Replace;let h=su(v.location,w,m);c=p();let x=Pp(h,c),C=v.createHref(h);s.replaceState(x,"",C),i&&l&&l({action:a,location:v.location,delta:0})}function y(w){let m=o.location.origin!=="null"?o.location.origin:o.location.href,h=typeof w=="string"?w:Pa(w);return h=h.replace(/ $/,"%20"),Oe(m,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,m)}let v={get action(){return a},get location(){return e(o,s)},listen(w){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Np,f),l=w,()=>{o.removeEventListener(Np,f),l=null}},createHref(w){return t(o,w)},createURL:y,encodeLocation(w){let m=y(w);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:d,replace:g,go(w){return s.go(w)}};return v}var jp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(jp||(jp={}));function QS(e,t,n){return n===void 0&&(n="/"),KS(e,t,n,!1)}function KS(e,t,n,r){let o=typeof t=="string"?Lo(t):t,i=Pd(o.pathname||"/",n);if(i==null)return null;let s=Qv(e);YS(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let c=aE(i);a=iE(s[l],c,r)}return a}function Qv(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(Oe(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=er([r,l.relativePath]),p=n.concat(l);i.children&&i.children.length>0&&(Oe(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Qv(i.children,t,p,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:rE(c,i.index),routesMeta:p})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of Kv(i.path))o(i,s,l)}),t}function Kv(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=Kv(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function YS(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:oE(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const XS=/^:[\w-]+$/,ZS=3,JS=2,eE=1,tE=10,nE=-2,Ap=e=>e==="*";function rE(e,t){let n=e.split("/"),r=n.length;return n.some(Ap)&&(r+=nE),t&&(r+=JS),n.filter(o=>!Ap(o)).reduce((o,i)=>o+(XS.test(i)?ZS:i===""?eE:tE),r)}function oE(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 iE(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],c=a===r.length-1,p=i==="/"?t:t.slice(i.length)||"/",f=Op({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},p),d=l.route;if(!f&&c&&n&&!r[r.length-1].route.index&&(f=Op({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},p)),!f)return null;Object.assign(o,f.params),s.push({params:o,pathname:er([i,f.pathname]),pathnameBase:dE(er([i,f.pathnameBase])),route:d}),f.pathnameBase!=="/"&&(i=er([i,f.pathnameBase]))}return s}function Op(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=sE(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((c,p,f)=>{let{paramName:d,isOptional:g}=p;if(d==="*"){let v=a[f]||"";s=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const y=a[f];return g&&!y?c[d]=void 0:c[d]=(y||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:s,pattern:e}}function sE(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),qv(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function aE(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return qv(!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 Pd(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 lE(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Lo(e):e;return{pathname:n?n.startsWith("/")?n:cE(n,t):t,search:fE(r),hash:pE(o)}}function cE(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 uE(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Yv(e,t){let n=uE(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Xv(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Lo(e):(o=Bi({},e),Oe(!o.pathname||!o.pathname.includes("?"),Kl("?","pathname","search",o)),Oe(!o.pathname||!o.pathname.includes("#"),Kl("#","pathname","hash",o)),Oe(!o.search||!o.search.includes("#"),Kl("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let f=t.length-1;if(!r&&s.startsWith("..")){let d=s.split("/");for(;d[0]==="..";)d.shift(),f-=1;o.pathname=d.join("/")}a=f>=0?t[f]:"/"}let l=lE(o,a),c=s&&s!=="/"&&s.endsWith("/"),p=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||p)&&(l.pathname+="/"),l}const er=e=>e.join("/").replace(/\/\/+/g,"/"),dE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),fE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,pE=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function hE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Zv=["post","put","patch","delete"];new Set(Zv);const mE=["get",...Zv];new Set(mE);/**
 * 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 Hi(){return Hi=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},Hi.apply(this,arguments)}const jd=b.createContext(null),gE=b.createContext(null),Lr=b.createContext(null),ll=b.createContext(null),dr=b.createContext({outlet:null,matches:[],isDataRoute:!1}),Jv=b.createContext(null);function vE(e,t){let{relative:n}=t===void 0?{}:t;is()||Oe(!1);let{basename:r,navigator:o}=b.useContext(Lr),{hash:i,pathname:s,search:a}=ty(e,{relative:n}),l=s;return r!=="/"&&(l=s==="/"?r:er([r,s])),o.createHref({pathname:l,search:a,hash:i})}function is(){return b.useContext(ll)!=null}function ss(){return is()||Oe(!1),b.useContext(ll).location}function ey(e){b.useContext(Lr).static||b.useLayoutEffect(e)}function yE(){let{isDataRoute:e}=b.useContext(dr);return e?OE():xE()}function xE(){is()||Oe(!1);let e=b.useContext(jd),{basename:t,future:n,navigator:r}=b.useContext(Lr),{matches:o}=b.useContext(dr),{pathname:i}=ss(),s=JSON.stringify(Yv(o,n.v7_relativeSplatPath)),a=b.useRef(!1);return ey(()=>{a.current=!0}),b.useCallback(function(c,p){if(p===void 0&&(p={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let f=Xv(c,JSON.parse(s),i,p.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:er([t,f.pathname])),(p.replace?r.replace:r.push)(f,p.state,p)},[t,r,s,i,e])}function cl(){let{matches:e}=b.useContext(dr),t=e[e.length-1];return t?t.params:{}}function ty(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(Lr),{matches:o}=b.useContext(dr),{pathname:i}=ss(),s=JSON.stringify(Yv(o,r.v7_relativeSplatPath));return b.useMemo(()=>Xv(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function wE(e,t){return bE(e,t)}function bE(e,t,n,r){is()||Oe(!1);let{navigator:o}=b.useContext(Lr),{matches:i}=b.useContext(dr),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let c=ss(),p;if(t){var f;let w=typeof t=="string"?Lo(t):t;l==="/"||(f=w.pathname)!=null&&f.startsWith(l)||Oe(!1),p=w}else p=c;let d=p.pathname||"/",g=d;if(l!=="/"){let w=l.replace(/^\//,"").split("/");g="/"+d.replace(/^\//,"").split("/").slice(w.length).join("/")}let y=QS(e,{pathname:g}),v=TE(y&&y.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:er([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:er([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&v?b.createElement(ll.Provider,{value:{location:Hi({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:Vn.Pop}},v):v}function CE(){let e=AE(),t=hE(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 b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:o},n):null,null)}const SE=b.createElement(CE,null);class EE extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?b.createElement(dr.Provider,{value:this.props.routeContext},b.createElement(Jv.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function kE(e){let{routeContext:t,match:n,children:r}=e,o=b.useContext(jd);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(dr.Provider,{value:t},r)}function TE(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let p=s.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);p>=0||Oe(!1),s=s.slice(0,Math.min(s.length,p+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let p=0;p<s.length;p++){let f=s[p];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(c=p),f.route.id){let{loaderData:d,errors:g}=n,y=f.route.loader&&d[f.route.id]===void 0&&(!g||g[f.route.id]===void 0);if(f.route.lazy||y){l=!0,c>=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((p,f,d)=>{let g,y=!1,v=null,w=null;n&&(g=a&&f.route.id?a[f.route.id]:void 0,v=f.route.errorElement||SE,l&&(c<0&&d===0?(y=!0,w=null):c===d&&(y=!0,w=f.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,d+1)),h=()=>{let x;return g?x=v:y?x=w:f.route.Component?x=b.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=p,b.createElement(kE,{match:f,routeContext:{outlet:p,matches:m,isDataRoute:n!=null},children:x})};return n&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?b.createElement(EE,{location:n.location,revalidation:n.revalidation,component:v,error:g,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):h()},null)}var ny=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ny||{}),ja=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}(ja||{});function NE(e){let t=b.useContext(jd);return t||Oe(!1),t}function PE(e){let t=b.useContext(gE);return t||Oe(!1),t}function jE(e){let t=b.useContext(dr);return t||Oe(!1),t}function ry(e){let t=jE(),n=t.matches[t.matches.length-1];return n.route.id||Oe(!1),n.route.id}function AE(){var e;let t=b.useContext(Jv),n=PE(ja.UseRouteError),r=ry(ja.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function OE(){let{router:e}=NE(ny.UseNavigateStable),t=ry(ja.UseNavigateStable),n=b.useRef(!1);return ey(()=>{n.current=!0}),b.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Hi({fromRouteId:t},i)))},[e,t])}function Et(e){Oe(!1)}function RE(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Vn.Pop,navigator:i,static:s=!1,future:a}=e;is()&&Oe(!1);let l=t.replace(/^\/*/,"/"),c=b.useMemo(()=>({basename:l,navigator:i,static:s,future:Hi({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=Lo(r));let{pathname:p="/",search:f="",hash:d="",state:g=null,key:y="default"}=r,v=b.useMemo(()=>{let w=Pd(p,l);return w==null?null:{location:{pathname:w,search:f,hash:d,state:g,key:y},navigationType:o}},[l,p,f,d,g,y,o]);return v==null?null:b.createElement(Lr.Provider,{value:c},b.createElement(ll.Provider,{children:n,value:v}))}function DE(e){let{children:t,location:n}=e;return wE(au(t),n)}new Promise(()=>{});function au(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,o)=>{if(!b.isValidElement(r))return;let i=[...t,o];if(r.type===b.Fragment){n.push.apply(n,au(r.props.children,i));return}r.type!==Et&&Oe(!1),!r.props.index||!r.props.children||Oe(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=au(r.props.children,i)),n.push(s)}),n}/**
 * React Router DOM v6.27.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function lu(){return lu=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},lu.apply(this,arguments)}function IE(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function ME(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function LE(e,t){return e.button===0&&(!t||t==="_self")&&!ME(e)}const _E=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],FE="6";try{window.__reactRouterVersion=FE}catch{}const zE="startTransition",Rp=vh[zE];function $E(e){let{basename:t,children:n,future:r,window:o}=e,i=b.useRef();i.current==null&&(i.current=VS({window:o,v5Compat:!0}));let s=i.current,[a,l]=b.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},p=b.useCallback(f=>{c&&Rp?Rp(()=>l(f)):l(f)},[l,c]);return b.useLayoutEffect(()=>s.listen(p),[s,p]),b.createElement(RE,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const UE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",BE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ee=b.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:c,preventScrollReset:p,viewTransition:f}=t,d=IE(t,_E),{basename:g}=b.useContext(Lr),y,v=!1;if(typeof c=="string"&&BE.test(c)&&(y=c,UE))try{let x=new URL(window.location.href),C=c.startsWith("//")?new URL(x.protocol+c):new URL(c),S=Pd(C.pathname,g);C.origin===x.origin&&S!=null?c=S+C.search+C.hash:v=!0}catch{}let w=vE(c,{relative:o}),m=HE(c,{replace:s,state:a,target:l,preventScrollReset:p,relative:o,viewTransition:f});function h(x){r&&r(x),x.defaultPrevented||m(x)}return b.createElement("a",lu({},d,{href:y||w,onClick:v||i?r:h,ref:n,target:l}))});var Dp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Dp||(Dp={}));var Ip;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ip||(Ip={}));function HE(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,viewTransition:a}=t===void 0?{}:t,l=yE(),c=ss(),p=ty(e,{relative:s});return b.useCallback(f=>{if(LE(f,n)){f.preventDefault();let d=r!==void 0?r:Pa(c)===Pa(p);l(e,{replace:d,state:o,preventScrollReset:i,relative:s,viewTransition:a})}},[c,l,p,r,o,n,e,i,s,a])}var WE=typeof Element<"u",VE=typeof Map=="function",GE=typeof Set=="function",qE=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Xs(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Xs(e[r],t[r]))return!1;return!0}var i;if(VE&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Xs(r.value[1],t.get(r.value[0])))return!1;return!0}if(GE&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(qE&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(WE&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!Xs(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var QE=function(t,n){try{return Xs(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const oy=ar(QE);var KE=function(e,t,n,r,o,i,s,a){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,s,a],p=0;l=new Error(t.replace(/%s/g,function(){return c[p++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},YE=KE;const Mp=ar(YE);var XE=function(t,n,r,o){var i=r?r.call(o,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var s=Object.keys(t),a=Object.keys(n);if(s.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),c=0;c<s.length;c++){var p=s[c];if(!l(p))return!1;var f=t[p],d=n[p];if(i=r?r.call(o,f,d,p):void 0,i===!1||i===void 0&&f!==d)return!1}return!0};const ZE=ar(XE);var iy=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(iy||{}),Yl={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Lp=Object.values(iy),Ad={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},JE=Object.entries(Ad).reduce((e,[t,n])=>(e[n]=t,e),{}),Ut="data-rh",lo={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},co=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},ek=e=>{let t=co(e,"title");const n=co(e,lo.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=co(e,lo.DEFAULT_TITLE);return t||r||void 0},tk=e=>co(e,lo.ON_CHANGE_CLIENT_STATE)||(()=>{}),Xl=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),nk=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const o=Object.keys(r);for(let i=0;i<o.length;i+=1){const a=o[i].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),rk=e=>console&&typeof console.warn=="function"&&console.warn(e),ei=(e,t,n)=>{const r={};return n.filter(o=>Array.isArray(o[e])?!0:(typeof o[e]<"u"&&rk(`Helmet: ${e} should be of type "Array". Instead found type "${typeof o[e]}"`),!1)).map(o=>o[e]).reverse().reduce((o,i)=>{const s={};i.filter(l=>{let c;const p=Object.keys(l);for(let d=0;d<p.length;d+=1){const g=p[d],y=g.toLowerCase();t.indexOf(y)!==-1&&!(c==="rel"&&l[c].toLowerCase()==="canonical")&&!(y==="rel"&&l[y].toLowerCase()==="stylesheet")&&(c=y),t.indexOf(g)!==-1&&(g==="innerHTML"||g==="cssText"||g==="itemprop")&&(c=g)}if(!c||!l[c])return!1;const f=l[c].toLowerCase();return r[c]||(r[c]={}),s[c]||(s[c]={}),r[c][f]?!1:(s[c][f]=!0,!0)}).reverse().forEach(l=>o.push(l));const a=Object.keys(s);for(let l=0;l<a.length;l+=1){const c=a[l],p={...r[c],...s[c]};r[c]=p}return o},[]).reverse()},ok=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},ik=e=>({baseTag:nk(["href"],e),bodyAttributes:Xl("bodyAttributes",e),defer:co(e,lo.DEFER),encode:co(e,lo.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Xl("htmlAttributes",e),linkTags:ei("link",["rel","href"],e),metaTags:ei("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:ei("noscript",["innerHTML"],e),onChangeClientState:tk(e),scriptTags:ei("script",["src","innerHTML"],e),styleTags:ei("style",["cssText"],e),title:ek(e),titleAttributes:Xl("titleAttributes",e),prioritizeSeoTags:ok(e,lo.PRIORITIZE_SEO_TAGS)}),sy=e=>Array.isArray(e)?e.join(""):e,sk=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},Zl=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(sk(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},_p=(e,t)=>({...e,[t]:void 0}),ak=["noscript","script","style"],cu=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),ay=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),lk=(e,t,n,r)=>{const o=ay(n),i=sy(t);return o?`<${e} ${Ut}="true" ${o}>${cu(i,r)}</${e}>`:`<${e} ${Ut}="true">${cu(i,r)}</${e}>`},ck=(e,t,n=!0)=>t.reduce((r,o)=>{const i=o,s=Object.keys(i).filter(c=>!(c==="innerHTML"||c==="cssText")).reduce((c,p)=>{const f=typeof i[p]>"u"?p:`${p}="${cu(i[p],n)}"`;return c?`${c} ${f}`:f},""),a=i.innerHTML||i.cssText||"",l=ak.indexOf(e)===-1;return`${r}<${e} ${Ut}="true" ${s}${l?"/>":`>${a}</${e}>`}`},""),ly=(e,t={})=>Object.keys(e).reduce((n,r)=>{const o=Ad[r];return n[o||r]=e[r],n},t),uk=(e,t,n)=>{const r={key:t,[Ut]:!0},o=ly(n,r);return[j.createElement("title",o,t)]},Zs=(e,t)=>t.map((n,r)=>{const o={key:r,[Ut]:!0};return Object.keys(n).forEach(i=>{const a=Ad[i]||i;if(a==="innerHTML"||a==="cssText"){const l=n.innerHTML||n.cssText;o.dangerouslySetInnerHTML={__html:l}}else o[a]=n[i]}),j.createElement(e,o)}),Tt=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>uk(e,t.title,t.titleAttributes),toString:()=>lk(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>ly(t),toString:()=>ay(t)};default:return{toComponent:()=>Zs(e,t),toString:()=>ck(e,t,n)}}},dk=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const o=Zl(e,Yl.meta),i=Zl(t,Yl.link),s=Zl(n,Yl.script);return{priorityMethods:{toComponent:()=>[...Zs("meta",o.priority),...Zs("link",i.priority),...Zs("script",s.priority)],toString:()=>`${Tt("meta",o.priority,r)} ${Tt("link",i.priority,r)} ${Tt("script",s.priority,r)}`},metaTags:o.default,linkTags:i.default,scriptTags:s.default}},fk=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:o,noscriptTags:i,styleTags:s,title:a="",titleAttributes:l,prioritizeSeoTags:c}=e;let{linkTags:p,metaTags:f,scriptTags:d}=e,g={toComponent:()=>{},toString:()=>""};return c&&({priorityMethods:g,linkTags:p,metaTags:f,scriptTags:d}=dk(e)),{priority:g,base:Tt("base",t,r),bodyAttributes:Tt("bodyAttributes",n,r),htmlAttributes:Tt("htmlAttributes",o,r),link:Tt("link",p,r),meta:Tt("meta",f,r),noscript:Tt("noscript",i,r),script:Tt("script",d,r),style:Tt("style",s,r),title:Tt("title",{title:a,titleAttributes:l},r)}},uu=fk,Ms=[],cy=!!(typeof window<"u"&&window.document&&window.document.createElement),du=class{constructor(e,t){dn(this,"instances",[]);dn(this,"canUseDOM",cy);dn(this,"context");dn(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Ms:this.instances,add:e=>{(this.canUseDOM?Ms:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Ms:this.instances).indexOf(e);(this.canUseDOM?Ms:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=uu({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},pk={},uy=j.createContext(pk),Sr,dy=(Sr=class extends b.Component{constructor(n){super(n);dn(this,"helmetData");this.helmetData=new du(this.props.context||{},Sr.canUseDOM)}render(){return j.createElement(uy.Provider,{value:this.helmetData.value},this.props.children)}},dn(Sr,"canUseDOM",cy),Sr),$r=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${Ut}]`),o=[].slice.call(r),i=[];let s;return t&&t.length&&t.forEach(a=>{const l=document.createElement(e);for(const c in a)if(Object.prototype.hasOwnProperty.call(a,c))if(c==="innerHTML")l.innerHTML=a.innerHTML;else if(c==="cssText")l.styleSheet?l.styleSheet.cssText=a.cssText:l.appendChild(document.createTextNode(a.cssText));else{const p=c,f=typeof a[p]>"u"?"":a[p];l.setAttribute(c,f)}l.setAttribute(Ut,"true"),o.some((c,p)=>(s=p,l.isEqualNode(c)))?o.splice(s,1):i.push(l)}),o.forEach(a=>{var l;return(l=a.parentNode)==null?void 0:l.removeChild(a)}),i.forEach(a=>n.appendChild(a)),{oldTags:o,newTags:i}},fu=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(Ut),o=r?r.split(","):[],i=[...o],s=Object.keys(t);for(const a of s){const l=t[a]||"";n.getAttribute(a)!==l&&n.setAttribute(a,l),o.indexOf(a)===-1&&o.push(a);const c=i.indexOf(a);c!==-1&&i.splice(c,1)}for(let a=i.length-1;a>=0;a-=1)n.removeAttribute(i[a]);o.length===i.length?n.removeAttribute(Ut):n.getAttribute(Ut)!==s.join(",")&&n.setAttribute(Ut,s.join(","))},hk=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=sy(e)),fu("title",t)},Fp=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:o,linkTags:i,metaTags:s,noscriptTags:a,onChangeClientState:l,scriptTags:c,styleTags:p,title:f,titleAttributes:d}=e;fu("body",r),fu("html",o),hk(f,d);const g={baseTag:$r("base",n),linkTags:$r("link",i),metaTags:$r("meta",s),noscriptTags:$r("noscript",a),scriptTags:$r("script",c),styleTags:$r("style",p)},y={},v={};Object.keys(g).forEach(w=>{const{newTags:m,oldTags:h}=g[w];m.length&&(y[w]=m),h.length&&(v[w]=g[w].oldTags)}),t&&t(),l(e,y,v)},ti=null,mk=e=>{ti&&cancelAnimationFrame(ti),e.defer?ti=requestAnimationFrame(()=>{Fp(e,()=>{ti=null})}):(Fp(e),ti=null)},gk=mk,zp=class extends b.Component{constructor(){super(...arguments);dn(this,"rendered",!1)}shouldComponentUpdate(t){return!ZE(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const o=ik(t.get().map(i=>{const s={...i.props};return delete s.context,s}));dy.canUseDOM?gk(o):uu&&(r=uu(o)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},ec,vk=(ec=class extends b.Component{shouldComponentUpdate(t){return!oy(_p(this.props,"helmetData"),_p(t,"helmetData"))}mapNestedChildrenToProps(t,n){if(!n)return null;switch(t.type){case"script":case"noscript":return{innerHTML:n};case"style":return{cssText:n};default:throw new Error(`<${t.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(t,n,r,o){return{...n,[t.type]:[...n[t.type]||[],{...r,...this.mapNestedChildrenToProps(t,o)}]}}mapObjectTypeChildren(t,n,r,o){switch(t.type){case"title":return{...n,[t.type]:o,titleAttributes:{...r}};case"body":return{...n,bodyAttributes:{...r}};case"html":return{...n,htmlAttributes:{...r}};default:return{...n,[t.type]:{...r}}}}mapArrayTypeChildrenToProps(t,n){let r={...n};return Object.keys(t).forEach(o=>{r={...r,[o]:t[o]}}),r}warnOnInvalidChildren(t,n){return Mp(Lp.some(r=>t.type===r),typeof t.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Lp.join(", ")} are allowed. Helmet does not support rendering <${t.type}> elements. Refer to our API for more information.`),Mp(!n||typeof n=="string"||Array.isArray(n)&&!n.some(r=>typeof r!="string"),`Helmet expects a string as a child of <${t.type}>. Did you forget to wrap your children in braces? ( <${t.type}>{\`\`}</${t.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(t,n){let r={};return j.Children.forEach(t,o=>{if(!o||!o.props)return;const{children:i,...s}=o.props,a=Object.keys(s).reduce((c,p)=>(c[JE[p]||p]=s[p],c),{});let{type:l}=o;switch(typeof l=="symbol"?l=l.toString():this.warnOnInvalidChildren(o,i),l){case"Symbol(react.fragment)":n=this.mapChildrenToProps(i,n);break;case"link":case"meta":case"noscript":case"script":case"style":r=this.flattenArrayTypeChildren(o,r,a,i);break;default:n=this.mapObjectTypeChildren(o,n,a,i);break}}),this.mapArrayTypeChildrenToProps(r,n)}render(){const{children:t,...n}=this.props;let r={...n},{helmetData:o}=n;if(t&&(r=this.mapChildrenToProps(t,r)),o&&!(o instanceof du)){const i=o;o=new du(i.context,!0),delete r.helmetData}return o?j.createElement(zp,{...r,context:o.value}):j.createElement(uy.Consumer,null,i=>j.createElement(zp,{...r,context:i}))}},dn(ec,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),ec);const kt=[{title:"Coconut",highlightText:"Products",description:"We offer a wide range of coconut kernel and coconut water-based products, rich in nutritional value and abundant in essential vitamins and minerals.",image:"/assets/coconuts.png",bgColor:"bg-skincare-cream",category:"coconut-product"},{title:"Animal Feeds",highlightText:"Superior Quality",description:"Bulk supply of DDGS and Corn Gluten, offering protein and energy to optimize health and performance, while ensuring a sustainable and cost-effective feed solution.",image:"/assets/AnimalFeed.png",bgColor:"bg-skincare-cream",category:"animal-feeds"},{title:"Herbal",highlightText:"Medicines",description:"Harness the wisdom of nature with our powerful herbal remedies - crafted to restore balance, boost immunity, and support your journey to lasting wellness.",image:"/assets/herbal.png",bgColor:"bg-skincare-cream",category:"herbal-medicine"},{title:"Pharmaceutical",highlightText:"Supplies",description:"We offer a trusted portfolio of high-quality APIs and cutting-edge ODS, delivering innovative solutions to meet evolving healthcare needs.",image:"/assets/pharma.jpg",bgColor:"bg-skincare-cream",category:"pharmaceuticals"},{title:"Fruits & Nuts",highlightText:"Products",description:"We offer a carefully curated range of high-quality fruits and nuts ensuring freshness, flavor, and nutrition to meet diverse market needs.",image:"/assets/fruitsandnut.jpg",bgColor:"bg-skincare-cream",category:"fruits-and-nuts"}],$p=kt,yk=()=>{const[e,t]=b.useState(!1),[n,r]=b.useState(!1),o=()=>t(s=>!s),i=()=>{t(!1),r(!1)};return u.jsx("header",{className:"sticky top-0 z-50 bg-white shadow-md py-2 transition-all duration-300",children:u.jsxs("div",{className:"container mx-auto",children:[u.jsxs("nav",{className:"flex items-center justify-between",children:[u.jsxs("div",{className:"flex gap- items-center",children:[u.jsx(ee,{to:"/",onClick:i,children:u.jsx("img",{src:"/assets/ugelogo-removebg-preview.png",className:"lg:w-48 w-40",alt:"Logo"})}),u.jsx("div",{className:"h-10 w-px bg-gray-300 mx-2 md:hidden block"}),u.jsx(ee,{to:"https://shardacorporation.net/",onClick:i,target:"_blank",children:u.jsx("img",{src:"/assets/sharda-corp.png",className:"w-[40px] md:hidden block",alt:"Sharda Corp"})})]}),u.jsxs("div",{className:"hidden md:flex items-center space-x-8",children:[u.jsx(ee,{to:"/",className:"text-foreground hover:text-[#68784C] hover:underline transition-colors",onClick:i,children:"Home"}),u.jsxs("div",{className:"relative group",onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:[u.jsx("div",{className:"pb-4 -mb-4",children:u.jsx(ee,{to:"/product",className:"text-foreground hover:text-[#68784C] hover:underline transition-colors",onClick:i,children:"Products"})}),n&&u.jsx("div",{className:"absolute left-0 pt-2",children:u.jsx("div",{className:"flex flex-col bg-white shadow-lg rounded-md z-50 min-w-[200px]",children:$p.map(s=>u.jsx(ee,{to:`/product/${s==null?void 0:s.category}`,className:"px-4 py-2 text-sm hover:bg-gray-100 hover:text-[#68784C] whitespace-nowrap",onClick:i,children:s==null?void 0:s.title},s==null?void 0:s.category))})})]}),u.jsx(ee,{to:"/about",className:"text-foreground hover:text-[#68784C] hover:underline transition-colors",onClick:i,children:"About Us"}),u.jsx(ee,{to:"https://ugenterprises.com/blog/",className:"text-foreground hover:text-[#68784C] hover:underline transition-colors",onClick:i,target:"_blank",children:"Blog"}),u.jsx(ee,{to:"/faq",className:"text-foreground hover:text-[#68784C] hover:underline transition-colors",onClick:i,children:"FAQs"}),u.jsx(ee,{to:"/contact",className:"text-foreground hover:text-[#68784C] hover:underline transition-colors",onClick:i,children:"Contact"})]}),u.jsx(ee,{to:"https://shardacorporation.net/",onClick:i,target:"_blank",children:u.jsx("img",{src:"/assets/sharda-corp.png",className:"w-16 hidden md:block",alt:"Sharda Corp"})}),u.jsx("div",{className:"md:hidden",children:u.jsx("button",{onClick:o,"aria-label":"Toggle Menu",className:"focus:outline-none",children:e?u.jsx(tv,{className:"h-6 w-6"}):u.jsx(R1,{className:"h-6 w-6"})})})]}),e&&u.jsx("div",{className:"md:hidden mt-4 bg-white rounded-lg shadow-lg p-4 animate-fade-in",children:u.jsxs("div",{className:"flex flex-col space-y-4",children:[u.jsx(ee,{to:"/",className:"text-foreground hover:text-[#68784C] px-4 py-2 rounded transition-colors",onClick:i,children:"Home"}),u.jsxs("details",{className:"group",children:[u.jsx("summary",{className:"cursor-pointer text-foreground hover:text-[#68784C] px-4 py-2 transition-colors",children:"Products"}),u.jsx("div",{className:"pl-6 mt-2 flex flex-col space-y-1",children:$p.map(s=>u.jsx(ee,{to:`/product/${s==null?void 0:s.category}`,className:"text-sm text-foreground px-2 py-1 hover:text-[#68784C]",onClick:i,children:s==null?void 0:s.title},s==null?void 0:s.category))})]}),u.jsx(ee,{to:"/about",className:"text-foreground hover:text-[#68784C] px-4 py-2",onClick:i,children:"About Us"}),u.jsx(ee,{to:"https://ugenterprises.com/blog/",className:"text-foreground hover:text-[#68784C] px-4 py-2",onClick:i,target:"_blank",children:"Blog"}),u.jsx(ee,{to:"/faq",className:"text-foreground hover:text-[#68784C] px-4 py-2",onClick:i,children:"FAQs"}),u.jsx(ee,{to:"/contact",className:"text-foreground hover:text-[#68784C] px-4 py-2",onClick:i,children:"Contact"})]})})]})})},xk=()=>u.jsx("footer",{className:"bg-skincare-pastel-brown/20 text-gray-800",children:u.jsxs("div",{className:"container mx-auto px-6 md:px-10 pt-16 pb-8",children:[u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[u.jsxs("div",{children:[u.jsx("h2",{className:"text-xl font-bold mb-6",children:"UG ENTERPRISES"}),u.jsx("p",{className:"text-black-600 mb-6",children:"With over a decade of expertise, UG Enterprises is a trusted name in manufacturing, sourcing, and exporting premium products."}),u.jsxs("div",{className:"flex space-x-4",children:[u.jsx("a",{href:"#",className:"text-gray-600 hover:text-[#404D36]  transition-colors",children:u.jsx(j1,{className:"h-5 w-5"})}),u.jsx("a",{href:"#",className:"text-gray-600 hover:text-[#404D36]  transition-colors",children:u.jsx(A1,{className:"h-5 w-5"})}),u.jsx("a",{href:"#",className:"text-gray-600 hover:text-[#404D36]  transition-colors",children:u.jsx(D1,{className:"h-5 w-5"})}),u.jsx("a",{href:"#",className:"text-gray-600 hover:text-[#404D36]  transition-colors",children:u.jsx(O1,{className:"h-5 w-5"})})]})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-lg font-semibold mb-6",children:"Quick Links"}),u.jsxs("ul",{className:"space-y-3",children:[u.jsx("li",{children:u.jsx(ee,{to:"/",className:"text-black-600 hover:text-[#404D36] hover:underline transition-colors",children:"Home"})}),u.jsx("li",{children:u.jsx(ee,{to:"/product",className:"text-black-600 hover:text-[#404D36] hover:underline transition-colors",children:"Products"})}),u.jsx("li",{children:u.jsx(ee,{to:"/about",className:"text-black-600 hover:text-[#404D36] hover:underline transition-colors",children:"About Us"})}),u.jsx("li",{children:u.jsx(ee,{to:"https://ugenterprises.com/blog/",className:"text-black-600 hover:text-[#404D36]  hover:underline transition-colors",target:"_blank",children:"Blog"})}),u.jsx("li",{children:u.jsx(ee,{to:"/faq",className:"text-black-600 hover:text-[#404D36] hover:underline  transition-colors",children:"FAQs"})}),u.jsx("li",{children:u.jsx(ee,{to:"/contact",className:"text-black-600 hover:text-[#404D36] hover:underline transition-colors",children:"Contact"})})]})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-lg font-semibold mb-6",children:"Service Policies"}),u.jsxs("ul",{className:"space-y-3",children:[u.jsx("li",{children:u.jsx(ee,{to:"/privacy",className:"text-black-600 hover:text-[#404D36] hover:underline transition-colors",children:"Privacy Policy"})}),u.jsx("li",{children:u.jsx(ee,{to:"/terms",className:"text-black-600 hover:text-[#404D36] hover:underline  transition-colors",children:"Terms & Conditions"})})]})]}),u.jsxs("div",{className:"flex flex-col gap-8",children:[u.jsxs("div",{children:[u.jsx("h3",{className:"text-lg font-semibold mb-3",children:"Contact Address"}),u.jsx("p",{className:"text-black-600",children:"Plot No. 32-34, Knowledge Park III, Greater Noida, Uttar Pradesh - 201310"})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-lg font-semibold mb-3",children:"Branch Address"}),u.jsx("p",{className:"text-black-600",children:"Agusttya Inc FZC, Office No. E2-128, F-39, Hamriyah Free Zone Sharjah United Arab Emirates"})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-lg font-semibold mb-3",children:"Manufacturing Unit Address"}),u.jsx("p",{className:"text-black-600",children:"Sait Colony, 2nd Street, Egmore, Chennai – 600008, Tamil Nadu, India"})]})]})]}),u.jsx("div",{className:"border-t border-gray-200 mt-12 pt-8 text-center text-black-600",children:u.jsxs("p",{children:["© ",new Date().getFullYear()," UG ENTERPRISES. All rights reserved."]})})]})}),wk=({children:e})=>u.jsxs("div",{className:"min-h-screen flex flex-col",children:[u.jsx(yk,{}),u.jsx("main",{className:"flex-grow pt-4",children:e}),u.jsx(xk,{})]}),bk=Xg("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"}}),Ze=b.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?_i:"button";return u.jsx(s,{className:Se(bk({variant:t,size:n,className:e})),ref:i,...o})});Ze.displayName="Button";const Ck=()=>{var a;const[e,t]=b.useState(0),[n,r]=b.useState(!1);b.useEffect(()=>{const l=setInterval(()=>{t(c=>c===kt.length-1?0:c+1)},5e3);return()=>clearInterval(l)},[]);const o=()=>{n||(r(!0),t(l=>l===kt.length-1?0:l+1),setTimeout(()=>r(!1),200))},i=()=>{n||(r(!0),t(l=>l===0?kt.length-1:l-1),setTimeout(()=>r(!1),200))},s=l=>{n||l===e||(r(!0),t(l),setTimeout(()=>r(!1),200))};return u.jsxs("section",{className:`py-2 md:py-5 relative overflow-hidden h-[700px] lg:h-[550px] md:max-h-[500px] transition-colors duration-500 ${kt[e].bgColor}`,children:[u.jsx("div",{className:"container mx-auto px-6 md:px-10 h-full",children:u.jsxs("div",{className:"grid md:grid-cols-2 md:gap-8 items-center h-full",children:[u.jsxs("div",{className:"z-10 transition-opacity duration-500 ease-in-out",children:[u.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-serif font-bold mb-2 md:mb-8 text-[#404D36]",children:[kt[e].title,u.jsx("br",{}),u.jsx("span",{className:"text-[#68784C]",children:kt[e].highlightText})]}),u.jsx("p",{className:"text-lg md:text-xl text-gray-700 max-w-lg mb-6",children:kt[e].description}),u.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[u.jsx(ee,{to:`/product/${(a=kt[e])==null?void 0:a.category}`,children:u.jsx(Ze,{className:"bg-[#5D835D] hover:bg-[#4A694A] text-white",children:"Explore Products"})}),u.jsx(ee,{to:"/about",children:u.jsx(Ze,{variant:"outline",className:"text-[#5D835D] border-[#5D835D]",children:"Learn More"})})]})]}),u.jsx("div",{className:"relative h-[350px] md:h-full flex md:items-center md:justify-center lg:items-center lg:justify-center pt-5 md:pt-0",children:kt.map((l,c)=>u.jsx("img",{src:l.image,alt:`Slide ${c+1}`,className:`w-full max-w-[480px] md:h-[300px] h-[250px] object-cover rounded-lg shadow-lg z-10 absolute 
                  transition-all duration-700 ease-in-out
                  ${c===e?"opacity-100 translate-y-0":"opacity-0 translate-y-4"} 
                  ${c===e?"block":"hidden"} md:block`},c))})]})}),u.jsxs("div",{className:"absolute bottom-24 md:bottom-8 left-0 right-0 flex justify-center items-center gap-8 z-20 ",children:[u.jsx("div",{className:"flex gap-2 pt-5 md:pt-0",children:kt.map((l,c)=>u.jsx("button",{onClick:()=>s(c),className:Se("w-2 h-2 rounded-full transition-all duration-300",c===e?"bg-[#5D835D] w-6":"bg-gray-400 hover:bg-gray-600"),"aria-label":`Go to slide ${c+1}`},c))}),u.jsx("div",{className:"hidden md:block lg:block",children:u.jsxs("div",{className:"flex gap-2",children:[u.jsx(Ze,{variant:"outline",size:"icon",onClick:i,className:"rounded-full border-[#5D835D] text-[#5D835D] hover:bg-[#5D835D] hover:text-white",children:u.jsx(Jg,{className:"h-4 w-4"})}),u.jsx(Ze,{variant:"outline",size:"icon",onClick:o,className:"rounded-full border-[#5D835D] text-[#5D835D] hover:bg-[#5D835D] hover:text-white",children:u.jsx(ev,{className:"h-4 w-4"})})]})})]})]})},_o=b.forwardRef(({className:e,...t},n)=>u.jsx("div",{ref:n,className:Se("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));_o.displayName="Card";const Sk=b.forwardRef(({className:e,...t},n)=>u.jsx("div",{ref:n,className:Se("flex flex-col space-y-1.5 p-6",e),...t}));Sk.displayName="CardHeader";const Ek=b.forwardRef(({className:e,...t},n)=>u.jsx("h3",{ref:n,className:Se("text-2xl font-semibold leading-none tracking-tight",e),...t}));Ek.displayName="CardTitle";const kk=b.forwardRef(({className:e,...t},n)=>u.jsx("p",{ref:n,className:Se("text-sm text-muted-foreground",e),...t}));kk.displayName="CardDescription";const as=b.forwardRef(({className:e,...t},n)=>u.jsx("div",{ref:n,className:Se("p-6 pt-0",e),...t}));as.displayName="CardContent";const Od=b.forwardRef(({className:e,...t},n)=>u.jsx("div",{ref:n,className:Se("flex items-center p-6 pt-0",e),...t}));Od.displayName="CardFooter";const Tk=()=>{const e=[{label:"Years Of Experience",value:"10+"},{label:"International Customers",value:"200+"},{label:"Products",value:"50+"},{label:"Total Tons produced & exported",value:"10k+"}];return u.jsx("section",{className:"py-12 bg-[#68784C]",children:u.jsx("div",{className:"container mx-auto px-6 md:px-10",children:u.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6",children:e.map((t,n)=>u.jsx(_o,{className:"bg-white border-none shadow-md",children:u.jsxs(as,{className:"p-6 text-center",children:[u.jsx("h3",{className:"text-3xl md:text-4xl font-bold text-skincare-pastel-brown mb-2",children:t.value}),u.jsx("p",{className:"text-black-600",children:t.label})]})},n))})})})},Nk=()=>u.jsx("section",{className:"pt-16 bg-white",children:u.jsx("div",{className:"container mx-auto px-6 md:px-10",children:u.jsxs("div",{className:"grid md:grid-cols-2 gap-12 items-center",children:[u.jsxs("div",{children:[u.jsx("h2",{className:"text-2xl md:text-4xl font-semibold mb-2 text-[#404D36]",children:"About Us"}),u.jsx("h3",{className:"text-xl md:text-2xl font-bold mb-2 text-[#68784C]",children:"A Decade of Business Excellence"}),u.jsx("p",{className:"text-gray-700 mb-2 text-justify",children:"With over a decade of experience, UG Enterprises is a trusted leader in the manufacturing, sourcing, and export of high-quality coconut products, herbal medicines, pharmaceuticals, fruits, nuts and animal feed like DDGS. Serving a wide range of clients—from local factories to global markets—we ensure a seamless and reliable supply of essential raw materials for the food industry."}),u.jsx("div",{className:"flex justify-start",children:u.jsx(ee,{to:"/about",children:u.jsx(Ze,{className:"bg-[#5D835D] text-white",children:"Learn More"})})})]}),u.jsxs("div",{className:"relative",children:[u.jsx("div",{className:"bg-skincare-light-green rounded-full absolute -z-10 w-3/4 h-3/4 top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"}),u.jsx("img",{src:"/assets/About.png",alt:"sharda tech logo",className:"rounded-lg mx-auto relative z-10 w-[400px]  object-cover"})]})]})})}),Pk=[{label:"Manufacturing excellence",description:"Innovative Production, Uncompromising Quality",image:"/assets/w3.jpg"},{label:"Reputed Brand Presence",description:"A Legacy of Trust and Excellence Across Our Group Companies",image:"/assets/w5.jpg"},{label:"Sourcing excellence",description:"We Source the Best from Trusted Origins to Deliver the Finest to the World",image:"/assets/w4.jpg"},{label:"Global Connections",description:"Connecting You to a World of Possibilities Through Our Global Network",image:"/assets/w2.jpg"},{label:"Streamlined Shipping",description:"Connecting You to a World of Possibilities Through Our Global Network",image:"/assets/w1.jpg"}],jk=()=>u.jsxs("section",{className:"py-12 bg-[#68784C]",children:[u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-8 text-white",children:"Why UG Enterprises"}),u.jsx("div",{className:"container mx-auto px-6 md:px-10",children:u.jsx("div",{className:"grid grid-cols-2 md:grid-cols-5 gap-6 text-center text-white",children:Pk.map((e,t)=>u.jsxs("div",{className:"flex flex-col items-center border-white",children:[u.jsx("div",{className:"w-24 h-24 md:w-[11rem] md:h-[11rem] mb-3 p-2 border border-white  rounded-full border-dashed",children:u.jsx("img",{src:e.image,alt:e.label,className:"w-full h-full object-cover rounded-full"})}),u.jsx("h3",{className:"font-semibold text-lg mb-1",children:e.label}),u.jsx("p",{className:"text-sm",children:e.description})]},t))})})]}),fy=()=>{const e=t=>t.toLowerCase().replace(/\s+/g,"-");return u.jsx("section",{children:u.jsx("div",{className:"container mx-auto px-6 md:px-10",children:u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:kt.map((t,n)=>u.jsx(ee,{to:`/product/${e(t==null?void 0:t.category)}`,className:"h-[280px]",children:u.jsx(_o,{className:"border border-gray-100 hover:shadow-lg transition-all duration-300 overflow-hidden group h-full",children:u.jsxs("div",{className:"relative w-full h-full",children:[u.jsx("div",{className:"absolute inset-0 w-full h-full",children:u.jsx("img",{src:t==null?void 0:t.image,alt:t==null?void 0:t.title,className:"w-full h-full object-cover"})}),u.jsx("div",{className:"group absolute inset-0 bg-gradient-to-t from-black/70 to-transparent flex flex-col justify-end p-6 transition-all",children:u.jsx("h3",{className:"text-2xl font-semibold text-white mb-2 group-hover:hidden",children:t==null?void 0:t.title})}),u.jsx("div",{className:"absolute inset-0 bg-[#5D835D]/90 flex items-center justify-center p-6 opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:u.jsxs("div",{className:"text-center",children:[u.jsx("h3",{className:"text-2xl font-semibold text-white mb-3",children:t==null?void 0:t.title}),u.jsx("p",{className:"text-white",children:t==null?void 0:t.description})]})})]})})},n))})})})},Ak=()=>u.jsx("section",{className:"py-16 bg-white",children:u.jsxs("div",{className:"container mx-auto px-6 md:px-10",children:[u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"End-to-End Industry Solutions: From Sourcing to Global Delivery"}),u.jsx(fy,{})]})}),Ok=[{id:1,name:"Business Ethics",image:"assets/business-ethics.jpg",description:"We believe in doing business the right way. We are committed to upholding ethical standards in all our operations, and we continually strive to maintain our integrity in every business endeavor."},{id:2,name:"Integrity",image:"assets/integrity.jpg",description:"We conduct our business with fairness, honesty, transparency, and a strong sense of purpose. While we are fierce competitors, we always prioritize fairness in all our actions."},{id:3,name:"Excellence",image:"assets/excellence.jpg",description:"We are dedicated to achieving the highest standards in our daily work and in the quality of the products and services we deliver worldwide."},{id:4,name:"Commitment",image:"assets/commitment.jpg",description:"We are dedicated to continuously seeking and developing sustainable solutions that contribute to the well-being and advancement of society in every way possible."}],py=()=>u.jsx("section",{className:"bg-white pt-2 pb-7",children:u.jsxs("div",{className:"container mx-auto px-6 py-6 md:px-10 md:py-6",children:[u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-4",children:"Our Core Values"}),u.jsx("p",{className:"text-gray-700 text-center max-w-3xl mx-auto mb-10",children:"Learn about the values that drive our commitment to excellence and ethical business."}),u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8",children:Ok.map(e=>u.jsxs(_o,{className:"flex flex-col items-center text-center border border-skincare-pastel-green hover:border-[#404D36] transform transition-transform duration-300 hover:scale-105 shadow-sm hover:shadow-lg p-4",children:[u.jsx("img",{src:e==null?void 0:e.image,alt:e==null?void 0:e.name,className:"w-32 h-32 object-cover rounded-full mb-4 mx-auto"}),u.jsxs(as,{className:"p-0",children:[u.jsx("h3",{className:"font-semibold text-lg mb-2",children:e==null?void 0:e.name}),u.jsx("p",{className:"text-sm text-gray-700",children:e==null?void 0:e.description})]})]},e==null?void 0:e.id))})]})}),Rk=[{label:"fssai",image:"/assets/fssai.jpg"},{label:"Apeda",image:"/assets/Apeda.png"},{label:"CDB",image:"/assets/CDB.jpg"},{label:"iso",image:"/assets/isoCertificate.jpg"}],Dk=()=>u.jsxs("section",{className:"py-6 bg-white",children:[u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-8",children:"Our Affiliations"}),u.jsx("div",{className:"container max-w-[750px] mx-auto px-6 md:px-10 flex justify-center",children:u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 text-center",children:Rk.map((e,t)=>u.jsx("div",{className:"flex flex-col items-center m-3",children:u.jsx("img",{src:e.image,alt:e.label,className:"w-full h-14 "})},t))})})]}),Ik=()=>u.jsxs("div",{children:[u.jsx(Ck,{}),u.jsx(Tk,{}),u.jsx(Nk,{}),u.jsx(Ak,{}),u.jsx(jk,{}),u.jsx(py,{}),u.jsx(Dk,{})]}),Mk=()=>u.jsx("div",{className:"py-16 bg-skincare-cream",children:u.jsxs("div",{className:"container mx-auto px-6 md:px-10",children:[u.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6 text-center",children:"Blog"}),u.jsx("p",{className:"text-center text-gray-700 mb-10 max-w-3xl mx-auto",children:"Coming Soon."})]})});var Rd="Collapsible",[Lk,hy]=Ka(Rd),[_k,Dd]=Lk(Rd),my=b.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:s,...a}=e,[l=!1,c]=Xa({prop:r,defaultProp:o,onChange:s});return u.jsx(_k,{scope:n,disabled:i,contentId:fv(),open:l,onOpenToggle:b.useCallback(()=>c(p=>!p),[c]),children:u.jsx(Le.div,{"data-state":Md(l),"data-disabled":i?"":void 0,...a,ref:t})})});my.displayName=Rd;var gy="CollapsibleTrigger",vy=b.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=Dd(gy,n);return u.jsx(Le.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Md(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:Pe(e.onClick,o.onOpenToggle)})});vy.displayName=gy;var Id="CollapsibleContent",yy=b.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Dd(Id,e.__scopeCollapsible);return u.jsx(Ya,{present:n||o.open,children:({present:i})=>u.jsx(Fk,{...r,ref:t,present:i})})});yy.displayName=Id;var Fk=b.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,s=Dd(Id,n),[a,l]=b.useState(r),c=b.useRef(null),p=wt(t,c),f=b.useRef(0),d=f.current,g=b.useRef(0),y=g.current,v=s.open||a,w=b.useRef(v),m=b.useRef();return b.useEffect(()=>{const h=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(h)},[]),En(()=>{const h=c.current;if(h){m.current=m.current||{transitionDuration:h.style.transitionDuration,animationName:h.style.animationName},h.style.transitionDuration="0s",h.style.animationName="none";const x=h.getBoundingClientRect();f.current=x.height,g.current=x.width,w.current||(h.style.transitionDuration=m.current.transitionDuration,h.style.animationName=m.current.animationName),l(r)}},[s.open,r]),u.jsx(Le.div,{"data-state":Md(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!v,...i,ref:p,style:{"--radix-collapsible-content-height":d?`${d}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:v&&o})});function Md(e){return e?"open":"closed"}var zk=my,$k=vy,Uk=yy,Bk=b.createContext(void 0);function Hk(e){const t=b.useContext(Bk);return e||t||"ltr"}var Pn="Accordion",Wk=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Ld,Vk,Gk]=Eg(Pn),[ul,tP]=Ka(Pn,[Gk,hy]),_d=hy(),xy=j.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,i=r;return u.jsx(Ld.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?u.jsx(Yk,{...i,ref:t}):u.jsx(Kk,{...o,ref:t})})});xy.displayName=Pn;var[wy,qk]=ul(Pn),[by,Qk]=ul(Pn,{collapsible:!1}),Kk=j.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...s}=e,[a,l]=Xa({prop:n,defaultProp:r,onChange:o});return u.jsx(wy,{scope:e.__scopeAccordion,value:a?[a]:[],onItemOpen:l,onItemClose:j.useCallback(()=>i&&l(""),[i,l]),children:u.jsx(by,{scope:e.__scopeAccordion,collapsible:i,children:u.jsx(Cy,{...s,ref:t})})})}),Yk=j.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[s=[],a]=Xa({prop:n,defaultProp:r,onChange:o}),l=j.useCallback(p=>a((f=[])=>[...f,p]),[a]),c=j.useCallback(p=>a((f=[])=>f.filter(d=>d!==p)),[a]);return u.jsx(wy,{scope:e.__scopeAccordion,value:s,onItemOpen:l,onItemClose:c,children:u.jsx(by,{scope:e.__scopeAccordion,collapsible:!0,children:u.jsx(Cy,{...i,ref:t})})})}),[Xk,dl]=ul(Pn),Cy=j.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:i="vertical",...s}=e,a=j.useRef(null),l=wt(a,t),c=Vk(n),f=Hk(o)==="ltr",d=Pe(e.onKeyDown,g=>{var N;if(!Wk.includes(g.key))return;const y=g.target,v=c().filter(A=>{var O;return!((O=A.ref.current)!=null&&O.disabled)}),w=v.findIndex(A=>A.ref.current===y),m=v.length;if(w===-1)return;g.preventDefault();let h=w;const x=0,C=m-1,S=()=>{h=w+1,h>C&&(h=x)},k=()=>{h=w-1,h<x&&(h=C)};switch(g.key){case"Home":h=x;break;case"End":h=C;break;case"ArrowRight":i==="horizontal"&&(f?S():k());break;case"ArrowDown":i==="vertical"&&S();break;case"ArrowLeft":i==="horizontal"&&(f?k():S());break;case"ArrowUp":i==="vertical"&&k();break}const E=h%m;(N=v[E].ref.current)==null||N.focus()});return u.jsx(Xk,{scope:n,disabled:r,direction:o,orientation:i,children:u.jsx(Ld.Slot,{scope:n,children:u.jsx(Le.div,{...s,"data-orientation":i,ref:l,onKeyDown:r?void 0:d})})})}),Aa="AccordionItem",[Zk,Fd]=ul(Aa),Sy=j.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...o}=e,i=dl(Aa,n),s=qk(Aa,n),a=_d(n),l=fv(),c=r&&s.value.includes(r)||!1,p=i.disabled||e.disabled;return u.jsx(Zk,{scope:n,open:c,disabled:p,triggerId:l,children:u.jsx(zk,{"data-orientation":i.orientation,"data-state":jy(c),...a,...o,ref:t,disabled:p,open:c,onOpenChange:f=>{f?s.onItemOpen(r):s.onItemClose(r)}})})});Sy.displayName=Aa;var Ey="AccordionHeader",ky=j.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=dl(Pn,n),i=Fd(Ey,n);return u.jsx(Le.h3,{"data-orientation":o.orientation,"data-state":jy(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});ky.displayName=Ey;var pu="AccordionTrigger",Ty=j.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=dl(Pn,n),i=Fd(pu,n),s=Qk(pu,n),a=_d(n);return u.jsx(Ld.ItemSlot,{scope:n,children:u.jsx($k,{"aria-disabled":i.open&&!s.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId,...a,...r,ref:t})})});Ty.displayName=pu;var Ny="AccordionContent",Py=j.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=dl(Pn,n),i=Fd(Ny,n),s=_d(n);return u.jsx(Uk,{role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation,...s,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});Py.displayName=Ny;function jy(e){return e?"open":"closed"}var Jk=xy,eT=Sy,tT=ky,Ay=Ty,Oy=Py;const nT=Jk,Ry=b.forwardRef(({className:e,...t},n)=>u.jsx(eT,{ref:n,className:Se("border-b",e),...t}));Ry.displayName="AccordionItem";const Dy=b.forwardRef(({className:e,children:t,...n},r)=>u.jsx(tT,{className:"flex",children:u.jsxs(Ay,{ref:r,className:Se("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,u.jsx(T1,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));Dy.displayName=Ay.displayName;const Iy=b.forwardRef(({className:e,children:t,...n},r)=>u.jsx(Oy,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:u.jsx("div",{className:Se("pb-4 pt-0",e),children:t})}));Iy.displayName=Oy.displayName;const rT=[{category:"General Information",items:[{question:"What products does UG Enterprises specialize in?",answer:`UG Enterprises specializes in the manufacturing, sourcing, and export of high-quality products, including:
• Coconut Products: coconut water concentrate,desiccated coconut,coconut cream,coconut milk powder, coconut oil.

• Herbal Medicines
• Pharmaceuticals
• Animal Feed`},{question:"How long has UG Enterprises been involved in the export business?",answer:"We have over 10 years of experience in manufacturing and exporting coconut products, ethanol, herbal medicines, pharmaceuticals, and animal feed."},{question:"Where are UG Enterprises' products sourced from?",answer:"Our products are sourced from carefully selected farms and suppliers in regions known for high-quality agricultural produce."},{question:"What industries does UG Enterprises serve?",answer:"Industries include food & beverage, cosmetics, personal care, chemical manufacturing, and health supplements."},{question:"Is UG Enterprises able to handle large-volume orders?",answer:"Yes, we are fully equipped with robust production and supply chain capabilities to handle bulk requirements with flexible packaging."}]},{category:"Quality Assurance and Certifications",items:[{question:"What quality control measures do you have in place?",answer:"We conduct regular testing and analysis at various production stages to ensure international quality standards."},{question:"How do you ensure consistent quality?",answer:"We maintain strong supplier relationships and implement strict quality control from sourcing through processing."},{question:"Can you provide documentation or certificates?",answer:"Yes, we provide COAs, product specs, compliance certificates, and other documentation upon request."}]},{category:"Order and Shipping",items:[{question:"What is the minimum order quantity for bulk purchases?",answer:"The MOQ varies but typically requires a full container load (FCL). Contact us for tailored solutions."},{question:"What are the lead times for fulfillment?",answer:"Typically 3 to 6 weeks, depending on availability, size, and custom requirements."},{question:"Do you offer international shipping?",answer:"Yes, we ship worldwide through trusted logistics partners ensuring timely delivery."},{question:"Can I track my order?",answer:"Yes, tracking details will be provided once your shipment is dispatched."},{question:"What shipping methods do you use and what are the costs?",answer:"We offer sea and air freight. Costs vary based on location, method, and order volume."}]},{category:"Pricing and Payment",items:[{question:"How can I obtain pricing information?",answer:"Please contact us via the 'Contact Us' page for a tailored quote."},{question:"Do you offer volume discounts?",answer:"Yes, we offer volume discounts based on size, frequency, and agreement terms."},{question:"What payment methods do you accept?",answer:"We accept TT, LC, and other secure methods. Terms are discussed per order."},{question:"What are your payment terms?",answer:"Typically, advance payment is required with the remaining balance on shipment or delivery."},{question:"Are there additional fees for export documentation?",answer:"Standard export docs are covered. Extra fees may apply for special documents or country-specific needs."}]},{category:"Sustainable sourcing",items:[{question:"Do you practice sustainable sourcing?",answer:"Yes, we work with eco-conscious suppliers for sustainable coconut products, medicines, and animal feed."},{question:"How do you reduce environmental impact?",answer:"We use eco-friendly packaging, energy-efficient processes, and aim to reduce our shipping carbon footprint."}]},{category:"Customer Support",items:[{question:"How can I contact your customer support team?",answer:"Reach us via the Contact Us page or email: director@ugenterprises.com."},{question:"What after-sales services do you offer?",answer:"We assist with logistics, documentation, and resolve quality or delivery issues."},{question:"How can I resolve order/product issues?",answer:"Contact us immediately. We’re committed to resolving issues quickly and effectively."},{question:"Do you offer product samples?",answer:"Yes, samples are available on request before placing a bulk order."},{question:"Can you assist with customs documentation?",answer:"Yes, we provide full support for export documentation and customs clearance."}]},{category:"Partnerships and Collaborations",items:[{question:"Do you offer private labeling or custom packaging?",answer:"Yes, we support branding and packaging customization. Contact us for details."},{question:"Can UG Enterprises help with product development?",answer:"Yes, we're open to R&D partnerships and custom formulation projects."},{question:"Are you open to strategic business partnerships?",answer:"Absolutely. We welcome collaborations with aligned businesses."}]}];var My={exports:{}},oT="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",iT=oT,sT=iT;function Ly(){}function _y(){}_y.resetWarningCache=Ly;var aT=function(){function e(r,o,i,s,a,l){if(l!==sT){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:_y,resetWarningCache:Ly};return n.PropTypes=n,n};My.exports=aT();var lT=My.exports;const ge=ar(lT);function cT(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Fy=b,uT=cT(Fy);function Up(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var fT=!!(typeof window<"u"&&window.document&&window.document.createElement);function pT(e,t,n){if(typeof e!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof t!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof n<"u"&&typeof n!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function r(o){return o.displayName||o.name||"Component"}return function(i){if(typeof i!="function")throw new Error("Expected WrappedComponent to be a React component.");var s=[],a;function l(){a=e(s.map(function(p){return p.props})),c.canUseDOM?t(a):n&&(a=n(a))}var c=function(p){dT(f,p);function f(){return p.apply(this,arguments)||this}f.peek=function(){return a},f.rewind=function(){if(f.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var y=a;return a=void 0,s=[],y};var d=f.prototype;return d.UNSAFE_componentWillMount=function(){s.push(this),l()},d.componentDidUpdate=function(){l()},d.componentWillUnmount=function(){var y=s.indexOf(this);s.splice(y,1),l()},d.render=function(){return uT.createElement(i,this.props)},f}(Fy.PureComponent);return Up(c,"displayName","SideEffect("+r(i)+")"),Up(c,"canUseDOM",fT),c}}var hT=pT;const mT=ar(hT);/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var Bp=Object.getOwnPropertySymbols,gT=Object.prototype.hasOwnProperty,vT=Object.prototype.propertyIsEnumerable;function yT(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function xT(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var wT=xT()?Object.assign:function(e,t){for(var n,r=yT(e),o,i=1;i<arguments.length;i++){n=Object(arguments[i]);for(var s in n)gT.call(n,s)&&(r[s]=n[s]);if(Bp){o=Bp(n);for(var a=0;a<o.length;a++)vT.call(n,o[a])&&(r[o[a]]=n[o[a]])}}return r};const bT=ar(wT);var Tr={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},q={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(q).map(function(e){return q[e]});var ve={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},Oa={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Wi={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},CT=Object.keys(Oa).reduce(function(e,t){return e[Oa[t]]=t,e},{}),ST=[q.NOSCRIPT,q.SCRIPT,q.STYLE],Bt="data-react-helmet",ET=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kT=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},TT=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),rt=Object.assign||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},NT=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},Hp=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},PT=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},hu=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n===!1?String(t):String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},jT=function(t){var n=uo(t,q.TITLE),r=uo(t,Wi.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var o=uo(t,Wi.DEFAULT_TITLE);return n||o||void 0},AT=function(t){return uo(t,Wi.ON_CHANGE_CLIENT_STATE)||function(){}},Jl=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,o){return rt({},r,o)},{})},OT=function(t,n){return n.filter(function(r){return typeof r[q.BASE]<"u"}).map(function(r){return r[q.BASE]}).reverse().reduce(function(r,o){if(!r.length)for(var i=Object.keys(o),s=0;s<i.length;s++){var a=i[s],l=a.toLowerCase();if(t.indexOf(l)!==-1&&o[l])return r.concat(o)}return r},[])},ni=function(t,n,r){var o={};return r.filter(function(i){return Array.isArray(i[t])?!0:(typeof i[t]<"u"&&MT("Helmet: "+t+' should be of type "Array". Instead found type "'+ET(i[t])+'"'),!1)}).map(function(i){return i[t]}).reverse().reduce(function(i,s){var a={};s.filter(function(d){for(var g=void 0,y=Object.keys(d),v=0;v<y.length;v++){var w=y[v],m=w.toLowerCase();n.indexOf(m)!==-1&&!(g===ve.REL&&d[g].toLowerCase()==="canonical")&&!(m===ve.REL&&d[m].toLowerCase()==="stylesheet")&&(g=m),n.indexOf(w)!==-1&&(w===ve.INNER_HTML||w===ve.CSS_TEXT||w===ve.ITEM_PROP)&&(g=w)}if(!g||!d[g])return!1;var h=d[g].toLowerCase();return o[g]||(o[g]={}),a[g]||(a[g]={}),o[g][h]?!1:(a[g][h]=!0,!0)}).reverse().forEach(function(d){return i.push(d)});for(var l=Object.keys(a),c=0;c<l.length;c++){var p=l[c],f=bT({},o[p],a[p]);o[p]=f}return i},[]).reverse()},uo=function(t,n){for(var r=t.length-1;r>=0;r--){var o=t[r];if(o.hasOwnProperty(n))return o[n]}return null},RT=function(t){return{baseTag:OT([ve.HREF,ve.TARGET],t),bodyAttributes:Jl(Tr.BODY,t),defer:uo(t,Wi.DEFER),encode:uo(t,Wi.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Jl(Tr.HTML,t),linkTags:ni(q.LINK,[ve.REL,ve.HREF],t),metaTags:ni(q.META,[ve.NAME,ve.CHARSET,ve.HTTPEQUIV,ve.PROPERTY,ve.ITEM_PROP],t),noscriptTags:ni(q.NOSCRIPT,[ve.INNER_HTML],t),onChangeClientState:AT(t),scriptTags:ni(q.SCRIPT,[ve.SRC,ve.INNER_HTML],t),styleTags:ni(q.STYLE,[ve.CSS_TEXT],t),title:jT(t),titleAttributes:Jl(Tr.TITLE,t)}},mu=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){mu(t)},0)}}(),Wp=function(t){return clearTimeout(t)},DT=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||mu:global.requestAnimationFrame||mu,IT=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Wp:global.cancelAnimationFrame||Wp,MT=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},ri=null,LT=function(t){ri&&IT(ri),t.defer?ri=DT(function(){Vp(t,function(){ri=null})}):(Vp(t),ri=null)},Vp=function(t,n){var r=t.baseTag,o=t.bodyAttributes,i=t.htmlAttributes,s=t.linkTags,a=t.metaTags,l=t.noscriptTags,c=t.onChangeClientState,p=t.scriptTags,f=t.styleTags,d=t.title,g=t.titleAttributes;gu(q.BODY,o),gu(q.HTML,i),_T(d,g);var y={baseTag:Ur(q.BASE,r),linkTags:Ur(q.LINK,s),metaTags:Ur(q.META,a),noscriptTags:Ur(q.NOSCRIPT,l),scriptTags:Ur(q.SCRIPT,p),styleTags:Ur(q.STYLE,f)},v={},w={};Object.keys(y).forEach(function(m){var h=y[m],x=h.newTags,C=h.oldTags;x.length&&(v[m]=x),C.length&&(w[m]=y[m].oldTags)}),n&&n(),c(t,v,w)},zy=function(t){return Array.isArray(t)?t.join(""):t},_T=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=zy(t)),gu(q.TITLE,n)},gu=function(t,n){var r=document.getElementsByTagName(t)[0];if(r){for(var o=r.getAttribute(Bt),i=o?o.split(","):[],s=[].concat(i),a=Object.keys(n),l=0;l<a.length;l++){var c=a[l],p=n[c]||"";r.getAttribute(c)!==p&&r.setAttribute(c,p),i.indexOf(c)===-1&&i.push(c);var f=s.indexOf(c);f!==-1&&s.splice(f,1)}for(var d=s.length-1;d>=0;d--)r.removeAttribute(s[d]);i.length===s.length?r.removeAttribute(Bt):r.getAttribute(Bt)!==a.join(",")&&r.setAttribute(Bt,a.join(","))}},Ur=function(t,n){var r=document.head||document.querySelector(q.HEAD),o=r.querySelectorAll(t+"["+Bt+"]"),i=Array.prototype.slice.call(o),s=[],a=void 0;return n&&n.length&&n.forEach(function(l){var c=document.createElement(t);for(var p in l)if(l.hasOwnProperty(p))if(p===ve.INNER_HTML)c.innerHTML=l.innerHTML;else if(p===ve.CSS_TEXT)c.styleSheet?c.styleSheet.cssText=l.cssText:c.appendChild(document.createTextNode(l.cssText));else{var f=typeof l[p]>"u"?"":l[p];c.setAttribute(p,f)}c.setAttribute(Bt,"true"),i.some(function(d,g){return a=g,c.isEqualNode(d)})?i.splice(a,1):s.push(c)}),i.forEach(function(l){return l.parentNode.removeChild(l)}),s.forEach(function(l){return r.appendChild(l)}),{oldTags:i,newTags:s}},$y=function(t){return Object.keys(t).reduce(function(n,r){var o=typeof t[r]<"u"?r+'="'+t[r]+'"':""+r;return n?n+" "+o:o},"")},FT=function(t,n,r,o){var i=$y(r),s=zy(n);return i?"<"+t+" "+Bt+'="true" '+i+">"+hu(s,o)+"</"+t+">":"<"+t+" "+Bt+'="true">'+hu(s,o)+"</"+t+">"},zT=function(t,n,r){return n.reduce(function(o,i){var s=Object.keys(i).filter(function(c){return!(c===ve.INNER_HTML||c===ve.CSS_TEXT)}).reduce(function(c,p){var f=typeof i[p]>"u"?p:p+'="'+hu(i[p],r)+'"';return c?c+" "+f:f},""),a=i.innerHTML||i.cssText||"",l=ST.indexOf(t)===-1;return o+"<"+t+" "+Bt+'="true" '+s+(l?"/>":">"+a+"</"+t+">")},"")},Uy=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[Oa[o]||o]=t[o],r},n)},$T=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[CT[o]||o]=t[o],r},n)},UT=function(t,n,r){var o,i=(o={key:n},o[Bt]=!0,o),s=Uy(r,i);return[j.createElement(q.TITLE,s,n)]},BT=function(t,n){return n.map(function(r,o){var i,s=(i={key:o},i[Bt]=!0,i);return Object.keys(r).forEach(function(a){var l=Oa[a]||a;if(l===ve.INNER_HTML||l===ve.CSS_TEXT){var c=r.innerHTML||r.cssText;s.dangerouslySetInnerHTML={__html:c}}else s[l]=r[a]}),j.createElement(t,s)})},pn=function(t,n,r){switch(t){case q.TITLE:return{toComponent:function(){return UT(t,n.title,n.titleAttributes)},toString:function(){return FT(t,n.title,n.titleAttributes,r)}};case Tr.BODY:case Tr.HTML:return{toComponent:function(){return Uy(n)},toString:function(){return $y(n)}};default:return{toComponent:function(){return BT(t,n)},toString:function(){return zT(t,n,r)}}}},By=function(t){var n=t.baseTag,r=t.bodyAttributes,o=t.encode,i=t.htmlAttributes,s=t.linkTags,a=t.metaTags,l=t.noscriptTags,c=t.scriptTags,p=t.styleTags,f=t.title,d=f===void 0?"":f,g=t.titleAttributes;return{base:pn(q.BASE,n,o),bodyAttributes:pn(Tr.BODY,r,o),htmlAttributes:pn(Tr.HTML,i,o),link:pn(q.LINK,s,o),meta:pn(q.META,a,o),noscript:pn(q.NOSCRIPT,l,o),script:pn(q.SCRIPT,c,o),style:pn(q.STYLE,p,o),title:pn(q.TITLE,{title:d,titleAttributes:g},o)}},HT=function(t){var n,r;return r=n=function(o){NT(i,o);function i(){return kT(this,i),PT(this,o.apply(this,arguments))}return i.prototype.shouldComponentUpdate=function(a){return!oy(this.props,a)},i.prototype.mapNestedChildrenToProps=function(a,l){if(!l)return null;switch(a.type){case q.SCRIPT:case q.NOSCRIPT:return{innerHTML:l};case q.STYLE:return{cssText:l}}throw new Error("<"+a.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},i.prototype.flattenArrayTypeChildren=function(a){var l,c=a.child,p=a.arrayTypeChildren,f=a.newChildProps,d=a.nestedChildren;return rt({},p,(l={},l[c.type]=[].concat(p[c.type]||[],[rt({},f,this.mapNestedChildrenToProps(c,d))]),l))},i.prototype.mapObjectTypeChildren=function(a){var l,c,p=a.child,f=a.newProps,d=a.newChildProps,g=a.nestedChildren;switch(p.type){case q.TITLE:return rt({},f,(l={},l[p.type]=g,l.titleAttributes=rt({},d),l));case q.BODY:return rt({},f,{bodyAttributes:rt({},d)});case q.HTML:return rt({},f,{htmlAttributes:rt({},d)})}return rt({},f,(c={},c[p.type]=rt({},d),c))},i.prototype.mapArrayTypeChildrenToProps=function(a,l){var c=rt({},l);return Object.keys(a).forEach(function(p){var f;c=rt({},c,(f={},f[p]=a[p],f))}),c},i.prototype.warnOnInvalidChildren=function(a,l){return!0},i.prototype.mapChildrenToProps=function(a,l){var c=this,p={};return j.Children.forEach(a,function(f){if(!(!f||!f.props)){var d=f.props,g=d.children,y=Hp(d,["children"]),v=$T(y);switch(c.warnOnInvalidChildren(f,g),f.type){case q.LINK:case q.META:case q.NOSCRIPT:case q.SCRIPT:case q.STYLE:p=c.flattenArrayTypeChildren({child:f,arrayTypeChildren:p,newChildProps:v,nestedChildren:g});break;default:l=c.mapObjectTypeChildren({child:f,newProps:l,newChildProps:v,nestedChildren:g});break}}}),l=this.mapArrayTypeChildrenToProps(p,l),l},i.prototype.render=function(){var a=this.props,l=a.children,c=Hp(a,["children"]),p=rt({},c);return l&&(p=this.mapChildrenToProps(l,p)),j.createElement(t,p)},TT(i,null,[{key:"canUseDOM",set:function(a){t.canUseDOM=a}}]),i}(j.Component),n.propTypes={base:ge.object,bodyAttributes:ge.object,children:ge.oneOfType([ge.arrayOf(ge.node),ge.node]),defaultTitle:ge.string,defer:ge.bool,encodeSpecialCharacters:ge.bool,htmlAttributes:ge.object,link:ge.arrayOf(ge.object),meta:ge.arrayOf(ge.object),noscript:ge.arrayOf(ge.object),onChangeClientState:ge.func,script:ge.arrayOf(ge.object),style:ge.arrayOf(ge.object),title:ge.string,titleAttributes:ge.object,titleTemplate:ge.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var o=t.rewind();return o||(o=By({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),o},r},WT=function(){return null},VT=mT(RT,LT,By)(WT),Vi=HT(VT);Vi.renderStatic=Vi.rewind;const GT=()=>u.jsxs("div",{className:"py-16 bg-skincare-cream",children:[u.jsxs(Vi,{children:[u.jsx("title",{children:"FAQs | UG Enterprises – Questions About Our Products & Export Services"}),u.jsx("meta",{name:"description",content:"Find answers to frequently asked questions about product quality, shipping, certifications, and ordering with UG Enterprises."}),u.jsx("meta",{name:"author",content:"UG Enterprises"}),u.jsx("meta",{property:"og:title",content:"FAQs | UG Enterprises – Questions About Our Products & Export Services"}),u.jsx("meta",{property:"og:description",content:"Find answers to frequently asked questions about product quality, shipping, certifications, and ordering with UG Enterprises."}),u.jsx("meta",{property:"og:type",content:"website"}),u.jsx("meta",{property:"og:url",content:"https://ugenterprises.com/faq"}),u.jsx("meta",{property:"og:site_name",content:"UG Enterprises"}),u.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),u.jsx("meta",{name:"twitter:title",content:"FAQs | UG Enterprises – Questions About Our Products & Export Services"}),u.jsx("meta",{name:"twitter:description",content:"Find answers to frequently asked questions about product quality, shipping, certifications, and ordering with UG Enterprises."}),u.jsx("link",{rel:"canonical",href:"https://ugenterprises.com/faq"})]}),u.jsxs("div",{className:"container mx-auto px-6 md:px-10",children:[u.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6 text-center",children:"Frequently Asked Questions"}),u.jsx("p",{className:"text-center text-gray-700 mb-10 max-w-3xl mx-auto",children:"Find answers to commonly asked questions about our products and services. If you can't find what you're looking for, please contact our customer support team."}),u.jsx("div",{className:"space-y-8 max-w-3xl mx-auto",children:rT.map((e,t)=>u.jsx(nT,{type:"single",collapsible:!0,className:"bg-white rounded-lg shadow-md",children:u.jsxs(Ry,{value:`section-${t}`,className:"border border-gray-200 rounded-md overflow-hidden transition-colors",children:[u.jsx(Dy,{className:"text-left text-xl font-semibold p-4 transition-colors data-[state=open]:bg-skincare-light-green",children:e.category}),u.jsx(Iy,{className:"space-y-6 text-gray-800 px-4 pb-4 pt-2",children:e.items.map((n,r)=>u.jsxs("div",{children:[u.jsx("p",{className:"font-semibold",children:n.question}),u.jsx("p",{className:"whitespace-pre-line",children:n.answer})]},r))})]})},t))})]})]}),qT=()=>u.jsx("section",{className:"py-16  bg-skincare-light-green",children:u.jsx("div",{className:"container  mx-auto px-6 md:px-10",children:u.jsx("div",{className:" flex justify-center items-center",children:u.jsxs("div",{children:[u.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6 ",children:"Get In Touch"}),u.jsx("p",{className:"text-gray-700 mb-8",children:"Have questions about our products or services? We'd love to hear from you! Fill out the form and our team will get back to you as soon as possible."}),u.jsxs("div",{className:"space-y-6",children:[u.jsxs("div",{className:"flex items-start",children:[u.jsx("div",{className:"bg-white rounded-full p-3 mr-4",children:u.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 text-skincare-pastel-green",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:[u.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),u.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"})]})}),u.jsxs("div",{children:[u.jsx("h3",{className:"font-semibold mb-1",children:"Corporate Address"}),u.jsx("p",{className:"text-black-600",children:"Plot No. 32-34, Knowledge Park III, Greater Noida, Uttar Pradesh - 201310"})]})]}),u.jsxs("div",{className:"flex items-start",children:[u.jsx("div",{className:"bg-white rounded-full p-3 mr-4",children:u.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 text-skincare-pastel-green",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:[u.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),u.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"})]})}),u.jsxs("div",{children:[u.jsx("h3",{className:"font-semibold mb-1",children:"Manufacturing Unit"}),u.jsx("p",{className:"text-black-600",children:"Sait Colony, 2nd Street, Egmore, Chennai – 600008, Tamil Nadu, India"})]})]}),u.jsxs("div",{className:"flex items-start",children:[u.jsx("div",{className:"bg-white rounded-full p-3 mr-4",children:u.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 text-skincare-pastel-green",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:[u.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),u.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"})]})}),u.jsxs("div",{children:[u.jsx("h3",{className:"font-semibold mb-1",children:"Branch Address"}),u.jsx("p",{className:"text-black-600",children:"Agusttya Inc FZC, Office No. E2-128, F-39, Hamriyah Free Zone Sharjah United Arab Emirates"})]})]}),u.jsx("div",{className:"flex items-start",children:u.jsxs("div",{children:[u.jsx("h3",{className:"font-semibold py-1",children:"Reach us at:"}),u.jsxs("div",{className:"lg:flex-row flex flex-col gap-8",children:[u.jsxs("div",{className:"flex items-start gap-2",children:[u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 mt-1 text-skincare-pastel-green",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:u.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})}),u.jsxs("div",{children:[u.jsx("h4",{className:"font-semibold mb-1",children:"Email Us"}),u.jsx("p",{className:"text-black-600",children:"director@ugenterprises.com"})]})]}),u.jsxs("div",{className:"flex items-start gap-2",children:[u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 text-skincare-pastel-green",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:u.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"})}),u.jsxs("div",{children:[u.jsx("h4",{className:"font-semibold mb-1",children:"Call Us"}),u.jsx("p",{className:"text-black-600",children:"+91 9311 578 005"})]})]})]})]})}),u.jsx("div",{className:"flex items-start pl-3",children:u.jsxs("div",{children:[u.jsx("h3",{className:"font-semibold mb-1",children:"Business Hours"}),u.jsx("p",{className:"text-black-600",children:"Monday – Saturday: 9 AM – 6 PM (IST) (Closed on Sundays and Public Holidays)"})]})})]})]})})})}),QT=()=>u.jsxs("div",{children:[u.jsxs(Vi,{children:[u.jsx("title",{children:"Contact UG Enterprises | Get in Touch with Our Export Team"}),u.jsx("meta",{name:"description",content:"Reach out to UG Enterprises for product inquiries, export partnerships, or support. We’re here to serve your global business needs."}),u.jsx("meta",{name:"author",content:"UG Enterprises"}),u.jsx("meta",{property:"og:title",content:"Contact UG Enterprises | Get in Touch with Our Export Team"}),u.jsx("meta",{property:"og:description",content:"Reach out to UG Enterprises for product inquiries, export partnerships, or support. We’re here to serve your global business needs."}),u.jsx("meta",{property:"og:type",content:"website"}),u.jsx("meta",{property:"og:url",content:"https://ugenterprises.com/contact"}),u.jsx("meta",{property:"og:site_name",content:"UG Enterprises"}),u.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),u.jsx("meta",{name:"twitter:title",content:"Contact UG Enterprises | Get in Touch with Our Export Team"}),u.jsx("meta",{name:"twitter:description",content:"Reach out to UG Enterprises for product inquiries, export partnerships, or support. We’re here to serve your global business needs."}),u.jsx("link",{rel:"canonical",href:"https://ugenterprises.com/contact"})]}),u.jsx("div",{className:" py-10",children:u.jsxs("div",{className:"container mx-auto px-6 md:px-10",children:[u.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4 text-center text-black",children:"Contact Us"}),u.jsx("p",{className:"text-center text-black max-w-3xl mx-auto",children:"We'd love to hear from you! Whether you have a question about our products, need advice, or want to collaborate, our team is ready to assist you."})]})}),u.jsx(qT,{})]}),Hy=()=>u.jsxs("div",{className:"flex flex-col items-center justify-center h-[640px] bg-white text-center px-4",children:[u.jsx("h1",{className:"text-6xl font-bold text-red-600 mb-4",children:"404"}),u.jsx("h2",{className:"text-2xl font-semibold mb-2",children:"Page Not Found"}),u.jsx("p",{className:"mb-6 text-gray-600",children:"Sorry, the page you’re looking for doesn’t exist."}),u.jsx(ee,{to:"/",className:" text-white px-6 py-2 rounded transition",children:u.jsx(Ze,{children:"Go to Home"})})]}),KT="/assets/p1.png",YT="/assets/p2.jpg",XT="/assets/p3.jpg",ZT="/assets/abhishek-thakur.png",Gp=({name:e,role:t,image:n,content:r,enableModal:o=!1})=>{const[i,s]=b.useState(!1),[a,l]=b.useState(!1);return u.jsxs(u.Fragment,{children:[u.jsxs("div",{className:`relative w-full max-w-sm p-6 rounded-lg text-center transition-all duration-300 cursor-pointer border ${i?"bg-[#78ad78] text-white":"bg-gray-50 text-black"}`,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),onClick:()=>o&&l(!0),children:[u.jsx("img",{src:n,alt:e,className:"w-32 h-32 rounded-full mx-auto mb-4 object-cover"}),u.jsx("h3",{className:"text-xl font-semibold",children:e}),u.jsx("p",{className:"text-sm",children:t}),o&&u.jsx("div",{className:"absolute bottom-1 right-1 text-green-600 rounded-full p-2",children:u.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",children:u.jsx("path",{d:"M9 5l7 7-7 7"})})})]}),o&&a&&u.jsx("div",{className:"fixed inset-0 z-50 bg-black bg-opacity-50 flex items-center justify-center",onClick:()=>l(!1),children:u.jsxs("div",{className:"bg-white rounded-lg p-6 max-w-4xl w-[750px] text-sm max-h-[80vh] overflow-y-auto",onClick:c=>c.stopPropagation(),children:[u.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[u.jsxs("div",{className:"flex flex-col items-center md:items-start md:w-1/3",children:[u.jsx("img",{src:n,alt:e,className:"w-48 h-48 rounded-lg object-cover mb-4"}),u.jsx("h2",{className:"text-2xl font-semibold",children:e}),u.jsx("p",{className:"text-lg text-gray-600",children:t})]}),u.jsx("div",{className:"md:w-2/3 text-gray-700 whitespace-pre-line text-justify",children:r})]}),u.jsx("button",{className:"mt-6 px-6 py-2 bg-[#5D835D] hover:bg-[#78ad78] text-white rounded transition-all",onClick:()=>l(!1),children:"Close"})]})})]})},JT=()=>{const e=[{name:"Mr. Prashant Gupta",role:"Chief Executive Officer",image:KT,content:`Mr. Prashant Gupta is the Founder & CEO of UGenterprise, a leading provider of ERP solutions, academic technology, application development, digital marketing, and AI-powered products. An alumnus of Nottingham Business School, he brings extensive experience in business strategy, market research, and team leadership. He has been recognized among AsiaOne’s 40 Most Influential Asians Under 40 at a summit in Singapore for his contributions as a young business leader. 

He has a vast experience in multiple fields of market research, planning business strategy, public relations, and team management. He is among the select young business leaders who have received prestigious honor and recognition from various industry bodies.
`,enableModal:!0},{name:"Mr. Vishal Bhambri",role:"Chief Finance Officer",image:YT,content:"Prior to joining Sharda University, Mr. Sourirajan...",enableModal:!1},{name:"Mr. Arun Sasidharan",role:"Director",image:XT,content:"Mr. Arun Sashidharan serves as the Director of UGenterprise, the dynamic technology arm of Sharda Corporation, driving the group’s vision of innovation and excellence. With a strong commitment to quality, client success, and future-ready technology, he plays a key role in establishing UGenterprise as a trusted partner within Sharda Corporation’s diverse portfolio spanning education, healthcare, IT, construction, and more.",enableModal:!1},{name:"Mr. Abhishek Thakur",role:"Marketing",image:ZT,content:"Mr. Abhishek Thakur leads the Marketing initiatives at UGenterprise, playing a vital role in strengthening the company’s brand presence and driving business growth. With a passion for innovation and a focus on digital marketing, strategic communication, and client engagement, he contributes to positioning UGenterprise as a trusted technology partner across industries.",enableModal:!1}];return u.jsxs("div",{children:[u.jsx("h3",{className:"text-2xl md:text-3xl font-bold mb-6 text-center",children:"Meet Our Team"}),u.jsx("div",{className:"flex justify-center mb-10",children:u.jsx(Gp,{...e[0]})}),u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:e.slice(1).map((t,n)=>u.jsx(Gp,{...t},n+1))})]})},eN=()=>u.jsxs("div",{className:"py-12 bg-skincare-cream",children:[u.jsxs(Vi,{children:[u.jsx("title",{children:" About UG Enterprises | Exporter of Natural Products Since 1995"}),u.jsx("meta",{name:"description",content:"Learn about UG Enterprises — our mission, legacy, and global footprint in natural products export.Trusted by clients worldwide."}),u.jsx("meta",{name:"keywords",content:"about UG Enterprises,company profile, natural product exporter India"}),u.jsx("meta",{name:"author",content:"UG Enterprises"}),u.jsx("meta",{property:"og:title",content:"About UG Enterprises | Exporter of Natural Products Since 1995"}),u.jsx("meta",{property:"og:description",content:"Learn about UG Enterprises — our mission, legacy, and global footprint in natural products export.Trusted by clients worldwide."}),u.jsx("meta",{property:"og:type",content:"website"}),u.jsx("meta",{property:"og:url",content:"https://ugenterprises.com/about"}),u.jsx("meta",{property:"og:site_name",content:"UG Enterprises"}),u.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),u.jsx("meta",{name:"twitter:title",content:"About UG Enterprises | Exporter of Natural Products Since 1995"}),u.jsx("meta",{name:"twitter:description",content:"Learn about UG Enterprises — our mission, legacy, and global footprint in natural products export.Trusted by clients worldwide."}),u.jsx("link",{rel:"canonical",href:"https://ugenterprises.com/about"})]}),u.jsxs("div",{className:"container mx-auto px-6 md:px-10",children:[u.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6 text-center",children:"About Us"}),u.jsxs("div",{className:"max-w-8xl mx-auto bg-white md:p-8 pt-3 rounded-lg shadow-md",children:[u.jsxs("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16 px-8 mb-4",children:[u.jsxs("div",{className:"flex flex-col flex-1",children:[u.jsxs("div",{className:"flex items-center gap-4",children:[u.jsx("h2",{className:"text-2xl font-semibold",children:"The Sharda Corporation"}),u.jsx("img",{src:"assets/sharda-corp.png",alt:"Our team",className:"w-16 h-16 md:w-[300px] md:h-[300px] rounded-lg md:hidden"})]}),u.jsx("p",{className:"mt-4 text-justify md:text-left md:text-[16px] text-[12px]",children:"Established in 1995, Sharda Corporation stands as a beacon of progress and innovation across multiple sectors. With a portfolio spanning Education, Healthcare, Food Business, Pharmaceuticals, Information Technology, StartUps, Engineering Equipment, Construction, Biotechnology, Hospitality, and Skill Development, the Corporation is dedicated to fostering positive change and shaping a brighter future. Esteemed brands within the corporation include Sharda University, Sharda Care Healthcity, Sharda Tech, Sharda Hospital, Nature Pharma, UG Enterprises, Rishav Shelters Pvt Ltd, Maxwell Products, Sharda World School, and Nandal Finance & Leasing Pvt Ltd."}),u.jsx("p",{className:"mt-4 text-justify md:text-left md:text-[16px] text-[12px]",children:"Since its inception, Sharda Corporation has remained committed to its vision of creating a world where intellectual growth flourishes, healthcare is accessible to all, architectural marvels grace skylines, and cutting-edge IT solutions redefine standards. Rooted in Indian values, the Corporation is dedicated to building multinational businesses worldwide."}),u.jsx("div",{className:"flex justify-start pt-3",children:u.jsx(ee,{to:"https://shardacorporation.net/",target:"_blank",children:u.jsx(Ze,{className:"bg-[#5D835D] text-white",children:"Know More"})})})]}),u.jsx("img",{src:"assets/sharda-corp.png",alt:"Sharda Corp Logo",className:"hidden md:block md:w-[200px] md:h-[200px] rounded-lg"})]}),u.jsxs("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16 px-8 py-9",children:[u.jsx("img",{src:"assets/minilogo.png",alt:"Our team",className:"hidden md:block w-[250px] h-[250px] rounded-lg"}),u.jsxs("div",{className:"flex flex-col flex-1",children:[u.jsxs("div",{className:"flex items-center gap-16",children:[u.jsx("img",{src:"assets/minilogo.png",alt:"Our team",className:"w-16 h-16 rounded-lg md:hidden"}),u.jsx("h2",{className:"text-2xl font-semibold",children:"UG Enterprises"})]}),u.jsx("p",{className:"mt-4 text-justify md:text-left md:text-[16px] text-[12px]",children:"UG Enterprises is led by Mr. Prashant Gupta, CEO of Sharda Corporation and a Nottingham Business School alumnus. As a proud subsidiary of Sharda Corporation, UG Enterprises brings over a decade of expertise in the manufacturing, sourcing, import and export of high-quality food products, herbal medicines, pharmaceuticals, coconut products, fruits, nuts and animal feeds. Operating with the same commitment to excellence and ethical practices that defines Sharda Corporation, UG Enterprises provides seamless global trade solutions. From customs clearance to after-sales support, our dedicated team ensures efficient and worry-free service, helping businesses source premium-quality raw materials with confidence."})]})]}),u.jsx("hr",{className:"md:w-[780px] w-[200px] h-1  mx-auto my-3 bg-skincare-pastel-green border-0 rounded-sm md:my-6 dark:bg-gray-700"}),u.jsx("div",{className:"md:px-24 my-10",children:u.jsx(JT,{})}),u.jsx("hr",{className:"md:w-[780px] w-[200px] h-1 mx-auto my-3 bg-skincare-pastel-green border-0 rounded-sm md:my-6 dark:bg-gray-700"}),u.jsx(py,{})]})]})]}),tN=()=>{const{pathname:e}=ss();return b.useEffect(()=>{window.scrollTo(0,0)},[e]),null},nN=()=>u.jsx("div",{className:"py-12 bg-skincare-cream",children:u.jsxs("div",{className:"container mx-auto px-6 md:px-10",children:[u.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6 text-center",children:"Privacy Policy"}),u.jsx("div",{className:"max-w-8xl mx-auto bg-white md:p-8 pt-3 rounded-lg shadow-md",children:u.jsxs("div",{className:"flex flex-col gap-4",children:[u.jsx("p",{children:"We respect the privacy of those who visit our web site. In accordance with this, we have created this policy in order to demonstrate our privacy commitment to our users:"}),u.jsx("h5",{className:"text-2xl font-semibold",children:"What this Privacy Policy Covers"}),u.jsx("p",{children:"This Privacy Policy covers our treatment of personally identifiable information that we collect when you are on our site, and when you use our services. This policy also covers our treatment of any personally identifiable information that third parties share with us."}),u.jsx("p",{children:"This policy does not apply to the practices of organizations that we do not own or control, or to people that we do not employ or manage."}),u.jsx("h5",{className:"text-2xl font-semibold",children:"Information Collection and Use"}),u.jsx("p",{children:"We collect personally identifiable information when you register on our website, when you use our services, and when you visit our pages. We may also receive personally identifiable information from third parties."}),u.jsx("p",{children:"When you register with us, we ask for your name, email address, zip code, occupation, industry, and personal interests. Once you register with us and sign in to our services, you are not anonymous to us."}),u.jsx("p",{children:"We use this information for three general purposes: to customize the content you see, to fulfill your requests for certain services, and to contact you about services."}),u.jsx("p",{children:"We also automatically receive and record information on our server logs from your browser including your IP address, cookie information and the page you requested. This information is not linked to your account and will not be used to identify you."}),u.jsx("h5",{className:"text-2xl font-semibold",children:"Information Sharing and Disclosure"}),u.jsx("p",{children:"We will not sell or rent your personally identifiable information to anyone."}),u.jsx("p",{children:"We will send personally identifiable information about you to other companies or people when"}),u.jsxs("p",{children:["We have your consent to share the information;",u.jsx("br",{}),"We respond to subpoenas, court orders or legal process; or",u.jsx("br",{}),"We find that your actions on our web sites violate the Terms of Service"]}),u.jsx("h5",{className:"text-2xl font-semibold",children:"Changes to this Privacy Policy"}),u.jsx("p",{children:"The privacy policy is subject to modification from time to time. If we decide to change our privacy policy, we will post those changes here so that you will always know what information we gather, how we might use that information and whether we will disclose it to anyone. Any significant changes to our privacy policy will be announced on our home page. If you do not agree with the changes in our policy you can simply discontinue to visit our website."}),u.jsx("h5",{className:"text-2xl font-semibold",children:"Questions or Suggestions"}),u.jsx("p",{children:"If you have questions or suggestions send an email to us."})]})})]})}),rN=()=>u.jsx("div",{className:"py-12 bg-skincare-cream",children:u.jsxs("div",{className:"container mx-auto px-6 md:px-10",children:[u.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6 text-center",children:"Terms and Conditions"}),u.jsx("div",{className:"max-w-8xl mx-auto bg-white md:p-8 pt-3 rounded-lg shadow-md",children:u.jsxs("div",{className:"flex flex-col gap-4",children:[u.jsx("p",{children:"We reserve the right in our sole discretion to edit or delete any documents, information or other content appearing on the Site."}),u.jsx("h5",{className:"text-2xl font-semibold",children:"Indemnification"}),u.jsx("p",{children:`You agree to indemnify, defend and hold us and our partners, attorneys, staff and affiliates (collectively, "Affiliated Parties") harmless from any liability, loss, claim and expense, including reasonable attorney's fees, related to your violation of this Agreement or use of the Site.`}),u.jsx("h5",{className:"text-2xl font-semibold",children:"Non-Transferable"}),u.jsx("p",{children:"Your right to use the Site is not transferable. Any password or right given to you to obtain information or documents is not transferable."}),u.jsx("h5",{className:"text-2xl font-semibold",children:"Disclaimer"}),u.jsx("p",{children:"The information and services may contain bugs, errors, problems or other limitations. We and our affiliated parties have no liability whatsoever for your use of any information or service. In particular, but not as a limitation thereof, we and our affiliated parties are not liable for any indirect, special, incidental or consequential damages (including damages for loss of business, loss of profits, litigation, or the like), whether based on breach of contract, breach of warranty, tort (including negligence), product liability or otherwise, even if advised of the possibility of such damages. The negation of damages set forth above are fundamental elements of the basis of the bargain between us and you. This site and the information would not be provided without such limitations. No advice or information, whether oral or written, obtained by you from us through the site shall create any warranty, representation or guarantee not expressly stated in this agreement."}),u.jsx("h5",{className:"text-2xl font-semibold",children:"Use of Information"}),u.jsx("p",{children:"We reserve the right, and you authorize us, to the use and assignment of all information regarding Site uses by you and all information provided by you in any manner consistent with our Privacy Policy."}),u.jsx("h5",{className:"text-2xl font-semibold",children:"Privacy Policy"}),u.jsx("p",{children:"Our Privacy Policy, as it may change from time to time, is a part of this Agreement."}),u.jsx("h5",{className:"text-2xl font-semibold",children:"Links to Other Web Sites"}),u.jsx("p",{children:"The Site contains links to other Web sites. We are not responsible for the content, accuracy or opinions express in such Web sites, and such Web sites are not investigated, monitored or checked for accuracy or completeness by us. Inclusion of any linked Web site on our Site does not imply approval or endorsement of the linked Web site by us. If you decide to leave our Site and access these third-party sites, you do so at your own risk."}),u.jsx("h5",{className:"text-2xl font-semibold",children:"Information and Press Releases"}),u.jsx("p",{children:"The Site may contain information and press releases about us. While this information was believed to be accurate as of the date prepared, we disclaim any duty or obligation to update this information or any press releases. Information about companies other than ours contained in the press release or otherwise, should not be relied upon as being provided or endorsed by us."})]})})]})}),Gi=[{id:1,categoryName:"Coconut",name:"Coconut Water Concentrate with Preservatives",slug:"coconut-water-concentrate-with-preservatives",category:"coconut-product",image:"/assets/coconutwaterCon.jpg",overview:"Our Coconut Water Concentrate with Preservatives provides a stable, concentrated source of coconut water for industrial applications. With a high brix content of 60, this concentrate maintains the natural flavor and nutrient profile of coconut water, enhanced with preservatives for extended shelf life and storage ease.",description:`Our Coconut Water Concentrate with Preservatives is crafted from nutrient-rich coconut water and includes preservatives for enhanced longevity, making it a reliable option for large-scale production. With its high brix content, this concentrate captures the full flavor and electrolyte profile of coconut water, while the added preservatives ensure stability and extended shelf life.

Ideal for manufacturers in the food, beverage, and wellness industries, this product supports consistent quality across production runs and offers greater flexibility in inventory management. With convenient bulk packaging, Coconut Water Concentrate with Preservatives is easy to store and integrate into your production processes, ensuring a robust flavor and enhanced product stability for your end products.`,packaging:[{heading:"Packaging",description:"Available in 50 kg sealed plastic containers or 265 kg drums."}],"product specification":["High brix content (60) for intense flavor and nutrient richness","Added preservatives for extended shelf life, ideal for bulk inventory","Reliable source of electrolytes, including potassium and magnesium","Stabilized quality for consistent production in the food and beverage sectors","Quantity: we have capability to deliver up to 250 Tons of Coconut water concentrate per month.","Shelf Life: 12 months from the date of manufacture.","Storage Instructions: Store in a cool, dry place. Refrigerate and consume within 45 days.","Product Form: Thick Concentrate Liquid with Preservatives."],application:["Food industry","Beverage industry","Wellness industry"]},{id:2,categoryName:"Coconut",name:"RBD Coconut Oil",slug:"coconut-oil",category:"coconut-product",image:"/assets/rbd-coconut-oil.jpg",overview:"Our RBD Coconut Oil, with its unique fatty acid composition and stable properties, is a versatile and reliable ingredient for large-scale food production. Ideal for use in a wide range of applications, from confectionery to deep frying.",description:`UG Enterprises’ RBD Coconut Oil is a high-quality ingredient, valued in the food industry for its easy melting behavior, oxidative stability, and pleasant flavor. Rich in medium-chain fatty acids, including lauric acid, this oil offers excellent digestibility and is a preferred choice for manufacturers across various sectors.

With its resistance to rancidity and high content of Omega-6, our RBD Coconut Oil is suitable for numerous applications, from producing margarine and shortenings to enhancing the quality of infant milk powder, ice cream, and bakery products. Its stable character also makes it ideal for high-heat processes like deep frying, ensuring consistent performance in industrial-scale production.`,packaging:[{heading:"Packaging Options",description:"Bulk containers available in 190kg drums, 1,000kg IBC totes, and custom sizes upon request."},{heading:"Storage Instructions",description:"Store in a cool, dry place. Keep away from direct sunlight to maintain quality."}],"product specification":["Oxidative stability and resistance to rancidity, extending product shelf life","Rich in lauric acid, supporting health-focused formulations","Versatile for use in dairy alternatives, confectionery, and frying applications","Pleasant flavor profile, enhancing the taste of end products","Shelf life: 24 months from the date of manufacture"],application:["Dairy alternatives","Confectionery","Frying applications","Margarine and shortenings production","Infant milk powder and ice cream production","Bakery products"]},{id:3,categoryName:"Coconut",name:"Desiccated Coconut",slug:"desiccated-coconut",category:"coconut-product",image:"/assets/dessicated-coconut.jpg",overview:"Our Desiccated Coconut offers a versatile, high-quality ingredient for food production, available in various grades to suit diverse industrial applications, from confectionery to ready-to-eat foods.",description:`UG Enterprises’ Desiccated Coconut is crafted from dehydrated coconut meat and is available in grated and shredded forms. With a wide range of grades to match different production needs, this product provides a reliable coconut flavor and texture, making it a staple ingredient for the food industry.

Desiccated Coconut is a key component in the production of confectionery, bakery products, and snack foods. It also serves as an ideal substitute for fresh grated coconut, offering consistent quality, ease of storage, and an extended shelf life, perfect for large-scale food manufacturing. Whether you need fine or coarse grades, our Desiccated Coconut supports your product formulations with minimal processing time.`,packaging:[{heading:"Packaging Options",description:"Available in 25kg and 50kg bags for bulk purchases."}],"product specification":["Available in various grades for different applications (fine, medium, and coarse)","Consistent coconut flavor and texture, ideal for bulk production","Long shelf life and easy storage compared to fresh coconut","Suitable for use in confectionery, bakery products, and snacks","Shelf Life: 12 months from the date of manufacture.","Storage Instructions: Store in a cool, dry place to maintain freshness and prevent moisture absorption."],application:["Confectionery","Bakery products","Snack foods","Ready-to-eat foods"]},{id:4,categoryName:"Coconut",name:"Tender Coconut Water",slug:"tender-coconut-water",category:"coconut-product",image:"/assets/coconut-water.jpeg",overview:"Sterile and nutrient-rich, our Tender Coconut Water offers a natural, refreshing ingredient for health-focused food and beverage production. With therapeutic properties and a low calorific value, it’s an ideal addition to your product lineup.",description:`Our Tender Coconut Water (TCW) is harvested from young, green coconuts and carefully processed to maintain its natural purity and nutrient profile. Known for its hydrating and therapeutic properties, TCW is a versatile ingredient suited for various applications in the food, beverage, and wellness industries.

This product is available in bulk for large-scale production, offering a low-calorie profile with only 17.4 calories per 100g. With a naturally light, refreshing taste and packed with essential nutrients, our Tender Coconut Water enhances the nutritional value of end products, meeting the demands of health-conscious consumers. It’s an ideal choice for companies looking to incorporate a natural and healthy beverage base into their offerings.”`,packaging:[{heading:"Packaging & Storage",description:"Non pasteurized Frozen tender coconut water will be packed in 18 kg Pails. Six layers stacking of Pails will be done inside the container. Aseptic pasteurized coconut water will undergo sterilization and hence storage temperature required is +2 deg C only. This will be packed in drums and aluminum bags."}],"product specification":["Low-calorie content (17.4 per 100g) suitable for health-focused products","Natural source of hydration with essential nutrients and electrolytes","Sterile and preservative-free, ensuring product purity","Versatile for large-scale production across food, beverage, and wellness sectors"],application:["Food industry","Beverage industry","Wellness sector","Health-focused products"]},{id:5,categoryName:"Coconut",name:"Coconut Milk Powder",slug:"coconut-milk-powder",category:"coconut-product",image:"/assets/milk-powder.jpg",overview:"Our Coconut Milk Powder provides a convenient and versatile ingredient for large-scale production, offering the same rich flavor as fresh coconut milk with an extended shelf life and easy storage.",description:`Coconut Milk Powder from UG Enterprises offers the rich, creamy taste of coconut milk in a convenient powdered form, making it an ideal ingredient for food and beverage manufacturing. By simply reconstituting with water, this powder delivers the authentic flavor and nutritional benefits of fresh coconut milk, without the need for refrigeration or extensive handling.

This product is tailored for industrial applications, supporting efficient production with its extended shelf life and bulk packaging options. Suitable for various applications, from processed foods to beverage mixes, our Coconut Milk Powder provides a reliable coconut flavor and texture, meeting the quality standards expected by manufacturers worldwide.`,packaging:[{heading:"Packaging Options",description:"Available in bulk packaging, including 25kg and 50kg industrial-grade bags."}],"product specification":["Extended shelf life and easy storage, ideal for bulk inventory","Consistent coconut flavor, simply reconstitute with water","Versatile for use in processed foods, baked goods, and beverage applications","Reduces logistical challenges with easy handling and no refrigeration required","Shelf Life: 18 months from the date of manufacture.","Storage Instructions: Store in a cool, dry place to maintain freshness and prevent clumping."],application:["Processed foods","Baked goods","Beverage applications","Food and beverage manufacturing"]},{id:7,categoryName:"Coconut",name:"Coconut Cream",slug:"coconut-cream",category:"coconut-product",image:"/assets/coconut-cream.jpg",overview:"Coconut cream is a thick, rich, and creamy substance extracted from the grated pulp of mature coconuts. It contains a high fat content (typically around 20–28%) and is widely used in both sweet and savory dishes across various cuisines.",description:"Extracted from mature coconuts, it boasts a sweet and midlly nutty flavor, elevating both sweet and savory creations. Suitable as an ingredient for processing dishes that need a strong aroma and high fat content.",packaging:[{heading:"PACKAGING & STORAGE",description:"Product should be stored in a cool, clean and dry place, out of direct sunlight, heat and oxidizers. Packed in 1 x 200 kg Aseptic bag/Steel drum. Product shelf life: 18 months under ideal storage condition"}],"product specification":["High fat content (typically around 20–28%)","Sweet and mildly nutty flavor","Ideal for dishes needing strong aroma and rich texture","Shelf life: 18 months under ideal storage condition"],application:["Sweet dishes","Savory dishes","Industrial food processing","Recipes requiring high-fat ingredients"]},{id:8,categoryName:"Coconut",name:"Frozen Coconut Meat",slug:"frozen-coconut-meat",category:"coconut-product",image:"/assets/frozen-meat.png",overview:`Our mature coconut meat is the thick, white flesh scooped from mature coconuts—carefully cleaned, portioned, and flash-frozen with no additives or preservatives. It offers the perfect balance of richness and mild sweetness, making it a versatile superfood ingredient.

We also offer tender coconut pulp which is the soft flesh inside the Tender Coconut. The Pulp is a thin film of white layer formed on the inside of the shell housing the Tender Coconut Water. Tender Coconut Pulp is available in Medium or Thick grade depending on the age of the Tender Coconut at the time of harvest.
• Medium tender coconut pulp is sweeter and smoothly solid, 7-8 mm thick
• Thick tender coconut pulp is sweeter and solid, 8-9 mm thick.
• Mature coconut meat, 9-11mm thick`,description:`Tender Coconut Pulp is increasingly used as a Dairy alternative and a favorite Vegan ingredient in Ice Cream, Pudding, Frozen Dessert, Smoothies, Mocktails, etc. Tender Coconut Pulp is Gluten Free.
Mature coconut meat is used in plant-based dairy alternatives – in yogurts, ice creams, and milk blends, bakery & snack foods, vegan & Keto foods, desserts and confectioneries.`,packaging:[{heading:"PACKING AND STORAGE",description:`Customized packaging in upto 20Kg bulk bags.
Shelf life: 9 months @ - 20 Deg ‘C’. Shipped Frozen.`}],"product specification":["Medium tender coconut pulp is sweeter and smoothly solid, 7-8 mm thick","Thick tender coconut pulp is sweeter and solid, 8-9 mm thick","Mature coconut meat, 9-11mm thick","No additives or preservatives","Shelf life: 9 months at -20°C"],application:["Ice cream, Frozen dessert, Milk Blends.","Pudding, Smoothies, Mocktails, Yogurts.","Bakery & snack foods","Vegan & Keto foods","Desserts and confectioneries"]},{id:9,categoryName:"Coconut",name:"Semi Husked Coconut",slug:"semi-husked-coconut",category:"coconut-product",image:"/assets/semi-husk.jpg",overview:"A semi-husked coconut is a fully-ripened coconut with the husk left intact over the 'eye spot' of the coconut. The 'eye spot' is a sensitive area of the coconut that is protected by the husk, which helps extend the coconut's shelf life.",description:`Semi-husked coconuts, with their partial husk removal, are versatile and useful in various applications, including culinary uses, religious ceremonies, and as a raw material for products like coconut oil and copra.

Semi-husked coconuts retain the natural freshness and nutritional content and have varied applications, making them highly sought after products the world over.`,packaging:[{heading:"PACKAGING AND STORAGE",description:`Transportation packages contain 35-40 nuts per pack, stored in a container at around 15±1°C. No moisture or any water spray on nuts.
Max Load per 40ft Container is 25-26 tons.`}],"product specification":["Fully-ripened coconut with partial husk removal","Retains natural freshness and nutritional content","Suitable for culinary uses, religious ceremonies, and industrial applications","Max load per 40ft container: 25-26 tons"],application:["Culinary uses","Religious ceremonies","Coconut oil production","Copra production"]},{id:10,categoryName:"Coconut",name:"Frozen Coconut Water Concentrate without Preservatives",slug:"frozen-coconut-water-without-preservatives",category:"coconut-product",image:"/assets/cocowater.jpg",overview:"Our Frozen Coconut Water without Preservatives provides a pure and natural source of coconut water, frozen to retain freshness and nutritional integrity. This preservative-free option offers an authentic coconut taste, ideal for manufacturers seeking a clean-label ingredient for their food and beverage products.",description:`Frozen Coconut Water without Preservatives is derived from fresh coconuts and immediately frozen to lock in the natural flavors, nutrients, and hydration benefits. This product is entirely preservative-free, making it an excellent choice for businesses focused on clean-label production and natural ingredients.

Designed for large-scale manufacturing, this frozen coconut water delivers consistent quality while maintaining the authentic taste and electrolyte profile of fresh coconut water. It’s an ideal base ingredient for a variety of health-oriented and premium food and beverage products, supporting brands that prioritize natural ingredients and purity. With convenient bulk packaging and stable frozen storage, our preservative-free coconut water integrates seamlessly into your production processes.`,packaging:[{heading:"Packaging",description:"Available in 20 kg or 200 kg food-grade containers."}],"product specification":["100% natural, preservative-free, suitable for clean-label products","Frozen immediately to preserve freshness, taste, and nutritional content","Natural source of electrolytes like potassium and magnesium","Consistent quality for high-volume production in food and beverage industries","Quantity: Capable of supplying up to 200 Tons of Frozen Coconut Water per month.","Shelf Life: 24 months when stored frozen.","Storage Instructions: Keep frozen at -18°C or below. Thaw only the quantity required for immediate use.","Product Form: Frozen Liquid Coconut Water without Preservatives."],application:["Food industry","Beverage industry","Clean-label products","Health-oriented and premium product lines"]},{id:11,categoryName:"Coconut",name:"Coconut Virgin Oil",slug:"coconut-veroil",category:"coconut-product",image:"/assets/virgin-c-oil.png",overview:"Extracted from fresh coconut milk, our Virgin Coconut Oil is a premium-grade oil known for its purity, pleasant aroma, and versatility. Available in bulk, it’s ideal for companies seeking high-quality coconut oil for food, cosmetic, or personal care products.",description:`Our Virgin Coconut Oil is produced from fresh coconut milk using both traditional and modern extraction methods, resulting in a pure, high-quality oil with a delicate coconut aroma. With its low Free Fatty Acid (FFA) content, this oil boasts an extended shelf life, making it a reliable choice for industrial use.

Virgin Coconut Oil is well-regarded for its applications across various sectors, including food, cosmetics, and personal care. Known for its purity and skin-friendly properties, it serves as an excellent ingredient in edible oils, hair care products, baby oils, and skin-care formulations. Whether used as a natural moisturizer or as a cooking oil, this product offers consistent quality that meets the demands of manufacturers worldwide.`,packaging:[{heading:"Packaging Options",description:"Bulk packaging available in 20L, 50L, and 200L drums."},{heading:"Storage Instructions",description:"Store in a cool, dry place away from direct sunlight to maintain quality."}],"product specification":["Low FFA content ensures a longer shelf life, ideal for bulk storage","Pleasant aroma and high purity, suitable for both food and personal care industries","Cold-pressed, retaining natural nutrients and antioxidants","Versatile for use in culinary, cosmetic, and health products","Shelf life: 24 months from the date of manufacture"],application:["Edible oils","Hair care products","Baby oils","Skin-care formulations","Culinary use","Cosmetic products"]},{id:12,categoryName:"Coconut",name:"Coconut Vinegar",slug:"coconut-vinegar",category:"coconut-product",image:"/assets/coconut-vinegar.jpg",overview:"Our Coconut Vinegar, naturally fermented from coconut water, is a versatile preservative and flavoring agent rich in minerals and vitamins. Ideal for use in food production, it offers a natural alternative to synthetic vinegar.",description:`UG Enterprises’ Coconut Vinegar is made from naturally fermented coconut water, delivering a rich, nutrient-dense flavoring and preservative option for food manufacturers. This vinegar is abundant in essential minerals like potassium, calcium, and magnesium, making it a healthier and more natural alternative to synthetic vinegar.

Ideal for use in pickles, sauces, condiments, and marinades, Coconut Vinegar enhances the flavor and extends the shelf life of various food products. With its mild acidity and naturally derived nutrients, it is also well-suited for applications where quality and authenticity are essential. Available in bulk, our Coconut Vinegar supports efficient production processes for companies looking to elevate their offerings with a premium, natural ingredient.`,packaging:[{heading:"Packaging Options",description:"Available in 5L, 10L, and 20L containers for bulk purchases."},{heading:"Storage Instructions",description:"Store in a cool, dry place away from direct sunlight."}],"product specification":["Naturally fermented, rich in essential minerals and vitamins","Serves as a natural preservative and flavoring agent","Versatile for use in pickles, sauces, and other condiments","A healthier alternative to synthetic vinegar, with mild acidity","Shelf life: 18 months from the date of manufacture"],application:["Pickles","Sauces","Condiments","Marinades"]},{id:13,categoryName:"Animal Feeds",name:"Corn Gluten Meal",slug:"corn-gluten-meal",category:"animal-feeds",image:"/assets/corn-gluten.png",overview:"High-protein, energy-dense feed ingredient from corn wet milling, ideal for ruminant, poultry, swine, aquaculture, and pet diets.",description:"Corn Gluten Meal (CGM) is a high-protein, energy-rich by-product from wet milling of corn, containing 60–65% crude protein. Rich in methionine, cysteine, and xanthophylls, it supports muscle development, feather growth, and pigmentation. Low in fiber and starch, CGM enhances feed palatability, nutrient density, and animal performance across livestock and aquaculture.",packaging:[{heading:"Packaging",description:"Available in 25kg and 50kg bags. Custom packaging on request."},{heading:"Storage",description:"Store in dry, ventilated areas away from heat and moisture."}],"product specification":["60–65% crude protein","Rich in sulfur amino acids","Supports yolk pigmentation and growth","Highly digestible and palatable","Low in fiber and starch"],application:["Ruminant Feed","Poultry Feed","Swine Feed","Aquaculture Feed","Pet Food"]},{id:14,categoryName:"Animal Feeds",name:"Corn DDGS",slug:"corn-ddgs",category:"animal-feeds",image:"/assets/corn-ddgs.png",overview:"Nutrient-rich co-product from ethanol distillation, ideal for ruminants, poultry, swine, aquaculture, and pet food, providing high protein, energy, and fiber.",description:"Corn Distillers Dried Grains with Solubles (DDGS) is a co-product of ethanol distillation, rich in protein, energy, fats, fiber, minerals, and vitamins. After fermentation and drying, DDGS offers a concentrated form of these nutrients, particularly beneficial in ruminant nutrition. It includes Undegradable Intake Protein (UIP) and Digestible Intake Protein (DIP), enhancing growth and performance in livestock.",packaging:[{heading:"Packaging",description:"Packed in 50kg PP bags."},{heading:"Storage",description:"Store in a cool, dry, and ventilated area away from moisture."}],"product specification":["Protein: 27% – 30% Min","Moisture: Less than 12%","Fiber: 2% – 5%","Fat: 7%","Appearance: Yellowish Granular form"],application:["Ruminant Feed","Poultry Feed","Swine Feed","Aquaculture Feed","Pet Food & Specialty Feeds"]},{id:15,categoryName:"Animal Feeds",name:"Rice DDGS",slug:"rice-ddgs",category:"animal-feeds",image:"/assets/rice-ddgs.png",overview:"Protein-rich co-product from ethanol production using rice, ideal for cattle, poultry, swine, aquaculture, and pet feed due to its high digestibility and cost-efficiency.",description:"Rice Distillers Dried Grains with Solubles (Rice DDGS) is a co-product of ethanol production from rice starch fermentation. It provides a protein-rich, digestible feed material containing proteins, fats, fiber, and minerals. As a sustainable and economical alternative to traditional protein sources like soybean and fishmeal, Rice DDGS enhances feed efficiency and supports animal growth across species.",packaging:[{heading:"Packaging",description:"Packed in 50kg PP bags."},{heading:"Storage",description:"Store in a dry, ventilated area away from heat and moisture."}],"product specification":["Protein: 40% – 45% Min","Moisture: Less than 12%","Fiber: 2% – 5%","Fat: 2% – 3%","Appearance: Medium Brown Powder"],application:["Ruminant Feed","Poultry Feed","Swine Feed","Aquaculture Feed","Pet Food & Specialty Feeds"]},{id:20,categoryName:"Pharmaceuticals",name:"Active Pharmaceutical Ingredients (APIs)",slug:"apis",category:"pharmaceuticals",image:"/assets/pharm1.jpg",overview:"Our high-performance Active Pharmaceutical Ingredients (APIs) are at the heart of successful, market-ready pharmaceutical products.",description:"As the core bioactive components responsible for delivering therapeutic effects, our APIs are engineered to meet the highest international standards—ensuring your formulations are not just effective, but also trusted and compliant.",pharmaceuticalCategories:[{name:"Topical Anesthetic/Scar Cream",ingredients:["Baclofen","Capsaicin","Celecoxib","Cyclobenzaprine","Diclofenac Sodium","Doxepin HCL","Duloxetine","Fluocinonide","Fluticasone","Gabapentin","Levocetirizine DI HCL","Lidocaine","Pentoxifylline","Piroxicam","Prilocaine","Topiramate"]},{name:"GERD/Gastric Ulcers",ingredients:["Aluminum Hydroxide","Bismuth Salicylate","Calcium Carbonate","Cimetidine","Dimethicone","Esomeprazole","Famotidine","Hyoscine Butylbromide","Lansoprazole","Levosulpiride","Magaldrate","Magnesium Hydroxide","Metoclopramide","Omeprazole","Magnesium Dihydrate","Ranitidine","Simethicone","Vonoprazan"]},{name:"Erectile Dysfunction/Sexual Health",ingredients:["Avanafil","Sertraline","Sildenafil","Tadalafil","Vardenafil"]},{name:"Hair Regrowth",ingredients:["Biotin","Dutasteride","Finasteride","Minoxidil","Nanoxidil"]},{name:"Peptides",ingredients:["BPC-157","Collagen peptides","GHK-Cu","Keratin peptides","Liraglutide","Semaglutide"]},{name:"Anti-Anxiety",ingredients:["Alprazolam","Buspirone","Citalopram","Diazepam","Duloxetine","Escitalopram","Fluoxetine","Lorazepam","Propranolol","Sertraline","Venlafaxine"]},{name:"Hormone Therapy",ingredients:["Anastrozole","Clomiphene Citrate","Conjugated Estrogens","Estradiol","Glutathione","Medroxyprogesterone","Progesterone","Somatropin","Testosterone Cypionate","Testosterone Enanthate"]}]},{id:21,categoryName:"Pharmaceuticals",name:"Orally Disintegrating Strips (ODS)",slug:"ods",category:"pharmaceuticals",image:"/assets/pharm2.jpg",overview:"Innovative drug delivery system for rapid absorption and improved patient compliance.",description:"Our Orally Disintegrating Strips (ODS) technology provides a convenient and effective alternative to traditional dosage forms.",pharmaceuticalCategories:[{name:"Prescription Products",ingredients:["Betahistine Dihydrochloride 8/16/24 mg ODS/ODF – Anti-vertigo","Paracetamol 60/120 mg ODS/ODF – Antipyretic","Prucalopride 1/2 mg ODS/ODF – Used for symptomatic treatment of chronic constipation","Ondansetron 2 mg / 4 mg / 8 mg ODS/ODF – Anti-emetic","Sildenafil 25/50 mg ODS/ODF – For treatment of erectile dysfunction","Tadalafil 2.5/5/10/20 mg ODS/ODF – For treatment of erectile dysfunction","Pregabalin 25/50/75 mg ODS/ODF – Anticonvulsant","Bilastine 10/20 mg ODS/ODF – For treatment of allergic disorder","Bilastine 20 mg + Montelukast 10/20 mg ODS/ODF – Anti-allergic","Clobazam 5/10/20 mg ODS/ODF – Anticonvulsant"]},{name:"OTC / Nutraceutical Products",ingredients:["Vitamin D3 400/600/800/1000/2000/4000/7000 IU ODS/ODF – For treatment of Vitamin D3 Deficiency","Vitamin D3 10000/20000/25000/50000/60000 IU ODS/ODF – For treatment of Vitamin D3 Deficiency","Methylcobalamin 500/1000/1500 mcg ODS/ODF – Vitamin B12 deficiency","Simethicone 62.5 mg ODS/ODF – Anti-Flatulent","Melatonin 3 mg ODS/ODF – Sleep Inducer","Green T Film – Instant Green Tea","Co Enzyme Q 10 100 mg ODS/ODF – Energy booster","Vitamin K2 70 mcg + Vitamin D3 1000 IU ODS/ODF – Helps to fully utilize and benefit from calcium","Bacillus Coagulans 5 Billion CFU ODS/ODF (Probiotics) – Promotes overall gut health","Zinc 11/20 mg ODS/ODF – Supports immune system and metabolism function","Biotin 5000 IU ODS/ODF – For biotin deficiency with related symptoms of hair and skin","Caffeine 50 mg + L Theanine 15 mg – Energy booster","Methylcobalamin 1000 mcg ODS/ODF – Vitamin B12 supplement","Iron 14 mg ODS/ODF – Iron Deficiency","Multivitamin ODS/ODF: Vitamin A 5000 IU + Vitamin B5 10 mg + Vitamin B6 2 mg + Vitamin B7 300 mcg + Vitamin B9 1000 mcg + Vitamin C 30 mg + Vitamin B12 1000 mcg + Vitamin D3 400 IU + Vitamin K2 80 mcg + Iodine 150 mcg – To treat or prevent vitamin deficiency"]}]},{id:22,categoryName:"Fruits & Nuts",name:"Walnut",slug:"walnut",category:"fruits-and-nuts",image:"/assets/walnut.png",overview:"Walnuts are nutrient-rich edible seeds from the Juglandaceae family, commonly consumed raw or roasted. Known for their distinct taste and health benefits, they are widely used in snacks, salads, and desserts. Rich in protein and heart-healthy fats, walnuts are also linked to improved cardiovascular health.",description:"Walnuts are edible seeds from the Juglandaceae family, known for their rich nutritional value, distinct flavor, and widespread culinary use. The kernels are encased in a hard shell and feature two lobes, rich in protein, healthy fats, and antioxidants",packaging:[{heading:"Packaging",description:"Available in bulk PP or jute bags (10 kg, 25 kg, 50 kg), vacuum-sealed pouches, or cartons as per customer requirements."},{heading:"Storage",description:"Store in a dry, ventilated area away from heat and moisture."}],"product specification":["Varieties: Chandler, Hartley, Howard, Tulare, Serr, VinaForms: In-shell, Halves, Pieces.","Hartley, Howard","Fiber: 2% – 5%","Fat: 2% – 3%","Appearance: Medium Brown Powder"],application:["Snacking (raw or roasted)","Bakery and confectionery products","Salads and desserts","Health foods and protein blends","Cooking oil and dairy alternatives","Nutraceuticals and cosmetics"]},{id:23,categoryName:"Fruits & Nuts",name:"Betel Nut",slug:"betel-nut",category:"fruits-and-nuts",image:"/assets/betelnut.jpg",overview:"Our Betel Nuts are carefully sourced and processed to meet global quality standards. We offer a wide range of premium varieties widely cultivated across India, known for their distinct sizes, processing methods, and traditional value.",description:"Betel Nut, also known as Areca Nut, is the seed of the Areca palm and holds cultural, medicinal, and commercial significance. It is typically sun-dried and consumed in many forms, especially in chewing blends. India is one of the largest producers and exporters of betel nuts, offering several varieties suited for diverse market needs.",packaging:[{heading:"Packaging",description:"Available in jute or HDPE laminated bags, or vacuum-sealed packs"},{heading:"Storage",description:"Store in a dry, ventilated area away from heat and moisture."}],"product specification":["Varieties: Cavendish, Robusta, Nendran, Red Banana, Rasthali","Forms: Whole, Sliced, Puree, Dried Chips, Powder","Moisture: 10% – 15% (for dried forms)","Sugar Content: 12% – 20% (varies by variety)","Appearance: Bright yellow when ripe; soft, creamy texture inside"],application:["Chewing blends (Supari, Paan)","Religious and cultural ceremonies","Ayurvedic and herbal applications"," Commercial export","Ingredient in traditional health products"]},{id:24,categoryName:"Fruits & Nuts",name:"Banana",slug:"banana",category:"fruits-and-nuts",image:"/assets/banana.jpg",overview:"Cavendish bananas, scientifically classified as Musa acuminata, are one of the most popular and widely consumed banana varieties globally. Cavendish bananas typically have a bright yellow color when ripe, with a smooth and slightly curved shape. The peel is thin and easily removable, revealing the creamy, soft flesh inside.",description:"The flesh of Cavendish bananas is smooth and creamy, offering a delightful melt-in-your-mouth texture. The taste is sweet with subtle notes of honey, making it a universally appealing fruit. Cavendish bananas are cultivated in tropical and subtropical regions worldwide. They thrive in well-drained, fertile soil and require warm temperatures for optimal growth. The plants are generally resistant to pests and diseases.",packaging:[{heading:"Packaging",description:"13kg - 13.5 kg Per Carton Box ( Per 40'ft  Reefer Container  -1540 Cartons) or as per Customer Requirement "},{heading:"Storage",description:"Store in a dry, ventilated area away from heat and moisture."}],"product specification":["Product Type: Fresh Cavendish Banana","Variety: Cavendish Banana","Cultivation Type: Common","Color: Green","Maturity: 90%","Grade: A","Weight: 13 kg","Place of Origin: India","Brand Name: UG Enterprises","Style: Natural","Category: Stylish"],application:["Direct consumption as a fresh fruit","Used in desserts, smoothies, and baked goods","Ingredient in baby foods and health snacks","Source of energy for athletes and fitness diets","Exported commercially for global fruit markets"]}];function oN(e){return Object.prototype.toString.call(e)==="[object Object]"}function qp(e){return oN(e)||Array.isArray(e)}function iN(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function zd(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||{})),i=JSON.stringify(Object.keys(t.breakpoints||{}));return o!==i?!1:n.every(s=>{const a=e[s],l=t[s];return typeof a=="function"?`${a}`==`${l}`:!qp(a)||!qp(l)?a===l:zd(a,l)})}function Qp(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function sN(e,t){if(e.length!==t.length)return!1;const n=Qp(e),r=Qp(t);return n.every((o,i)=>{const s=r[i];return zd(o,s)})}function $d(e){return typeof e=="number"}function vu(e){return typeof e=="string"}function fl(e){return typeof e=="boolean"}function Kp(e){return Object.prototype.toString.call(e)==="[object Object]"}function we(e){return Math.abs(e)}function Ud(e){return Math.sign(e)}function xi(e,t){return we(e-t)}function aN(e,t){if(e===0||t===0||we(e)<=we(t))return 0;const n=xi(we(e),we(t));return we(n/e)}function qi(e){return Qi(e).map(Number)}function Vt(e){return e[ls(e)]}function ls(e){return Math.max(0,e.length-1)}function Bd(e,t){return t===ls(e)}function Yp(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function Qi(e){return Object.keys(e)}function Wy(e,t){return[e,t].reduce((n,r)=>(Qi(r).forEach(o=>{const i=n[o],s=r[o],a=Kp(i)&&Kp(s);n[o]=a?Wy(i,s):s}),n),{})}function yu(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function lN(e,t){const n={start:r,center:o,end:i};function r(){return 0}function o(l){return i(l)/2}function i(l){return t-l}function s(l,c){return vu(e)?n[e](l):e(t,l,c)}return{measure:s}}function Ki(){let e=[];function t(o,i,s,a={passive:!0}){let l;if("addEventListener"in o)o.addEventListener(i,s,a),l=()=>o.removeEventListener(i,s,a);else{const c=o;c.addListener(s),l=()=>c.removeListener(s)}return e.push(l),r}function n(){e=e.filter(o=>o())}const r={add:t,clear:n};return r}function cN(e,t,n,r){const o=Ki(),i=1e3/60;let s=null,a=0,l=0;function c(){o.add(e,"visibilitychange",()=>{e.hidden&&y()})}function p(){g(),o.clear()}function f(w){if(!l)return;s||(s=w);const m=w-s;for(s=w,a+=m;a>=i;)n(i),a-=i;const h=a/i;r(h),l&&t.requestAnimationFrame(f)}function d(){l||(l=t.requestAnimationFrame(f))}function g(){t.cancelAnimationFrame(l),s=null,a=0,l=0}function y(){s=null,a=0}return{init:c,destroy:p,start:d,stop:g,update:()=>n(i),render:r}}function uN(e,t){const n=t==="rtl",r=e==="y",o=r?"y":"x",i=r?"x":"y",s=!r&&n?-1:1,a=p(),l=f();function c(y){const{height:v,width:w}=y;return r?v:w}function p(){return r?"top":n?"right":"left"}function f(){return r?"bottom":n?"left":"right"}function d(y){return y*s}return{scroll:o,cross:i,startEdge:a,endEdge:l,measureSize:c,direction:d}}function Dr(e=0,t=0){const n=we(e-t);function r(c){return c<e}function o(c){return c>t}function i(c){return r(c)||o(c)}function s(c){return i(c)?r(c)?e:t:c}function a(c){return n?c-n*Math.ceil((c-t)/n):c}return{length:n,max:t,min:e,constrain:s,reachedAny:i,reachedMax:o,reachedMin:r,removeOffset:a}}function Vy(e,t,n){const{constrain:r}=Dr(0,e),o=e+1;let i=s(t);function s(d){return n?we((o+d)%o):r(d)}function a(){return i}function l(d){return i=s(d),f}function c(d){return p().set(a()+d)}function p(){return Vy(e,a(),n)}const f={get:a,set:l,add:c,clone:p};return f}function dN(e,t,n,r,o,i,s,a,l,c,p,f,d,g,y,v,w,m,h){const{cross:x,direction:C}=e,S=["INPUT","SELECT","TEXTAREA"],k={passive:!1},E=Ki(),N=Ki(),A=Dr(50,225).constrain(g.measure(20)),O={mouse:300,touch:400},M={mouse:500,touch:600},_=y?43:25;let H=!1,I=0,W=0,B=!1,V=!1,T=!1,D=!1;function z($){if(!h)return;function J(je){(fl(h)||h($,je))&&Z(je)}const le=t;E.add(le,"dragstart",je=>je.preventDefault(),k).add(le,"touchmove",()=>{},k).add(le,"touchend",()=>{}).add(le,"touchstart",J).add(le,"mousedown",J).add(le,"touchcancel",me).add(le,"contextmenu",me).add(le,"click",_e,!0)}function L(){E.clear(),N.clear()}function U(){const $=D?n:t;N.add($,"touchmove",de,k).add($,"touchend",me).add($,"mousemove",de,k).add($,"mouseup",me)}function Q($){const J=$.nodeName||"";return S.includes(J)}function te(){return(y?M:O)[D?"mouse":"touch"]}function Re($,J){const le=f.add(Ud($)*-1),je=p.byDistance($,!y).distance;return y||we($)<A?je:w&&J?je*.5:p.byIndex(le.get(),0).distance}function Z($){const J=yu($,r);D=J,T=y&&J&&!$.buttons&&H,H=xi(o.get(),s.get())>=2,!(J&&$.button!==0)&&(Q($.target)||(B=!0,i.pointerDown($),c.useFriction(0).useDuration(0),o.set(s),U(),I=i.readPoint($),W=i.readPoint($,x),d.emit("pointerDown")))}function de($){if(!yu($,r)&&$.touches.length>=2)return me($);const le=i.readPoint($),je=i.readPoint($,x),De=xi(le,I),ct=xi(je,W);if(!V&&!D&&(!$.cancelable||(V=De>ct,!V)))return me($);const St=i.pointerMove($);De>v&&(T=!0),c.useFriction(.3).useDuration(.75),a.start(),o.add(C(St)),$.preventDefault()}function me($){const le=p.byDistance(0,!1).index!==f.get(),je=i.pointerUp($)*te(),De=Re(C(je),le),ct=aN(je,De),St=_-10*ct,ce=m+ct/50;V=!1,B=!1,N.clear(),c.useDuration(St).useFriction(ce),l.distance(De,!y),D=!1,d.emit("pointerUp")}function _e($){T&&($.stopPropagation(),$.preventDefault(),T=!1)}function Te(){return B}return{init:z,destroy:L,pointerDown:Te}}function fN(e,t){let r,o;function i(f){return f.timeStamp}function s(f,d){const y=`client${(d||e.scroll)==="x"?"X":"Y"}`;return(yu(f,t)?f:f.touches[0])[y]}function a(f){return r=f,o=f,s(f)}function l(f){const d=s(f)-s(o),g=i(f)-i(r)>170;return o=f,g&&(r=f),d}function c(f){if(!r||!o)return 0;const d=s(o)-s(r),g=i(f)-i(r),y=i(f)-i(o)>170,v=d/g;return g&&!y&&we(v)>.1?v:0}return{pointerDown:a,pointerMove:l,pointerUp:c,readPoint:s}}function pN(){function e(n){const{offsetTop:r,offsetLeft:o,offsetWidth:i,offsetHeight:s}=n;return{top:r,right:o+i,bottom:r+s,left:o,width:i,height:s}}return{measure:e}}function hN(e){function t(r){return e*(r/100)}return{measure:t}}function mN(e,t,n,r,o,i,s){const a=[e].concat(r);let l,c,p=[],f=!1;function d(w){return o.measureSize(s.measure(w))}function g(w){if(!i)return;c=d(e),p=r.map(d);function m(h){for(const x of h){if(f)return;const C=x.target===e,S=r.indexOf(x.target),k=C?c:p[S],E=d(C?e:r[S]);if(we(E-k)>=.5){w.reInit(),t.emit("resize");break}}}l=new ResizeObserver(h=>{(fl(i)||i(w,h))&&m(h)}),n.requestAnimationFrame(()=>{a.forEach(h=>l.observe(h))})}function y(){f=!0,l&&l.disconnect()}return{init:g,destroy:y}}function gN(e,t,n,r,o,i){let s=0,a=0,l=o,c=i,p=e.get(),f=0;function d(k){const E=k/1e3,N=l*E,A=r.get()-e.get(),O=!l;let M=0;return O?(s=0,n.set(r),e.set(r),M=A):(n.set(e),s+=A/N,s*=c,p+=s,e.add(s*E),M=p-f),a=Ud(M),f=p,S}function g(){const k=r.get()-t.get();return we(k)<.001}function y(){return l}function v(){return a}function w(){return s}function m(){return x(o)}function h(){return C(i)}function x(k){return l=k,S}function C(k){return c=k,S}const S={direction:v,duration:y,velocity:w,seek:d,settled:g,useBaseFriction:h,useBaseDuration:m,useFriction:C,useDuration:x};return S}function vN(e,t,n,r,o){const i=o.measure(10),s=o.measure(50),a=Dr(.1,.99);let l=!1;function c(){return!(l||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function p(g){if(!c())return;const y=e.reachedMin(t.get())?"min":"max",v=we(e[y]-t.get()),w=n.get()-t.get(),m=a.constrain(v/s);n.subtract(w*m),!g&&we(w)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function f(g){l=!g}return{shouldConstrain:c,constrain:p,toggleActive:f}}function yN(e,t,n,r,o){const i=Dr(-t+e,0),s=f(),a=p(),l=d();function c(y,v){return xi(y,v)<1}function p(){const y=s[0],v=Vt(s),w=s.lastIndexOf(y),m=s.indexOf(v)+1;return Dr(w,m)}function f(){return n.map((y,v)=>{const{min:w,max:m}=i,h=i.constrain(y),x=!v,C=Bd(n,v);return x?m:C||c(w,h)?w:c(m,h)?m:h}).map(y=>parseFloat(y.toFixed(3)))}function d(){if(t<=e+o)return[i.max];if(r==="keepSnaps")return s;const{min:y,max:v}=a;return s.slice(y,v)}return{snapsContained:l,scrollContainLimit:a}}function xN(e,t,n){const r=t[0],o=n?r-e:Vt(t);return{limit:Dr(o,r)}}function wN(e,t,n,r){const i=t.min+.1,s=t.max+.1,{reachedMin:a,reachedMax:l}=Dr(i,s);function c(d){return d===1?l(n.get()):d===-1?a(n.get()):!1}function p(d){if(!c(d))return;const g=e*(d*-1);r.forEach(y=>y.add(g))}return{loop:p}}function bN(e){const{max:t,length:n}=e;function r(i){const s=i-t;return n?s/-n:0}return{get:r}}function CN(e,t,n,r,o){const{startEdge:i,endEdge:s}=e,{groupSlides:a}=o,l=f().map(t.measure),c=d(),p=g();function f(){return a(r).map(v=>Vt(v)[s]-v[0][i]).map(we)}function d(){return r.map(v=>n[i]-v[i]).map(v=>-we(v))}function g(){return a(c).map(v=>v[0]).map((v,w)=>v+l[w])}return{snaps:c,snapsAligned:p}}function SN(e,t,n,r,o,i){const{groupSlides:s}=o,{min:a,max:l}=r,c=p();function p(){const d=s(i),g=!e||t==="keepSnaps";return n.length===1?[i]:g?d:d.slice(a,l).map((y,v,w)=>{const m=!v,h=Bd(w,v);if(m){const x=Vt(w[0])+1;return Yp(x)}if(h){const x=ls(i)-Vt(w)[0]+1;return Yp(x,Vt(w)[0])}return y})}return{slideRegistry:c}}function EN(e,t,n,r,o){const{reachedAny:i,removeOffset:s,constrain:a}=r;function l(y){return y.concat().sort((v,w)=>we(v)-we(w))[0]}function c(y){const v=e?s(y):a(y),w=t.map((h,x)=>({diff:p(h-v,0),index:x})).sort((h,x)=>we(h.diff)-we(x.diff)),{index:m}=w[0];return{index:m,distance:v}}function p(y,v){const w=[y,y+n,y-n];if(!e)return y;if(!v)return l(w);const m=w.filter(h=>Ud(h)===v);return m.length?l(m):Vt(w)-n}function f(y,v){const w=t[y]-o.get(),m=p(w,v);return{index:y,distance:m}}function d(y,v){const w=o.get()+y,{index:m,distance:h}=c(w),x=!e&&i(w);if(!v||x)return{index:m,distance:y};const C=t[m]-h,S=y+p(C,0);return{index:m,distance:S}}return{byDistance:d,byIndex:f,shortcut:p}}function kN(e,t,n,r,o,i,s){function a(f){const d=f.distance,g=f.index!==t.get();i.add(d),d&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),g&&(n.set(t.get()),t.set(f.index),s.emit("select"))}function l(f,d){const g=o.byDistance(f,d);a(g)}function c(f,d){const g=t.clone().set(f),y=o.byIndex(g.get(),d);a(y)}return{distance:l,index:c}}function TN(e,t,n,r,o,i,s,a){const l={passive:!0,capture:!0};let c=0;function p(g){if(!a)return;function y(v){if(new Date().getTime()-c>10)return;s.emit("slideFocusStart"),e.scrollLeft=0;const h=n.findIndex(x=>x.includes(v));$d(h)&&(o.useDuration(0),r.index(h,0),s.emit("slideFocus"))}i.add(document,"keydown",f,!1),t.forEach((v,w)=>{i.add(v,"focus",m=>{(fl(a)||a(g,m))&&y(w)},l)})}function f(g){g.code==="Tab"&&(c=new Date().getTime())}return{init:p}}function li(e){let t=e;function n(){return t}function r(l){t=s(l)}function o(l){t+=s(l)}function i(l){t-=s(l)}function s(l){return $d(l)?l:l.get()}return{get:n,set:r,add:o,subtract:i}}function Gy(e,t){const n=e.scroll==="x"?i:s,r=t.style;let o=!1;function i(f){return`translate3d(${f}px,0px,0px)`}function s(f){return`translate3d(0px,${f}px,0px)`}function a(f){o||(r.transform=n(e.direction(f)))}function l(f){o=!f}function c(){o||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:c,to:a,toggleActive:l}}function NN(e,t,n,r,o,i,s,a,l){const p=qi(o),f=qi(o).reverse(),d=m().concat(h());function g(E,N){return E.reduce((A,O)=>A-o[O],N)}function y(E,N){return E.reduce((A,O)=>g(A,N)>0?A.concat([O]):A,[])}function v(E){return i.map((N,A)=>({start:N-r[A]+.5+E,end:N+t-.5+E}))}function w(E,N,A){const O=v(N);return E.map(M=>{const _=A?0:-n,H=A?n:0,I=A?"end":"start",W=O[M][I];return{index:M,loopPoint:W,slideLocation:li(-1),translate:Gy(e,l[M]),target:()=>a.get()>W?_:H}})}function m(){const E=s[0],N=y(f,E);return w(N,n,!1)}function h(){const E=t-s[0]-1,N=y(p,E);return w(N,-n,!0)}function x(){return d.every(({index:E})=>{const N=p.filter(A=>A!==E);return g(N,t)<=.1})}function C(){d.forEach(E=>{const{target:N,translate:A,slideLocation:O}=E,M=N();M!==O.get()&&(A.to(M),O.set(M))})}function S(){d.forEach(E=>E.translate.clear())}return{canLoop:x,clear:S,loop:C,loopPoints:d}}function PN(e,t,n){let r,o=!1;function i(l){if(!n)return;function c(p){for(const f of p)if(f.type==="childList"){l.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(p=>{o||(fl(n)||n(l,p))&&c(p)}),r.observe(e,{childList:!0})}function s(){r&&r.disconnect(),o=!0}return{init:i,destroy:s}}function jN(e,t,n,r){const o={};let i=null,s=null,a,l=!1;function c(){a=new IntersectionObserver(y=>{l||(y.forEach(v=>{const w=t.indexOf(v.target);o[w]=v}),i=null,s=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(y=>a.observe(y))}function p(){a&&a.disconnect(),l=!0}function f(y){return Qi(o).reduce((v,w)=>{const m=parseInt(w),{isIntersecting:h}=o[m];return(y&&h||!y&&!h)&&v.push(m),v},[])}function d(y=!0){if(y&&i)return i;if(!y&&s)return s;const v=f(y);return y&&(i=v),y||(s=v),v}return{init:c,destroy:p,get:d}}function AN(e,t,n,r,o,i){const{measureSize:s,startEdge:a,endEdge:l}=e,c=n[0]&&o,p=y(),f=v(),d=n.map(s),g=w();function y(){if(!c)return 0;const h=n[0];return we(t[a]-h[a])}function v(){if(!c)return 0;const h=i.getComputedStyle(Vt(r));return parseFloat(h.getPropertyValue(`margin-${l}`))}function w(){return n.map((h,x,C)=>{const S=!x,k=Bd(C,x);return S?d[x]+p:k?d[x]+f:C[x+1][a]-h[a]}).map(we)}return{slideSizes:d,slideSizesWithGaps:g,startGap:p,endGap:f}}function ON(e,t,n,r,o,i,s,a,l){const{startEdge:c,endEdge:p,direction:f}=e,d=$d(n);function g(m,h){return qi(m).filter(x=>x%h===0).map(x=>m.slice(x,x+h))}function y(m){return m.length?qi(m).reduce((h,x,C)=>{const S=Vt(h)||0,k=S===0,E=x===ls(m),N=o[c]-i[S][c],A=o[c]-i[x][p],O=!r&&k?f(s):0,M=!r&&E?f(a):0,_=we(A-M-(N+O));return C&&_>t+l&&h.push(x),E&&h.push(m.length),h},[]).map((h,x,C)=>{const S=Math.max(C[x-1]||0);return m.slice(S,h)}):[]}function v(m){return d?g(m,n):y(m)}return{groupSlides:v}}function RN(e,t,n,r,o,i,s){const{align:a,axis:l,direction:c,startIndex:p,loop:f,duration:d,dragFree:g,dragThreshold:y,inViewThreshold:v,slidesToScroll:w,skipSnaps:m,containScroll:h,watchResize:x,watchSlides:C,watchDrag:S,watchFocus:k}=i,E=2,N=pN(),A=N.measure(t),O=n.map(N.measure),M=uN(l,c),_=M.measureSize(A),H=hN(_),I=lN(a,_),W=!f&&!!h,B=f||!!h,{slideSizes:V,slideSizesWithGaps:T,startGap:D,endGap:z}=AN(M,A,O,n,B,o),L=ON(M,_,w,f,A,O,D,z,E),{snaps:U,snapsAligned:Q}=CN(M,I,A,O,L),te=-Vt(U)+Vt(T),{snapsContained:Re,scrollContainLimit:Z}=yN(_,te,Q,h,E),de=W?Re:Q,{limit:me}=xN(te,de,f),_e=Vy(ls(de),p,f),Te=_e.clone(),se=qi(n),$=({dragHandler:It,scrollBody:Uo,scrollBounds:_r,options:{loop:pr}},Bo)=>{pr||_r.constrain(It.pointerDown()),Uo.seek(Bo)},J=({scrollBody:It,translate:Uo,location:_r,offsetLocation:pr,scrollLooper:Bo,slideLooper:Ho,dragHandler:Xt,animation:hl,eventHandler:G,scrollBounds:ae,options:{loop:oe}},ut)=>{const dt=It.settled(),Fr=!ae.shouldConstrain(),ds=oe?dt:dt&&Fr;ds&&!Xt.pointerDown()&&(hl.stop(),G.emit("settle")),ds||G.emit("scroll");const ex=_r.get()*ut+St.get()*(1-ut);pr.set(ex),oe&&(Bo.loop(It.direction()),Ho.loop()),Uo.to(pr.get())},le=cN(r,o,It=>$(Yt,It),It=>J(Yt,It)),je=.68,De=de[_e.get()],ct=li(De),St=li(De),ce=li(De),nt=li(De),fr=gN(ct,ce,St,nt,d,je),Fo=EN(f,de,te,me,nt),jn=kN(le,_e,Te,fr,Fo,nt,s),cs=bN(me),zo=Ki(),$o=jN(t,n,s,v),{slideRegistry:un}=SN(W,h,de,Z,L,se),us=TN(e,n,un,jn,fr,zo,s,k),Yt={ownerDocument:r,ownerWindow:o,eventHandler:s,containerRect:A,slideRects:O,animation:le,axis:M,dragHandler:dN(M,e,r,o,nt,fN(M,o),ct,le,jn,fr,Fo,_e,s,H,g,y,m,je,S),eventStore:zo,percentOfView:H,index:_e,indexPrevious:Te,limit:me,location:ct,offsetLocation:ce,previousLocation:St,options:i,resizeHandler:mN(t,s,o,n,M,x,N),scrollBody:fr,scrollBounds:vN(me,ce,nt,fr,H),scrollLooper:wN(te,me,ce,[ct,ce,St,nt]),scrollProgress:cs,scrollSnapList:de.map(cs.get),scrollSnaps:de,scrollTarget:Fo,scrollTo:jn,slideLooper:NN(M,_,te,V,T,U,de,ce,n),slideFocus:us,slidesHandler:PN(t,s,C),slidesInView:$o,slideIndexes:se,slideRegistry:un,slidesToScroll:L,target:nt,translate:Gy(M,t)};return Yt}function DN(){let e={},t;function n(c){t=c}function r(c){return e[c]||[]}function o(c){return r(c).forEach(p=>p(t,c)),l}function i(c,p){return e[c]=r(c).concat([p]),l}function s(c,p){return e[c]=r(c).filter(f=>f!==p),l}function a(){e={}}const l={init:n,emit:o,off:s,on:i,clear:a};return l}const IN={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 MN(e){function t(i,s){return Wy(i,s||{})}function n(i){const s=i.breakpoints||{},a=Qi(s).filter(l=>e.matchMedia(l).matches).map(l=>s[l]).reduce((l,c)=>t(l,c),{});return t(i,a)}function r(i){return i.map(s=>Qi(s.breakpoints||{})).reduce((s,a)=>s.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function LN(e){let t=[];function n(i,s){return t=s.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(i,e)),s.reduce((a,l)=>Object.assign(a,{[l.name]:l}),{})}function r(){t=t.filter(i=>i.destroy())}return{init:n,destroy:r}}function Ra(e,t,n){const r=e.ownerDocument,o=r.defaultView,i=MN(o),s=LN(i),a=Ki(),l=DN(),{mergeOptions:c,optionsAtMedia:p,optionsMediaQueries:f}=i,{on:d,off:g,emit:y}=l,v=M;let w=!1,m,h=c(IN,Ra.globalOptions),x=c(h),C=[],S,k,E;function N(){const{container:se,slides:$}=x;k=(vu(se)?e.querySelector(se):se)||e.children[0];const le=vu($)?k.querySelectorAll($):$;E=[].slice.call(le||k.children)}function A(se){const $=RN(e,k,E,r,o,se,l);if(se.loop&&!$.slideLooper.canLoop()){const J=Object.assign({},se,{loop:!1});return A(J)}return $}function O(se,$){w||(h=c(h,se),x=p(h),C=$||C,N(),m=A(x),f([h,...C.map(({options:J})=>J)]).forEach(J=>a.add(J,"change",M)),x.active&&(m.translate.to(m.location.get()),m.animation.init(),m.slidesInView.init(),m.slideFocus.init(Te),m.eventHandler.init(Te),m.resizeHandler.init(Te),m.slidesHandler.init(Te),m.options.loop&&m.slideLooper.loop(),k.offsetParent&&E.length&&m.dragHandler.init(Te),S=s.init(Te,C)))}function M(se,$){const J=L();_(),O(c({startIndex:J},se),$),l.emit("reInit")}function _(){m.dragHandler.destroy(),m.eventStore.clear(),m.translate.clear(),m.slideLooper.clear(),m.resizeHandler.destroy(),m.slidesHandler.destroy(),m.slidesInView.destroy(),m.animation.destroy(),s.destroy(),a.clear()}function H(){w||(w=!0,a.clear(),_(),l.emit("destroy"),l.clear())}function I(se,$,J){!x.active||w||(m.scrollBody.useBaseFriction().useDuration($===!0?0:x.duration),m.scrollTo.index(se,J||0))}function W(se){const $=m.index.add(1).get();I($,se,-1)}function B(se){const $=m.index.add(-1).get();I($,se,1)}function V(){return m.index.add(1).get()!==L()}function T(){return m.index.add(-1).get()!==L()}function D(){return m.scrollSnapList}function z(){return m.scrollProgress.get(m.location.get())}function L(){return m.index.get()}function U(){return m.indexPrevious.get()}function Q(){return m.slidesInView.get()}function te(){return m.slidesInView.get(!1)}function Re(){return S}function Z(){return m}function de(){return e}function me(){return k}function _e(){return E}const Te={canScrollNext:V,canScrollPrev:T,containerNode:me,internalEngine:Z,destroy:H,off:g,on:d,emit:y,plugins:Re,previousScrollSnap:U,reInit:v,rootNode:de,scrollNext:W,scrollPrev:B,scrollProgress:z,scrollSnapList:D,scrollTo:I,selectedScrollSnap:L,slideNodes:_e,slidesInView:Q,slidesNotInView:te};return O(t,n),setTimeout(()=>l.emit("init"),0),Te}Ra.globalOptions=void 0;function Hd(e={},t=[]){const n=b.useRef(e),r=b.useRef(t),[o,i]=b.useState(),[s,a]=b.useState(),l=b.useCallback(()=>{o&&o.reInit(n.current,r.current)},[o]);return b.useEffect(()=>{zd(n.current,e)||(n.current=e,l())},[e,l]),b.useEffect(()=>{sN(r.current,t)||(r.current=t,l())},[t,l]),b.useEffect(()=>{if(iN()&&s){Ra.globalOptions=Hd.globalOptions;const c=Ra(s,n.current,r.current);return i(c),()=>c.destroy()}else i(void 0)},[s,i]),[a,o]}Hd.globalOptions=void 0;const qy=b.createContext(null);function pl(){const e=b.useContext(qy);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const Qy=b.forwardRef(({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:o,children:i,...s},a)=>{const[l,c]=Hd({...t,axis:e==="horizontal"?"x":"y"},r),[p,f]=b.useState(!1),[d,g]=b.useState(!1),y=b.useCallback(h=>{h&&(f(h.canScrollPrev()),g(h.canScrollNext()))},[]),v=b.useCallback(()=>{c==null||c.scrollPrev()},[c]),w=b.useCallback(()=>{c==null||c.scrollNext()},[c]),m=b.useCallback(h=>{h.key==="ArrowLeft"?(h.preventDefault(),v()):h.key==="ArrowRight"&&(h.preventDefault(),w())},[v,w]);return b.useEffect(()=>{!c||!n||n(c)},[c,n]),b.useEffect(()=>{if(c)return y(c),c.on("reInit",y),c.on("select",y),()=>{c==null||c.off("select",y)}},[c,y]),u.jsx(qy.Provider,{value:{carouselRef:l,api:c,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:w,canScrollPrev:p,canScrollNext:d},children:u.jsx("div",{ref:a,onKeyDownCapture:m,className:Se("relative",o),role:"region","aria-roledescription":"carousel",...s,children:i})})});Qy.displayName="Carousel";const Ky=b.forwardRef(({className:e,...t},n)=>{const{carouselRef:r,orientation:o}=pl();return u.jsx("div",{ref:r,className:"overflow-hidden",children:u.jsx("div",{ref:n,className:Se("flex",o==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});Ky.displayName="CarouselContent";const Yy=b.forwardRef(({className:e,...t},n)=>{const{orientation:r}=pl();return u.jsx("div",{ref:n,role:"group","aria-roledescription":"slide",className:Se("min-w-0 shrink-0 grow-0 basis-full",r==="horizontal"?"pl-4":"pt-4",e),...t})});Yy.displayName="CarouselItem";const Xy=b.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},o)=>{const{orientation:i,scrollPrev:s,canScrollPrev:a}=pl();return u.jsxs(Ze,{ref:o,variant:t,size:n,className:Se("absolute  h-8 w-8 rounded-full",i==="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:s,...r,children:[u.jsx(Jg,{className:"h-4 w-4"}),u.jsx("span",{className:"sr-only",children:"Previous slide"})]})});Xy.displayName="CarouselPrevious";const Zy=b.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},o)=>{const{orientation:i,scrollNext:s,canScrollNext:a}=pl();return u.jsxs(Ze,{ref:o,variant:t,size:n,className:Se("absolute h-8 w-8 rounded-full",i==="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:s,...r,children:[u.jsx(ev,{className:"h-4 w-4"}),u.jsx("span",{className:"sr-only",children:"Next slide"})]})});Zy.displayName="CarouselNext";const Xp=[{id:1,url:"/assets/h1.png",alt:"Brahmi",caption:"Brahmi"},{id:2,url:"/assets/h2.png",alt:"Ashwagandha",caption:"Ashwagandha"},{id:3,url:"/assets/h3.png",alt:"Boswellia serrata",caption:"Boswellia serrata"},{id:4,url:"/assets/h4.png",alt:"Kratom Extracts",caption:"Kratom Extracts"},{id:5,url:"/assets/h5.png",alt:"Ginger",caption:"Ginger"},{id:6,url:"/assets/h6.png",alt:"Amla",caption:"Amla"}],_N=()=>{const[e,t]=b.useState(!0),[n,r]=b.useState(0),o=b.useRef(null),i=Math.ceil(Xp.length/3);b.useEffect(()=>{let a=null;return e&&o.current&&(a=setInterval(()=>{o.current.scrollNext()},2e3)),()=>{a&&clearInterval(a)}},[e]);const s=a=>{var l;(l=o.current)==null||l.scrollTo(a)};return u.jsxs("section",{className:"relative w-full mb-3 overflow-hidden bg-gray-50",children:[u.jsx("h2",{className:"text-3xl font-bold mb-6 text-center text-[#5D835D]",children:"Featured Herbs"}),u.jsxs("div",{className:"relative",onMouseEnter:()=>t(!1),onMouseLeave:()=>t(!0),children:[u.jsxs(Qy,{opts:{align:"start",loop:!0},className:"w-full max-w-screen-xl mx-auto",setApi:a=>{o.current=a,a&&(a.scrollTo(n),a.on("select",()=>r(a.selectedScrollSnap())))},children:[u.jsx(Ky,{children:Array.from({length:i}).map((a,l)=>u.jsx(Yy,{className:"basis-full md:basis-full lg:basis-full",children:u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 p-2",children:[0,1,2].map(c=>{const p=l*3+c,f=Xp[p];return f?u.jsx("div",{className:"overflow-hidden rounded-lg shadow-md h-full",children:u.jsxs("div",{className:"relative h-[200px] overflow-hidden",children:[u.jsx("img",{src:f.url,alt:f.alt,className:"w-full h-full object-cover transition-transform hover:scale-110 duration-500"}),u.jsx("div",{className:"absolute inset-0 bg-black bg-opacity-20"}),u.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-4",children:u.jsx("h3",{className:"text-white font-medium text-lg",children:f.caption})})]})},f.id):null})})},l))}),u.jsx(Xy,{className:"absolute left-2 top-1/2 -translate-y-1/2 bg-white/50 hover:bg-white/80",children:u.jsx(N1,{className:"h-6 w-6"})}),u.jsx(Zy,{className:"absolute right-2 top-1/2 -translate-y-1/2 bg-white/50 hover:bg-white/80",children:u.jsx(P1,{className:"h-6 w-6"})})]}),u.jsx("div",{className:"flex justify-center gap-2 mt-4",children:Array.from({length:i}).map((a,l)=>u.jsx("button",{onClick:()=>s(l),className:`w-2.5 h-2.5 rounded-full transition-all ${n===l?"bg-herb-green-light w-5":"bg-gray-300 hover:bg-gray-400"}`,"aria-label":`Go to slide ${l+1}`},l))})]})]})},FN=[{sr:1,botanical:"Acorus calamus",common:"Vacha",uses:"Expectorant, Useful in Dysentery, Wounds & Hysteria"},{sr:2,botanical:"Adhatoda vasica",common:"Vasaka, Ardushi",uses:"Expectorant, Respiratory support, Cough & Cold aid"},{sr:3,botanical:"Aegle marmelos",common:"Bael",uses:"Cooling, Nutritive & Useful in Dysentery"},{sr:4,botanical:"Allium sativum",common:"Garlic",uses:"Useful in Acid Dyspepsia, Infantile convulsions & Cholesterol reduction"},{sr:5,botanical:"Aloe barbedensis",common:"Aloe",uses:"Anti-inflammatory, Antidysentric laxative, Excellent for Cosmetics"},{sr:6,botanical:"Andrographis paniculata",common:"Kalmegh",uses:"Liver Support & Digestion"},{sr:7,botanical:"Asparagus adscendens",common:"Safed Musli",uses:"Nutritive Tonic, Diarrhea, Dysentery"},{sr:8,botanical:"Asparagus racemosus",common:"Shatavari",uses:"Adaptogen, Diarrhea, Dysentery"},{sr:9,botanical:"Asphaltum Pure",common:"Shilajeet",uses:"Nutritive Tonic, Diarrhea, Dysentery, Diabetes, Nervous Disease"},{sr:10,botanical:"Azadirachta indica",common:"Neem leaf",uses:"Antiseptic"},{sr:11,botanical:"Bacopa monnieri",common:"Neera Brahmi",uses:"Boost memory and improve cognitive function"},{sr:12,botanical:"Bergenia ligulata",common:"Pashan Bhed",uses:"Urinary Support"},{sr:13,botanical:"Boerhavia diffusa",common:"Punemava",uses:"Liver Disorder, Heart Disease, Cough, Anemia"},{sr:14,botanical:"Boswellia serrata",common:"Salai guggul, Sallaki",uses:"Anti-inflammatory, Arthritis"},{sr:15,botanical:"Camellia sinensis",common:"Green Tea",uses:"Anti-Oxidant"},{sr:16,botanical:"Cannabis sativa (Hemp)",common:"CBD oil",uses:"Relieve pain"},{sr:17,botanical:"Celastrus paniculatus",common:"Malkangani",uses:"Nervine Tonic"},{sr:18,botanical:"Gentelia asiatica",common:"Mandukapami, brahmi",uses:"Memory Support"},{sr:19,botanical:"Cinnamomum zeylanicum",common:"Dalchini",uses:"Digestive"},{sr:20,botanical:"Cissus quadrangularis",common:"Hadjora",uses:"Bones"},{sr:21,botanical:"Coleus forskohlii",common:"Coleus",uses:"Cardiac Support"},{sr:22,botanical:"Commiphora mukul",common:"Guggal",uses:"Healthy cholesterol"},{sr:23,botanical:"Convolvulus pluriaulis",common:"Shankhpushpi",uses:"Brain Tonic"},{sr:24,botanical:"Curcuma longa",common:"Haldi",uses:"Anti-Arthritis, Anti-Cancer, Anti-Oxidant, Antiseptic"},{sr:25,botanical:"Cyperus rotundus",common:"Nagarmotha",uses:"Intestinal Disorder"},{sr:26,botanical:"Eclipta alba",common:"Bhringraj",uses:"Liver, Gallbladder"},{sr:27,botanical:"Embelia ribes",common:"Vai Vidang",uses:"Worms, Piles, Headache, Skin Disease"},{sr:28,botanical:"Emblica officinalis",common:"Amla",uses:"Rejuvenating agent, Antioxidant"},{sr:29,botanical:"Eugenia jambolana",common:"Jamun",uses:"Sugar Metabolism"},{sr:30,botanical:"Glycyrrhiza glabra",common:"Mulethi",uses:"Sore Throats, Cough, Bronchial infection"},{sr:31,botanical:"Gymnema sylvestre",common:"Gudmar",uses:"Healthy Blood Sugar"},{sr:32,botanical:"Hemidesmus indicus",common:"Anantmool, Sariva",uses:"Urinary Support, Blood Purifier"},{sr:33,botanical:"Holarrhena antidysenterica",common:"Indrajav, Kutaja",uses:"Dysentery, Diarrhea, Piles"},{sr:34,botanical:"Inula racemosa",common:"Pushkar mool",uses:"Cardio protectant"},{sr:35,botanical:"Mimosa pudica",common:"Lajwanti Alkaloids",uses:"Urinary Support"},{sr:36,botanical:"Mitragyna speciosa",common:"Kratom",uses:"Energy booster, Pain reliever"},{sr:37,botanical:"Mucuna pruriens",common:"Kaunch",uses:"Aphrodisiac, Sonic, Energy"},{sr:38,botanical:"Ocimum sanctum",common:"Tulsi",uses:"Blood Sugar Support, Rejuvenating Agent"},{sr:39,botanical:"Phylanthus niruri",common:"Bhui amla",uses:"Jaundice, Dysentery, Diabetes"},{sr:40,botanical:"Picrorrhiza kurroa",common:"Kutki",uses:"Liver Support, Neurosis of the Stomach, Malaria"},{sr:41,botanical:"Piper longum",common:"Pipali",uses:"Respiratory Support, Thermogenic, Paralysis, Tonic to Stomach"},{sr:42,botanical:"Pterocarpus marsupium",common:"Vijaysar",uses:"Sugar Metabolism"},{sr:43,botanical:"Pueraria tuberosa",common:"Vidari kand",uses:"Aphrodisiac"},{sr:44,botanical:"Rauwolfia serpentina",common:"Sarpgandha",uses:"Calm into the Nervous System"},{sr:45,botanical:"Rubia cordifolia",common:"Manjeetha",uses:"Blood Purifier"},{sr:46,botanical:"Sapindus trifoliatus",common:"Ritha",uses:"Natural Detergent, Excellent for Cosmetics"},{sr:47,botanical:"Solanum xanthocarpum",common:"Makoi",uses:"Digestive"},{sr:48,botanical:"Tephrosia purpuria",common:"Sarapankha",uses:"Tonic & Laxative"},{sr:49,botanical:"Terminalia arjuna",common:"Arjuna",uses:"Circulation Support, Heart Support"},{sr:50,botanical:"Terminalia bellirica",common:"Baheda",uses:"Rejuvenating Agent, Cough, Sore, Piles"},{sr:51,botanical:"Tinospora cordifolia",common:"Guduchi",uses:"Urinary Health Support"},{sr:52,botanical:"Tribulus terrestris",common:"Gokhru",uses:"Sports Nutrition, Bloody Urine"},{sr:53,botanical:"Trigonella foenum-graceum",common:"Mei",uses:"Blood Sugar Support, Cholesterol Management"},{sr:54,botanical:"Triphla",common:"Amla+Harad+Baheda",uses:"Digestive Aid, Anti-ageing"},{sr:55,botanical:"Vitex negundo",common:"Nirgundi",uses:"Diarrhea, Liver Disease, Skin Disease"},{sr:56,botanical:"Withania somnifera",common:"Ashwagandha",uses:"Adaptogen, Loss of Memory, Nervous Exhaustion, Skin Disease, Cough, Asthma"},{sr:57,botanical:"Zingiber officinale",common:"Ginger",uses:"Digestive Aid, Cough, Asthma, Throat"}],zN=()=>u.jsxs("section",{className:" px-4 md:px-10 bg-white",children:[u.jsx(_N,{}),u.jsx("p",{className:" text-black-600 mb-3",children:"Harness the therapeutic power of nature with our premium herbal extracts, expertly formulated for businesses seeking quality, consistency, and scale. At UG Enterprises, we transform potent medicinal plants into high-performance extracts that meet the rigorous demands of global nutraceutical, cosmetic, food, and wellness industries. Whether you’re formulating health supplements, clean-label skincare, or functional foods, our extracts deliver pure, standardized active compounds—backed by modern science and trusted worldwide."}),u.jsx("h2",{className:"text-3xl font-bold mb-6 text-center text-[#5D835D]",children:"Herbal Medicines"}),u.jsx("div",{className:"overflow-x-auto",children:u.jsxs("table",{className:"min-w-full border border-gray-300 text-sm md:text-base",children:[u.jsx("thead",{className:"bg-[#f0f0f0] text-gray-700",children:u.jsxs("tr",{children:[u.jsx("th",{className:"border px-4 py-2 text-left",children:"Sr. No."}),u.jsx("th",{className:"border px-4 py-2 text-left",children:"Botanical Name"}),u.jsx("th",{className:"border px-4 py-2 text-left",children:"Common Name"}),u.jsx("th",{className:"border px-4 py-2 text-left",children:"Uses"})]})}),u.jsx("tbody",{children:FN.map(({sr:e,botanical:t,common:n,uses:r})=>u.jsxs("tr",{className:"even:bg-gray-50",children:[u.jsx("td",{className:"border px-4 py-2",children:e}),u.jsx("td",{className:"border px-4 py-2",children:t}),u.jsx("td",{className:"border px-4 py-2",children:n}),u.jsx("td",{className:"border px-4 py-2",children:r})]},e))})]})})]}),Jy={"coconut-product":"Coconut",pharmaceuticals:"Pharmaceuticals","animal-feeds":"Animal Feeds","herbal-medicine":"Herbal Medicine","fruits-and-nuts":"Fruits & Nuts"},$N=Object.keys(Jy),UN=()=>{const{productslug:e}=cl(),t=e||"coconut-product";if(!$N.includes(t))return u.jsx(Hy,{});const r=Gi.filter(i=>i.category===t),o=Jy[t];return u.jsx("section",{className:"bg-white",children:u.jsxs("div",{className:"container mx-auto px-6 py-6 md:px-10 md:py-6 ",children:[u.jsxs("div",{className:"flex md:pl-96 md:items-center",children:[u.jsxs("div",{children:[u.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-4",children:[o," Products"]}),u.jsxs("p",{className:"hidden md:block text-black-700 text-center max-w-3xl mx-auto mb-10",children:["Discover our range of ",o," products across industries."]})]}),u.jsx(ee,{to:"/product",children:u.jsx(Ze,{variant:"outline",className:"rounded-3xl md:ml-96 px-6 py-2 font-medium transition-all duration-300 bg-[#749274] text-white hidden md:block",children:"Back"})})]}),t==="herbal-medicine"?u.jsx(zN,{}):u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8",children:r.map(i=>u.jsxs(_o,{className:"group overflow-hidden border border-skincare-pastel-green group-hover:border-[#404D36] transform transition-transform duration-300 hover:scale-105 shadow-sm hover:shadow-lg p-4",children:[u.jsx("div",{className:"relative pt-[100%]",children:u.jsx("img",{src:i.image,alt:i.name,className:"absolute top-0 left-0 w-full h-full object-cover"})}),u.jsx(as,{className:"py-3 px-6",children:u.jsx("div",{className:"h-[4.4rem] overflow-hidden",children:u.jsx("h3",{className:"font-semibold text-md mb-2 text-center transition-all duration-300 ease-in-out",children:i.name})})}),u.jsx(Od,{className:"px-6 pt-0",children:u.jsx(ee,{to:`${i==null?void 0:i.slug}`,className:"w-full",children:u.jsx(Ze,{className:"w-full bg-[#5D835D] hover:bg-[#749274]",children:"Read More"})})})]},i.id))})]})})},BN=()=>u.jsxs("div",{className:"py-16 bg-skincare-cream",children:[u.jsxs(vk,{children:[u.jsx("title",{children:"Our Products | UG Enterprises - Trusted Natural Product Exporters"}),u.jsx("meta",{name:"description",content:"Explore our wide range of high-quality products including coconuts, animal feeds, herbal items, and pharmaceuticals sourced sustainably and exported globally."}),u.jsx("meta",{name:"keywords",content:"natural product range,coconut export, animal feeds, herbal remedies, pharma ingredients, India supplier, UG product list"}),u.jsx("meta",{name:"author",content:"UG Enterprises"}),u.jsx("meta",{property:"og:title",content:"Our Products | UG Enterprises - Trusted Natural Product Exporters"}),u.jsx("meta",{property:"og:description",content:"Explore our wide range of high-quality products including coconuts, animal feeds, herbal items, and pharmaceuticals sourced sustainably and exported globally."}),u.jsx("meta",{property:"og:type",content:"website"}),u.jsx("meta",{property:"og:url",content:"https://ugenterprises.com/product"}),u.jsx("meta",{property:"og:site_name",content:"UG Enterprises"}),u.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),u.jsx("meta",{name:"twitter:title",content:"Our Products | UG Enterprises - Trusted Natural Product Exporters"}),u.jsx("meta",{name:"twitter:description",content:"Explore our wide range of high-quality products including coconuts, animal feeds, herbal items, and pharmaceuticals sourced sustainably and exported globally."}),u.jsx("link",{rel:"canonical",href:"https://ugenterprises.com/product"})]}),u.jsx("div",{className:"container mx-auto px-6 md:px-10",children:u.jsx("div",{className:" bg-white",children:u.jsxs("div",{className:"container mx-auto px-6 py-6 md:px-10 md:py-6",children:[u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-4",children:"Our Products"}),u.jsx("p",{className:"text-black-700 text-center max-w-3xl mx-auto mb-10",children:"Discover our range of premium products across industries."}),u.jsx(fy,{})]})})})]}),Zp=e=>e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]+/g,""),HN=()=>{const{productslug:e}=cl(),t=b.useMemo(()=>Gi.find(i=>i.slug===e),[e]),n=b.useMemo(()=>!t||t.category==="Herbal Medicine"?[]:Gi.filter(i=>i.category===t.category&&i.slug!==e).slice(0,6),[t,e]);if(!t||t.category==="Herbal Medicine")return null;Zp(t.category);const r=n.length===6,o=n.slice(0,5);return u.jsx("section",{className:"bg-white py-8 mt-12 border-t",children:u.jsxs("div",{className:"container mx-auto px-6 md:px-10",children:[u.jsxs("h2",{className:"text-2xl md:text-3xl font-bold mb-6 text-center",children:["Explore More ",t.categoryName," Products"]}),u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-8",children:o.map(i=>u.jsxs(_o,{className:"group overflow-hidden border border-skincare-pastel-green group-hover:border-[#404D36] transform transition-transform duration-300 hover:scale-105 shadow-sm hover:shadow-lg p-4",children:[u.jsx("div",{className:"relative pt-[100%]",children:u.jsx("img",{src:i.image,alt:i.name,className:"absolute top-0 left-0 w-full h-full object-cover"})}),u.jsx(as,{className:"py-3 px-6",children:u.jsx("div",{className:"h-[4.4rem] overflow-hidden",children:u.jsx("h3",{className:"font-semibold text-md mb-2 text-center transition-all duration-300 ease-in-out",children:i.name})})}),u.jsx(Od,{className:"px-6 pt-0",children:u.jsx(ee,{to:`/product/${Zp(i.category)}/${i.slug}`,className:"w-full",children:u.jsx(Ze,{className:"w-full bg-[#5D835D] hover:bg-[#749274]",children:"Read More"})})})]},i.id))}),r&&u.jsx("div",{className:"mt-10 text-center",children:u.jsx(ee,{to:`/product/${t==null?void 0:t.category}`,children:u.jsxs(Ze,{className:"bg-[#5D835D] hover:bg-[#749274]",children:["View All ",t.categoryName," Products"]})})})]})})},WN=()=>{const{productslug:e}=cl(),t=Gi.find(n=>n.slug===e);return t?u.jsx("section",{className:"py-10 bg-white",children:u.jsxs("div",{className:"container mx-auto px-6 md:px-10",children:[u.jsxs("div",{className:"flex flex-col lg:flex-row gap-8 mb-12",children:[u.jsx("div",{className:"max-w-md lg:max-w-xl mx-auto",children:u.jsx("img",{src:`${t.image}`,alt:t.name,className:"w-full h-auto rounded-xl shadow"})}),u.jsxs("div",{className:"flex-1",children:[u.jsx("h1",{className:"text-3xl md:text-4xl font-bold mb-4",children:t.name}),u.jsx("p",{className:"text-gray-700 mb-4",children:t.overview}),u.jsx("p",{className:"text-gray-600",children:t.description})]})]}),t.pharmaceuticalCategories&&u.jsxs(u.Fragment,{children:[u.jsxs("div",{className:"mb-12",children:[u.jsx("h2",{className:"text-2xl font-bold mb-6 text-center",children:"Pharmaceutical Categories"}),u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:t.pharmaceuticalCategories.map(n=>u.jsxs("div",{className:"bg-gray-50 p-6 rounded-lg shadow-sm border border-gray-200",children:[u.jsx("h3",{className:"text-xl font-semibold mb-4 text-[#5D835D]",children:n.name}),u.jsx("ul",{className:"space-y-2 list-disc list-inside text-gray-700",children:n.ingredients.map(r=>u.jsx("li",{children:r},r))})]},n.name))})]}),u.jsxs("div",{className:"mb-12",children:[u.jsx("h2",{className:"text-2xl font-bold mb-6 text-center",children:"Ingredient Breakdown Table"}),u.jsx("div",{className:"overflow-x-auto border border-gray-300 rounded-md",children:u.jsxs("table",{className:"min-w-full table-auto border-collapse text-sm",children:[u.jsx("thead",{children:u.jsx("tr",{className:"bg-[#5D835D] text-white",children:t.pharmaceuticalCategories.map(n=>u.jsx("th",{className:"p-4 text-left border border-gray-300 font-semibold",children:n.name},n.name))})}),u.jsx("tbody",{children:Array.from({length:Math.max(...t.pharmaceuticalCategories.map(n=>n.ingredients.length))}).map((n,r)=>u.jsx("tr",{className:r%2===0?"bg-white":"bg-gray-50",children:t.pharmaceuticalCategories.map(o=>u.jsx("td",{className:"p-4 border border-gray-300",children:o.ingredients[r]||"-"},`${o.name}-${r}`))},r))})]})})]})]})]})}):u.jsx("section",{className:"py-20 text-center",children:u.jsx("h1",{className:"text-3xl font-bold",children:"Product not found"})})},VN=()=>{const{productslug:e}=cl(),[t,n]=b.useState("Description"),r=Gi.find(i=>i.slug===e);if(!r)return u.jsx("section",{className:"py-20 text-center",children:u.jsx("h1",{className:"text-3xl font-bold",children:"Product not found"})});const o=["Description","Specifications","Packaging","Applications"];return u.jsxs("section",{className:"py-10 bg-white",children:[r.category==="pharmaceuticals"?u.jsx(WN,{}):u.jsxs("div",{className:"container mx-auto px-6 md:px-10 flex flex-col lg:flex-row gap-8",children:[u.jsx("div",{className:"max-w-md lg:max-w-xl mx-auto",children:u.jsx("img",{src:`${r.image}`,alt:r.name,className:"md:w-[400px] md:h-[400px] object-cover rounded-xl shadow"})}),u.jsxs("div",{className:"flex flex-col gap-6 flex-1",children:[u.jsxs("div",{children:[u.jsx("h1",{className:"text-3xl md:text-4xl font-bold mb-4",children:r.name}),u.jsx("p",{className:"text-gray-700",children:r.overview})]}),u.jsx("div",{className:"flex gap-4 mb-2 flex-wrap justify-center",children:o.map(i=>u.jsx(Ze,{onClick:()=>n(i),variant:t===i?"default":"outline",className:`rounded-3xl px-6 hover:bg-[#749274] hover:text-white transition duration-300 ${t===i?"bg-[#5D835D] text-white":"text-gray-700"}`,children:i},i))}),u.jsxs("div",{children:[t==="Description"&&u.jsx("p",{className:"text-gray-700 text-justify",children:r.description}),t==="Specifications"&&r["product specification"]&&u.jsx("ul",{className:"list-disc list-outside pl-5 text-gray-700 space-y-2",children:r["product specification"].map((i,s)=>u.jsx("li",{children:i},s))}),t==="Packaging"&&r.packaging&&u.jsx("div",{className:"space-y-4",children:r.packaging.map((i,s)=>u.jsxs("div",{children:[u.jsx("h3",{className:"font-semibold text-lg",children:i.heading}),u.jsx("p",{className:"text-gray-700 text-justify",children:i.description})]},s))}),t==="Applications"&&r.application&&u.jsx("ul",{className:"list-disc list-inside text-gray-700 space-y-2",children:r.application.map((i,s)=>u.jsx("li",{children:i},s))})]})]})]}),u.jsx("div",{className:"mt-16",children:u.jsx(HN,{})})]})},GN=new BS,qN=()=>u.jsx(dy,{children:u.jsx(WS,{client:GN,children:u.jsxs(xS,{children:[u.jsx(mb,{}),u.jsx(Wb,{}),u.jsxs($E,{children:[u.jsx(tN,{}),u.jsx(wk,{children:u.jsxs(DE,{children:[u.jsx(Et,{path:"/",element:u.jsx(Ik,{})}),u.jsx(Et,{path:"/product",element:u.jsx(BN,{})}),u.jsx(Et,{path:"/about",element:u.jsx(eN,{})}),u.jsx(Et,{path:"/blog",element:u.jsx(Mk,{})}),u.jsx(Et,{path:"/faq",element:u.jsx(GT,{})}),u.jsx(Et,{path:"/contact",element:u.jsx(QT,{})}),u.jsx(Et,{path:"/product/:productslug",element:u.jsx(UN,{})}),u.jsx(Et,{path:"/product/:category/:productslug",element:u.jsx(VN,{})}),u.jsx(Et,{path:"/privacy",element:u.jsx(nN,{})}),u.jsx(Et,{path:"/terms",element:u.jsx(rN,{})}),u.jsx(Et,{path:"*",element:u.jsx(Hy,{})})]})})]})]})})});bg(document.getElementById("root")).render(u.jsx(qN,{}));

Kontol Shell Bypass