function rv(e,t){for(var n=0;nr[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function Ar(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fp={exports:{}},So={},pp={exports:{}},F={};/** * @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"),iv=Symbol.for("react.portal"),sv=Symbol.for("react.fragment"),ov=Symbol.for("react.strict_mode"),av=Symbol.for("react.profiler"),lv=Symbol.for("react.provider"),cv=Symbol.for("react.context"),uv=Symbol.for("react.forward_ref"),dv=Symbol.for("react.suspense"),fv=Symbol.for("react.memo"),pv=Symbol.for("react.lazy"),bu=Symbol.iterator;function mv(e){return e===null||typeof e!="object"?null:(e=bu&&e[bu]||e["@@iterator"],typeof e=="function"?e:null)}var mp={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},hp=Object.assign,gp={};function Rr(e,t,n){this.props=e,this.context=t,this.refs=gp,this.updater=n||mp}Rr.prototype.isReactComponent={};Rr.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")};Rr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function yp(){}yp.prototype=Rr.prototype;function nc(e,t,n){this.props=e,this.context=t,this.refs=gp,this.updater=n||mp}var rc=nc.prototype=new yp;rc.constructor=nc;hp(rc,Rr.prototype);rc.isPureReactComponent=!0;var Eu=Array.isArray,vp=Object.prototype.hasOwnProperty,ic={current:null},xp={key:!0,ref:!0,__self:!0,__source:!0};function wp(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)vp.call(t,r)&&!xp.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1>>1,$=P[V];if(0>>1;Vi(Yn,_))We<$&&0>i(xn,Yn)?(P[V]=xn,P[We]=_,V=We):(P[V]=Yn,P[$e]=_,V=$e);else if(We<$&&0>i(xn,_))P[V]=xn,P[We]=_,V=We;else break e}}return R}function i(P,R){var _=P.sortIndex-R.sortIndex;return _!==0?_:P.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],d=1,f=null,p=3,h=!1,x=!1,v=!1,S=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(P){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=P)r(u),R.sortIndex=R.expirationTime,t(l,R);else break;R=n(u)}}function j(P){if(v=!1,g(P),!x)if(n(l)!==null)x=!0,U(C);else{var R=n(u);R!==null&&fe(j,R.startTime-P)}}function C(P,R){x=!1,v&&(v=!1,y(b),b=-1),h=!0;var _=p;try{for(g(R),f=n(l);f!==null&&(!(f.expirationTime>R)||P&&!G());){var V=f.callback;if(typeof V=="function"){f.callback=null,p=f.priorityLevel;var $=V(f.expirationTime<=R);R=e.unstable_now(),typeof $=="function"?f.callback=$:f===n(l)&&r(l),g(R)}else r(l);f=n(l)}if(f!==null)var q=!0;else{var $e=n(u);$e!==null&&fe(j,$e.startTime-R),q=!1}return q}finally{f=null,p=_,h=!1}}var T=!1,N=null,b=-1,M=5,L=-1;function G(){return!(e.unstable_now()-LP||125V?(P.sortIndex=_,t(u,P),n(l)===null&&P===n(u)&&(v?(y(b),b=-1):v=!0,fe(j,_-V))):(P.sortIndex=$,t(l,P),x||h||(x=!0,U(C))),P},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(P){var R=p;return function(){var _=p;p=R;try{return P.apply(this,arguments)}finally{p=_}}}})(bp);Tp.exports=bp;var Tv=Tp.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 bv=w,Qe=Tv;function E(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),za=Object.prototype.hasOwnProperty,Ev=/^[: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]*$/,ku={},Au={};function Pv(e){return za.call(Au,e)?!0:za.call(ku,e)?!1:Ev.test(e)?Au[e]=!0:(ku[e]=!0,!1)}function kv(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 Av(e,t,n,r){if(t===null||typeof t>"u"||kv(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 De(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var Ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ne[e]=new De(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ne[t]=new De(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ne[e]=new De(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ne[e]=new De(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){Ne[e]=new De(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ne[e]=new De(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ne[e]=new De(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ne[e]=new De(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ne[e]=new De(e,5,!1,e.toLowerCase(),null,!1,!1)});var oc=/[\-:]([a-z])/g;function ac(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(oc,ac);Ne[t]=new De(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(oc,ac);Ne[t]=new De(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(oc,ac);Ne[t]=new De(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ne[e]=new De(e,1,!1,e.toLowerCase(),null,!1,!1)});Ne.xlinkHref=new De("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ne[e]=new De(e,1,!1,e.toLowerCase(),null,!0,!0)});function lc(e,t,n,r){var i=Ne.hasOwnProperty(t)?Ne[t]:null;(i!==null?i.type!==0:r||!(2a||i[o]!==s[a]){var l=` `+i[o].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{Xo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Yr(e):""}function Rv(e){switch(e.tag){case 5:return Yr(e.type);case 16:return Yr("Lazy");case 13:return Yr("Suspense");case 19:return Yr("SuspenseList");case 0:case 2:case 15:return e=Zo(e.type,!1),e;case 11:return e=Zo(e.type.render,!1),e;case 1:return e=Zo(e.type,!0),e;default:return""}}function $a(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 Jn:return"Fragment";case Zn:return"Portal";case Fa:return"Profiler";case cc:return"StrictMode";case Ba:return"Suspense";case Ua:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case kp:return(e.displayName||"Context")+".Consumer";case Pp:return(e._context.displayName||"Context")+".Provider";case uc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case dc:return t=e.displayName||null,t!==null?t:$a(e.type)||"Memo";case Ht:t=e._payload,e=e._init;try{return $a(e(t))}catch{}}return null}function Mv(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 $a(t);case 8:return t===cc?"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 dn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Rp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Lv(e){var t=Rp(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 i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function es(e){e._valueTracker||(e._valueTracker=Lv(e))}function Mp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Rp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Is(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 Wa(e,t){var n=t.checked;return ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Mu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=dn(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 Lp(e,t){t=t.checked,t!=null&&lc(e,"checked",t,!1)}function Ha(e,t){Lp(e,t);var n=dn(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")?Ga(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ga(e,t.type,dn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Lu(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 Ga(e,t,n){(t!=="number"||Is(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Qr=Array.isArray;function mr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ts.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function mi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ei={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},Vv=["Webkit","ms","Moz","O"];Object.keys(ei).forEach(function(e){Vv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ei[t]=ei[e]})});function Ip(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ei.hasOwnProperty(e)&&ei[e]?(""+t).trim():t+"px"}function _p(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Ip(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Dv=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 Ya(e,t){if(t){if(Dv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function Qa(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 Xa=null;function fc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Za=null,hr=null,gr=null;function Ou(e){if(e=Ui(e)){if(typeof Za!="function")throw Error(E(280));var t=e.stateNode;t&&(t=bo(t),Za(e.stateNode,e.type,t))}}function zp(e){hr?gr?gr.push(e):gr=[e]:hr=e}function Fp(){if(hr){var e=hr,t=gr;if(gr=hr=null,Ou(e),t)for(e=0;e>>=0,e===0?32:31-(Gv(e)/Kv|0)|0}var ns=64,rs=4194304;function Xr(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 Bs(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=Xr(a):(s&=o,s!==0&&(r=Xr(s)))}else o=n&~i,o!==0?r=Xr(o):s!==0&&(r=Xr(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Fi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-mt(t),e[t]=n}function Xv(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=ni),Hu=String.fromCharCode(32),Gu=!1;function om(e,t){switch(e){case"keyup":return T0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function am(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var er=!1;function E0(e,t){switch(e){case"compositionend":return am(t);case"keypress":return t.which!==32?null:(Gu=!0,Hu);case"textInput":return e=t.data,e===Hu&&Gu?null:e;default:return null}}function P0(e,t){if(er)return e==="compositionend"||!wc&&om(e,t)?(e=im(),Ts=yc=Qt=null,er=!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)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=Qu(n)}}function dm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?dm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function fm(){for(var e=window,t=Is();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Is(e.document)}return t}function Sc(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 I0(e){var t=fm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dm(n.ownerDocument.documentElement,n)){if(r!==null&&Sc(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 i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=Xu(n,s);var o=Xu(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,tr=null,il=null,ii=null,sl=!1;function Zu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;sl||tr==null||tr!==Is(r)||(r=tr,"selectionStart"in r&&Sc(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}),ii&&wi(ii,r)||(ii=r,r=Ws(il,"onSelect"),0ir||(e.current=dl[ir],dl[ir]=null,ir--)}function Y(e,t){ir++,dl[ir]=e.current,e.current=t}var fn={},ke=gn(fn),ze=gn(!1),Vn=fn;function jr(e,t){var n=e.type.contextTypes;if(!n)return fn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Fe(e){return e=e.childContextTypes,e!=null}function Gs(){Z(ze),Z(ke)}function sd(e,t,n){if(ke.current!==fn)throw Error(E(168));Y(ke,t),Y(ze,n)}function Sm(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(E(108,Mv(e)||"Unknown",i));return ce({},n,r)}function Ks(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fn,Vn=ke.current,Y(ke,e),Y(ze,ze.current),!0}function od(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=Sm(e,t,Vn),r.__reactInternalMemoizedMergedChildContext=e,Z(ze),Z(ke),Y(ke,e)):Z(ze),Y(ze,n)}var Et=null,Eo=!1,fa=!1;function jm(e){Et===null?Et=[e]:Et.push(e)}function Y0(e){Eo=!0,jm(e)}function yn(){if(!fa&&Et!==null){fa=!0;var e=0,t=K;try{var n=Et;for(K=1;e>=o,i-=o,Pt=1<<32-mt(t)+i|n<b?(M=N,N=null):M=N.sibling;var L=p(y,N,g[b],j);if(L===null){N===null&&(N=M);break}e&&N&&L.alternate===null&&t(y,N),m=s(L,m,b),T===null?C=L:T.sibling=L,T=L,N=M}if(b===g.length)return n(y,N),re&&jn(y,b),C;if(N===null){for(;bb?(M=N,N=null):M=N.sibling;var G=p(y,N,L.value,j);if(G===null){N===null&&(N=M);break}e&&N&&G.alternate===null&&t(y,N),m=s(G,m,b),T===null?C=G:T.sibling=G,T=G,N=M}if(L.done)return n(y,N),re&&jn(y,b),C;if(N===null){for(;!L.done;b++,L=g.next())L=f(y,L.value,j),L!==null&&(m=s(L,m,b),T===null?C=L:T.sibling=L,T=L);return re&&jn(y,b),C}for(N=r(y,N);!L.done;b++,L=g.next())L=h(N,y,b,L.value,j),L!==null&&(e&&L.alternate!==null&&N.delete(L.key===null?b:L.key),m=s(L,m,b),T===null?C=L:T.sibling=L,T=L);return e&&N.forEach(function(O){return t(y,O)}),re&&jn(y,b),C}function S(y,m,g,j){if(typeof g=="object"&&g!==null&&g.type===Jn&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Ji:e:{for(var C=g.key,T=m;T!==null;){if(T.key===C){if(C=g.type,C===Jn){if(T.tag===7){n(y,T.sibling),m=i(T,g.props.children),m.return=y,y=m;break e}}else if(T.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Ht&&cd(C)===T.type){n(y,T.sibling),m=i(T,g.props),m.ref=Fr(y,T,g),m.return=y,y=m;break e}n(y,T);break}else t(y,T);T=T.sibling}g.type===Jn?(m=Mn(g.props.children,y.mode,j,g.key),m.return=y,y=m):(j=Ls(g.type,g.key,g.props,null,y.mode,j),j.ref=Fr(y,m,g),j.return=y,y=j)}return o(y);case Zn:e:{for(T=g.key;m!==null;){if(m.key===T)if(m.tag===4&&m.stateNode.containerInfo===g.containerInfo&&m.stateNode.implementation===g.implementation){n(y,m.sibling),m=i(m,g.children||[]),m.return=y,y=m;break e}else{n(y,m);break}else t(y,m);m=m.sibling}m=wa(g,y.mode,j),m.return=y,y=m}return o(y);case Ht:return T=g._init,S(y,m,T(g._payload),j)}if(Qr(g))return x(y,m,g,j);if(Dr(g))return v(y,m,g,j);us(y,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,m!==null&&m.tag===6?(n(y,m.sibling),m=i(m,g),m.return=y,y=m):(n(y,m),m=xa(g,y.mode,j),m.return=y,y=m),o(y)):n(y,m)}return S}var Nr=bm(!0),Em=bm(!1),Qs=gn(null),Xs=null,ar=null,Tc=null;function bc(){Tc=ar=Xs=null}function Ec(e){var t=Qs.current;Z(Qs),e._currentValue=t}function ml(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 vr(e,t){Xs=e,Tc=ar=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(_e=!0),e.firstContext=null)}function ot(e){var t=e._currentValue;if(Tc!==e)if(e={context:e,memoizedValue:t,next:null},ar===null){if(Xs===null)throw Error(E(308));ar=e,Xs.dependencies={lanes:0,firstContext:e}}else ar=ar.next=e;return t}var En=null;function Pc(e){En===null?En=[e]:En.push(e)}function Pm(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Pc(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ot(e,r)}function Ot(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 Gt=!1;function kc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function km(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Rt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function rn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,W&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ot(e,n)}return i=r.interleaved,i===null?(t.next=t,Pc(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ot(e,n)}function Es(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,mc(e,n)}}function ud(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Zs(e,t,n,r){var i=e.updateQueue;Gt=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?s=u:o.next=u,o=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==o&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=l))}if(s!==null){var f=i.baseState;o=0,d=u=l=null,a=s;do{var p=a.lane,h=a.eventTime;if((r&p)===p){d!==null&&(d=d.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,v=a;switch(p=t,h=n,v.tag){case 1:if(x=v.payload,typeof x=="function"){f=x.call(h,f,p);break e}f=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=v.payload,p=typeof x=="function"?x.call(h,f,p):x,p==null)break e;f=ce({},f,p);break e;case 2:Gt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[a]:p.push(a))}else h={eventTime:h,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=h,l=f):d=d.next=h,o|=p;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;p=a,a=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);if(d===null&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);In|=o,e.lanes=o,e.memoizedState=f}}function dd(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=ma.transition;ma.transition={};try{e(!1),t()}finally{K=n,ma.transition=r}}function Gm(){return at().memoizedState}function J0(e,t,n){var r=on(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Km(e))qm(t,n);else if(n=Pm(e,t,n,r),n!==null){var i=Le();ht(n,e,r,i),Ym(n,t,r)}}function ex(e,t,n){var r=on(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Km(e))qm(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,yt(a,o)){var l=t.interleaved;l===null?(i.next=i,Pc(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Pm(e,t,i,r),n!==null&&(i=Le(),ht(n,e,r,i),Ym(n,t,r))}}function Km(e){var t=e.alternate;return e===le||t!==null&&t===le}function qm(e,t){si=eo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ym(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,mc(e,n)}}var to={readContext:ot,useCallback:Te,useContext:Te,useEffect:Te,useImperativeHandle:Te,useInsertionEffect:Te,useLayoutEffect:Te,useMemo:Te,useReducer:Te,useRef:Te,useState:Te,useDebugValue:Te,useDeferredValue:Te,useTransition:Te,useMutableSource:Te,useSyncExternalStore:Te,useId:Te,unstable_isNewReconciler:!1},tx={readContext:ot,useCallback:function(e,t){return xt().memoizedState=[e,t===void 0?null:t],e},useContext:ot,useEffect:pd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ks(4194308,4,Bm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ks(4194308,4,e,t)},useInsertionEffect:function(e,t){return ks(4,2,e,t)},useMemo:function(e,t){var n=xt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=xt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=J0.bind(null,le,e),[r.memoizedState,e]},useRef:function(e){var t=xt();return e={current:e},t.memoizedState=e},useState:fd,useDebugValue:Ic,useDeferredValue:function(e){return xt().memoizedState=e},useTransition:function(){var e=fd(!1),t=e[0];return e=Z0.bind(null,e[1]),xt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=le,i=xt();if(re){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),Se===null)throw Error(E(349));On&30||Lm(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,pd(Dm.bind(null,r,s,e),[e]),r.flags|=2048,Pi(9,Vm.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=xt(),t=Se.identifierPrefix;if(re){var n=kt,r=Pt;n=(r&~(1<<32-mt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=bi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[wt]=t,e[Ci]=r,sh(e,t,!1,!1),t.stateNode=e;e:{switch(o=Qa(n,r),n){case"dialog":X("cancel",e),X("close",e),i=r;break;case"iframe":case"object":case"embed":X("load",e),i=r;break;case"video":case"audio":for(i=0;iEr&&(t.flags|=128,r=!0,Br(s,!1),t.lanes=4194304)}else{if(!r)if(e=Js(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Br(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!re)return be(t),null}else 2*pe()-s.renderingStartTime>Er&&n!==1073741824&&(t.flags|=128,r=!0,Br(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=pe(),t.sibling=null,n=se.current,Y(se,r?n&1|2:n&1),t):(be(t),null);case 22:case 23:return $c(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?He&1073741824&&(be(t),t.subtreeFlags&6&&(t.flags|=8192)):be(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function cx(e,t){switch(Cc(t),t.tag){case 1:return Fe(t.type)&&Gs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Tr(),Z(ze),Z(ke),Mc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Rc(t),null;case 13:if(Z(se),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));Cr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Z(se),null;case 4:return Tr(),null;case 10:return Ec(t.type._context),null;case 22:case 23:return $c(),null;case 24:return null;default:return null}}var fs=!1,Pe=!1,ux=typeof WeakSet=="function"?WeakSet:Set,k=null;function lr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ue(e,t,r)}else n.current=null}function Cl(e,t,n){try{n()}catch(r){ue(e,t,r)}}var Nd=!1;function dx(e,t){if(ol=Us,e=fm(),Sc(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 i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||i!==0&&f.nodeType!==3||(a=o+i),f!==s||r!==0&&f.nodeType!==3||(l=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(h=f.firstChild)!==null;)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===i&&(a=o),p===s&&++d===r&&(l=o),(h=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(al={focusedElem:e,selectionRange:n},Us=!1,k=t;k!==null;)if(t=k,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,k=e;else for(;k!==null;){t=k;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var v=x.memoizedProps,S=x.memoizedState,y=t.stateNode,m=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:ut(t.type,v),S);y.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(j){ue(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,k=e;break}k=t.return}return x=Nd,Nd=!1,x}function oi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&Cl(t,n,s)}i=i.next}while(i!==r)}}function Ao(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 Nl(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function lh(e){var t=e.alternate;t!==null&&(e.alternate=null,lh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[wt],delete t[Ci],delete t[ul],delete t[K0],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 ch(e){return e.tag===5||e.tag===3||e.tag===4}function Td(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ch(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 Tl(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=Hs));else if(r!==4&&(e=e.child,e!==null))for(Tl(e,t,n),e=e.sibling;e!==null;)Tl(e,t,n),e=e.sibling}function bl(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(bl(e,t,n),e=e.sibling;e!==null;)bl(e,t,n),e=e.sibling}var je=null,dt=!1;function Bt(e,t,n){for(n=n.child;n!==null;)uh(e,t,n),n=n.sibling}function uh(e,t,n){if(St&&typeof St.onCommitFiberUnmount=="function")try{St.onCommitFiberUnmount(jo,n)}catch{}switch(n.tag){case 5:Pe||lr(n,t);case 6:var r=je,i=dt;je=null,Bt(e,t,n),je=r,dt=i,je!==null&&(dt?(e=je,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):je.removeChild(n.stateNode));break;case 18:je!==null&&(dt?(e=je,n=n.stateNode,e.nodeType===8?da(e.parentNode,n):e.nodeType===1&&da(e,n),vi(e)):da(je,n.stateNode));break;case 4:r=je,i=dt,je=n.stateNode.containerInfo,dt=!0,Bt(e,t,n),je=r,dt=i;break;case 0:case 11:case 14:case 15:if(!Pe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&Cl(n,t,o),i=i.next}while(i!==r)}Bt(e,t,n);break;case 1:if(!Pe&&(lr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ue(n,t,a)}Bt(e,t,n);break;case 21:Bt(e,t,n);break;case 22:n.mode&1?(Pe=(r=Pe)||n.memoizedState!==null,Bt(e,t,n),Pe=r):Bt(e,t,n);break;default:Bt(e,t,n)}}function bd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new ux),t.forEach(function(r){var i=wx.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function lt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~s}if(r=i,r=pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*px(r/1960))-r,10e?16:e,Xt===null)var r=!1;else{if(e=Xt,Xt=null,io=0,W&6)throw Error(E(331));var i=W;for(W|=4,k=e.current;k!==null;){var s=k,o=s.child;if(k.flags&16){var a=s.deletions;if(a!==null){for(var l=0;lpe()-Bc?Rn(e,0):Fc|=n),Be(e,t)}function vh(e,t){t===0&&(e.mode&1?(t=rs,rs<<=1,!(rs&130023424)&&(rs=4194304)):t=1);var n=Le();e=Ot(e,t),e!==null&&(Fi(e,t,n),Be(e,n))}function xx(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),vh(e,n)}function wx(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),vh(e,n)}var xh;xh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ze.current)_e=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return _e=!1,ax(e,t,n);_e=!!(e.flags&131072)}else _e=!1,re&&t.flags&1048576&&Cm(t,Ys,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;As(e,t),e=t.pendingProps;var i=jr(t,ke.current);vr(t,n),i=Vc(null,t,r,e,i,n);var s=Dc();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Fe(r)?(s=!0,Ks(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,kc(t),i.updater=ko,t.stateNode=i,i._reactInternals=t,gl(t,r,e,n),t=xl(null,t,r,!0,s,n)):(t.tag=0,re&&s&&jc(t),Me(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(As(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=jx(r),e=ut(r,e),i){case 0:t=vl(null,t,r,e,n);break e;case 1:t=Sd(null,t,r,e,n);break e;case 11:t=xd(null,t,r,e,n);break e;case 14:t=wd(null,t,r,ut(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ut(r,i),vl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ut(r,i),Sd(e,t,r,i,n);case 3:e:{if(nh(t),e===null)throw Error(E(387));r=t.pendingProps,s=t.memoizedState,i=s.element,km(e,t),Zs(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=br(Error(E(423)),t),t=jd(e,t,r,n,i);break e}else if(r!==i){i=br(Error(E(424)),t),t=jd(e,t,r,n,i);break e}else for(qe=nn(t.stateNode.containerInfo.firstChild),Ye=t,re=!0,ft=null,n=Em(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Cr(),r===i){t=It(e,t,n);break e}Me(e,t,r,n)}t=t.child}return t;case 5:return Am(t),e===null&&pl(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,ll(r,i)?o=null:s!==null&&ll(r,s)&&(t.flags|=32),th(e,t),Me(e,t,o,n),t.child;case 6:return e===null&&pl(t),null;case 13:return rh(e,t,n);case 4:return Ac(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Nr(t,null,r,n):Me(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ut(r,i),xd(e,t,r,i,n);case 7:return Me(e,t,t.pendingProps,n),t.child;case 8:return Me(e,t,t.pendingProps.children,n),t.child;case 12:return Me(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,Y(Qs,r._currentValue),r._currentValue=o,s!==null)if(yt(s.value,o)){if(s.children===i.children&&!ze.current){t=It(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=Rt(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),ml(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(E(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),ml(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Me(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,vr(t,n),i=ot(i),r=r(i),t.flags|=1,Me(e,t,r,n),t.child;case 14:return r=t.type,i=ut(r,t.pendingProps),i=ut(r.type,i),wd(e,t,r,i,n);case 15:return Jm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ut(r,i),As(e,t),t.tag=1,Fe(r)?(e=!0,Ks(t)):e=!1,vr(t,n),Qm(t,r,i),gl(t,r,i,n),xl(null,t,r,!0,e,n);case 19:return ih(e,t,n);case 22:return eh(e,t,n)}throw Error(E(156,t.tag))};function wh(e,t){return Kp(e,t)}function Sx(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 it(e,t,n,r){return new Sx(e,t,n,r)}function Hc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jx(e){if(typeof e=="function")return Hc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===uc)return 11;if(e===dc)return 14}return 2}function an(e,t){var n=e.alternate;return n===null?(n=it(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 Ls(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Hc(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Jn:return Mn(n.children,i,s,t);case cc:o=8,i|=8;break;case Fa:return e=it(12,n,t,i|2),e.elementType=Fa,e.lanes=s,e;case Ba:return e=it(13,n,t,i),e.elementType=Ba,e.lanes=s,e;case Ua:return e=it(19,n,t,i),e.elementType=Ua,e.lanes=s,e;case Ap:return Mo(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Pp:o=10;break e;case kp:o=9;break e;case uc:o=11;break e;case dc:o=14;break e;case Ht:o=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=it(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Mn(e,t,n,r){return e=it(7,e,r,t),e.lanes=n,e}function Mo(e,t,n,r){return e=it(22,e,r,t),e.elementType=Ap,e.lanes=n,e.stateNode={isHidden:!1},e}function xa(e,t,n){return e=it(6,e,null,t),e.lanes=n,e}function wa(e,t,n){return t=it(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Cx(e,t,n,r,i){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=ea(0),this.expirationTimes=ea(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ea(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Gc(e,t,n,r,i,s,o,a,l){return e=new Cx(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=it(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},kc(s),e}function Nx(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Nh)}catch(e){console.error(e)}}Nh(),Np.exports=Ze;var Io=Np.exports;const kx=Ar(Io);var Vd=Io;_a.createRoot=Vd.createRoot,_a.hydrateRoot=Vd.hydrateRoot;/** * @remix-run/router v1.23.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 Ai(){return Ai=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Th(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Rx(){return Math.random().toString(36).substr(2,8)}function Od(e,t){return{usr:e.state,key:e.key,idx:t}}function Rl(e,t,n,r){return n===void 0&&(n=null),Ai({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Vr(t):t,{state:n,key:t&&t.key||r||Rx()})}function ao(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 Vr(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 Mx(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=Zt.Pop,l=null,u=d();u==null&&(u=0,o.replaceState(Ai({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function f(){a=Zt.Pop;let S=d(),y=S==null?null:S-u;u=S,l&&l({action:a,location:v.location,delta:y})}function p(S,y){a=Zt.Push;let m=Rl(v.location,S,y);n&&n(m,S),u=d()+1;let g=Od(m,u),j=v.createHref(m);try{o.pushState(g,"",j)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;i.location.assign(j)}s&&l&&l({action:a,location:v.location,delta:1})}function h(S,y){a=Zt.Replace;let m=Rl(v.location,S,y);n&&n(m,S),u=d();let g=Od(m,u),j=v.createHref(m);o.replaceState(g,"",j),s&&l&&l({action:a,location:v.location,delta:0})}function x(S){let y=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof S=="string"?S:ao(S);return m=m.replace(/ $/,"%20"),ge(y,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,y)}let v={get action(){return a},get location(){return e(i,o)},listen(S){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Dd,f),l=S,()=>{i.removeEventListener(Dd,f),l=null}},createHref(S){return t(i,S)},createURL:x,encodeLocation(S){let y=x(S);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:p,replace:h,go(S){return o.go(S)}};return v}var Id;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Id||(Id={}));function Lx(e,t,n){return n===void 0&&(n="/"),Vx(e,t,n,!1)}function Vx(e,t,n,r){let i=typeof t=="string"?Vr(t):t,s=Qc(i.pathname||"/",n);if(s==null)return null;let o=bh(e);Dx(o);let a=null;for(let l=0;a==null&&l{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(ge(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=ln([r,l.relativePath]),d=n.concat(l);s.children&&s.children.length>0&&(ge(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),bh(s.children,t,d,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:Ux(u,s.index),routesMeta:d})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of Eh(s.path))i(s,o,l)}),t}function Eh(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=Eh(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function Dx(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:$x(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Ox=/^:[\w-]+$/,Ix=3,_x=2,zx=1,Fx=10,Bx=-2,_d=e=>e==="*";function Ux(e,t){let n=e.split("/"),r=n.length;return n.some(_d)&&(r+=Bx),t&&(r+=_x),n.filter(i=>!_d(i)).reduce((i,s)=>i+(Ox.test(s)?Ix:s===""?zx:Fx),r)}function $x(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function Wx(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a{let{paramName:p,isOptional:h}=d;if(p==="*"){let v=a[f]||"";o=s.slice(0,s.length-v.length).replace(/(.)\/+$/,"$1")}const x=a[f];return h&&!x?u[p]=void 0:u[p]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function Hx(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Th(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=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Gx(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Th(!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 Qc(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 Kx(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Vr(e):e;return{pathname:n?n.startsWith("/")?n:qx(n,t):t,search:Xx(r),hash:Zx(i)}}function qx(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Sa(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 and the router will parse it for you.'}function Yx(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Ph(e,t){let n=Yx(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function kh(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Vr(e):(i=Ai({},e),ge(!i.pathname||!i.pathname.includes("?"),Sa("?","pathname","search",i)),ge(!i.pathname||!i.pathname.includes("#"),Sa("#","pathname","hash",i)),ge(!i.search||!i.search.includes("#"),Sa("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,a;if(o==null)a=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let p=o.split("/");for(;p[0]==="..";)p.shift(),f-=1;i.pathname=p.join("/")}a=f>=0?t[f]:"/"}let l=Kx(i,a),u=o&&o!=="/"&&o.endsWith("/"),d=(s||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const ln=e=>e.join("/").replace(/\/\/+/g,"/"),Qx=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Xx=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Zx=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Jx(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Ah=["post","put","patch","delete"];new Set(Ah);const e1=["get",...Ah];new Set(e1);/** * React Router v6.30.1 * * 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 Ri(){return Ri=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),w.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=kh(u,JSON.parse(o),s,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:ln([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,o,s,e])}function Lh(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=w.useContext($n),{matches:i}=w.useContext(Wn),{pathname:s}=Hi(),o=JSON.stringify(Ph(i,r.v7_relativeSplatPath));return w.useMemo(()=>kh(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function s1(e,t){return o1(e,t)}function o1(e,t,n,r){Wi()||ge(!1);let{navigator:i}=w.useContext($n),{matches:s}=w.useContext(Wn),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Hi(),d;if(t){var f;let S=typeof t=="string"?Vr(t):t;l==="/"||(f=S.pathname)!=null&&f.startsWith(l)||ge(!1),d=S}else d=u;let p=d.pathname||"/",h=p;if(l!=="/"){let S=l.replace(/^\//,"").split("/");h="/"+p.replace(/^\//,"").split("/").slice(S.length).join("/")}let x=Lx(e,{pathname:h}),v=d1(x&&x.map(S=>Object.assign({},S,{params:Object.assign({},a,S.params),pathname:ln([l,i.encodeLocation?i.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?l:ln([l,i.encodeLocation?i.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),s,n,r);return t&&v?w.createElement(_o.Provider,{value:{location:Ri({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Zt.Pop}},v):v}function a1(){let e=h1(),t=Jx(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},s=null;return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:i},n):null,s)}const l1=w.createElement(a1,null);class c1 extends w.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?w.createElement(Wn.Provider,{value:this.props.routeContext},w.createElement(Rh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function u1(e){let{routeContext:t,match:n,children:r}=e,i=w.useContext(Xc);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(Wn.Provider,{value:t},r)}function d1(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let d=o.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||ge(!1),o=o.slice(0,Math.min(o.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,f,p)=>{let h,x=!1,v=null,S=null;n&&(h=a&&f.route.id?a[f.route.id]:void 0,v=f.route.errorElement||l1,l&&(u<0&&p===0?(y1("route-fallback",!1),x=!0,S=null):u===p&&(x=!0,S=f.route.hydrateFallbackElement||null)));let y=t.concat(o.slice(0,p+1)),m=()=>{let g;return h?g=v:x?g=S:f.route.Component?g=w.createElement(f.route.Component,null):f.route.element?g=f.route.element:g=d,w.createElement(u1,{match:f,routeContext:{outlet:d,matches:y,isDataRoute:n!=null},children:g})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?w.createElement(c1,{location:n.location,revalidation:n.revalidation,component:v,error:h,children:m(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):m()},null)}var Vh=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Vh||{}),lo=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}(lo||{});function f1(e){let t=w.useContext(Xc);return t||ge(!1),t}function p1(e){let t=w.useContext(t1);return t||ge(!1),t}function m1(e){let t=w.useContext(Wn);return t||ge(!1),t}function Dh(e){let t=m1(),n=t.matches[t.matches.length-1];return n.route.id||ge(!1),n.route.id}function h1(){var e;let t=w.useContext(Rh),n=p1(lo.UseRouteError),r=Dh(lo.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function g1(){let{router:e}=f1(Vh.UseNavigateStable),t=Dh(lo.UseNavigateStable),n=w.useRef(!1);return Mh(()=>{n.current=!0}),w.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Ri({fromRouteId:t},s)))},[e,t])}const Fd={};function y1(e,t,n){!t&&!Fd[e]&&(Fd[e]=!0)}function v1(e,t){e==null||e.v7_startTransition,(e==null?void 0:e.v7_relativeSplatPath)===void 0&&(!t||t.v7_relativeSplatPath),t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation)}function $t(e){ge(!1)}function x1(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Zt.Pop,navigator:s,static:o=!1,future:a}=e;Wi()&&ge(!1);let l=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:l,navigator:s,static:o,future:Ri({v7_relativeSplatPath:!1},a)}),[l,a,s,o]);typeof r=="string"&&(r=Vr(r));let{pathname:d="/",search:f="",hash:p="",state:h=null,key:x="default"}=r,v=w.useMemo(()=>{let S=Qc(d,l);return S==null?null:{location:{pathname:S,search:f,hash:p,state:h,key:x},navigationType:i}},[l,d,f,p,h,x,i]);return v==null?null:w.createElement($n.Provider,{value:u},w.createElement(_o.Provider,{children:n,value:v}))}function w1(e){let{children:t,location:n}=e;return s1(Ml(t),n)}new Promise(()=>{});function Ml(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,i)=>{if(!w.isValidElement(r))return;let s=[...t,i];if(r.type===w.Fragment){n.push.apply(n,Ml(r.props.children,s));return}r.type!==$t&&ge(!1),!r.props.index||!r.props.children||ge(!1);let o={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Ml(r.props.children,s)),n.push(o)}),n}/** * React Router DOM v6.30.1 * * 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 Ll(){return Ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function j1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function C1(e,t){return e.button===0&&(!t||t==="_self")&&!j1(e)}const N1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],T1="6";try{window.__reactRouterVersion=T1}catch{}const b1="startTransition",Bd=jp[b1];function E1(e){let{basename:t,children:n,future:r,window:i}=e,s=w.useRef();s.current==null&&(s.current=Ax({window:i,v5Compat:!0}));let o=s.current,[a,l]=w.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=w.useCallback(f=>{u&&Bd?Bd(()=>l(f)):l(f)},[l,u]);return w.useLayoutEffect(()=>o.listen(d),[o,d]),w.useEffect(()=>v1(r),[r]),w.createElement(x1,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const P1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",k1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ge=w.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:a,target:l,to:u,preventScrollReset:d,viewTransition:f}=t,p=S1(t,N1),{basename:h}=w.useContext($n),x,v=!1;if(typeof u=="string"&&k1.test(u)&&(x=u,P1))try{let g=new URL(window.location.href),j=u.startsWith("//")?new URL(g.protocol+u):new URL(u),C=Qc(j.pathname,h);j.origin===g.origin&&C!=null?u=C+j.search+j.hash:v=!0}catch{}let S=n1(u,{relative:i}),y=A1(u,{replace:o,state:a,target:l,preventScrollReset:d,relative:i,viewTransition:f});function m(g){r&&r(g),g.defaultPrevented||y(g)}return w.createElement("a",Ll({},p,{href:x||S,onClick:v||s?r:m,ref:n,target:l}))});var Ud;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ud||(Ud={}));var $d;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})($d||($d={}));function A1(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,l=r1(),u=Hi(),d=Lh(e,{relative:o});return w.useCallback(f=>{if(C1(f,n)){f.preventDefault();let p=r!==void 0?r:ao(u)===ao(d);l(e,{replace:p,state:i,preventScrollReset:s,relative:o,viewTransition:a})}},[u,l,d,r,i,n,e,s,o,a])}function Oh(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;te&&(t=0,r=n,n=new Map)}return{get:function(o){var a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return i(o,a),a},set:function(o,a){n.has(o)?n.set(o,a):i(o,a)}}}var Fh="!";function _1(e){var t=e.separator||":",n=t.length===1,r=t[0],i=t.length;return function(o){for(var a=[],l=0,u=0,d,f=0;fu?d-u:void 0;return{modifiers:a,hasImportantModifier:x,baseClassName:v,maybePostfixModifierPosition:S}}}function z1(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(r){var i=r[0]==="[";i?(t.push.apply(t,n.sort().concat([r])),n=[]):n.push(r)}),t.push.apply(t,n.sort()),t}function F1(e){return{cache:I1(e.cacheSize),splitModifiers:_1(e),...M1(e)}}var B1=/\s+/;function U1(e,t){var n=t.splitModifiers,r=t.getClassGroupId,i=t.getConflictingClassGroupIds,s=new Set;return e.trim().split(B1).map(function(o){var a=n(o),l=a.modifiers,u=a.hasImportantModifier,d=a.baseClassName,f=a.maybePostfixModifierPosition,p=r(f?d.substring(0,f):d),h=!!f;if(!p){if(!f)return{isTailwindClass:!1,originalClassName:o};if(p=r(d),!p)return{isTailwindClass:!1,originalClassName:o};h=!1}var x=z1(l).join(":"),v=u?x+Fh:x;return{isTailwindClass:!0,modifierId:v,classGroupId:p,originalClassName:o,hasPostfixModifier:h}}).reverse().filter(function(o){if(!o.isTailwindClass)return!0;var a=o.modifierId,l=o.classGroupId,u=o.hasPostfixModifier,d=a+l;return s.has(d)?!1:(s.add(d),i(l,u).forEach(function(f){return s.add(a+f)}),!0)}).reverse().map(function(o){return o.originalClassName}).join(" ")}function $1(){for(var e=arguments.length,t=new Array(e),n=0;n{let n=!1;const r=e.map(i=>{const s=Kd(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i{var y;const{scope:p,children:h,...x}=f,v=((y=p==null?void 0:p[e])==null?void 0:y[l])||a,S=w.useMemo(()=>x,Object.values(x));return c.jsx(v.Provider,{value:S,children:h})};u.displayName=s+"Provider";function d(f,p){var v;const h=((v=p==null?void 0:p[e])==null?void 0:v[l])||a,x=w.useContext(h);if(x)return x;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,d]}const i=()=>{const s=n.map(o=>w.createContext(o));return function(a){const l=(a==null?void 0:a[e])||s;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,sw(i,...t)]}function sw(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((a,{useScope:l,scopeName:u})=>{const f=l(s)[`__scope${u}`];return{...a,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function co(e){const t=aw(e),n=w.forwardRef((r,i)=>{const{children:s,...o}=r,a=w.Children.toArray(s),l=a.find(cw);if(l){const u=l.props.children,d=a.map(f=>f===l?w.Children.count(u)>1?w.Children.only(null):w.isValidElement(u)?u.props.children:null:f);return c.jsx(t,{...o,ref:i,children:w.isValidElement(u)?w.cloneElement(u,void 0,d):null})}return c.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}var ow=co("Slot");function aw(e){const t=w.forwardRef((n,r)=>{const{children:i,...s}=n;if(w.isValidElement(i)){const o=dw(i),a=uw(s,i.props);return i.type!==w.Fragment&&(a.ref=r?$h(r,o):o),w.cloneElement(i,a)}return w.Children.count(i)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var lw=Symbol("radix.slottable");function cw(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===lw}function uw(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...a)=>{const l=s(...a);return i(...a),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function dw(e){var r,i;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=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function fw(e){const t=e+"CollectionProvider",[n,r]=Wh(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=v=>{const{scope:S,children:y}=v,m=oe.useRef(null),g=oe.useRef(new Map).current;return c.jsx(i,{scope:S,itemMap:g,collectionRef:m,children:y})};o.displayName=t;const a=e+"CollectionSlot",l=co(a),u=oe.forwardRef((v,S)=>{const{scope:y,children:m}=v,g=s(a,y),j=zn(S,g.collectionRef);return c.jsx(l,{ref:j,children:m})});u.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",p=co(d),h=oe.forwardRef((v,S)=>{const{scope:y,children:m,...g}=v,j=oe.useRef(null),C=zn(S,j),T=s(d,y);return oe.useEffect(()=>(T.itemMap.set(j,{ref:j,...g}),()=>void T.itemMap.delete(j))),c.jsx(p,{[f]:"",ref:C,children:m})});h.displayName=d;function x(v){const S=s(e+"CollectionConsumer",v);return oe.useCallback(()=>{const m=S.collectionRef.current;if(!m)return[];const g=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(S.itemMap.values()).sort((T,N)=>g.indexOf(T.ref.current)-g.indexOf(N.ref.current))},[S.collectionRef,S.itemMap])}return[{Provider:o,Slot:u,ItemSlot:h},x,r]}var pw=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Nt=pw.reduce((e,t)=>{const n=co(`Primitive.${t}`),r=w.forwardRef((i,s)=>{const{asChild:o,...a}=i,l=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Hh(e,t){e&&Io.flushSync(()=>e.dispatchEvent(t))}function Fn(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function mw(e,t=globalThis==null?void 0:globalThis.document){const n=Fn(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var hw="DismissableLayer",Ol="dismissableLayer.update",gw="dismissableLayer.pointerDownOutside",yw="dismissableLayer.focusOutside",qd,Gh=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Kh=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:a,...l}=e,u=w.useContext(Gh),[d,f]=w.useState(null),p=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=w.useState({}),x=zn(t,N=>f(N)),v=Array.from(u.layers),[S]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(S),m=d?v.indexOf(d):-1,g=u.layersWithOutsidePointerEventsDisabled.size>0,j=m>=y,C=xw(N=>{const b=N.target,M=[...u.branches].some(L=>L.contains(b));!j||M||(i==null||i(N),o==null||o(N),N.defaultPrevented||a==null||a())},p),T=ww(N=>{const b=N.target;[...u.branches].some(L=>L.contains(b))||(s==null||s(N),o==null||o(N),N.defaultPrevented||a==null||a())},p);return mw(N=>{m===u.layers.size-1&&(r==null||r(N),!N.defaultPrevented&&a&&(N.preventDefault(),a()))},p),w.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(qd=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Yd(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=qd)}},[d,p,n,u]),w.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Yd())},[d,u]),w.useEffect(()=>{const N=()=>h({});return document.addEventListener(Ol,N),()=>document.removeEventListener(Ol,N)},[]),c.jsx(Nt.div,{...l,ref:x,style:{pointerEvents:g?j?"auto":"none":void 0,...e.style},onFocusCapture:Ke(e.onFocusCapture,T.onFocusCapture),onBlurCapture:Ke(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Ke(e.onPointerDownCapture,C.onPointerDownCapture)})});Kh.displayName=hw;var vw="DismissableLayerBranch",qh=w.forwardRef((e,t)=>{const n=w.useContext(Gh),r=w.useRef(null),i=zn(t,r);return w.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),c.jsx(Nt.div,{...e,ref:i})});qh.displayName=vw;function xw(e,t=globalThis==null?void 0:globalThis.document){const n=Fn(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){Yh(gw,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function ww(e,t=globalThis==null?void 0:globalThis.document){const n=Fn(e),r=w.useRef(!1);return w.useEffect(()=>{const i=s=>{s.target&&!r.current&&Yh(yw,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Yd(){const e=new CustomEvent(Ol);document.dispatchEvent(e)}function Yh(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Hh(i,s):i.dispatchEvent(s)}var Sw=Kh,jw=qh,Mi=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},Cw="Portal",Qh=w.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,s]=w.useState(!1);Mi(()=>s(!0),[]);const o=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?kx.createPortal(c.jsx(Nt.div,{...r,ref:t}),o):null});Qh.displayName=Cw;function Nw(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var Xh=e=>{const{present:t,children:n}=e,r=Tw(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),s=zn(r.ref,bw(i));return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:s}):null};Xh.displayName="Presence";function Tw(e){const[t,n]=w.useState(),r=w.useRef(null),i=w.useRef(e),s=w.useRef("none"),o=e?"mounted":"unmounted",[a,l]=Nw(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=gs(r.current);s.current=a==="mounted"?u:"none"},[a]),Mi(()=>{const u=r.current,d=i.current;if(d!==e){const p=s.current,h=gs(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&p!==h?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),Mi(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=h=>{const v=gs(r.current).includes(h.animationName);if(h.target===t&&v&&(l("ANIMATION_END"),!i.current)){const S=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=S)})}},p=h=>{h.target===t&&(s.current=gs(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:w.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function gs(e){return(e==null?void 0:e.animationName)||"none"}function bw(e){var r,i;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=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ew=jp[" useInsertionEffect ".trim().toString()]||Mi;function Pw({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,s,o]=kw({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const d=w.useRef(e!==void 0);w.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=a},[a,r])}const u=w.useCallback(d=>{var f;if(a){const p=Aw(d)?d(e):d;p!==e&&((f=o.current)==null||f.call(o,p))}else s(d)},[a,e,s,o]);return[l,u]}function kw({defaultProp:e,onChange:t}){const[n,r]=w.useState(e),i=w.useRef(n),s=w.useRef(t);return Ew(()=>{s.current=t},[t]),w.useEffect(()=>{var o;i.current!==n&&((o=s.current)==null||o.call(s,n),i.current=n)},[n,i]),[n,r,s]}function Aw(e){return typeof e=="function"}var Rw=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Mw="VisuallyHidden",Jc=w.forwardRef((e,t)=>c.jsx(Nt.span,{...e,ref:t,style:{...Rw,...e.style}}));Jc.displayName=Mw;var eu="ToastProvider",[tu,Lw,Vw]=fw("Toast"),[Zh,Fb]=Wh("Toast",[Vw]),[Dw,zo]=Zh(eu),Jh=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:s=50,children:o}=e,[a,l]=w.useState(null),[u,d]=w.useState(0),f=w.useRef(!1),p=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${eu}\`. Expected non-empty \`string\`.`),c.jsx(tu.Provider,{scope:t,children:c.jsx(Dw,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:w.useCallback(()=>d(h=>h+1),[]),onToastRemove:w.useCallback(()=>d(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:o})})};Jh.displayName=eu;var eg="ToastViewport",Ow=["F8"],Il="toast.viewportPause",_l="toast.viewportResume",tg=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=Ow,label:i="Notifications ({hotkey})",...s}=e,o=zo(eg,n),a=Lw(n),l=w.useRef(null),u=w.useRef(null),d=w.useRef(null),f=w.useRef(null),p=zn(t,f,o.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=o.toastCount>0;w.useEffect(()=>{const S=y=>{var g;r.length!==0&&r.every(j=>y[j]||y.code===j)&&((g=f.current)==null||g.focus())};return document.addEventListener("keydown",S),()=>document.removeEventListener("keydown",S)},[r]),w.useEffect(()=>{const S=l.current,y=f.current;if(x&&S&&y){const m=()=>{if(!o.isClosePausedRef.current){const T=new CustomEvent(Il);y.dispatchEvent(T),o.isClosePausedRef.current=!0}},g=()=>{if(o.isClosePausedRef.current){const T=new CustomEvent(_l);y.dispatchEvent(T),o.isClosePausedRef.current=!1}},j=T=>{!S.contains(T.relatedTarget)&&g()},C=()=>{S.contains(document.activeElement)||g()};return S.addEventListener("focusin",m),S.addEventListener("focusout",j),S.addEventListener("pointermove",m),S.addEventListener("pointerleave",C),window.addEventListener("blur",m),window.addEventListener("focus",g),()=>{S.removeEventListener("focusin",m),S.removeEventListener("focusout",j),S.removeEventListener("pointermove",m),S.removeEventListener("pointerleave",C),window.removeEventListener("blur",m),window.removeEventListener("focus",g)}}},[x,o.isClosePausedRef]);const v=w.useCallback(({tabbingDirection:S})=>{const m=a().map(g=>{const j=g.ref.current,C=[j,...Yw(j)];return S==="forwards"?C:C.reverse()});return(S==="forwards"?m.reverse():m).flat()},[a]);return w.useEffect(()=>{const S=f.current;if(S){const y=m=>{var C,T,N;const g=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!g){const b=document.activeElement,M=m.shiftKey;if(m.target===S&&M){(C=u.current)==null||C.focus();return}const O=v({tabbingDirection:M?"backwards":"forwards"}),ie=O.findIndex(A=>A===b);ja(O.slice(ie+1))?m.preventDefault():M?(T=u.current)==null||T.focus():(N=d.current)==null||N.focus()}};return S.addEventListener("keydown",y),()=>S.removeEventListener("keydown",y)}},[a,v]),c.jsxs(jw,{ref:l,role:"region","aria-label":i.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&c.jsx(zl,{ref:u,onFocusFromOutsideViewport:()=>{const S=v({tabbingDirection:"forwards"});ja(S)}}),c.jsx(tu.Slot,{scope:n,children:c.jsx(Nt.ol,{tabIndex:-1,...s,ref:p})}),x&&c.jsx(zl,{ref:d,onFocusFromOutsideViewport:()=>{const S=v({tabbingDirection:"backwards"});ja(S)}})]})});tg.displayName=eg;var ng="ToastFocusProxy",zl=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,s=zo(ng,n);return c.jsx(Jc,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});zl.displayName=ng;var Gi="Toast",Iw="toast.swipeStart",_w="toast.swipeMove",zw="toast.swipeCancel",Fw="toast.swipeEnd",rg=w.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:s,...o}=e,[a,l]=Pw({prop:r,defaultProp:i??!0,onChange:s,caller:Gi});return c.jsx(Xh,{present:n||a,children:c.jsx($w,{open:a,...o,ref:t,onClose:()=>l(!1),onPause:Fn(e.onPause),onResume:Fn(e.onResume),onSwipeStart:Ke(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ke(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:Ke(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Ke(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});rg.displayName=Gi;var[Bw,Uw]=Zh(Gi,{onClose(){}}),$w=w.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:s,onClose:o,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:p,onSwipeEnd:h,...x}=e,v=zo(Gi,n),[S,y]=w.useState(null),m=zn(t,A=>y(A)),g=w.useRef(null),j=w.useRef(null),C=i||v.duration,T=w.useRef(0),N=w.useRef(C),b=w.useRef(0),{onToastAdd:M,onToastRemove:L}=v,G=Fn(()=>{var ee;(S==null?void 0:S.contains(document.activeElement))&&((ee=v.viewport)==null||ee.focus()),o()}),O=w.useCallback(A=>{!A||A===1/0||(window.clearTimeout(b.current),T.current=new Date().getTime(),b.current=window.setTimeout(G,A))},[G]);w.useEffect(()=>{const A=v.viewport;if(A){const ee=()=>{O(N.current),u==null||u()},U=()=>{const fe=new Date().getTime()-T.current;N.current=N.current-fe,window.clearTimeout(b.current),l==null||l()};return A.addEventListener(Il,U),A.addEventListener(_l,ee),()=>{A.removeEventListener(Il,U),A.removeEventListener(_l,ee)}}},[v.viewport,C,l,u,O]),w.useEffect(()=>{s&&!v.isClosePausedRef.current&&O(C)},[s,C,v.isClosePausedRef,O]),w.useEffect(()=>(M(),()=>L()),[M,L]);const ie=w.useMemo(()=>S?ug(S):null,[S]);return v.viewport?c.jsxs(c.Fragment,{children:[ie&&c.jsx(Ww,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:ie}),c.jsx(Bw,{scope:n,onClose:G,children:Io.createPortal(c.jsx(tu.ItemSlot,{scope:n,children:c.jsx(Sw,{asChild:!0,onEscapeKeyDown:Ke(a,()=>{v.isFocusedToastEscapeKeyDownRef.current||G(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:c.jsx(Nt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":v.swipeDirection,...x,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ke(e.onKeyDown,A=>{A.key==="Escape"&&(a==null||a(A.nativeEvent),A.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,G()))}),onPointerDown:Ke(e.onPointerDown,A=>{A.button===0&&(g.current={x:A.clientX,y:A.clientY})}),onPointerMove:Ke(e.onPointerMove,A=>{if(!g.current)return;const ee=A.clientX-g.current.x,U=A.clientY-g.current.y,fe=!!j.current,P=["left","right"].includes(v.swipeDirection),R=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,_=P?R(0,ee):0,V=P?0:R(0,U),$=A.pointerType==="touch"?10:2,q={x:_,y:V},$e={originalEvent:A,delta:q};fe?(j.current=q,ys(_w,f,$e,{discrete:!1})):Qd(q,v.swipeDirection,$)?(j.current=q,ys(Iw,d,$e,{discrete:!1}),A.target.setPointerCapture(A.pointerId)):(Math.abs(ee)>$||Math.abs(U)>$)&&(g.current=null)}),onPointerUp:Ke(e.onPointerUp,A=>{const ee=j.current,U=A.target;if(U.hasPointerCapture(A.pointerId)&&U.releasePointerCapture(A.pointerId),j.current=null,g.current=null,ee){const fe=A.currentTarget,P={originalEvent:A,delta:ee};Qd(ee,v.swipeDirection,v.swipeThreshold)?ys(Fw,h,P,{discrete:!0}):ys(zw,p,P,{discrete:!0}),fe.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),Ww=e=>{const{__scopeToast:t,children:n,...r}=e,i=zo(Gi,t),[s,o]=w.useState(!1),[a,l]=w.useState(!1);return Kw(()=>o(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:c.jsx(Qh,{asChild:!0,children:c.jsx(Jc,{...r,children:s&&c.jsxs(c.Fragment,{children:[i.label," ",n]})})})},Hw="ToastTitle",ig=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx(Nt.div,{...r,ref:t})});ig.displayName=Hw;var Gw="ToastDescription",sg=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx(Nt.div,{...r,ref:t})});sg.displayName=Gw;var og="ToastAction",ag=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?c.jsx(cg,{altText:n,asChild:!0,children:c.jsx(nu,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${og}\`. Expected non-empty \`string\`.`),null)});ag.displayName=og;var lg="ToastClose",nu=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=Uw(lg,n);return c.jsx(cg,{asChild:!0,children:c.jsx(Nt.button,{type:"button",...r,ref:t,onClick:Ke(e.onClick,i.onClose)})})});nu.displayName=lg;var cg=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return c.jsx(Nt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function ug(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),qw(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!i)if(s){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...ug(r))}}),t}function ys(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Hh(i,s):i.dispatchEvent(s)}var Qd=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),s=r>i;return t==="left"||t==="right"?s&&r>n:!s&&i>n};function Kw(e=()=>{}){const t=Fn(e);Mi(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function qw(e){return e.nodeType===e.ELEMENT_NODE}function Yw(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ja(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var Qw=Jh,dg=tg,fg=rg,pg=ig,mg=sg,hg=ag,gg=nu;const Xd=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Zd=Ih,yg=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Zd(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(u=>{const d=n==null?void 0:n[u],f=s==null?void 0:s[u];if(d===null)return null;const p=Xd(d)||Xd(f);return i[u][p]}),a=n&&Object.entries(n).reduce((u,d)=>{let[f,p]=d;return p===void 0||(u[f]=p),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:p,...h}=d;return Object.entries(h).every(x=>{let[v,S]=x;return Array.isArray(S)?S.includes({...s,...a}[v]):{...s,...a}[v]===S})?[...u,f,p]:u},[]);return Zd(e,o,l,n==null?void 0:n.class,n==null?void 0:n.className)};var Xw={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"};const Zw=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),H=(e,t)=>{const n=w.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:o,children:a,...l},u)=>w.createElement("svg",{ref:u,...Xw,width:i,height:i,stroke:r,strokeWidth:o?Number(s)*24/Number(i):s,className:`lucide lucide-${Zw(e)}`,...l},[...t.map(([d,f])=>w.createElement(d,f)),...(Array.isArray(a)?a:[a])||[]]));return n.displayName=`${e}`,n},Jw=H("AlertTriangle",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"c3ski4"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),Ca=H("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),eS=H("Award",[["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}],["path",{d:"M15.477 12.89 17 22l-5-3-5 3 1.523-9.11",key:"em7aur"}]]),tS=H("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]),nS=H("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]),rS=H("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]),iS=H("Eye",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),sS=H("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]),vg=H("FileText",[["path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z",key:"1nnpy2"}],["polyline",{points:"14 2 14 8 20 8",key:"1ew0cm"}],["line",{x1:"16",x2:"8",y1:"13",y2:"13",key:"14keom"}],["line",{x1:"16",x2:"8",y1:"17",y2:"17",key:"17nazh"}],["line",{x1:"10",x2:"8",y1:"9",y2:"9",key:"1a5vjj"}]]),Li=H("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]),oS=H("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"}]]),aS=H("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]),Vi=H("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]),ru=H("MapPin",[["path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z",key:"2oe9fu"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),lS=H("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"}]]),cS=H("MessageCircle",[["path",{d:"m3 21 1.9-5.7a8.5 8.5 0 1 1 3.8 3.8z",key:"v2veuj"}]]),uo=H("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]),uS=H("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]),dS=H("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]),fS=H("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]),pS=H("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]]),Fo=H("Shield",[["path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10",key:"1irkt0"}]]),Jd=H("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]),xg=H("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]),ef=H("Sparkles",[["path",{d:"m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z",key:"17u4zn"}],["path",{d:"M5 3v4",key:"bklmnn"}],["path",{d:"M19 17v4",key:"iiml17"}],["path",{d:"M3 5h4",key:"nem4j1"}],["path",{d:"M17 19h4",key:"lbex7p"}]]),wg=H("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]),iu=H("Truck",[["path",{d:"M5 18H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h10c.6 0 1 .4 1 1v11",key:"hs4xqm"}],["path",{d:"M14 9h4l4 4v4c0 .6-.4 1-1 1h-2",key:"11fp61"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}]]),mS=H("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"}]]),hS=H("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]),tf=H("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]),Sg=H("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),gS=Qw,jg=oe.forwardRef(({className:e,...t},n)=>c.jsx(dg,{ref:n,className:Gn("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}));jg.displayName=dg.displayName;const yS=yg("data-[swipe=move]:transition-none group relative pointer-events-auto 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=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full data-[state=closed]:slide-out-to-right-full",{variants:{variant:{default:"bg-background border",destructive:"group destructive border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Cg=oe.forwardRef(({className:e,variant:t,...n},r)=>c.jsx(fg,{ref:r,className:Gn(yS({variant:t}),e),...n}));Cg.displayName=fg.displayName;const vS=oe.forwardRef(({className:e,...t},n)=>c.jsx(hg,{ref:n,className:Gn("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-destructive/30 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));vS.displayName=hg.displayName;const Ng=oe.forwardRef(({className:e,...t},n)=>c.jsx(gg,{ref:n,className:Gn("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:c.jsx(Sg,{className:"h-4 w-4"})}));Ng.displayName=gg.displayName;const Tg=oe.forwardRef(({className:e,...t},n)=>c.jsx(pg,{ref:n,className:Gn("text-sm font-semibold",e),...t}));Tg.displayName=pg.displayName;const bg=oe.forwardRef(({className:e,...t},n)=>c.jsx(mg,{ref:n,className:Gn("text-sm opacity-90",e),...t}));bg.displayName=mg.displayName;const xS=1;let Na=0;function wS(){return Na=(Na+1)%Number.MAX_VALUE,Na.toString()}const Ae={state:{toasts:[]},listeners:[],getState:()=>Ae.state,setState:e=>{typeof e=="function"?Ae.state=e(Ae.state):Ae.state={...Ae.state,...e},Ae.listeners.forEach(t=>t(Ae.state))},subscribe:e=>(Ae.listeners.push(e),()=>{Ae.listeners=Ae.listeners.filter(t=>t!==e)})},gt=({...e})=>{const t=wS(),n=i=>Ae.setState(s=>({...s,toasts:s.toasts.map(o=>o.id===t?{...o,...i}:o)})),r=()=>Ae.setState(i=>({...i,toasts:i.toasts.filter(s=>s.id!==t)}));return Ae.setState(i=>({...i,toasts:[{...e,id:t,dismiss:r},...i.toasts].slice(0,xS)})),{id:t,dismiss:r,update:n}};function SS(){const[e,t]=w.useState(Ae.getState());return w.useEffect(()=>Ae.subscribe(r=>{t(r)}),[]),w.useEffect(()=>{const n=[];return e.toasts.forEach(r=>{if(r.duration===1/0)return;const i=setTimeout(()=>{r.dismiss()},r.duration||5e3);n.push(i)}),()=>{n.forEach(r=>clearTimeout(r))}},[e.toasts]),{toast:gt,toasts:e.toasts}}function jS(){const{toasts:e}=SS();return c.jsxs(gS,{children:[e.map(({id:t,title:n,description:r,action:i,...s})=>c.jsxs(Cg,{...s,children:[c.jsxs("div",{className:"grid gap-1",children:[n&&c.jsx(Tg,{children:n}),r&&c.jsx(bg,{children:r})]}),i,c.jsx(Ng,{})]},t)),c.jsx(jg,{})]})}const Eg=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Bo=w.createContext({}),su=w.createContext(null),Uo=typeof document<"u",CS=Uo?w.useLayoutEffect:w.useEffect,Pg=w.createContext({strict:!1}),ou=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),NS="framerAppearId",kg="data-"+ou(NS);function TS(e,t,n,r){const{visualElement:i}=w.useContext(Bo),s=w.useContext(Pg),o=w.useContext(su),a=w.useContext(Eg).reducedMotion,l=w.useRef();r=r||s.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:o,blockInitialAnimation:o?o.initial===!1:!1,reducedMotionConfig:a}));const u=l.current;w.useInsertionEffect(()=>{u&&u.update(n,o)});const d=w.useRef(!!(n[kg]&&!window.HandoffComplete));return CS(()=>{u&&(u.render(),d.current&&u.animationState&&u.animationState.animateChanges())}),w.useEffect(()=>{u&&(u.updateFeatures(),!d.current&&u.animationState&&u.animationState.animateChanges(),d.current&&(d.current=!1,window.HandoffComplete=!0))}),u}function ur(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function bS(e,t,n){return w.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):ur(n)&&(n.current=r))},[t])}function Di(e){return typeof e=="string"||Array.isArray(e)}function $o(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const au=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],lu=["initial",...au];function Wo(e){return $o(e.animate)||lu.some(t=>Di(e[t]))}function Ag(e){return!!(Wo(e)||e.variants)}function ES(e,t){if(Wo(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Di(n)?n:void 0,animate:Di(r)?r:void 0}}return e.inherit!==!1?t:{}}function PS(e){const{initial:t,animate:n}=ES(e,w.useContext(Bo));return w.useMemo(()=>({initial:t,animate:n}),[nf(t),nf(n)])}function nf(e){return Array.isArray(e)?e.join(" "):e}const rf={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Oi={};for(const e in rf)Oi[e]={isEnabled:t=>rf[e].some(n=>!!t[n])};function kS(e){for(const t in e)Oi[t]={...Oi[t],...e[t]}}const Rg=w.createContext({}),Mg=w.createContext({}),AS=Symbol.for("motionComponentSymbol");function RS({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&kS(e);function s(a,l){let u;const d={...w.useContext(Eg),...a,layoutId:MS(a)},{isStatic:f}=d,p=PS(a),h=r(a,f);if(!f&&Uo){p.visualElement=TS(i,h,d,t);const x=w.useContext(Mg),v=w.useContext(Pg).strict;p.visualElement&&(u=p.visualElement.loadFeatures(d,v,e,x))}return w.createElement(Bo.Provider,{value:p},u&&p.visualElement?w.createElement(u,{visualElement:p.visualElement,...d}):null,n(i,a,bS(h,p.visualElement,l),h,f,p.visualElement))}const o=w.forwardRef(s);return o[AS]=i,o}function MS({layoutId:e}){const t=w.useContext(Rg).id;return t&&e!==void 0?t+"-"+e:e}function LS(e){function t(r,i={}){return RS(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const VS=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function cu(e){return typeof e!="string"||e.includes("-")?!1:!!(VS.indexOf(e)>-1||/[A-Z]/.test(e))}const fo={};function DS(e){Object.assign(fo,e)}const Ki=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Kn=new Set(Ki);function Lg(e,{layout:t,layoutId:n}){return Kn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!fo[e]||e==="opacity")}const Ue=e=>!!(e&&e.getVelocity),OS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},IS=Ki.length;function _S(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let s="";for(let o=0;ot=>typeof t=="string"&&t.startsWith(e),Dg=Vg("--"),Fl=Vg("var(--"),zS=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,FS=(e,t)=>t&&typeof e=="number"?t.transform(e):e,pn=(e,t,n)=>Math.min(Math.max(n,e),t),qn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ci={...qn,transform:e=>pn(0,1,e)},vs={...qn,default:1},ui=e=>Math.round(e*1e5)/1e5,Ho=/(-)?([\d]*\.?[\d])+/g,Og=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,BS=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function qi(e){return typeof e=="string"}const Yi=e=>({test:t=>qi(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Wt=Yi("deg"),Ct=Yi("%"),I=Yi("px"),US=Yi("vh"),$S=Yi("vw"),sf={...Ct,parse:e=>Ct.parse(e)/100,transform:e=>Ct.transform(e*100)},of={...qn,transform:Math.round},Ig={borderWidth:I,borderTopWidth:I,borderRightWidth:I,borderBottomWidth:I,borderLeftWidth:I,borderRadius:I,radius:I,borderTopLeftRadius:I,borderTopRightRadius:I,borderBottomRightRadius:I,borderBottomLeftRadius:I,width:I,maxWidth:I,height:I,maxHeight:I,size:I,top:I,right:I,bottom:I,left:I,padding:I,paddingTop:I,paddingRight:I,paddingBottom:I,paddingLeft:I,margin:I,marginTop:I,marginRight:I,marginBottom:I,marginLeft:I,rotate:Wt,rotateX:Wt,rotateY:Wt,rotateZ:Wt,scale:vs,scaleX:vs,scaleY:vs,scaleZ:vs,skew:Wt,skewX:Wt,skewY:Wt,distance:I,translateX:I,translateY:I,translateZ:I,x:I,y:I,z:I,perspective:I,transformPerspective:I,opacity:ci,originX:sf,originY:sf,originZ:I,zIndex:of,fillOpacity:ci,strokeOpacity:ci,numOctaves:of};function uu(e,t,n,r){const{style:i,vars:s,transform:o,transformOrigin:a}=e;let l=!1,u=!1,d=!0;for(const f in t){const p=t[f];if(Dg(f)){s[f]=p;continue}const h=Ig[f],x=FS(p,h);if(Kn.has(f)){if(l=!0,o[f]=x,!d)continue;p!==(h.default||0)&&(d=!1)}else f.startsWith("origin")?(u=!0,a[f]=x):i[f]=x}if(t.transform||(l||r?i.transform=_S(e.transform,n,d,r):i.transform&&(i.transform="none")),u){const{originX:f="50%",originY:p="50%",originZ:h=0}=a;i.transformOrigin=`${f} ${p} ${h}`}}const du=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function _g(e,t,n){for(const r in t)!Ue(t[r])&&!Lg(r,n)&&(e[r]=t[r])}function WS({transformTemplate:e},t,n){return w.useMemo(()=>{const r=du();return uu(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function HS(e,t,n){const r=e.style||{},i={};return _g(i,r,e),Object.assign(i,WS(e,t,n)),e.transformValues?e.transformValues(i):i}function GS(e,t,n){const r={},i=HS(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const KS=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function po(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||KS.has(e)}let zg=e=>!po(e);function qS(e){e&&(zg=t=>t.startsWith("on")?!po(t):e(t))}try{qS(require("@emotion/is-prop-valid").default)}catch{}function YS(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(zg(i)||n===!0&&po(i)||!t&&!po(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function af(e,t,n){return typeof e=="string"?e:I.transform(t+n*e)}function QS(e,t,n){const r=af(t,e.x,e.width),i=af(n,e.y,e.height);return`${r} ${i}`}const XS={offset:"stroke-dashoffset",array:"stroke-dasharray"},ZS={offset:"strokeDashoffset",array:"strokeDasharray"};function JS(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?XS:ZS;e[s.offset]=I.transform(-r);const o=I.transform(t),a=I.transform(n);e[s.array]=`${o} ${a}`}function fu(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},d,f,p){if(uu(e,u,d,p),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:x,dimensions:v}=e;h.transform&&(v&&(x.transform=h.transform),delete h.transform),v&&(i!==void 0||s!==void 0||x.transform)&&(x.transformOrigin=QS(v,i!==void 0?i:.5,s!==void 0?s:.5)),t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),r!==void 0&&(h.scale=r),o!==void 0&&JS(h,o,a,l,!1)}const Fg=()=>({...du(),attrs:{}}),pu=e=>typeof e=="string"&&e.toLowerCase()==="svg";function ej(e,t,n,r){const i=w.useMemo(()=>{const s=Fg();return fu(s,t,{enableHardwareAcceleration:!1},pu(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};_g(s,e.style,e),i.style={...s,...i.style}}return i}function tj(e=!1){return(n,r,i,{latestValues:s},o)=>{const l=(cu(n)?ej:GS)(r,s,o,n),d={...YS(r,typeof n=="string",e),...l,ref:i},{children:f}=r,p=w.useMemo(()=>Ue(f)?f.get():f,[f]);return w.createElement(n,{...d,children:p})}}function Bg(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const s in n)e.style.setProperty(s,n[s])}const Ug=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function $g(e,t,n,r){Bg(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Ug.has(i)?i:ou(i),t.attrs[i])}function mu(e,t){const{style:n}=e,r={};for(const i in n)(Ue(n[i])||t.style&&Ue(t.style[i])||Lg(i,e))&&(r[i]=n[i]);return r}function Wg(e,t){const n=mu(e,t);for(const r in e)if(Ue(e[r])||Ue(t[r])){const i=Ki.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}function hu(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function nj(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const mo=e=>Array.isArray(e),rj=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),ij=e=>mo(e)?e[e.length-1]||0:e;function Vs(e){const t=Ue(e)?e.get():e;return rj(t)?t.toValue():t}function sj({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,s){const o={latestValues:oj(r,i,s,e),renderState:t()};return n&&(o.mount=a=>n(r,a,o)),o}const Hg=e=>(t,n)=>{const r=w.useContext(Bo),i=w.useContext(su),s=()=>sj(e,t,r,i);return n?s():nj(s)};function oj(e,t,n,r){const i={},s=r(e,{});for(const p in s)i[p]=Vs(s[p]);let{initial:o,animate:a}=e;const l=Wo(e),u=Ag(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let d=n?n.initial===!1:!1;d=d||o===!1;const f=d?a:o;return f&&typeof f!="boolean"&&!$o(f)&&(Array.isArray(f)?f:[f]).forEach(h=>{const x=hu(e,h);if(!x)return;const{transitionEnd:v,transition:S,...y}=x;for(const m in y){let g=y[m];if(Array.isArray(g)){const j=d?g.length-1:0;g=g[j]}g!==null&&(i[m]=g)}for(const m in v)i[m]=v[m]}),i}const de=e=>e;class lf{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function aj(e){let t=new lf,n=new lf,r=0,i=!1,s=!1;const o=new WeakSet,a={schedule:(l,u=!1,d=!1)=>{const f=d&&i,p=f?t:n;return u&&o.add(l),p.add(l)&&f&&i&&(r=t.order.length),l},cancel:l=>{n.remove(l),o.delete(l)},process:l=>{if(i){s=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u(f[p]=aj(()=>n=!0),f),{}),o=f=>s[f].process(i),a=()=>{const f=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(f-i.timestamp,lj),1),i.timestamp=f,i.isProcessing=!0,xs.forEach(o),i.isProcessing=!1,n&&t&&(r=!1,e(a))},l=()=>{n=!0,r=!0,i.isProcessing||e(a)};return{schedule:xs.reduce((f,p)=>{const h=s[p];return f[p]=(x,v=!1,S=!1)=>(n||l(),h.schedule(x,v,S)),f},{}),cancel:f=>xs.forEach(p=>s[p].cancel(f)),state:i,steps:s}}const{schedule:J,cancel:_t,state:Ee,steps:Ta}=cj(typeof requestAnimationFrame<"u"?requestAnimationFrame:de,!0),uj={useVisualState:Hg({scrapeMotionValuesFromProps:Wg,createRenderState:Fg,onMount:(e,t,{renderState:n,latestValues:r})=>{J.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),J.render(()=>{fu(n,r,{enableHardwareAcceleration:!1},pu(t.tagName),e.transformTemplate),$g(t,n)})}})},dj={useVisualState:Hg({scrapeMotionValuesFromProps:mu,createRenderState:du})};function fj(e,{forwardMotionProps:t=!1},n,r){return{...cu(e)?uj:dj,preloadedFeatures:n,useRender:tj(t),createVisualElement:r,Component:e}}function At(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Gg=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Go(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const pj=e=>t=>Gg(t)&&e(t,Go(t));function Mt(e,t,n,r){return At(e,t,pj(n),r)}const mj=(e,t)=>n=>t(e(n)),cn=(...e)=>e.reduce(mj);function Kg(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const cf=Kg("dragHorizontal"),uf=Kg("dragVertical");function qg(e){let t=!1;if(e==="y")t=uf();else if(e==="x")t=cf();else{const n=cf(),r=uf();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function Yg(){const e=qg(!0);return e?(e(),!1):!0}class vn{constructor(t){this.isMounted=!1,this.node=t}update(){}}function df(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(s,o)=>{if(s.pointerType==="touch"||Yg())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t),a[r]&&J.update(()=>a[r](s,o))};return Mt(e.current,n,i,{passive:!e.getProps()[r]})}class hj extends vn{mount(){this.unmount=cn(df(this.node,!0),df(this.node,!1))}unmount(){}}class gj extends vn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=cn(At(this.node.current,"focus",()=>this.onFocus()),At(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Qg=(e,t)=>t?e===t?!0:Qg(e,t.parentElement):!1;function ba(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Go(n))}class yj extends vn{constructor(){super(...arguments),this.removeStartListeners=de,this.removeEndListeners=de,this.removeAccessibleListeners=de,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),s=Mt(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:d,globalTapTarget:f}=this.node.getProps();J.update(()=>{!f&&!Qg(this.node.current,a.target)?d&&d(a,l):u&&u(a,l)})},{passive:!(r.onTap||r.onPointerUp)}),o=Mt(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=cn(s,o),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=s=>{if(s.key!=="Enter"||this.isPressing)return;const o=a=>{a.key!=="Enter"||!this.checkPressEnd()||ba("up",(l,u)=>{const{onTap:d}=this.node.getProps();d&&J.update(()=>d(l,u))})};this.removeEndListeners(),this.removeEndListeners=At(this.node.current,"keyup",o),ba("down",(a,l)=>{this.startPress(a,l)})},n=At(this.node.current,"keydown",t),r=()=>{this.isPressing&&ba("cancel",(s,o)=>this.cancelPress(s,o))},i=At(this.node.current,"blur",r);this.removeAccessibleListeners=cn(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&J.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Yg()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&J.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=Mt(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=At(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=cn(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Bl=new WeakMap,Ea=new WeakMap,vj=e=>{const t=Bl.get(e.target);t&&t(e)},xj=e=>{e.forEach(vj)};function wj({root:e,...t}){const n=e||document;Ea.has(n)||Ea.set(n,{});const r=Ea.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(xj,{root:e,...t})),r[i]}function Sj(e,t,n){const r=wj(t);return Bl.set(e,n),r.observe(e),()=>{Bl.delete(e),r.unobserve(e)}}const jj={some:0,all:1};class Cj extends vn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:jj[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,s&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),p=u?d:f;p&&p(l)};return Sj(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Nj(t,n))&&this.startObserver()}unmount(){}}function Nj({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Tj={inView:{Feature:Cj},tap:{Feature:yj},focus:{Feature:gj},hover:{Feature:hj}};function Xg(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rt[r]=n.get()),t}function Ej(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Ko(e,t,n){const r=e.getProps();return hu(r,t,n!==void 0?n:r.custom,bj(e),Ej(e))}let Pj=de,gu=de;const un=e=>e*1e3,Lt=e=>e/1e3,kj={current:!1},Zg=e=>Array.isArray(e)&&typeof e[0]=="number";function Jg(e){return!!(!e||typeof e=="string"&&ey[e]||Zg(e)||Array.isArray(e)&&e.every(Jg))}const Jr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ey={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Jr([0,.65,.55,1]),circOut:Jr([.55,0,1,.45]),backIn:Jr([.31,.01,.66,-.59]),backOut:Jr([.33,1.53,.69,.99])};function ty(e){if(e)return Zg(e)?Jr(e):Array.isArray(e)?e.map(ty):ey[e]}function Aj(e,t,n,{delay:r=0,duration:i,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){const u={[t]:n};l&&(u.offset=l);const d=ty(a);return Array.isArray(d)&&(u.easing=d),e.animate(u,{delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}function Rj(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const ny=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Mj=1e-7,Lj=12;function Vj(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=ny(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>Mj&&++aVj(s,0,1,e,n);return s=>s===0||s===1?s:ny(i(s),t,r)}const Dj=Qi(.42,0,1,1),Oj=Qi(0,0,.58,1),ry=Qi(.42,0,.58,1),Ij=e=>Array.isArray(e)&&typeof e[0]!="number",iy=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,sy=e=>t=>1-e(1-t),yu=e=>1-Math.sin(Math.acos(e)),oy=sy(yu),_j=iy(yu),ay=Qi(.33,1.53,.69,.99),vu=sy(ay),zj=iy(vu),Fj=e=>(e*=2)<1?.5*vu(e):.5*(2-Math.pow(2,-10*(e-1))),Bj={linear:de,easeIn:Dj,easeInOut:ry,easeOut:Oj,circIn:yu,circInOut:_j,circOut:oy,backIn:vu,backInOut:zj,backOut:ay,anticipate:Fj},ff=e=>{if(Array.isArray(e)){gu(e.length===4);const[t,n,r,i]=e;return Qi(t,n,r,i)}else if(typeof e=="string")return Bj[e];return e},xu=(e,t)=>n=>!!(qi(n)&&BS.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),ly=(e,t,n)=>r=>{if(!qi(r))return r;const[i,s,o,a]=r.match(Ho);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},Uj=e=>pn(0,255,e),Pa={...qn,transform:e=>Math.round(Uj(e))},An={test:xu("rgb","red"),parse:ly("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Pa.transform(e)+", "+Pa.transform(t)+", "+Pa.transform(n)+", "+ui(ci.transform(r))+")"};function $j(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Ul={test:xu("#"),parse:$j,transform:An.transform},dr={test:xu("hsl","hue"),parse:ly("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ct.transform(ui(t))+", "+Ct.transform(ui(n))+", "+ui(ci.transform(r))+")"},Re={test:e=>An.test(e)||Ul.test(e)||dr.test(e),parse:e=>An.test(e)?An.parse(e):dr.test(e)?dr.parse(e):Ul.parse(e),transform:e=>qi(e)?e:e.hasOwnProperty("red")?An.transform(e):dr.transform(e)},ae=(e,t,n)=>-n*e+n*t+e;function ka(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Wj({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=ka(l,a,e+1/3),s=ka(l,a,e),o=ka(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}const Aa=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Hj=[Ul,An,dr],Gj=e=>Hj.find(t=>t.test(e));function pf(e){const t=Gj(e);let n=t.parse(e);return t===dr&&(n=Wj(n)),n}const cy=(e,t)=>{const n=pf(e),r=pf(t),i={...n};return s=>(i.red=Aa(n.red,r.red,s),i.green=Aa(n.green,r.green,s),i.blue=Aa(n.blue,r.blue,s),i.alpha=ae(n.alpha,r.alpha,s),An.transform(i))};function Kj(e){var t,n;return isNaN(e)&&qi(e)&&(((t=e.match(Ho))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Og))===null||n===void 0?void 0:n.length)||0)>0}const uy={regex:zS,countKey:"Vars",token:"${v}",parse:de},dy={regex:Og,countKey:"Colors",token:"${c}",parse:Re.parse},fy={regex:Ho,countKey:"Numbers",token:"${n}",parse:qn.parse};function Ra(e,{regex:t,countKey:n,token:r,parse:i}){const s=e.tokenised.match(t);s&&(e["num"+n]=s.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...s.map(i)))}function ho(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Ra(n,uy),Ra(n,dy),Ra(n,fy),n}function py(e){return ho(e).values}function my(e){const{values:t,numColors:n,numVars:r,tokenised:i}=ho(e),s=t.length;return o=>{let a=i;for(let l=0;ltypeof e=="number"?0:e;function Yj(e){const t=py(e);return my(e)(t.map(qj))}const mn={test:Kj,parse:py,createTransformer:my,getAnimatableNone:Yj},hy=(e,t)=>n=>`${n>0?t:e}`;function gy(e,t){return typeof e=="number"?n=>ae(e,t,n):Re.test(e)?cy(e,t):e.startsWith("var(")?hy(e,t):vy(e,t)}const yy=(e,t)=>{const n=[...e],r=n.length,i=e.map((s,o)=>gy(s,t[o]));return s=>{for(let o=0;o{const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=gy(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}},vy=(e,t)=>{const n=mn.createTransformer(t),r=ho(e),i=ho(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?cn(yy(r.values,i.values),n):hy(e,t)},Ii=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},mf=(e,t)=>n=>ae(e,t,n);function Xj(e){return typeof e=="number"?mf:typeof e=="string"?Re.test(e)?cy:vy:Array.isArray(e)?yy:typeof e=="object"?Qj:mf}function Zj(e,t,n){const r=[],i=n||Xj(e[0]),s=e.length-1;for(let o=0;ot[0];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=Zj(t,r,i),a=o.length,l=u=>{let d=0;if(a>1)for(;dl(pn(e[0],e[s-1],u)):l}function Jj(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Ii(0,t,r);e.push(ae(n,1,i))}}function eC(e){const t=[0];return Jj(t,e.length-1),t}function tC(e,t){return e.map(n=>n*t)}function nC(e,t){return e.map(()=>t||ry).splice(0,e.length-1)}function go({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=Ij(r)?r.map(ff):ff(r),s={done:!1,value:t[0]},o=tC(n&&n.length===t.length?n:eC(t),e),a=xy(o,t,{ease:Array.isArray(i)?i:nC(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}function wy(e,t){return t?e*(1e3/t):0}const rC=5;function Sy(e,t,n){const r=Math.max(t-rC,0);return wy(n-e(r),t-r)}const Ma=.001,iC=.01,hf=10,sC=.05,oC=1;function aC({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,s;Pj(e<=un(hf));let o=1-t;o=pn(sC,oC,o),e=pn(iC,hf,Lt(e)),o<1?(i=u=>{const d=u*o,f=d*e,p=d-n,h=$l(u,o),x=Math.exp(-f);return Ma-p/h*x},s=u=>{const f=u*o*e,p=f*n+n,h=Math.pow(o,2)*Math.pow(u,2)*e,x=Math.exp(-f),v=$l(Math.pow(u,2),o);return(-i(u)+Ma>0?-1:1)*((p-h)*x)/v}):(i=u=>{const d=Math.exp(-u*e),f=(u-n)*e+1;return-Ma+d*f},s=u=>{const d=Math.exp(-u*e),f=(n-u)*(e*e);return d*f});const a=5/e,l=cC(i,s,a);if(e=un(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const lC=12;function cC(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function fC(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!gf(e,dC)&&gf(e,uC)){const n=aC(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function jy({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],s=e[e.length-1],o={done:!1,value:i},{stiffness:a,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=fC({...r,velocity:-Lt(r.velocity||0)}),h=f||0,x=l/(2*Math.sqrt(a*u)),v=s-i,S=Lt(Math.sqrt(a/u)),y=Math.abs(v)<5;n||(n=y?.01:2),t||(t=y?.005:.5);let m;if(x<1){const g=$l(S,x);m=j=>{const C=Math.exp(-x*S*j);return s-C*((h+x*S*v)/g*Math.sin(g*j)+v*Math.cos(g*j))}}else if(x===1)m=g=>s-Math.exp(-S*g)*(v+(h+S*v)*g);else{const g=S*Math.sqrt(x*x-1);m=j=>{const C=Math.exp(-x*S*j),T=Math.min(g*j,300);return s-C*((h+x*S*v)*Math.sinh(T)+g*v*Math.cosh(T))/g}}return{calculatedDuration:p&&d||null,next:g=>{const j=m(g);if(p)o.done=g>=d;else{let C=h;g!==0&&(x<1?C=Sy(m,g,j):C=0);const T=Math.abs(C)<=n,N=Math.abs(s-j)<=t;o.done=T&&N}return o.value=o.done?s:j,o}}}function yf({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:d}){const f=e[0],p={done:!1,value:f},h=b=>a!==void 0&&bl,x=b=>a===void 0?l:l===void 0||Math.abs(a-b)-v*Math.exp(-b/r),g=b=>y+m(b),j=b=>{const M=m(b),L=g(b);p.done=Math.abs(M)<=u,p.value=p.done?y:L};let C,T;const N=b=>{h(p.value)&&(C=b,T=jy({keyframes:[p.value,x(p.value)],velocity:Sy(g,b,p.value),damping:i,stiffness:s,restDelta:u,restSpeed:d}))};return N(0),{calculatedDuration:null,next:b=>{let M=!1;return!T&&C===void 0&&(M=!0,j(b),N(b)),C!==void 0&&b>C?T.next(b-C):(!M&&j(b),p)}}}const pC=e=>{const t=({timestamp:n})=>e(n);return{start:()=>J.update(t,!0),stop:()=>_t(t),now:()=>Ee.isProcessing?Ee.timestamp:performance.now()}},vf=2e4;function xf(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=vf?1/0:t}const mC={decay:yf,inertia:yf,tween:go,keyframes:go,spring:jy};function yo({autoplay:e=!0,delay:t=0,driver:n=pC,keyframes:r,type:i="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:a="loop",onPlay:l,onStop:u,onComplete:d,onUpdate:f,...p}){let h=1,x=!1,v,S;const y=()=>{S=new Promise(V=>{v=V})};y();let m;const g=mC[i]||go;let j;g!==go&&typeof r[0]!="number"&&(j=xy([0,100],r,{clamp:!1}),r=[0,100]);const C=g({...p,keyframes:r});let T;a==="mirror"&&(T=g({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let N="idle",b=null,M=null,L=null;C.calculatedDuration===null&&s&&(C.calculatedDuration=xf(C));const{calculatedDuration:G}=C;let O=1/0,ie=1/0;G!==null&&(O=G+o,ie=O*(s+1)-o);let A=0;const ee=V=>{if(M===null)return;h>0&&(M=Math.min(M,V)),h<0&&(M=Math.min(V-ie/h,M)),b!==null?A=b:A=Math.round(V-M)*h;const $=A-t*(h>=0?1:-1),q=h>=0?$<0:$>ie;A=Math.max($,0),N==="finished"&&b===null&&(A=ie);let $e=A,Yn=C;if(s){const qo=Math.min(A,ie)/O;let Xi=Math.floor(qo),wn=qo%1;!wn&&qo>=1&&(wn=1),wn===1&&Xi--,Xi=Math.min(Xi,s+1),!!(Xi%2)&&(a==="reverse"?(wn=1-wn,o&&(wn-=o/O)):a==="mirror"&&(Yn=T)),$e=pn(0,1,wn)*O}const We=q?{done:!1,value:r[0]}:Yn.next($e);j&&(We.value=j(We.value));let{done:xn}=We;!q&&G!==null&&(xn=h>=0?A>=ie:A<=0);const nv=b===null&&(N==="finished"||N==="running"&&xn);return f&&f(We.value),nv&&P(),We},U=()=>{m&&m.stop(),m=void 0},fe=()=>{N="idle",U(),v(),y(),M=L=null},P=()=>{N="finished",d&&d(),U(),v()},R=()=>{if(x)return;m||(m=n(ee));const V=m.now();l&&l(),b!==null?M=V-b:(!M||N==="finished")&&(M=V),N==="finished"&&y(),L=M,b=null,N="running",m.start()};e&&R();const _={then(V,$){return S.then(V,$)},get time(){return Lt(A)},set time(V){V=un(V),A=V,b!==null||!m||h===0?b=V:M=m.now()-V/h},get duration(){const V=C.calculatedDuration===null?xf(C):C.calculatedDuration;return Lt(V)},get speed(){return h},set speed(V){V===h||!m||(h=V,_.time=Lt(A))},get state(){return N},play:R,pause:()=>{N="paused",b=A},stop:()=>{x=!0,N!=="idle"&&(N="idle",u&&u(),fe())},cancel:()=>{L!==null&&ee(L),fe()},complete:()=>{N="finished"},sample:V=>(M=0,ee(V))};return _}function hC(e){let t;return()=>(t===void 0&&(t=e()),t)}const gC=hC(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),yC=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),ws=10,vC=2e4,xC=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Jg(t.ease);function wC(e,t,{onUpdate:n,onComplete:r,...i}){if(!(gC()&&yC.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let o=!1,a,l,u=!1;const d=()=>{l=new Promise(g=>{a=g})};d();let{keyframes:f,duration:p=300,ease:h,times:x}=i;if(xC(t,i)){const g=yo({...i,repeat:0,delay:0});let j={done:!1,value:f[0]};const C=[];let T=0;for(;!j.done&&T{u=!1,v.cancel()},y=()=>{u=!0,J.update(S),a(),d()};return v.onfinish=()=>{u||(e.set(Rj(f,i)),r&&r(),y())},{then(g,j){return l.then(g,j)},attachTimeline(g){return v.timeline=g,v.onfinish=null,de},get time(){return Lt(v.currentTime||0)},set time(g){v.currentTime=un(g)},get speed(){return v.playbackRate},set speed(g){v.playbackRate=g},get duration(){return Lt(p)},play:()=>{o||(v.play(),_t(S))},pause:()=>v.pause(),stop:()=>{if(o=!0,v.playState==="idle")return;const{currentTime:g}=v;if(g){const j=yo({...i,autoplay:!1});e.setWithVelocity(j.sample(g-ws).value,j.sample(g).value,ws)}y()},complete:()=>{u||v.finish()},cancel:y}}function SC({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:de,pause:de,stop:de,then:s=>(s(),Promise.resolve()),cancel:de,complete:de});return t?yo({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const jC={type:"spring",stiffness:500,damping:25,restSpeed:10},CC=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),NC={type:"keyframes",duration:.8},TC={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},bC=(e,{keyframes:t})=>t.length>2?NC:Kn.has(e)?e.startsWith("scale")?CC(t[1]):jC:TC,Wl=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(mn.test(t)||t==="0")&&!t.startsWith("url(")),EC=new Set(["brightness","contrast","saturate","opacity"]);function PC(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ho)||[];if(!r)return e;const i=n.replace(r,"");let s=EC.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const kC=/([a-z-]*)\(.*?\)/g,Hl={...mn,getAnimatableNone:e=>{const t=e.match(kC);return t?t.map(PC).join(" "):e}},AC={...Ig,color:Re,backgroundColor:Re,outlineColor:Re,fill:Re,stroke:Re,borderColor:Re,borderTopColor:Re,borderRightColor:Re,borderBottomColor:Re,borderLeftColor:Re,filter:Hl,WebkitFilter:Hl},wu=e=>AC[e];function Cy(e,t){let n=wu(e);return n!==Hl&&(n=mn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Ny=e=>/^0[^.\s]+$/.test(e);function RC(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Ny(e)}function MC(e,t,n,r){const i=Wl(t,n);let s;Array.isArray(n)?s=[...n]:s=[null,n];const o=r.from!==void 0?r.from:e.get();let a;const l=[];for(let u=0;ui=>{const s=Su(r,e)||{},o=s.delay||r.delay||0;let{elapsed:a=0}=r;a=a-un(o);const l=MC(t,e,n,s),u=l[0],d=l[l.length-1],f=Wl(e,u),p=Wl(e,d);let h={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...s,delay:-a,onUpdate:x=>{t.set(x),s.onUpdate&&s.onUpdate(x)},onComplete:()=>{i(),s.onComplete&&s.onComplete()}};if(LC(s)||(h={...h,...bC(e,h)}),h.duration&&(h.duration=un(h.duration)),h.repeatDelay&&(h.repeatDelay=un(h.repeatDelay)),!f||!p||kj.current||s.type===!1||VC.skipAnimations)return SC(h);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const x=wC(t,e,h);if(x)return x}return yo(h)};function vo(e){return!!(Ue(e)&&e.add)}const Ty=e=>/^\-?\d*\.?\d+$/.test(e);function Cu(e,t){e.indexOf(t)===-1&&e.push(t)}function Nu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Tu{constructor(){this.subscriptions=[]}add(t){return Cu(this.subscriptions,t),()=>Nu(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s!isNaN(parseFloat(e));class OC{constructor(t,n={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:s,timestamp:o}=Ee;this.lastUpdated!==o&&(this.timeDelta=s,this.lastUpdated=o,J.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>J.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=DC(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Tu);const r=this.events[t].add(n);return t==="change"?()=>{r(),J.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?wy(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Pr(e,t){return new OC(e,t)}const by=e=>t=>t.test(e),IC={test:e=>e==="auto",parse:e=>e},Ey=[qn,I,Ct,Wt,$S,US,IC],Hr=e=>Ey.find(by(e)),_C=[...Ey,Re,mn],zC=e=>_C.find(by(e));function FC(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Pr(n))}function BC(e,t){const n=Ko(e,t);let{transitionEnd:r={},transition:i={},...s}=n?e.makeTargetAnimatable(n,!1):{};s={...s,...r};for(const o in s){const a=ij(s[o]);FC(e,o,a)}}function UC(e,t,n){var r,i;const s=Object.keys(t).filter(a=>!e.hasValue(a)),o=s.length;if(o)for(let a=0;al.remove(f))),u.push(S)}return o&&Promise.all(u).then(()=>{o&&BC(e,o)}),u}function Gl(e,t,n={}){const r=Ko(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(Py(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:f}=i;return KC(e,t,u+l,d,f,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[l,u]=a==="beforeChildren"?[s,o]:[o,s];return l().then(()=>u())}else return Promise.all([s(),o(n.delay)])}function KC(e,t,n=0,r=0,i=1,s){const o=[],a=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(qC).forEach((u,d)=>{u.notify("AnimationStart",t),o.push(Gl(u,t,{...s,delay:n+l(d)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(o)}function qC(e,t){return e.sortNodePosition(t)}function YC(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Gl(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Gl(e,t,n);else{const i=typeof t=="function"?Ko(e,t,n.custom):t;r=Promise.all(Py(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}const QC=[...au].reverse(),XC=au.length;function ZC(e){return t=>Promise.all(t.map(({animation:n,options:r})=>YC(e,n,r)))}function JC(e){let t=ZC(e);const n=tN();let r=!0;const i=(l,u)=>{const d=Ko(e,u);if(d){const{transition:f,transitionEnd:p,...h}=d;l={...l,...h,...p}}return l};function s(l){t=l(e)}function o(l,u){const d=e.getProps(),f=e.getVariantContext(!0)||{},p=[],h=new Set;let x={},v=1/0;for(let y=0;yv&&C,L=!1;const G=Array.isArray(j)?j:[j];let O=G.reduce(i,{});T===!1&&(O={});const{prevResolvedValues:ie={}}=g,A={...ie,...O},ee=U=>{M=!0,h.has(U)&&(L=!0,h.delete(U)),g.needsAnimating[U]=!0};for(const U in A){const fe=O[U],P=ie[U];if(x.hasOwnProperty(U))continue;let R=!1;mo(fe)&&mo(P)?R=!Xg(fe,P):R=fe!==P,R?fe!==void 0?ee(U):h.add(U):fe!==void 0&&h.has(U)?ee(U):g.protectedKeys[U]=!0}g.prevProp=j,g.prevResolvedValues=O,g.isActive&&(x={...x,...O}),r&&e.blockInitialAnimation&&(M=!1),M&&(!N||L)&&p.push(...G.map(U=>({animation:U,options:{type:m,...l}})))}if(h.size){const y={};h.forEach(m=>{const g=e.getBaseTarget(m);g!==void 0&&(y[m]=g)}),p.push({animation:y})}let S=!!p.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(S=!1),r=!1,S?t(p):Promise.resolve()}function a(l,u,d){var f;if(n[l].isActive===u)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(h=>{var x;return(x=h.animationState)===null||x===void 0?void 0:x.setActive(l,u)}),n[l].isActive=u;const p=o(d,l);for(const h in n)n[h].protectedKeys={};return p}return{animateChanges:o,setActive:a,setAnimateFunction:s,getState:()=>n}}function eN(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Xg(t,e):!1}function Sn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tN(){return{animate:Sn(!0),whileInView:Sn(),whileHover:Sn(),whileTap:Sn(),whileDrag:Sn(),whileFocus:Sn(),exit:Sn()}}class nN extends vn{constructor(t){super(t),t.animationState||(t.animationState=JC(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),$o(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let rN=0;class iN extends vn{constructor(){super(...arguments),this.id=rN++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const s=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&s.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const sN={animation:{Feature:nN},exit:{Feature:iN}},wf=(e,t)=>Math.abs(e-t);function oN(e,t){const n=wf(e.x,t.x),r=wf(e.y,t.y);return Math.sqrt(n**2+r**2)}class ky{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Va(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,h=oN(f.offset,{x:0,y:0})>=3;if(!p&&!h)return;const{point:x}=f,{timestamp:v}=Ee;this.history.push({...x,timestamp:v});const{onStart:S,onMove:y}=this.handlers;p||(S&&S(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,f)},this.handlePointerMove=(f,p)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=La(p,this.transformPagePoint),J.update(this.updatePoint,!0)},this.handlePointerUp=(f,p)=>{this.end();const{onEnd:h,onSessionEnd:x,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=Va(f.type==="pointercancel"?this.lastMoveEventInfo:La(p,this.transformPagePoint),this.history);this.startEvent&&h&&h(f,S),x&&x(f,S)},!Gg(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const o=Go(t),a=La(o,this.transformPagePoint),{point:l}=a,{timestamp:u}=Ee;this.history=[{...l,timestamp:u}];const{onSessionStart:d}=n;d&&d(t,Va(a,this.history)),this.removeListeners=cn(Mt(this.contextWindow,"pointermove",this.handlePointerMove),Mt(this.contextWindow,"pointerup",this.handlePointerUp),Mt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),_t(this.updatePoint)}}function La(e,t){return t?{point:t(e.point)}:e}function Sf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Va({point:e},t){return{point:e,delta:Sf(e,Ay(t)),offset:Sf(e,aN(t)),velocity:lN(t,.1)}}function aN(e){return e[0]}function Ay(e){return e[e.length-1]}function lN(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Ay(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>un(t)));)n--;if(!r)return{x:0,y:0};const s=Lt(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Xe(e){return e.max-e.min}function Kl(e,t=0,n=.01){return Math.abs(e-t)<=n}function jf(e,t,n,r=.5){e.origin=r,e.originPoint=ae(t.min,t.max,e.origin),e.scale=Xe(n)/Xe(t),(Kl(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=ae(n.min,n.max,e.origin)-e.originPoint,(Kl(e.translate)||isNaN(e.translate))&&(e.translate=0)}function di(e,t,n,r){jf(e.x,t.x,n.x,r?r.originX:void 0),jf(e.y,t.y,n.y,r?r.originY:void 0)}function Cf(e,t,n){e.min=n.min+t.min,e.max=e.min+Xe(t)}function cN(e,t,n){Cf(e.x,t.x,n.x),Cf(e.y,t.y,n.y)}function Nf(e,t,n){e.min=t.min-n.min,e.max=e.min+Xe(t)}function fi(e,t,n){Nf(e.x,t.x,n.x),Nf(e.y,t.y,n.y)}function uN(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?ae(n,e,r.max):Math.min(e,n)),e}function Tf(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function dN(e,{top:t,left:n,bottom:r,right:i}){return{x:Tf(e.x,n,i),y:Tf(e.y,t,r)}}function bf(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=Ii(t.min,t.max-r,e.min):r>i&&(n=Ii(e.min,e.max-i,t.min)),pn(0,1,n)}function mN(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const ql=.35;function hN(e=ql){return e===!1?e=0:e===!0&&(e=ql),{x:Ef(e,"left","right"),y:Ef(e,"top","bottom")}}function Ef(e,t,n){return{min:Pf(e,t),max:Pf(e,n)}}function Pf(e,t){return typeof e=="number"?e:e[t]||0}const kf=()=>({translate:0,scale:1,origin:0,originPoint:0}),fr=()=>({x:kf(),y:kf()}),Af=()=>({min:0,max:0}),me=()=>({x:Af(),y:Af()});function tt(e){return[e("x"),e("y")]}function Ry({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function gN({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function yN(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Da(e){return e===void 0||e===1}function Yl({scale:e,scaleX:t,scaleY:n}){return!Da(e)||!Da(t)||!Da(n)}function Nn(e){return Yl(e)||My(e)||e.z||e.rotate||e.rotateX||e.rotateY}function My(e){return Rf(e.x)||Rf(e.y)}function Rf(e){return e&&e!=="0%"}function xo(e,t,n){const r=e-n,i=t*r;return n+i}function Mf(e,t,n,r,i){return i!==void 0&&(e=xo(e,i,r)),xo(e,n,r)+t}function Ql(e,t=0,n=1,r,i){e.min=Mf(e.min,t,n,r,i),e.max=Mf(e.max,t,n,r,i)}function Ly(e,{x:t,y:n}){Ql(e.x,t.translate,t.scale,t.originPoint),Ql(e.y,n.translate,n.scale,n.originPoint)}function vN(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let a=0;a1.0000000000001||e<.999999999999?e:1}function Kt(e,t){e.min=e.min+t,e.max=e.max+t}function Vf(e,t,[n,r,i]){const s=t[i]!==void 0?t[i]:.5,o=ae(e.min,e.max,s);Ql(e,t[n],t[r],o,t.scale)}const xN=["x","scaleX","originX"],wN=["y","scaleY","originY"];function pr(e,t){Vf(e.x,t,xN),Vf(e.y,t,wN)}function Vy(e,t){return Ry(yN(e.getBoundingClientRect(),t))}function SN(e,t,n){const r=Vy(e,n),{scroll:i}=t;return i&&(Kt(r.x,i.offset.x),Kt(r.y,i.offset.y)),r}const Dy=({current:e})=>e?e.ownerDocument.defaultView:null,jN=new WeakMap;class CN{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=me(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=d=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Go(d,"page").point)},s=(d,f)=>{const{drag:p,dragPropagation:h,onDragStart:x}=this.getProps();if(p&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=qg(p),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tt(S=>{let y=this.getAxisMotionValue(S).get()||0;if(Ct.test(y)){const{projection:m}=this.visualElement;if(m&&m.layout){const g=m.layout.layoutBox[S];g&&(y=Xe(g)*(parseFloat(y)/100))}}this.originPoint[S]=y}),x&&J.update(()=>x(d,f),!1,!0);const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},o=(d,f)=>{const{dragPropagation:p,dragDirectionLock:h,onDirectionLock:x,onDrag:v}=this.getProps();if(!p&&!this.openGlobalLock)return;const{offset:S}=f;if(h&&this.currentDirection===null){this.currentDirection=NN(S),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",f.point,S),this.updateAxis("y",f.point,S),this.visualElement.render(),v&&v(d,f)},a=(d,f)=>this.stop(d,f),l=()=>tt(d=>{var f;return this.getAnimationState(d)==="paused"&&((f=this.getAxisMotionValue(d).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new ky(t,{onSessionStart:i,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:Dy(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:s}=this.getProps();s&&J.update(()=>s(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Ss(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=uN(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&ur(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=dN(i.layoutBox,n):this.constraints=!1,this.elastic=hN(r),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&tt(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=mN(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ur(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=SN(r,i.root,this.visualElement.getTransformPagePoint());let o=fN(i.layout.layoutBox,s);if(n){const a=n(gN(o));this.hasMutatedConstraints=!!a,a&&(o=Ry(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=tt(d=>{if(!Ss(d,n,this.currentDirection))return;let f=l&&l[d]||{};o&&(f={min:0,max:0});const p=i?200:1e6,h=i?40:1e7,x={type:"inertia",velocity:r?t[d]:0,bounceStiffness:p,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(d,x)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(ju(t,r,0,n))}stopAnimation(){tt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tt(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){tt(n=>{const{drag:r}=this.getProps();if(!Ss(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n];s.set(t[n]-ae(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ur(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};tt(o=>{const a=this.getAxisMotionValue(o);if(a){const l=a.get();i[o]=pN({min:l,max:l},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),tt(o=>{if(!Ss(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(ae(l,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;jN.set(this.visualElement,this);const t=this.visualElement.current,n=Mt(t,"pointerdown",l=>{const{drag:u,dragListener:d=!0}=this.getProps();u&&d&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();ur(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const o=At(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(tt(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=l[d].translate,f.set(f.get()+l[d].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=ql,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function Ss(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function NN(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class TN extends vn{constructor(t){super(t),this.removeGroupControls=de,this.removeListeners=de,this.controls=new CN(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||de}unmount(){this.removeGroupControls(),this.removeListeners()}}const Df=e=>(t,n)=>{e&&J.update(()=>e(t,n))};class bN extends vn{constructor(){super(...arguments),this.removePointerDownListener=de}onPointerDown(t){this.session=new ky(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Dy(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Df(t),onStart:Df(n),onMove:r,onEnd:(s,o)=>{delete this.session,i&&J.update(()=>i(s,o))}}}mount(){this.removePointerDownListener=Mt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function EN(){const e=w.useContext(su);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=w.useId();return w.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Ds={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Of(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Gr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(I.test(e))e=parseFloat(e);else return e;const n=Of(e,t.target.x),r=Of(e,t.target.y);return`${n}% ${r}%`}},PN={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=mn.parse(e);if(i.length>5)return r;const s=mn.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=ae(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}};class kN extends oe.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;DS(AN),s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Ds.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,o=r.projection;return o&&(o.isPresent=s,i||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||J.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Oy(e){const[t,n]=EN(),r=w.useContext(Rg);return oe.createElement(kN,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(Mg),isPresent:t,safeToRemove:n})}const AN={borderRadius:{...Gr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Gr,borderTopRightRadius:Gr,borderBottomLeftRadius:Gr,borderBottomRightRadius:Gr,boxShadow:PN},Iy=["TopLeft","TopRight","BottomLeft","BottomRight"],RN=Iy.length,If=e=>typeof e=="string"?parseFloat(e):e,_f=e=>typeof e=="number"||I.test(e);function MN(e,t,n,r,i,s){i?(e.opacity=ae(0,n.opacity!==void 0?n.opacity:1,LN(r)),e.opacityExit=ae(t.opacity!==void 0?t.opacity:1,0,VN(r))):s&&(e.opacity=ae(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;ort?1:n(Ii(e,t,r))}function Ff(e,t){e.min=t.min,e.max=t.max}function et(e,t){Ff(e.x,t.x),Ff(e.y,t.y)}function Bf(e,t,n,r,i){return e-=t,e=xo(e,1/n,r),i!==void 0&&(e=xo(e,1/i,r)),e}function DN(e,t=0,n=1,r=.5,i,s=e,o=e){if(Ct.test(t)&&(t=parseFloat(t),t=ae(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=ae(s.min,s.max,r);e===s&&(a-=t),e.min=Bf(e.min,t,n,a,i),e.max=Bf(e.max,t,n,a,i)}function Uf(e,t,[n,r,i],s,o){DN(e,t[n],t[r],t[i],t.scale,s,o)}const ON=["x","scaleX","originX"],IN=["y","scaleY","originY"];function $f(e,t,n,r){Uf(e.x,t,ON,n?n.x:void 0,r?r.x:void 0),Uf(e.y,t,IN,n?n.y:void 0,r?r.y:void 0)}function Wf(e){return e.translate===0&&e.scale===1}function zy(e){return Wf(e.x)&&Wf(e.y)}function _N(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Fy(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Hf(e){return Xe(e.x)/Xe(e.y)}class zN{constructor(){this.members=[]}add(t){Cu(this.members,t),t.scheduleRender()}remove(t){if(Nu(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const s=this.members[i];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Gf(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y;if((i||s)&&(r=`translate3d(${i}px, ${s}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:u,rotateY:d}=n;l&&(r+=`rotate(${l}deg) `),u&&(r+=`rotateX(${u}deg) `),d&&(r+=`rotateY(${d}deg) `)}const o=e.x.scale*t.x,a=e.y.scale*t.y;return(o!==1||a!==1)&&(r+=`scale(${o}, ${a})`),r||"none"}const FN=(e,t)=>e.depth-t.depth;class BN{constructor(){this.children=[],this.isDirty=!1}add(t){Cu(this.children,t),this.isDirty=!0}remove(t){Nu(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(FN),this.isDirty=!1,this.children.forEach(t)}}function UN(e,t){const n=performance.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(_t(r),e(s-t))};return J.read(r,!0),()=>_t(r)}function $N(e){window.MotionDebug&&window.MotionDebug.record(e)}function WN(e){return e instanceof SVGElement&&e.tagName!=="svg"}function HN(e,t,n){const r=Ue(e)?e:Pr(e);return r.start(ju("",r,t,n)),r.animation}const Kf=["","X","Y","Z"],GN={visibility:"hidden"},qf=1e3;let KN=0;const Tn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function By({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=KN++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Tn.totalNodes=Tn.resolvedTargetDeltas=Tn.recalculatedProjection=0,this.nodes.forEach(QN),this.nodes.forEach(tT),this.nodes.forEach(nT),this.nodes.forEach(XN),$N(Tn)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=UN(p,250),Ds.hasAnimatedSinceResize&&(Ds.hasAnimatedSinceResize=!1,this.nodes.forEach(Qf))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&d&&(l||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:p,hasRelativeTargetChanged:h,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||d.getDefaultTransition()||aT,{onLayoutAnimationStart:S,onLayoutAnimationComplete:y}=d.getProps(),m=!this.targetLayout||!Fy(this.targetLayout,x)||h,g=!p&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||g||p&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,g);const j={...Su(v,"layout"),onPlay:S,onComplete:y};(d.shouldReduceMotion||this.options.layoutRoot)&&(j.delay=0,j.type=!1),this.startAnimation(j)}else p||Qf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,_t(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(rT),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;dthis.update()))}clearAllSnapshots(){this.nodes.forEach(ZN),this.sharedNodes.forEach(iT)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,J.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){J.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const C=j/1e3;Xf(f.x,o.x,C),Xf(f.y,o.y,C),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(fi(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),sT(this.relativeTarget,this.relativeTargetOrigin,p,C),g&&_N(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=me()),et(g,this.relativeTarget)),v&&(this.animationValues=d,MN(d,u,this.latestValues,C,m,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(_t(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=J.update(()=>{Ds.hasAnimatedSinceResize=!0,this.currentAnimation=HN(0,qf,{...o,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(qf),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:d}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&Uy(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||me();const f=Xe(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+f;const p=Xe(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+p}et(a,l),pr(a,d),di(this.projectionDeltaWithTransform,this.layoutCorrected,a,d)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new zN),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(a=!0),!a)return;const u={};for(let d=0;d{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Yf),this.root.sharedNodes.clear()}}}function qN(e){e.updateLayout()}function YN(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:s}=e.options,o=n.source!==e.layout.source;s==="size"?tt(f=>{const p=o?n.measuredBox[f]:n.layoutBox[f],h=Xe(p);p.min=r[f].min,p.max=p.min+h}):Uy(s,n.layoutBox,r)&&tt(f=>{const p=o?n.measuredBox[f]:n.layoutBox[f],h=Xe(r[f]);p.max=p.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+h)});const a=fr();di(a,r,n.layoutBox);const l=fr();o?di(l,e.applyTransform(i,!0),n.measuredBox):di(l,r,n.layoutBox);const u=!zy(a);let d=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:p,layout:h}=f;if(p&&h){const x=me();fi(x,n.layoutBox,p.layoutBox);const v=me();fi(v,r,h.layoutBox),Fy(x,v)||(d=!0),f.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=x,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function QN(e){Tn.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function XN(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ZN(e){e.clearSnapshot()}function Yf(e){e.clearMeasurements()}function JN(e){e.isLayoutDirty=!1}function eT(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Qf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function tT(e){e.resolveTargetDelta()}function nT(e){e.calcProjection()}function rT(e){e.resetRotation()}function iT(e){e.removeLeadSnapshot()}function Xf(e,t,n){e.translate=ae(t.translate,0,n),e.scale=ae(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Zf(e,t,n,r){e.min=ae(t.min,n.min,r),e.max=ae(t.max,n.max,r)}function sT(e,t,n,r){Zf(e.x,t.x,n.x,r),Zf(e.y,t.y,n.y,r)}function oT(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const aT={duration:.45,ease:[.4,0,.1,1]},Jf=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),ep=Jf("applewebkit/")&&!Jf("chrome/")?Math.round:de;function tp(e){e.min=ep(e.min),e.max=ep(e.max)}function lT(e){tp(e.x),tp(e.y)}function Uy(e,t,n){return e==="position"||e==="preserve-aspect"&&!Kl(Hf(t),Hf(n),.2)}const cT=By({attachResizeListener:(e,t)=>At(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Oa={current:void 0},$y=By({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Oa.current){const e=new cT({});e.mount(window),e.setOptions({layoutScroll:!0}),Oa.current=e}return Oa.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),uT={pan:{Feature:bN},drag:{Feature:TN,ProjectionNode:$y,MeasureLayout:Oy}},dT=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function fT(e){const t=dT.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function Xl(e,t,n=1){const[r,i]=fT(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return Ty(o)?parseFloat(o):o}else return Fl(i)?Xl(i,t,n+1):i}function pT(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const s=i.get();if(!Fl(s))return;const o=Xl(s,r);o&&i.set(o)});for(const i in t){const s=t[i];if(!Fl(s))continue;const o=Xl(s,r);o&&(t[i]=o,n||(n={}),n[i]===void 0&&(n[i]=s))}return{target:t,transitionEnd:n}}const mT=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Wy=e=>mT.has(e),hT=e=>Object.keys(e).some(Wy),np=e=>e===qn||e===I,rp=(e,t)=>parseFloat(e.split(", ")[t]),ip=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return rp(i[1],t);{const s=r.match(/^matrix\((.+)\)$/);return s?rp(s[1],e):0}},gT=new Set(["x","y","z"]),yT=Ki.filter(e=>!gT.has(e));function vT(e){const t=[];return yT.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const kr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ip(4,13),y:ip(5,14)};kr.translateX=kr.x;kr.translateY=kr.y;const xT=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,s=getComputedStyle(i),{display:o}=s,a={};o==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{a[u]=kr[u](r,s)}),t.render();const l=t.measureViewportBox();return n.forEach(u=>{const d=t.getValue(u);d&&d.jump(a[u]),e[u]=kr[u](l,s)}),e},wT=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(Wy);let s=[],o=!1;const a=[];if(i.forEach(l=>{const u=e.getValue(l);if(!e.hasValue(l))return;let d=n[l],f=Hr(d);const p=t[l];let h;if(mo(p)){const x=p.length,v=p[0]===null?1:0;d=p[v],f=Hr(d);for(let S=v;S=0?window.pageYOffset:null,u=xT(t,e,a);return s.length&&s.forEach(([d,f])=>{e.getValue(d).set(f)}),e.render(),Uo&&l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function ST(e,t,n,r){return hT(t)?wT(e,t,n,r):{target:t,transitionEnd:r}}const jT=(e,t,n,r)=>{const i=pT(e,t,r);return t=i.target,r=i.transitionEnd,ST(e,t,n,r)},Zl={current:null},Hy={current:!1};function CT(){if(Hy.current=!0,!!Uo)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Zl.current=e.matches;e.addListener(t),t()}else Zl.current=!1}function NT(e,t,n){const{willChange:r}=t;for(const i in t){const s=t[i],o=n[i];if(Ue(s))e.addValue(i,s),vo(r)&&r.add(i);else if(Ue(o))e.addValue(i,Pr(s,{owner:e})),vo(r)&&r.remove(i);else if(o!==s)if(e.hasValue(i)){const a=e.getValue(i);!a.hasAnimated&&a.set(s)}else{const a=e.getStaticValue(i);e.addValue(i,Pr(a!==void 0?a:s,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const sp=new WeakMap,Gy=Object.keys(Oi),TT=Gy.length,op=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],bT=lu.length;class ET{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>J.render(this.render,!1,!0);const{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=o,this.isControllingVariants=Wo(n),this.isVariantNode=Ag(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(n,{});for(const f in d){const p=d[f];a[f]!==void 0&&Ue(p)&&(p.set(a[f],!1),vo(u)&&u.add(f))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,sp.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Hy.current||CT(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Zl.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){sp.delete(this.current),this.projection&&this.projection.unmount(),_t(this.notifyUpdate),_t(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=Kn.has(t),i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&J.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),s()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,s){let o,a;for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:s,layoutScroll:p,layoutRoot:h})}return a}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):me()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Pr(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=hu(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Ue(s)?s:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Tu),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Ky extends ET{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},s){let o=WC(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),o&&(o=i(o))),s){UC(this,r,o);const a=jT(this,r,o,n);n=a.transitionEnd,r=a.target}return{transition:t,transitionEnd:n,...r}}}function PT(e){return window.getComputedStyle(e)}class kT extends Ky{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(Kn.has(n)){const r=wu(n);return r&&r.default||0}else{const r=PT(t),i=(Dg(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Vy(t,n)}build(t,n,r,i){uu(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n){return mu(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ue(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){Bg(t,n,r,i)}}class AT extends Ky{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Kn.has(n)){const r=wu(n);return r&&r.default||0}return n=Ug.has(n)?n:ou(n),t.getAttribute(n)}measureInstanceViewportBox(){return me()}scrapeMotionValuesFromProps(t,n){return Wg(t,n)}build(t,n,r,i){fu(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){$g(t,n,r,i)}mount(t){this.isSVGTag=pu(t.tagName),super.mount(t)}}const RT=(e,t)=>cu(e)?new AT(t,{enableHardwareAcceleration:!1}):new kT(t,{enableHardwareAcceleration:!0}),MT={layout:{ProjectionNode:$y,MeasureLayout:Oy}},LT={...sN,...Tj,...uT,...MT},D=LS((e,t)=>fj(e,t,LT,RT)),VT=yg("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),we=oe.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},s)=>{const o=r?ow:"button";return c.jsx(o,{className:Gn(VT({variant:t,size:n,className:e})),ref:s,...i})});we.displayName="Button";const DT=()=>{const[e,t]=w.useState(!1),n=Hi(),r=[{name:"Inicio",href:"/"},{name:"Productos",href:"/productos"},{name:"Nosotros",href:"/nosotros"},{name:"Contacto",href:"/contacto"}],i=()=>{gt({title:"🛒 Carrito de Compras",description:"🚧 Esta función no está implementada aún—¡pero no te preocupes! ¡Puedes solicitarla en tu próximo mensaje! 🚀"})},s=()=>{gt({title:"💖 Lista de Deseos",description:"🚧 Esta función no está implementada aún—¡pero no te preocupes! ¡Puedes solicitarla en tu próximo mensaje! 🚀"})},o=()=>{gt({title:"👤 Mi Cuenta",description:"🚧 Esta función no está implementada aún—¡pero no te preocupes! ¡Puedes solicitarla en tu próximo mensaje! 🚀"})};return c.jsx("header",{className:"sticky top-0 z-50 bg-white/95 backdrop-blur-md border-b border-pink-100",children:c.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[c.jsxs("div",{className:"flex justify-between items-center h-16",children:[c.jsx(Ge,{to:"/",className:"flex items-center space-x-2",children:c.jsxs(D.div,{whileHover:{scale:1.05},className:"flex items-center space-x-2",children:[c.jsx("div",{className:"w-10 h-10 bg-gradient-to-r from-pink-500 to-purple-600 rounded-full flex items-center justify-center",children:c.jsx("span",{className:"text-white font-bold text-lg",children:"B"})}),c.jsxs("div",{children:[c.jsx("h1",{className:"text-xl font-bold gradient-text",children:"BDV"}),c.jsx("p",{className:"text-xs text-gray-600",children:"Empresa Cosméticos"})]})]})}),c.jsx("nav",{className:"hidden md:flex space-x-8",children:r.map(a=>c.jsx(Ge,{to:a.href,className:`text-sm font-medium transition-colors hover:text-pink-600 ${n.pathname===a.href?"text-pink-600 border-b-2 border-pink-600":"text-gray-700"}`,children:a.name},a.name))}),c.jsxs("div",{className:"hidden md:flex items-center space-x-4",children:[c.jsx(we,{variant:"ghost",size:"icon",onClick:s,className:"text-gray-700 hover:text-pink-600",children:c.jsx(Li,{className:"h-5 w-5"})}),c.jsx(we,{variant:"ghost",size:"icon",onClick:i,className:"text-gray-700 hover:text-pink-600",children:c.jsx(Jd,{className:"h-5 w-5"})}),c.jsx(we,{variant:"ghost",size:"icon",onClick:o,className:"text-gray-700 hover:text-pink-600",children:c.jsx(tf,{className:"h-5 w-5"})})]}),c.jsx("div",{className:"md:hidden",children:c.jsx(we,{variant:"ghost",size:"icon",onClick:()=>t(!e),children:e?c.jsx(Sg,{className:"h-6 w-6"}):c.jsx(lS,{className:"h-6 w-6"})})})]}),e&&c.jsx(D.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:"md:hidden py-4 border-t border-pink-100",children:c.jsxs("div",{className:"flex flex-col space-y-4",children:[r.map(a=>c.jsx(Ge,{to:a.href,className:`text-sm font-medium transition-colors hover:text-pink-600 ${n.pathname===a.href?"text-pink-600":"text-gray-700"}`,onClick:()=>t(!1),children:a.name},a.name)),c.jsxs("div",{className:"flex items-center space-x-4 pt-4 border-t border-pink-100",children:[c.jsx(we,{variant:"ghost",size:"icon",onClick:s,className:"text-gray-700 hover:text-pink-600",children:c.jsx(Li,{className:"h-5 w-5"})}),c.jsx(we,{variant:"ghost",size:"icon",onClick:i,className:"text-gray-700 hover:text-pink-600",children:c.jsx(Jd,{className:"h-5 w-5"})}),c.jsx(we,{variant:"ghost",size:"icon",onClick:o,className:"text-gray-700 hover:text-pink-600",children:c.jsx(tf,{className:"h-5 w-5"})})]})]})})]})})},OT=()=>c.jsx("footer",{className:"bg-gray-900 text-white",children:c.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8",children:[c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"flex items-center space-x-2",children:[c.jsx("div",{className:"w-10 h-10 bg-gradient-to-r from-pink-500 to-purple-600 rounded-full flex items-center justify-center",children:c.jsx("span",{className:"text-white font-bold text-lg",children:"B"})}),c.jsxs("div",{children:[c.jsx("span",{className:"text-xl font-bold gradient-text",children:"BDV"}),c.jsx("p",{className:"text-sm text-gray-400",children:"Empresa Cosméticos"})]})]}),c.jsx("p",{className:"text-gray-400 text-sm",children:"Tu tienda de confianza para cosméticos naturales y productos de belleza auténticos. Calidad garantizada y envío rápido a toda Venezuela."})]}),c.jsxs("div",{className:"space-y-4",children:[c.jsx("span",{className:"text-lg font-semibold",children:"Enlaces Rápidos"}),c.jsxs("div",{className:"flex flex-col space-y-2",children:[c.jsx(Ge,{to:"/",className:"text-gray-400 hover:text-pink-400 transition-colors text-sm",children:"Inicio"}),c.jsx(Ge,{to:"/productos",className:"text-gray-400 hover:text-pink-400 transition-colors text-sm",children:"Productos"}),c.jsx(Ge,{to:"/nosotros",className:"text-gray-400 hover:text-pink-400 transition-colors text-sm",children:"Nosotros"}),c.jsx(Ge,{to:"/contacto",className:"text-gray-400 hover:text-pink-400 transition-colors text-sm",children:"Contacto"})]})]}),c.jsxs("div",{className:"space-y-4",children:[c.jsx("span",{className:"text-lg font-semibold",children:"Legal"}),c.jsxs("div",{className:"flex flex-col space-y-2",children:[c.jsx(Ge,{to:"/politica-privacidad",className:"text-gray-400 hover:text-pink-400 transition-colors text-sm",children:"Política de Privacidad"}),c.jsx(Ge,{to:"/terminos-condiciones",className:"text-gray-400 hover:text-pink-400 transition-colors text-sm",children:"Términos y Condiciones"}),c.jsx(Ge,{to:"/aviso-legal",className:"text-gray-400 hover:text-pink-400 transition-colors text-sm",children:"Aviso Legal"})]})]}),c.jsxs("div",{className:"space-y-4",children:[c.jsx("span",{className:"text-lg font-semibold",children:"Contacto"}),c.jsxs("div",{className:"space-y-3",children:[c.jsxs("div",{className:"flex items-center space-x-3",children:[c.jsx(Vi,{className:"h-4 w-4 text-pink-400"}),c.jsx("span",{className:"text-gray-400 text-sm",children:"pwggag65@gmail.com"})]}),c.jsxs("div",{className:"flex items-center space-x-3",children:[c.jsx(uo,{className:"h-4 w-4 text-pink-400"}),c.jsx("span",{className:"text-gray-400 text-sm",children:"+58 412 123 4567"})]}),c.jsxs("div",{className:"flex items-center space-x-3",children:[c.jsx(ru,{className:"h-4 w-4 text-pink-400"}),c.jsx("span",{className:"text-gray-400 text-sm",children:"Venezuela"})]})]}),c.jsxs("div",{className:"flex space-x-4 pt-4",children:[c.jsx(D.a,{href:"#",whileHover:{scale:1.1},className:"text-gray-400 hover:text-pink-400 transition-colors",children:c.jsx(oS,{className:"h-5 w-5"})}),c.jsx(D.a,{href:"#",whileHover:{scale:1.1},className:"text-gray-400 hover:text-pink-400 transition-colors",children:c.jsx(sS,{className:"h-5 w-5"})}),c.jsx(D.a,{href:"#",whileHover:{scale:1.1},className:"text-gray-400 hover:text-pink-400 transition-colors",children:c.jsx(mS,{className:"h-5 w-5"})})]})]})]}),c.jsxs("div",{className:"border-t border-gray-800 mt-8 pt-8 text-center",children:[c.jsx("p",{className:"text-gray-400 text-sm",children:"© 2024 BDV Empresa Cosméticos. Todos los derechos reservados. Productos auténticos y de calidad garantizada."}),c.jsx("p",{className:"text-gray-500 text-xs mt-2",children:"Verificador Google Ads: WILMAR ANDRES CARDENAS VALENTIN | ID de Campaña: 400-411-9362"}),c.jsxs("p",{className:"text-gray-500 text-xs mt-1",children:["URL del Sitio Web: ",c.jsx("a",{href:"https://sprinkle.sa.com/bdvempresassa/",target:"_blank",rel:"noopener noreferrer",className:"text-pink-400 hover:underline",children:"https://sprinkle.sa.com/bdvempresassa/"})]})]})]})});var qy={exports:{}},IT="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",_T=IT,zT=_T;function Yy(){}function Qy(){}Qy.resetWarningCache=Yy;var FT=function(){function e(r,i,s,o,a,l){if(l!==zT){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Qy,resetWarningCache:Yy};return n.PropTypes=n,n};qy.exports=FT();var BT=qy.exports;const te=Ar(BT);function UT(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Xy=w,$T=UT(Xy);function ap(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var HT=!!(typeof window<"u"&&window.document&&window.document.createElement);function GT(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(i){return i.displayName||i.name||"Component"}return function(s){if(typeof s!="function")throw new Error("Expected WrappedComponent to be a React component.");var o=[],a;function l(){a=e(o.map(function(d){return d.props})),u.canUseDOM?t(a):n&&(a=n(a))}var u=function(d){WT(f,d);function f(){return d.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 x=a;return a=void 0,o=[],x};var p=f.prototype;return p.UNSAFE_componentWillMount=function(){o.push(this),l()},p.componentDidUpdate=function(){l()},p.componentWillUnmount=function(){var x=o.indexOf(this);o.splice(x,1),l()},p.render=function(){return $T.createElement(s,this.props)},f}(Xy.PureComponent);return ap(u,"displayName","SideEffect("+r(s)+")"),ap(u,"canUseDOM",HT),u}}var KT=GT;const qT=Ar(KT);var YT=typeof Element<"u",QT=typeof Map=="function",XT=typeof Set=="function",ZT=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Os(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,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Os(e[r],t[r]))return!1;return!0}var s;if(QT&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;for(s=e.entries();!(r=s.next()).done;)if(!Os(r.value[1],t.get(r.value[0])))return!1;return!0}if(XT&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(ZT&&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(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(YT&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!Os(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var JT=function(t,n){try{return Os(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 eb=Ar(JT);/* object-assign (c) Sindre Sorhus @license MIT */var lp=Object.getOwnPropertySymbols,tb=Object.prototype.hasOwnProperty,nb=Object.prototype.propertyIsEnumerable;function rb(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function ib(){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(s){return t[s]});if(r.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(s){i[s]=s}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var sb=ib()?Object.assign:function(e,t){for(var n,r=rb(e),i,s=1;s=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},pb=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},Jl=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n===!1?String(t):String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},mb=function(t){var n=wr(t,z.TITLE),r=wr(t,_i.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var i=wr(t,_i.DEFAULT_TITLE);return n||i||void 0},hb=function(t){return wr(t,_i.ON_CHANGE_CLIENT_STATE)||function(){}},Ia=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,i){return Oe({},r,i)},{})},gb=function(t,n){return n.filter(function(r){return typeof r[z.BASE]<"u"}).map(function(r){return r[z.BASE]}).reverse().reduce(function(r,i){if(!r.length)for(var s=Object.keys(i),o=0;o=0;r--){var i=t[r];if(i.hasOwnProperty(n))return i[n]}return null},yb=function(t){return{baseTag:gb([ne.HREF,ne.TARGET],t),bodyAttributes:Ia(Ln.BODY,t),defer:wr(t,_i.DEFER),encode:wr(t,_i.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Ia(Ln.HTML,t),linkTags:Kr(z.LINK,[ne.REL,ne.HREF],t),metaTags:Kr(z.META,[ne.NAME,ne.CHARSET,ne.HTTPEQUIV,ne.PROPERTY,ne.ITEM_PROP],t),noscriptTags:Kr(z.NOSCRIPT,[ne.INNER_HTML],t),onChangeClientState:hb(t),scriptTags:Kr(z.SCRIPT,[ne.SRC,ne.INNER_HTML],t),styleTags:Kr(z.STYLE,[ne.CSS_TEXT],t),title:mb(t),titleAttributes:Ia(Ln.TITLE,t)}},ec=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){ec(t)},0)}}(),up=function(t){return clearTimeout(t)},vb=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ec:global.requestAnimationFrame||ec,xb=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||up:global.cancelAnimationFrame||up,wb=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},qr=null,Sb=function(t){qr&&xb(qr),t.defer?qr=vb(function(){dp(t,function(){qr=null})}):(dp(t),qr=null)},dp=function(t,n){var r=t.baseTag,i=t.bodyAttributes,s=t.htmlAttributes,o=t.linkTags,a=t.metaTags,l=t.noscriptTags,u=t.onChangeClientState,d=t.scriptTags,f=t.styleTags,p=t.title,h=t.titleAttributes;tc(z.BODY,i),tc(z.HTML,s),jb(p,h);var x={baseTag:Xn(z.BASE,r),linkTags:Xn(z.LINK,o),metaTags:Xn(z.META,a),noscriptTags:Xn(z.NOSCRIPT,l),scriptTags:Xn(z.SCRIPT,d),styleTags:Xn(z.STYLE,f)},v={},S={};Object.keys(x).forEach(function(y){var m=x[y],g=m.newTags,j=m.oldTags;g.length&&(v[y]=g),j.length&&(S[y]=x[y].oldTags)}),n&&n(),u(t,v,S)},Zy=function(t){return Array.isArray(t)?t.join(""):t},jb=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=Zy(t)),tc(z.TITLE,n)},tc=function(t,n){var r=document.getElementsByTagName(t)[0];if(r){for(var i=r.getAttribute(pt),s=i?i.split(","):[],o=[].concat(s),a=Object.keys(n),l=0;l=0;p--)r.removeAttribute(o[p]);s.length===o.length?r.removeAttribute(pt):r.getAttribute(pt)!==a.join(",")&&r.setAttribute(pt,a.join(","))}},Xn=function(t,n){var r=document.head||document.querySelector(z.HEAD),i=r.querySelectorAll(t+"["+pt+"]"),s=Array.prototype.slice.call(i),o=[],a=void 0;return n&&n.length&&n.forEach(function(l){var u=document.createElement(t);for(var d in l)if(l.hasOwnProperty(d))if(d===ne.INNER_HTML)u.innerHTML=l.innerHTML;else if(d===ne.CSS_TEXT)u.styleSheet?u.styleSheet.cssText=l.cssText:u.appendChild(document.createTextNode(l.cssText));else{var f=typeof l[d]>"u"?"":l[d];u.setAttribute(d,f)}u.setAttribute(pt,"true"),s.some(function(p,h){return a=h,u.isEqualNode(p)})?s.splice(a,1):o.push(u)}),s.forEach(function(l){return l.parentNode.removeChild(l)}),o.forEach(function(l){return r.appendChild(l)}),{oldTags:s,newTags:o}},Jy=function(t){return Object.keys(t).reduce(function(n,r){var i=typeof t[r]<"u"?r+'="'+t[r]+'"':""+r;return n?n+" "+i:i},"")},Cb=function(t,n,r,i){var s=Jy(r),o=Zy(n);return s?"<"+t+" "+pt+'="true" '+s+">"+Jl(o,i)+"":"<"+t+" "+pt+'="true">'+Jl(o,i)+""},Nb=function(t,n,r){return n.reduce(function(i,s){var o=Object.keys(s).filter(function(u){return!(u===ne.INNER_HTML||u===ne.CSS_TEXT)}).reduce(function(u,d){var f=typeof s[d]>"u"?d:d+'="'+Jl(s[d],r)+'"';return u?u+" "+f:f},""),a=s.innerHTML||s.cssText||"",l=lb.indexOf(t)===-1;return i+"<"+t+" "+pt+'="true" '+o+(l?"/>":">"+a+"")},"")},ev=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,i){return r[wo[i]||i]=t[i],r},n)},Tb=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,i){return r[ab[i]||i]=t[i],r},n)},bb=function(t,n,r){var i,s=(i={key:n},i[pt]=!0,i),o=ev(r,s);return[oe.createElement(z.TITLE,o,n)]},Eb=function(t,n){return n.map(function(r,i){var s,o=(s={key:i},s[pt]=!0,s);return Object.keys(r).forEach(function(a){var l=wo[a]||a;if(l===ne.INNER_HTML||l===ne.CSS_TEXT){var u=r.innerHTML||r.cssText;o.dangerouslySetInnerHTML={__html:u}}else o[l]=r[a]}),oe.createElement(t,o)})},Tt=function(t,n,r){switch(t){case z.TITLE:return{toComponent:function(){return bb(t,n.title,n.titleAttributes)},toString:function(){return Cb(t,n.title,n.titleAttributes,r)}};case Ln.BODY:case Ln.HTML:return{toComponent:function(){return ev(n)},toString:function(){return Jy(n)}};default:return{toComponent:function(){return Eb(t,n)},toString:function(){return Nb(t,n,r)}}}},tv=function(t){var n=t.baseTag,r=t.bodyAttributes,i=t.encode,s=t.htmlAttributes,o=t.linkTags,a=t.metaTags,l=t.noscriptTags,u=t.scriptTags,d=t.styleTags,f=t.title,p=f===void 0?"":f,h=t.titleAttributes;return{base:Tt(z.BASE,n,i),bodyAttributes:Tt(Ln.BODY,r,i),htmlAttributes:Tt(Ln.HTML,s,i),link:Tt(z.LINK,o,i),meta:Tt(z.META,a,i),noscript:Tt(z.NOSCRIPT,l,i),script:Tt(z.SCRIPT,u,i),style:Tt(z.STYLE,d,i),title:Tt(z.TITLE,{title:p,titleAttributes:h},i)}},Pb=function(t){var n,r;return r=n=function(i){fb(s,i);function s(){return ub(this,s),pb(this,i.apply(this,arguments))}return s.prototype.shouldComponentUpdate=function(a){return!eb(this.props,a)},s.prototype.mapNestedChildrenToProps=function(a,l){if(!l)return null;switch(a.type){case z.SCRIPT:case z.NOSCRIPT:return{innerHTML:l};case z.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.")},s.prototype.flattenArrayTypeChildren=function(a){var l,u=a.child,d=a.arrayTypeChildren,f=a.newChildProps,p=a.nestedChildren;return Oe({},d,(l={},l[u.type]=[].concat(d[u.type]||[],[Oe({},f,this.mapNestedChildrenToProps(u,p))]),l))},s.prototype.mapObjectTypeChildren=function(a){var l,u,d=a.child,f=a.newProps,p=a.newChildProps,h=a.nestedChildren;switch(d.type){case z.TITLE:return Oe({},f,(l={},l[d.type]=h,l.titleAttributes=Oe({},p),l));case z.BODY:return Oe({},f,{bodyAttributes:Oe({},p)});case z.HTML:return Oe({},f,{htmlAttributes:Oe({},p)})}return Oe({},f,(u={},u[d.type]=Oe({},p),u))},s.prototype.mapArrayTypeChildrenToProps=function(a,l){var u=Oe({},l);return Object.keys(a).forEach(function(d){var f;u=Oe({},u,(f={},f[d]=a[d],f))}),u},s.prototype.warnOnInvalidChildren=function(a,l){return!0},s.prototype.mapChildrenToProps=function(a,l){var u=this,d={};return oe.Children.forEach(a,function(f){if(!(!f||!f.props)){var p=f.props,h=p.children,x=cp(p,["children"]),v=Tb(x);switch(u.warnOnInvalidChildren(f,h),f.type){case z.LINK:case z.META:case z.NOSCRIPT:case z.SCRIPT:case z.STYLE:d=u.flattenArrayTypeChildren({child:f,arrayTypeChildren:d,newChildProps:v,nestedChildren:h});break;default:l=u.mapObjectTypeChildren({child:f,newProps:l,newChildProps:v,nestedChildren:h});break}}}),l=this.mapArrayTypeChildrenToProps(d,l),l},s.prototype.render=function(){var a=this.props,l=a.children,u=cp(a,["children"]),d=Oe({},u);return l&&(d=this.mapChildrenToProps(l,d)),oe.createElement(t,d)},db(s,null,[{key:"canUseDOM",set:function(a){t.canUseDOM=a}}]),s}(oe.Component),n.propTypes={base:te.object,bodyAttributes:te.object,children:te.oneOfType([te.arrayOf(te.node),te.node]),defaultTitle:te.string,defer:te.bool,encodeSpecialCharacters:te.bool,htmlAttributes:te.object,link:te.arrayOf(te.object),meta:te.arrayOf(te.object),noscript:te.arrayOf(te.object),onChangeClientState:te.func,script:te.arrayOf(te.object),style:te.arrayOf(te.object),title:te.string,titleAttributes:te.object,titleTemplate:te.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var i=t.rewind();return i||(i=tv({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),i},r},kb=function(){return null},Ab=qT(yb,Sb,tv)(kb),zt=Pb(Ab);zt.renderStatic=zt.rewind;const Rb=()=>{const e=()=>{gt({title:"🛍️ Comprar Ahora",description:"🚧 Esta función no está implementada aún—¡pero no te preocupes! ¡Puedes solicitarla en tu próximo mensaje! 🚀"})},t=()=>{gt({title:"📦 Ver Producto",description:"🚧 Esta función no está implementada aún—¡pero no te preocupes! ¡Puedes solicitarla en tu próximo mensaje! 🚀"})},n=[{id:1,name:"Sérum Facial Vitamina C",price:"$89.900",originalPrice:"$120.000",rating:4.8,reviews:124,description:"Sérum antioxidante con vitamina C pura para iluminar y rejuvenecer la piel"},{id:2,name:"Base de Maquillaje Natural",price:"$65.900",originalPrice:"$85.000",rating:4.9,reviews:89,description:"Base de cobertura media con ingredientes naturales para todo tipo de piel"},{id:3,name:"Crema Hidratante Facial",price:"$45.900",originalPrice:"$60.000",rating:4.7,reviews:156,description:"Crema hidratante con ácido hialurónico para piel suave y radiante"}],r=[{icon:c.jsx(Fo,{className:"h-8 w-8 text-pink-500"}),title:"Productos Auténticos",description:"Garantizamos la autenticidad de todos nuestros productos cosméticos"},{icon:c.jsx(iu,{className:"h-8 w-8 text-pink-500"}),title:"Envío Rápido",description:"Entrega en 24-48 horas en principales ciudades de Venezuela"},{icon:c.jsx(Li,{className:"h-8 w-8 text-pink-500"}),title:"Cuidado Natural",description:"Productos veganos y naturales para el cuidado de tu piel"},{icon:c.jsx(ef,{className:"h-8 w-8 text-pink-500"}),title:"Calidad Premium",description:"Solo trabajamos con las mejores marcas reconocidas mundialmente"}];return c.jsxs(c.Fragment,{children:[c.jsxs(zt,{children:[c.jsx("title",{children:"BDV Empresa Cosméticos - Cosméticos Naturales y Maquillaje Vegano Online"}),c.jsx("meta",{name:"description",content:"Tienda de cosméticos online con productos de belleza originales, maquillaje vegano y cuidado facial profesional. Envío rápido en Venezuela. Cosméticos naturales de calidad garantizada."}),c.jsx("meta",{name:"keywords",content:"cosméticos naturales, maquillaje vegano, tienda de cosméticos online, productos de belleza originales, cuidado facial profesional, envío rápido cosméticos, cosméticos para todo tipo de piel, productos de belleza en oferta"})]}),c.jsxs("section",{className:"hero-gradient min-h-screen flex items-center relative overflow-hidden",children:[c.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-pink-500/10 to-purple-500/10"}),c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[c.jsxs(D.div,{initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.8},className:"space-y-8",children:[c.jsxs("div",{className:"space-y-4",children:[c.jsxs(D.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"inline-flex items-center px-4 py-2 bg-pink-100 rounded-full text-pink-700 text-sm font-medium",children:[c.jsx(ef,{className:"h-4 w-4 mr-2"}),"Productos Auténticos Garantizados"]}),c.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-gray-900 leading-tight",children:["Descubre tu",c.jsx("span",{className:"gradient-text block",children:"Belleza Natural"})]}),c.jsx("p",{className:"text-xl text-gray-600 max-w-lg",children:"Cosméticos naturales y maquillaje vegano de las mejores marcas. Productos de belleza originales con envío rápido a toda Venezuela."})]}),c.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[c.jsxs(we,{onClick:e,size:"lg",className:"bg-gradient-to-r from-pink-500 to-purple-600 hover:from-pink-600 hover:to-purple-700 text-white px-8 py-3 rounded-full pulse-glow",children:["Comprar Ahora",c.jsx(Ca,{className:"ml-2 h-5 w-5"})]}),c.jsx(Ge,{to:"/productos",children:c.jsx(we,{variant:"outline",size:"lg",className:"border-pink-300 text-pink-600 hover:bg-pink-50 px-8 py-3 rounded-full",children:"Ver Catálogo"})})]}),c.jsxs("div",{className:"flex items-center space-x-8 pt-4",children:[c.jsxs("div",{className:"text-center",children:[c.jsx("div",{className:"text-2xl font-bold text-gray-900",children:"500+"}),c.jsx("div",{className:"text-sm text-gray-600",children:"Productos"})]}),c.jsxs("div",{className:"text-center",children:[c.jsx("div",{className:"text-2xl font-bold text-gray-900",children:"1000+"}),c.jsx("div",{className:"text-sm text-gray-600",children:"Clientes Felices"})]}),c.jsxs("div",{className:"text-center",children:[c.jsx("div",{className:"text-2xl font-bold text-gray-900",children:"4.9"}),c.jsx("div",{className:"text-sm text-gray-600",children:"Calificación"})]})]})]}),c.jsxs(D.div,{initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{duration:.8,delay:.2},className:"relative",children:[c.jsx("div",{className:"floating-animation",children:c.jsx("img",{className:"w-full h-auto rounded-3xl shadow-2xl",alt:"Productos cosméticos naturales y maquillaje vegano de BDV",src:"https://images.unsplash.com/photo-1619956169300-c15c511a1c27"})}),c.jsx(D.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:1},className:"absolute -bottom-6 -left-6 bg-white rounded-2xl p-6 shadow-xl glass-effect",children:c.jsxs("div",{className:"flex items-center space-x-3",children:[c.jsxs("div",{className:"flex -space-x-2",children:[c.jsx("img",{className:"w-8 h-8 rounded-full border-2 border-white",alt:"Cliente satisfecha 1",src:"https://images.unsplash.com/photo-1623095368514-13b032b1b45c"}),c.jsx("img",{className:"w-8 h-8 rounded-full border-2 border-white",alt:"Cliente satisfecha 2",src:"https://images.unsplash.com/photo-1623095368514-13b032b1b45c"}),c.jsx("img",{className:"w-8 h-8 rounded-full border-2 border-white",alt:"Cliente satisfecha 3",src:"https://images.unsplash.com/photo-1623095368514-13b032b1b45c"})]}),c.jsxs("div",{children:[c.jsx("div",{className:"text-sm font-semibold text-gray-900",children:"1000+ Clientes"}),c.jsx("div",{className:"text-xs text-gray-600",children:"Confían en nosotros"})]})]})})]})]})})]}),c.jsx("section",{className:"py-20 bg-white",children:c.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[c.jsxs(D.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},className:"text-center mb-16",children:[c.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:["¿Por qué elegir ",c.jsx("span",{className:"gradient-text",children:"BDV Cosméticos"}),"?"]}),c.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Nos comprometemos a ofrecerte solo productos auténticos de las mejores marcas, con la garantía de calidad que mereces."})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:r.map((i,s)=>c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:s*.1},className:"text-center p-6 rounded-2xl bg-gradient-to-br from-pink-50 to-purple-50 hover:shadow-lg transition-all duration-300",children:[c.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-white rounded-full shadow-lg mb-4",children:i.icon}),c.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:i.title}),c.jsx("p",{className:"text-gray-600",children:i.description})]},s))})]})}),c.jsx("section",{className:"py-20 bg-gray-50",children:c.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[c.jsxs(D.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},className:"text-center mb-16",children:[c.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:["Productos ",c.jsx("span",{className:"gradient-text",children:"Destacados"})]}),c.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Descubre nuestros productos más populares, seleccionados especialmente para ti."})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:n.map((i,s)=>c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:s*.1},className:"bg-white rounded-2xl shadow-lg overflow-hidden product-card-hover cursor-pointer",onClick:t,children:[c.jsxs("div",{className:"relative",children:[c.jsx("img",{className:"w-full h-64 object-cover",alt:`${i.name} - producto cosmético natural`,src:"https://images.unsplash.com/photo-1677328034795-956078dcd7a3"}),c.jsx("div",{className:"absolute top-4 right-4 bg-red-500 text-white px-3 py-1 rounded-full text-sm font-semibold",children:"-25%"})]}),c.jsxs("div",{className:"p-6",children:[c.jsxs("div",{className:"flex items-center mb-2",children:[c.jsx("div",{className:"flex items-center",children:[...Array(5)].map((o,a)=>c.jsx(wg,{className:`h-4 w-4 ${a{o.stopPropagation(),e()},size:"sm",className:"bg-gradient-to-r from-pink-500 to-purple-600 hover:from-pink-600 hover:to-purple-700 text-white",children:"Comprar"})]})]})]},i.id))}),c.jsx("div",{className:"text-center mt-12",children:c.jsx(Ge,{to:"/productos",children:c.jsxs(we,{size:"lg",variant:"outline",className:"border-pink-300 text-pink-600 hover:bg-pink-50 px-8 py-3 rounded-full",children:["Ver Todos los Productos",c.jsx(Ca,{className:"ml-2 h-5 w-5"})]})})})]})}),c.jsx("section",{className:"py-20 bg-gradient-to-r from-pink-500 to-purple-600 text-white",children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:c.jsxs(D.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},className:"space-y-8",children:[c.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"¿Lista para transformar tu rutina de belleza?"}),c.jsx("p",{className:"text-xl max-w-3xl mx-auto opacity-90",children:"Únete a miles de mujeres que ya confían en BDV Cosméticos para su cuidado personal. Productos auténticos, calidad garantizada y envío rápido."}),c.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[c.jsxs(we,{onClick:e,size:"lg",className:"bg-white text-pink-600 hover:bg-gray-100 px-8 py-3 rounded-full font-semibold",children:["Comenzar Ahora",c.jsx(Ca,{className:"ml-2 h-5 w-5"})]}),c.jsx(Ge,{to:"/contacto",children:c.jsx(we,{variant:"outline",size:"lg",className:"border-white text-white hover:bg-white hover:text-pink-600 px-8 py-3 rounded-full",children:"Contactar Asesor"})})]})]})})})]})},Mb=()=>{const[e,t]=w.useState("todos"),[n,r]=w.useState(""),i=[{id:"todos",name:"Todos los Productos"},{id:"facial",name:"Cuidado Facial"},{id:"maquillaje",name:"Maquillaje"},{id:"corporal",name:"Cuidado Corporal"},{id:"cabello",name:"Cuidado Capilar"}],o=[{id:1,name:"Sérum Facial Vitamina C",category:"facial",price:"$89.900",originalPrice:"$120.000",rating:4.8,reviews:124,description:"Sérum antioxidante con vitamina C pura para iluminar y rejuvenecer la piel",isNew:!1,isOnSale:!0},{id:2,name:"Base de Maquillaje Natural",category:"maquillaje",price:"$65.900",originalPrice:"$85.000",rating:4.9,reviews:89,description:"Base de cobertura media con ingredientes naturales para todo tipo de piel",isNew:!0,isOnSale:!0},{id:3,name:"Crema Hidratante Facial",category:"facial",price:"$45.900",originalPrice:"$60.000",rating:4.7,reviews:156,description:"Crema hidratante con ácido hialurónico para piel suave y radiante",isNew:!1,isOnSale:!0},{id:4,name:"Labial Mate Vegano",category:"maquillaje",price:"$32.900",originalPrice:"$45.000",rating:4.6,reviews:78,description:"Labial de larga duración con fórmula vegana y colores intensos",isNew:!0,isOnSale:!0},{id:5,name:"Exfoliante Corporal Natural",category:"corporal",price:"$38.900",originalPrice:"$50.000",rating:4.5,reviews:92,description:"Exfoliante suave con ingredientes naturales para piel sedosa",isNew:!1,isOnSale:!0},{id:6,name:"Shampoo Orgánico",category:"cabello",price:"$42.900",originalPrice:"$55.000",rating:4.8,reviews:134,description:"Shampoo libre de sulfatos para cabello saludable y brillante",isNew:!1,isOnSale:!0},{id:7,name:"Máscara de Pestañas Waterproof",category:"maquillaje",price:"$48.900",originalPrice:"$65.000",rating:4.7,reviews:67,description:"Máscara resistente al agua para pestañas largas y voluminosas",isNew:!0,isOnSale:!0},{id:8,name:"Aceite Facial Antienvejecimiento",category:"facial",price:"$78.900",originalPrice:"$95.000",rating:4.9,reviews:145,description:"Aceite facial con retinol natural para reducir líneas de expresión",isNew:!1,isOnSale:!0}].filter(u=>{const d=e==="todos"||u.category===e,f=u.name.toLowerCase().includes(n.toLowerCase())||u.description.toLowerCase().includes(n.toLowerCase());return d&&f}),a=u=>{gt({title:"🛒 Producto Agregado",description:"🚧 Esta función no está implementada aún—¡pero no te preocupes! ¡Puedes solicitarla en tu próximo mensaje! 🚀"})},l=u=>{gt({title:"💖 Agregado a Favoritos",description:"🚧 Esta función no está implementada aún—¡pero no te preocupes! ¡Puedes solicitarla en tu próximo mensaje! 🚀"})};return c.jsxs(c.Fragment,{children:[c.jsxs(zt,{children:[c.jsx("title",{children:"Productos de Belleza y Cosméticos Naturales - BDV Empresa Cosméticos"}),c.jsx("meta",{name:"description",content:"Explora nuestra amplia gama de cosméticos naturales, maquillaje vegano y productos de cuidado facial profesional. Productos de belleza originales con envío rápido en Colombia."}),c.jsx("meta",{name:"keywords",content:"productos de belleza, cosméticos naturales, maquillaje vegano, cuidado facial profesional, productos originales, tienda cosméticos online"})]}),c.jsxs("div",{className:"min-h-screen bg-gray-50",children:[c.jsx("section",{className:"bg-gradient-to-r from-pink-500 to-purple-600 text-white py-16",children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:c.jsxs(D.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center",children:[c.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4",children:"Nuestros Productos"}),c.jsx("p",{className:"text-xl max-w-3xl mx-auto opacity-90",children:"Descubre nuestra colección completa de cosméticos naturales y productos de belleza auténticos"})]})})}),c.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[c.jsx("div",{className:"bg-white rounded-2xl shadow-lg p-6 mb-8",children:c.jsxs("div",{className:"flex flex-col lg:flex-row gap-6 items-center",children:[c.jsxs("div",{className:"relative flex-1 max-w-md",children:[c.jsx(fS,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 h-5 w-5"}),c.jsx("input",{type:"text",placeholder:"Buscar productos...",value:n,onChange:u=>r(u.target.value),className:"w-full pl-10 pr-4 py-3 border border-gray-300 rounded-full focus:ring-2 focus:ring-pink-500 focus:border-transparent"})]}),c.jsx("div",{className:"flex flex-wrap gap-2",children:i.map(u=>c.jsx(we,{variant:e===u.id?"default":"outline",onClick:()=>t(u.id),className:`rounded-full ${e===u.id?"bg-gradient-to-r from-pink-500 to-purple-600 text-white":"border-pink-300 text-pink-600 hover:bg-pink-50"}`,children:u.name},u.id))})]})}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:o.map((u,d)=>c.jsxs(D.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6,delay:d*.1},className:"bg-white rounded-2xl shadow-lg overflow-hidden product-card-hover group",children:[c.jsxs("div",{className:"relative",children:[c.jsx("img",{className:"w-full h-64 object-cover group-hover:scale-105 transition-transform duration-300",alt:`${u.name} - producto cosmético natural`,src:"https://images.unsplash.com/photo-1635870224948-01dd421f1cb7"}),c.jsxs("div",{className:"absolute top-4 left-4 flex flex-col gap-2",children:[u.isNew&&c.jsx("span",{className:"bg-green-500 text-white px-3 py-1 rounded-full text-xs font-semibold",children:"Nuevo"}),u.isOnSale&&c.jsx("span",{className:"bg-red-500 text-white px-3 py-1 rounded-full text-xs font-semibold",children:"-25%"})]}),c.jsx(we,{variant:"ghost",size:"icon",onClick:()=>l(u.name),className:"absolute top-4 right-4 bg-white/80 hover:bg-white text-gray-600 hover:text-pink-600 rounded-full opacity-0 group-hover:opacity-100 transition-opacity",children:c.jsx(Li,{className:"h-4 w-4"})})]}),c.jsxs("div",{className:"p-6",children:[c.jsxs("div",{className:"flex items-center mb-2",children:[c.jsx("div",{className:"flex items-center",children:[...Array(5)].map((f,p)=>c.jsx(wg,{className:`h-4 w-4 ${pa(u.name),className:"w-full bg-gradient-to-r from-pink-500 to-purple-600 hover:from-pink-600 hover:to-purple-700 text-white rounded-full",children:[c.jsx(xg,{className:"h-4 w-4 mr-2"}),"Agregar al Carrito"]})]})]},u.id))}),o.length===0&&c.jsx("div",{className:"text-center py-12",children:c.jsx("p",{className:"text-gray-500 text-lg",children:"No se encontraron productos que coincidan con tu búsqueda."})})]})]})]})},Lb=()=>{const e=[{icon:c.jsx(Fo,{className:"h-8 w-8 text-pink-500"}),title:"Autenticidad Garantizada",description:"Todos nuestros productos son 100% auténticos y provienen directamente de los fabricantes autorizados."},{icon:c.jsx(Li,{className:"h-8 w-8 text-pink-500"}),title:"Compromiso Natural",description:"Priorizamos productos veganos, cruelty-free y con ingredientes naturales para el cuidado responsable."},{icon:c.jsx(iu,{className:"h-8 w-8 text-pink-500"}),title:"Envío Confiable",description:"Entrega rápida y segura en las principales ciudades de Venezuela."},{icon:c.jsx(eS,{className:"h-8 w-8 text-pink-500"}),title:"Calidad Premium",description:"Trabajamos únicamente con marcas reconocidas mundialmente por su excelencia y calidad."}],t=[{number:"500+",label:"Productos Disponibles"},{number:"1000+",label:"Clientes Satisfechos"},{number:"4.9",label:"Calificación Promedio"},{number:"24h",label:"Tiempo de Entrega"}];return c.jsxs(c.Fragment,{children:[c.jsxs(zt,{children:[c.jsx("title",{children:"Sobre Nosotros - BDV Empresa Cosméticos | Cosméticos Naturales Auténticos"}),c.jsx("meta",{name:"description",content:"Conoce la historia de BDV Empresa Cosméticos. Somos especialistas en cosméticos naturales auténticos, maquillaje vegano y productos de belleza de calidad premium con envío rápido en Venezuela."}),c.jsx("meta",{name:"keywords",content:"BDV cosméticos, empresa cosméticos Venezuela, productos auténticos, cosméticos naturales, historia empresa, calidad garantizada"})]}),c.jsxs("div",{className:"min-h-screen",children:[c.jsx("section",{className:"bg-gradient-to-r from-pink-500 to-purple-600 text-white py-20",children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:c.jsxs(D.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center",children:[c.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:"Sobre BDV Empresa Cosméticos"}),c.jsx("p",{className:"text-xl max-w-3xl mx-auto opacity-90",children:"Tu aliado de confianza en belleza natural y productos cosméticos auténticos"})]})})}),c.jsx("section",{className:"py-20 bg-white",children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[c.jsxs(D.div,{initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},transition:{duration:.8},className:"space-y-6",children:[c.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900",children:["Nuestra ",c.jsx("span",{className:"gradient-text",children:"Historia"})]}),c.jsxs("p",{className:"text-lg text-gray-600",children:["BDV Empresa Cosméticos nace de la pasión por ofrecer productos de belleza auténticos y de la más alta calidad. Fundada por ",c.jsx("strong",{children:"Wilmar Andrés Cárdenas Valentín"}),", nuestra empresa se ha comprometido desde el primer día con la autenticidad y excelencia."]}),c.jsx("p",{className:"text-lg text-gray-600",children:"Entendemos que cada mujer merece acceso a cosméticos naturales, maquillaje vegano y productos de cuidado facial profesional que no solo realcen su belleza natural, sino que también respeten su piel y el medio ambiente."}),c.jsx("p",{className:"text-lg text-gray-600",children:"Nuestro compromiso va más allá de la venta: garantizamos la autenticidad de cada producto, ofrecemos asesoramiento personalizado y aseguramos un servicio de entrega rápido y confiable en toda Venezuela."})]}),c.jsxs(D.div,{initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},transition:{duration:.8},className:"relative",children:[c.jsx("img",{className:"w-full h-auto rounded-3xl shadow-2xl",alt:"Fundador de BDV Empresa Cosméticos con productos naturales",src:"https://images.unsplash.com/photo-1691187861257-a56c4aa2d7fb"}),c.jsx("div",{className:"absolute -bottom-6 -right-6 bg-white rounded-2xl p-6 shadow-xl",children:c.jsxs("div",{className:"text-center",children:[c.jsx("div",{className:"text-3xl font-bold text-pink-600",children:"2024"}),c.jsx("div",{className:"text-sm text-gray-600",children:"Año de Fundación"})]})})]})]})})}),c.jsx("section",{className:"py-20 bg-gray-50",children:c.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[c.jsxs(D.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},className:"text-center mb-16",children:[c.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:["Nuestros ",c.jsx("span",{className:"gradient-text",children:"Valores"})]}),c.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Los principios que guían cada decisión y nos mantienen comprometidos con la excelencia"})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:e.map((n,r)=>c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:r*.1},className:"bg-white rounded-2xl p-8 shadow-lg text-center hover:shadow-xl transition-shadow",children:[c.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-pink-100 rounded-full mb-6",children:n.icon}),c.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-4",children:n.title}),c.jsx("p",{className:"text-gray-600",children:n.description})]},r))})]})}),c.jsx("section",{className:"py-20 bg-gradient-to-r from-pink-500 to-purple-600 text-white",children:c.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[c.jsxs(D.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},className:"text-center mb-16",children:[c.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"Números que Hablan por Nosotros"}),c.jsx("p",{className:"text-xl opacity-90 max-w-3xl mx-auto",children:"La confianza de nuestros clientes se refleja en estos resultados"})]}),c.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8",children:t.map((n,r)=>c.jsxs(D.div,{initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},transition:{duration:.6,delay:r*.1},className:"text-center",children:[c.jsx("div",{className:"text-4xl md:text-5xl font-bold mb-2",children:n.number}),c.jsx("div",{className:"text-lg opacity-90",children:n.label})]},r))})]})}),c.jsx("section",{className:"py-20 bg-white",children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[c.jsx(D.div,{initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},transition:{duration:.8},children:c.jsx("img",{className:"w-full h-auto rounded-3xl shadow-2xl",alt:"Misión de BDV Cosméticos - productos naturales y sostenibles",src:"https://images.unsplash.com/photo-1688484839099-12620e05e562"})}),c.jsxs(D.div,{initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},transition:{duration:.8},className:"space-y-6",children:[c.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900",children:["Nuestra ",c.jsx("span",{className:"gradient-text",children:"Misión"})]}),c.jsx("p",{className:"text-lg text-gray-600",children:"Democratizar el acceso a productos cosméticos auténticos y de calidad premium, ofreciendo una experiencia de compra excepcional que combine conveniencia, confianza y compromiso con la belleza natural."}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"flex items-start space-x-3",children:[c.jsx("div",{className:"flex-shrink-0 w-6 h-6 bg-pink-100 rounded-full flex items-center justify-center mt-1",children:c.jsx("div",{className:"w-2 h-2 bg-pink-500 rounded-full"})}),c.jsxs("p",{className:"text-gray-600",children:[c.jsx("strong",{children:"Autenticidad:"})," Garantizamos que cada producto es 100% original y auténtico"]})]}),c.jsxs("div",{className:"flex items-start space-x-3",children:[c.jsx("div",{className:"flex-shrink-0 w-6 h-6 bg-pink-100 rounded-full flex items-center justify-center mt-1",children:c.jsx("div",{className:"w-2 h-2 bg-pink-500 rounded-full"})}),c.jsxs("p",{className:"text-gray-600",children:[c.jsx("strong",{children:"Sostenibilidad:"})," Priorizamos marcas comprometidas con el medio ambiente"]})]}),c.jsxs("div",{className:"flex items-start space-x-3",children:[c.jsx("div",{className:"flex-shrink-0 w-6 h-6 bg-pink-100 rounded-full flex items-center justify-center mt-1",children:c.jsx("div",{className:"w-2 h-2 bg-pink-500 rounded-full"})}),c.jsxs("p",{className:"text-gray-600",children:[c.jsx("strong",{children:"Excelencia:"})," Servicio al cliente excepcional en cada interacción"]})]})]})]})]})})}),c.jsx("section",{className:"py-20 bg-gray-50",children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:c.jsxs(D.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},className:"space-y-8",children:[c.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900",children:"¿Tienes alguna pregunta?"}),c.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Nuestro equipo está aquí para ayudarte. Contáctanos y descubre cómo podemos ayudarte a encontrar los productos perfectos para ti."}),c.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[c.jsx("a",{href:"mailto:pwggag65@gmail.com",className:"inline-flex items-center justify-center px-8 py-3 bg-gradient-to-r from-pink-500 to-purple-600 text-white font-semibold rounded-full hover:from-pink-600 hover:to-purple-700 transition-all",children:"Enviar Email"}),c.jsx("a",{href:"/contacto",className:"inline-flex items-center justify-center px-8 py-3 border-2 border-pink-500 text-pink-600 font-semibold rounded-full hover:bg-pink-50 transition-all",children:"Formulario de Contacto"})]})]})})})]})]})},Vb=()=>{const[e,t]=w.useState({name:"",email:"",phone:"",subject:"",message:""}),n=o=>{const{name:a,value:l}=o.target;t(u=>({...u,[a]:l}))},r=o=>{if(o.preventDefault(),!e.name||!e.email||!e.message){gt({title:"⚠️ Campos Requeridos",description:"Por favor completa todos los campos obligatorios.",variant:"destructive"});return}if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.email)){gt({title:"⚠️ Email Inválido",description:"Por favor ingresa un email válido.",variant:"destructive"});return}gt({title:"📧 Mensaje Enviado",description:"🚧 Esta función no está implementada aún—¡pero no te preocupes! ¡Puedes solicitarla en tu próximo mensaje! 🚀"}),t({name:"",email:"",phone:"",subject:"",message:""})},i=[{icon:c.jsx(Vi,{className:"h-6 w-6 text-pink-500"}),title:"Email",content:"pwggag65@gmail.com",description:"Respuesta en 24 horas"},{icon:c.jsx(uo,{className:"h-6 w-6 text-pink-500"}),title:"Teléfono",content:"+58 412 123 4567",description:"Lunes a Viernes 9AM - 6PM"},{icon:c.jsx(ru,{className:"h-6 w-6 text-pink-500"}),title:"Ubicación",content:"Venezuela",description:"Envíos a todo el país"},{icon:c.jsx(nS,{className:"h-6 w-6 text-pink-500"}),title:"Horario de Atención",content:"Lun - Vie: 9AM - 6PM",description:"Sáb: 9AM - 2PM"}],s=[{question:"¿Cómo puedo estar segura de que los productos son auténticos?",answer:"Todos nuestros productos provienen directamente de distribuidores autorizados. Cada producto incluye códigos de verificación y garantía de autenticidad."},{question:"¿Cuál es el tiempo de entrega?",answer:"Realizamos entregas en 24-48 horas en las principales ciudades de Venezuela. Para otras ubicaciones, el tiempo puede ser de 3-5 días hábiles."},{question:"¿Ofrecen garantía en los productos?",answer:"Sí, todos nuestros productos cuentan con garantía de calidad. Si no estás satisfecha, puedes contactarnos dentro de los primeros 30 días."},{question:"¿Los productos son veganos y cruelty-free?",answer:"Priorizamos marcas veganas y cruelty-free. Cada producto especifica claramente sus características en la descripción."}];return c.jsxs(c.Fragment,{children:[c.jsxs(zt,{children:[c.jsx("title",{children:"Contacto - BDV Empresa Cosméticos | Asesoría en Productos de Belleza"}),c.jsx("meta",{name:"description",content:"Contáctanos para asesoría personalizada en cosméticos naturales y productos de belleza. Email: pwggag65@gmail.com. Atención profesional y respuesta rápida en Venezuela."}),c.jsx("meta",{name:"keywords",content:"contacto BDV cosméticos, asesoría belleza, consultas productos naturales, servicio al cliente cosméticos"})]}),c.jsxs("div",{className:"min-h-screen",children:[c.jsx("section",{className:"bg-gradient-to-r from-pink-500 to-purple-600 text-white py-20",children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:c.jsxs(D.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center",children:[c.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:"Contáctanos"}),c.jsx("p",{className:"text-xl max-w-3xl mx-auto opacity-90",children:"Estamos aquí para ayudarte con cualquier consulta sobre nuestros productos de belleza"})]})})}),c.jsx("section",{className:"py-20 bg-gray-50",children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:i.map((o,a)=>c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:a*.1},className:"bg-white rounded-2xl p-6 shadow-lg text-center hover:shadow-xl transition-shadow",children:[c.jsx("div",{className:"inline-flex items-center justify-center w-12 h-12 bg-pink-100 rounded-full mb-4",children:o.icon}),c.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:o.title}),c.jsx("p",{className:"text-gray-900 font-medium mb-1",children:o.content}),c.jsx("p",{className:"text-sm text-gray-600",children:o.description})]},a))})})}),c.jsx("section",{className:"py-20 bg-white",children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12",children:[c.jsxs(D.div,{initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},transition:{duration:.8},className:"bg-gray-50 rounded-3xl p-8",children:[c.jsxs("h2",{className:"text-3xl font-bold text-gray-900 mb-6",children:["Envíanos un ",c.jsx("span",{className:"gradient-text",children:"Mensaje"})]}),c.jsx("p",{className:"text-gray-600 mb-8",children:"¿Tienes preguntas sobre nuestros productos? ¿Necesitas asesoría personalizada? Completa el formulario y te responderemos pronto."}),c.jsxs("form",{onSubmit:r,className:"space-y-6",children:[c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[c.jsxs("div",{children:[c.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700 mb-2",children:"Nombre Completo *"}),c.jsx("input",{type:"text",id:"name",name:"name",value:e.name,onChange:n,required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-pink-500 focus:border-transparent",placeholder:"Tu nombre completo"})]}),c.jsxs("div",{children:[c.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700 mb-2",children:"Email *"}),c.jsx("input",{type:"email",id:"email",name:"email",value:e.email,onChange:n,required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-pink-500 focus:border-transparent",placeholder:"tu@email.com"})]})]}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[c.jsxs("div",{children:[c.jsx("label",{htmlFor:"phone",className:"block text-sm font-medium text-gray-700 mb-2",children:"Teléfono"}),c.jsx("input",{type:"tel",id:"phone",name:"phone",value:e.phone,onChange:n,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-pink-500 focus:border-transparent",placeholder:"+58 412 123 4567"})]}),c.jsxs("div",{children:[c.jsx("label",{htmlFor:"subject",className:"block text-sm font-medium text-gray-700 mb-2",children:"Asunto"}),c.jsxs("select",{id:"subject",name:"subject",value:e.subject,onChange:n,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-pink-500 focus:border-transparent",children:[c.jsx("option",{value:"",children:"Selecciona un tema"}),c.jsx("option",{value:"productos",children:"Consulta sobre productos"}),c.jsx("option",{value:"pedido",children:"Estado de mi pedido"}),c.jsx("option",{value:"asesoria",children:"Asesoría personalizada"}),c.jsx("option",{value:"otro",children:"Otro"})]})]})]}),c.jsxs("div",{children:[c.jsx("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700 mb-2",children:"Mensaje *"}),c.jsx("textarea",{id:"message",name:"message",value:e.message,onChange:n,required:!0,rows:6,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-pink-500 focus:border-transparent resize-none",placeholder:"Cuéntanos cómo podemos ayudarte..."})]}),c.jsxs(we,{type:"submit",className:"w-full bg-gradient-to-r from-pink-500 to-purple-600 hover:from-pink-600 hover:to-purple-700 text-white py-3 rounded-lg font-semibold",children:[c.jsx(pS,{className:"h-5 w-5 mr-2"}),"Enviar Mensaje"]})]})]}),c.jsxs(D.div,{initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},transition:{duration:.8},className:"space-y-8",children:[c.jsxs("div",{children:[c.jsxs("h2",{className:"text-3xl font-bold text-gray-900 mb-6",children:["Preguntas ",c.jsx("span",{className:"gradient-text",children:"Frecuentes"})]}),c.jsx("p",{className:"text-gray-600 mb-8",children:"Encuentra respuestas rápidas a las consultas más comunes sobre nuestros productos y servicios."})]}),c.jsx("div",{className:"space-y-6",children:s.map((o,a)=>c.jsxs(D.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:a*.1},className:"bg-white border border-gray-200 rounded-2xl p-6 shadow-sm hover:shadow-md transition-shadow",children:[c.jsxs("h3",{className:"text-lg font-semibold text-gray-900 mb-3 flex items-start",children:[c.jsx(cS,{className:"h-5 w-5 text-pink-500 mr-2 mt-0.5 flex-shrink-0"}),o.question]}),c.jsx("p",{className:"text-gray-600 ml-7",children:o.answer})]},a))}),c.jsxs("div",{className:"bg-gradient-to-r from-pink-500 to-purple-600 rounded-2xl p-8 text-white",children:[c.jsx("h3",{className:"text-2xl font-bold mb-4",children:"¿Necesitas ayuda inmediata?"}),c.jsx("p",{className:"mb-6 opacity-90",children:"Contáctanos directamente para recibir atención personalizada"}),c.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[c.jsxs("a",{href:"mailto:pwggag65@gmail.com",className:"inline-flex items-center justify-center px-6 py-3 bg-white text-pink-600 font-semibold rounded-lg hover:bg-gray-100 transition-colors",children:[c.jsx(Vi,{className:"h-5 w-5 mr-2"}),"Enviar Email"]}),c.jsxs("a",{href:"tel:+584121234567",className:"inline-flex items-center justify-center px-6 py-3 border-2 border-white text-white font-semibold rounded-lg hover:bg-white hover:text-pink-600 transition-colors",children:[c.jsx(uo,{className:"h-5 w-5 mr-2"}),"Llamar Ahora"]})]})]})]})]})})})]})]})},Db=()=>{const e=[{icon:c.jsx(rS,{className:"h-6 w-6 text-pink-500"}),title:"Información que Recopilamos",content:["Información personal como nombre, dirección de correo electrónico, número de teléfono y dirección de envío cuando realizas una compra o te registras en nuestro sitio.","Información de pago procesada de forma segura a través de nuestros proveedores de pago autorizados.","Información de navegación como dirección IP, tipo de navegador, páginas visitadas y tiempo de permanencia en el sitio.","Cookies y tecnologías similares para mejorar tu experiencia de usuario y personalizar el contenido."]},{icon:c.jsx(iS,{className:"h-6 w-6 text-pink-500"}),title:"Cómo Utilizamos tu Información",content:["Procesar y gestionar tus pedidos de productos cosméticos y de belleza.","Comunicarnos contigo sobre el estado de tus pedidos, promociones y nuevos productos.","Mejorar nuestros servicios y la experiencia de usuario en nuestro sitio web.","Cumplir con obligaciones legales y prevenir actividades fraudulentas.","Enviar newsletters y comunicaciones promocionales (solo si has dado tu consentimiento)."]},{icon:c.jsx(aS,{className:"h-6 w-6 text-pink-500"}),title:"Protección de Datos",content:["Utilizamos medidas de seguridad técnicas y organizativas apropiadas para proteger tu información personal.","Todos los datos de pago son procesados a través de plataformas seguras con certificación SSL.","El acceso a tu información personal está limitado solo al personal autorizado que necesita esta información para realizar sus funciones.","Realizamos auditorías regulares de seguridad para mantener la integridad de nuestros sistemas."]},{icon:c.jsx(hS,{className:"h-6 w-6 text-pink-500"}),title:"Tus Derechos",content:["Derecho de acceso: Puedes solicitar información sobre los datos personales que tenemos sobre ti.","Derecho de rectificación: Puedes solicitar la corrección de datos inexactos o incompletos.","Derecho de supresión: Puedes solicitar la eliminación de tus datos personales bajo ciertas circunstancias.","Derecho de portabilidad: Puedes solicitar una copia de tus datos en un formato estructurado.","Derecho de oposición: Puedes oponerte al procesamiento de tus datos para fines de marketing directo."]}];return c.jsxs(c.Fragment,{children:[c.jsxs(zt,{children:[c.jsx("title",{children:"Política de Privacidad - BDV Empresa Cosméticos | Protección de Datos"}),c.jsx("meta",{name:"description",content:"Política de privacidad de BDV Empresa Cosméticos. Conoce cómo protegemos y utilizamos tu información personal de acuerdo con las leyes de protección de datos en Venezuela."}),c.jsx("meta",{name:"keywords",content:"política privacidad, protección datos, BDV cosméticos, información personal, seguridad datos"})]}),c.jsxs("div",{className:"min-h-screen bg-gray-50",children:[c.jsx("section",{className:"bg-gradient-to-r from-pink-500 to-purple-600 text-white py-16",children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:c.jsxs(D.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center",children:[c.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-white/20 rounded-full mb-6",children:c.jsx(Fo,{className:"h-8 w-8"})}),c.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4",children:"Política de Privacidad"}),c.jsx("p",{className:"text-xl max-w-3xl mx-auto opacity-90",children:"Tu privacidad es importante para nosotros. Conoce cómo protegemos y utilizamos tu información."})]})})}),c.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[c.jsxs(D.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"bg-white rounded-2xl shadow-lg p-8 mb-8",children:[c.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Introducción"}),c.jsxs("p",{className:"text-gray-600 mb-4",children:["En ",c.jsx("strong",{children:"BDV Empresa Cosméticos"}),", nos comprometemos a proteger y respetar tu privacidad. Esta Política de Privacidad explica cómo recopilamos, utilizamos, almacenamos y protegemos tu información personal cuando visitas nuestro sitio web o utilizas nuestros servicios."]}),c.jsx("p",{className:"text-gray-600 mb-4",children:"Esta política se aplica a todos los usuarios de nuestro sitio web y clientes de nuestros productos cosméticos y de belleza. Al utilizar nuestros servicios, aceptas las prácticas descritas en esta política."}),c.jsx("div",{className:"bg-pink-50 border-l-4 border-pink-500 p-4 rounded",children:c.jsxs("p",{className:"text-sm text-gray-700",children:[c.jsx("strong",{children:"Última actualización:"})," Enero 2024",c.jsx("br",{}),c.jsx("strong",{children:"Empresa:"})," BDV Empresa Cosméticos",c.jsx("br",{}),c.jsx("strong",{children:"Contacto:"})," pwggag65@gmail.com"]})})]}),e.map((t,n)=>c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:n*.1},className:"bg-white rounded-2xl shadow-lg p-8 mb-8",children:[c.jsxs("div",{className:"flex items-center mb-6",children:[c.jsx("div",{className:"flex-shrink-0 w-12 h-12 bg-pink-100 rounded-full flex items-center justify-center mr-4",children:t.icon}),c.jsx("h2",{className:"text-2xl font-bold text-gray-900",children:t.title})]}),c.jsx("ul",{className:"space-y-3",children:t.content.map((r,i)=>c.jsxs("li",{className:"flex items-start",children:[c.jsx("div",{className:"flex-shrink-0 w-2 h-2 bg-pink-500 rounded-full mt-2 mr-3"}),c.jsx("p",{className:"text-gray-600",children:r})]},i))})]},n)),c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},className:"bg-white rounded-2xl shadow-lg p-8 mb-8",children:[c.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Uso de Cookies"}),c.jsx("p",{className:"text-gray-600 mb-4",children:"Nuestro sitio web utiliza cookies para mejorar tu experiencia de navegación. Las cookies son pequeños archivos de texto que se almacenan en tu dispositivo cuando visitas nuestro sitio."}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[c.jsxs("div",{className:"bg-gray-50 rounded-lg p-4",children:[c.jsx("h3",{className:"font-semibold text-gray-900 mb-2",children:"Cookies Esenciales"}),c.jsx("p",{className:"text-sm text-gray-600",children:"Necesarias para el funcionamiento básico del sitio web, como el carrito de compras y la seguridad."})]}),c.jsxs("div",{className:"bg-gray-50 rounded-lg p-4",children:[c.jsx("h3",{className:"font-semibold text-gray-900 mb-2",children:"Cookies de Análisis"}),c.jsx("p",{className:"text-sm text-gray-600",children:"Nos ayudan a entender cómo los usuarios interactúan con nuestro sitio para mejorarlo."})]})]})]}),c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},className:"bg-white rounded-2xl shadow-lg p-8 mb-8",children:[c.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Servicios de Terceros"}),c.jsx("p",{className:"text-gray-600 mb-4",children:"Para brindarte el mejor servicio, trabajamos con proveedores de confianza que pueden tener acceso limitado a tu información:"}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"border-l-4 border-pink-500 pl-4",children:[c.jsx("h3",{className:"font-semibold text-gray-900",children:"Procesadores de Pago"}),c.jsx("p",{className:"text-gray-600 text-sm",children:"Utilizamos plataformas seguras para procesar pagos. Tu información financiera está protegida por estándares de seguridad PCI DSS."})]}),c.jsxs("div",{className:"border-l-4 border-pink-500 pl-4",children:[c.jsx("h3",{className:"font-semibold text-gray-900",children:"Servicios de Envío"}),c.jsx("p",{className:"text-gray-600 text-sm",children:"Compartimos información de envío necesaria con nuestros socios logísticos para entregar tus pedidos."})]}),c.jsxs("div",{className:"border-l-4 border-pink-500 pl-4",children:[c.jsx("h3",{className:"font-semibold text-gray-900",children:"Google Ads y Analytics"}),c.jsx("p",{className:"text-gray-600 text-sm",children:"Utilizamos Google Ads y Google Analytics para mejorar nuestros servicios y mostrar anuncios relevantes."})]})]})]}),c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},className:"bg-gradient-to-r from-pink-500 to-purple-600 rounded-2xl p-8 text-white",children:[c.jsxs("div",{className:"flex items-center mb-6",children:[c.jsx(Vi,{className:"h-8 w-8 mr-4"}),c.jsx("h2",{className:"text-2xl font-bold",children:"Contacto sobre Privacidad"})]}),c.jsx("p",{className:"mb-6 opacity-90",children:"Si tienes preguntas sobre esta Política de Privacidad o sobre cómo manejamos tu información personal, no dudes en contactarnos."}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[c.jsxs("div",{children:[c.jsx("h3",{className:"font-semibold mb-2",children:"Responsable de Datos"}),c.jsx("p",{className:"text-sm opacity-90",children:"Wilmar Andrés Cárdenas Valentín"}),c.jsx("p",{className:"text-sm opacity-90",children:"BDV Empresa Cosméticos"})]}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-semibold mb-2",children:"Contacto"}),c.jsx("p",{className:"text-sm opacity-90",children:"Email: pwggag65@gmail.com"}),c.jsx("p",{className:"text-sm opacity-90",children:"Respuesta en 48 horas"})]})]})]}),c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},className:"bg-yellow-50 border border-yellow-200 rounded-2xl p-6 mt-8",children:[c.jsx("h3",{className:"text-lg font-semibold text-yellow-800 mb-2",children:"Actualizaciones de la Política"}),c.jsx("p",{className:"text-yellow-700 text-sm",children:"Nos reservamos el derecho de actualizar esta Política de Privacidad ocasionalmente. Te notificaremos sobre cambios significativos por email o mediante un aviso prominente en nuestro sitio web. Te recomendamos revisar esta política periódicamente."})]})]})]})]})},Ob=()=>{const e=[{icon:c.jsx(xg,{className:"h-6 w-6 text-pink-500"}),title:"Productos y Precios",content:["Todos los productos ofrecidos en nuestro sitio web son cosméticos auténticos y originales de marcas reconocidas.","Los precios están expresados en Bolívares (VES) e incluyen IVA cuando aplique.","Nos reservamos el derecho de modificar precios sin previo aviso, pero respetaremos el precio vigente al momento de tu compra.","Las imágenes de productos son referenciales. El color real puede variar ligeramente debido a la configuración de tu pantalla.","Garantizamos la autenticidad de todos nuestros productos cosméticos y de belleza."]},{icon:c.jsx(iu,{className:"h-6 w-6 text-pink-500"}),title:"Envíos y Entregas",content:["Realizamos envíos a toda Venezuela a través de nuestros socios logísticos autorizados.","Los tiempos de entrega son de 24-48 horas en principales ciudades y 3-5 días hábiles en otras ubicaciones.","Los costos de envío se calculan según el destino y peso del pedido, y se informan antes de confirmar la compra.","No nos hacemos responsables por retrasos causados por la empresa de mensajería o circunstancias de fuerza mayor.","Es responsabilidad del cliente proporcionar una dirección de entrega correcta y completa."]},{icon:c.jsx(uS,{className:"h-6 w-6 text-pink-500"}),title:"Devoluciones y Cambios",content:["Aceptamos devoluciones dentro de los 30 días posteriores a la entrega, siempre que el producto esté en su empaque original y sin usar.","Los productos de higiene personal y cosméticos no pueden ser devueltos una vez abiertos por razones de salud e higiene.","Los gastos de envío para devoluciones corren por cuenta del cliente, excepto en casos de productos defectuosos.","El reembolso se procesará dentro de 5-10 días hábiles después de recibir y verificar el producto devuelto.","Para iniciar una devolución, contacta nuestro servicio al cliente en pwggag65@gmail.com."]},{icon:c.jsx(Fo,{className:"h-6 w-6 text-pink-500"}),title:"Garantías y Responsabilidades",content:["Garantizamos que todos nuestros productos son auténticos y están en perfectas condiciones al momento del envío.","No nos hacemos responsables por reacciones alérgicas o efectos adversos. Recomendamos realizar una prueba de parche antes del uso.","La responsabilidad por el uso inadecuado de los productos recae exclusivamente en el cliente.","Cumplimos con todas las regulaciones venezolanas para la venta de productos cosméticos y de belleza.","Nuestros productos cuentan con los registros sanitarios requeridos por la legislación venezolana."]}];return c.jsxs(c.Fragment,{children:[c.jsxs(zt,{children:[c.jsx("title",{children:"Términos y Condiciones - BDV Empresa Cosméticos | Condiciones de Venta"}),c.jsx("meta",{name:"description",content:"Términos y condiciones de BDV Empresa Cosméticos. Conoce nuestras políticas de venta, envío, devoluciones y garantías para productos cosméticos auténticos en Venezuela."}),c.jsx("meta",{name:"keywords",content:"términos condiciones, BDV cosméticos, políticas venta, devoluciones, garantías productos belleza"})]}),c.jsxs("div",{className:"min-h-screen bg-gray-50",children:[c.jsx("section",{className:"bg-gradient-to-r from-pink-500 to-purple-600 text-white py-16",children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:c.jsxs(D.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center",children:[c.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-white/20 rounded-full mb-6",children:c.jsx(vg,{className:"h-8 w-8"})}),c.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4",children:"Términos y Condiciones"}),c.jsx("p",{className:"text-xl max-w-3xl mx-auto opacity-90",children:"Condiciones de uso y venta para nuestros productos cosméticos auténticos"})]})})}),c.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[c.jsxs(D.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"bg-white rounded-2xl shadow-lg p-8 mb-8",children:[c.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Términos Generales"}),c.jsxs("p",{className:"text-gray-600 mb-4",children:["Bienvenido a ",c.jsx("strong",{children:"BDV Empresa Cosméticos"}),". Estos términos y condiciones regulan el uso de nuestro sitio web y la compra de nuestros productos cosméticos y de belleza."]}),c.jsx("p",{className:"text-gray-600 mb-4",children:"Al acceder y utilizar nuestro sitio web, o al realizar una compra, aceptas estar sujeto a estos términos y condiciones. Si no estás de acuerdo con alguna parte de estos términos, no debes utilizar nuestros servicios."}),c.jsx("div",{className:"bg-pink-50 border-l-4 border-pink-500 p-4 rounded",children:c.jsxs("p",{className:"text-sm text-gray-700",children:[c.jsx("strong",{children:"Empresa:"})," BDV Empresa Cosméticos",c.jsx("br",{}),c.jsx("strong",{children:"Propietario:"})," Wilmar Andrés Cárdenas Valentín",c.jsx("br",{}),c.jsx("strong",{children:"Email:"})," pwggag65@gmail.com",c.jsx("br",{}),c.jsx("strong",{children:"Última actualización:"})," Enero 2024"]})})]}),e.map((t,n)=>c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:n*.1},className:"bg-white rounded-2xl shadow-lg p-8 mb-8",children:[c.jsxs("div",{className:"flex items-center mb-6",children:[c.jsx("div",{className:"flex-shrink-0 w-12 h-12 bg-pink-100 rounded-full flex items-center justify-center mr-4",children:t.icon}),c.jsx("h2",{className:"text-2xl font-bold text-gray-900",children:t.title})]}),c.jsx("ul",{className:"space-y-3",children:t.content.map((r,i)=>c.jsxs("li",{className:"flex items-start",children:[c.jsx("div",{className:"flex-shrink-0 w-2 h-2 bg-pink-500 rounded-full mt-2 mr-3"}),c.jsx("p",{className:"text-gray-600",children:r})]},i))})]},n)),c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},className:"bg-white rounded-2xl shadow-lg p-8 mb-8",children:[c.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Métodos de Pago"}),c.jsx("p",{className:"text-gray-600 mb-4",children:"Aceptamos los siguientes métodos de pago para garantizar una experiencia de compra segura:"}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[c.jsxs("div",{className:"bg-gray-50 rounded-lg p-4",children:[c.jsx("h3",{className:"font-semibold text-gray-900 mb-2",children:"Tarjetas de Crédito/Débito"}),c.jsx("p",{className:"text-sm text-gray-600",children:"Visa, Mastercard, American Express. Procesamiento seguro con certificación SSL."})]}),c.jsxs("div",{className:"bg-gray-50 rounded-lg p-4",children:[c.jsx("h3",{className:"font-semibold text-gray-900 mb-2",children:"Transferencias Bancarias"}),c.jsx("p",{className:"text-sm text-gray-600",children:"Transferencias directas a nuestras cuentas bancarias autorizadas."})]})]}),c.jsx("div",{className:"mt-4 p-4 bg-blue-50 rounded-lg",children:c.jsxs("p",{className:"text-sm text-blue-800",children:[c.jsx("strong",{children:"Nota:"})," Todos los pagos son procesados de forma segura. No almacenamos información de tarjetas de crédito en nuestros servidores."]})})]}),c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},className:"bg-white rounded-2xl shadow-lg p-8 mb-8",children:[c.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Responsabilidades del Usuario"}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"border-l-4 border-pink-500 pl-4",children:[c.jsx("h3",{className:"font-semibold text-gray-900",children:"Información Veraz"}),c.jsx("p",{className:"text-gray-600 text-sm",children:"Debes proporcionar información precisa y actualizada al realizar pedidos."})]}),c.jsxs("div",{className:"border-l-4 border-pink-500 pl-4",children:[c.jsx("h3",{className:"font-semibold text-gray-900",children:"Uso Responsable"}),c.jsx("p",{className:"text-gray-600 text-sm",children:"Los productos deben utilizarse según las instrucciones del fabricante."})]}),c.jsxs("div",{className:"border-l-4 border-pink-500 pl-4",children:[c.jsx("h3",{className:"font-semibold text-gray-900",children:"Pruebas de Alergia"}),c.jsx("p",{className:"text-gray-600 text-sm",children:"Recomendamos realizar pruebas de parche antes de usar productos nuevos."})]})]})]}),c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},className:"bg-white rounded-2xl shadow-lg p-8 mb-8",children:[c.jsxs("div",{className:"flex items-center mb-6",children:[c.jsx(Jw,{className:"h-6 w-6 text-yellow-500 mr-3"}),c.jsx("h2",{className:"text-2xl font-bold text-gray-900",children:"Limitación de Responsabilidad"})]}),c.jsxs("div",{className:"space-y-4",children:[c.jsx("p",{className:"text-gray-600",children:"BDV Empresa Cosméticos no será responsable por:"}),c.jsxs("ul",{className:"space-y-2 ml-4",children:[c.jsxs("li",{className:"flex items-start",children:[c.jsx("div",{className:"flex-shrink-0 w-2 h-2 bg-yellow-500 rounded-full mt-2 mr-3"}),c.jsx("p",{className:"text-gray-600 text-sm",children:"Reacciones alérgicas o efectos adversos por el uso de productos cosméticos."})]}),c.jsxs("li",{className:"flex items-start",children:[c.jsx("div",{className:"flex-shrink-0 w-2 h-2 bg-yellow-500 rounded-full mt-2 mr-3"}),c.jsx("p",{className:"text-gray-600 text-sm",children:"Daños indirectos, incidentales o consecuenciales derivados del uso de nuestros productos."})]}),c.jsxs("li",{className:"flex items-start",children:[c.jsx("div",{className:"flex-shrink-0 w-2 h-2 bg-yellow-500 rounded-full mt-2 mr-3"}),c.jsx("p",{className:"text-gray-600 text-sm",children:"Interrupciones del servicio por mantenimiento o circunstancias fuera de nuestro control."})]})]})]})]}),c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},className:"bg-gradient-to-r from-pink-500 to-purple-600 rounded-2xl p-8 text-white",children:[c.jsx("h2",{className:"text-2xl font-bold mb-4",children:"Ley Aplicable y Jurisdicción"}),c.jsx("p",{className:"mb-4 opacity-90",children:"Estos términos y condiciones se rigen por las leyes de la República Bolivariana de Venezuela. Cualquier disputa será resuelta en los tribunales competentes de Venezuela."}),c.jsxs("div",{className:"bg-white/20 rounded-lg p-4",children:[c.jsx("h3",{className:"font-semibold mb-2",children:"Contacto Legal"}),c.jsx("p",{className:"text-sm opacity-90",children:"Para consultas legales o disputas, contacta: pwggag65@gmail.com"})]})]}),c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},className:"bg-blue-50 border border-blue-200 rounded-2xl p-6 mt-8",children:[c.jsx("h3",{className:"text-lg font-semibold text-blue-800 mb-2",children:"Modificaciones"}),c.jsx("p",{className:"text-blue-700 text-sm",children:"Nos reservamos el derecho de modificar estos términos y condiciones en cualquier momento. Los cambios entrarán en vigor inmediatamente después de su publicación en el sitio web. Es tu responsabilidad revisar periódicamente estos términos."})]})]})]})]})},Ib=()=>{const e=[{icon:c.jsx(tS,{className:"h-6 w-6 text-pink-500"}),title:"Razón Social",content:"BDV Empresa Cosméticos"},{icon:c.jsx(Vi,{className:"h-6 w-6 text-pink-500"}),title:"Email de Contacto",content:"pwggag65@gmail.com"},{icon:c.jsx(uo,{className:"h-6 w-6 text-pink-500"}),title:"Teléfono",content:"+58 412 123 4567"},{icon:c.jsx(ru,{className:"h-6 w-6 text-pink-500"}),title:"Ubicación",content:"Venezuela"}],t=[{title:"Objeto Social",content:["Comercialización de productos cosméticos auténticos y de belleza.","Venta online de maquillaje vegano y productos de cuidado facial profesional.","Distribución de cosméticos naturales de marcas reconocidas internacionalmente.","Asesoría especializada en productos de belleza y cuidado personal."]},{title:"Cumplimiento Normativo",content:["Cumplimos con todas las regulaciones locales para la comercialización de productos cosméticos.","Nuestros productos cuentan con los registros sanitarios requeridos por la legislación venezolana.","Respetamos las normas de protección al consumidor establecidas por las autoridades competentes en Venezuela.","Cumplimos con las políticas de Google Ads para la promoción de productos cosméticos."]},{title:"Propiedad Intelectual",content:["El contenido de este sitio web, incluyendo textos, imágenes, logotipos y diseños, está protegido por derechos de autor.","Las marcas comerciales de los productos que vendemos pertenecen a sus respectivos propietarios.","No está permitida la reproducción total o parcial del contenido sin autorización expresa.","Respetamos los derechos de propiedad intelectual de terceros y esperamos el mismo respeto hacia nuestros."]},{title:"Protección de Datos",content:["Cumplimos con la normativa vigente de Protección de Datos Personales en Venezuela.","Implementamos medidas técnicas y organizativas para proteger la información personal.","Los datos personales son tratados únicamente para los fines autorizados por el titular.","Garantizamos el ejercicio de los derechos de acceso, rectificación, actualización y supresión de datos."]}];return c.jsxs(c.Fragment,{children:[c.jsxs(zt,{children:[c.jsx("title",{children:"Aviso Legal - BDV Empresa Cosméticos | Información Legal y Normativa"}),c.jsx("meta",{name:"description",content:"Aviso legal de BDV Empresa Cosméticos. Información sobre nuestra empresa, cumplimiento normativo, propiedad intelectual y protección de datos en Venezuela."}),c.jsx("meta",{name:"keywords",content:"aviso legal, BDV cosméticos, información legal, normativa Venezuela, protección datos, propiedad intelectual"})]}),c.jsxs("div",{className:"min-h-screen bg-gray-50",children:[c.jsx("section",{className:"bg-gradient-to-r from-pink-500 to-purple-600 text-white py-16",children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:c.jsxs(D.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center",children:[c.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-white/20 rounded-full mb-6",children:c.jsx(dS,{className:"h-8 w-8"})}),c.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4",children:"Aviso Legal"}),c.jsx("p",{className:"text-xl max-w-3xl mx-auto opacity-90",children:"Información legal y normativa de BDV Empresa Cosméticos"})]})})}),c.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[c.jsxs(D.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"bg-white rounded-2xl shadow-lg p-8 mb-8",children:[c.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Información de la Empresa"}),c.jsx("p",{className:"text-gray-600 mb-6",children:"En cumplimiento de la normativa venezolana sobre comercio electrónico y protección al consumidor, proporcionamos la siguiente información legal sobre nuestra empresa:"}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.map((n,r)=>c.jsxs("div",{className:"flex items-start space-x-4 p-4 bg-gray-50 rounded-lg",children:[c.jsx("div",{className:"flex-shrink-0 w-10 h-10 bg-pink-100 rounded-full flex items-center justify-center",children:n.icon}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-semibold text-gray-900",children:n.title}),c.jsx("p",{className:"text-gray-600",children:n.content})]})]},r))}),c.jsxs("div",{className:"mt-6 p-4 bg-pink-50 border-l-4 border-pink-500 rounded",children:[c.jsx("h3",{className:"font-semibold text-gray-900 mb-2",children:"Propietario"}),c.jsxs("p",{className:"text-gray-700",children:[c.jsx("strong",{children:"Wilmar Andrés Cárdenas Valentín"}),c.jsx("br",{}),"Responsable legal y propietario de BDV Empresa Cosméticos"]})]})]}),t.map((n,r)=>c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:r*.1},className:"bg-white rounded-2xl shadow-lg p-8 mb-8",children:[c.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:n.title}),c.jsx("ul",{className:"space-y-3",children:n.content.map((i,s)=>c.jsxs("li",{className:"flex items-start",children:[c.jsx("div",{className:"flex-shrink-0 w-2 h-2 bg-pink-500 rounded-full mt-2 mr-3"}),c.jsx("p",{className:"text-gray-600",children:i})]},s))})]},r)),c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},className:"bg-white rounded-2xl shadow-lg p-8 mb-8",children:[c.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Cumplimiento con Google Ads"}),c.jsx("p",{className:"text-gray-600 mb-4",children:"BDV Empresa Cosméticos cumple estrictamente con todas las políticas de Google Ads para la promoción de productos cosméticos:"}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"bg-green-50 border border-green-200 rounded-lg p-4",children:[c.jsx("h3",{className:"font-semibold text-green-800 mb-2",children:"✓ Productos Auténticos"}),c.jsx("p",{className:"text-green-700 text-sm",children:"Todos nuestros productos son 100% auténticos y originales, sin falsificaciones."})]}),c.jsxs("div",{className:"bg-green-50 border border-green-200 rounded-lg p-4",children:[c.jsx("h3",{className:"font-semibold text-green-800 mb-2",children:"✓ Información Veraz"}),c.jsx("p",{className:"text-green-700 text-sm",children:"Toda la información de productos es precisa, sin claims exagerados o promesas falsas."})]}),c.jsxs("div",{className:"bg-green-50 border border-green-200 rounded-lg p-4",children:[c.jsx("h3",{className:"font-semibold text-green-800 mb-2",children:"✓ Transparencia Comercial"}),c.jsx("p",{className:"text-green-700 text-sm",children:"Prácticas comerciales transparentes sin engaños ni redireccionamientos ocultos."})]}),c.jsxs("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-4",children:[c.jsx("h3",{className:"font-semibold text-blue-800 mb-2",children:"Información de Verificación de Google Ads"}),c.jsx("p",{className:"text-blue-700 text-sm",children:"Para mayor seguridad y cumplimiento, la información de verificación de nuestra campaña de Google Ads es la siguiente:"}),c.jsxs("ul",{className:"list-disc list-inside text-blue-700 text-sm mt-2",children:[c.jsxs("li",{children:["Nombre del Verificador: ",c.jsx("strong",{children:"WILMAR ANDRES CARDENAS VALENTIN"})]}),c.jsxs("li",{children:["ID de Campaña: ",c.jsx("strong",{children:"400-411-9362"})]}),c.jsxs("li",{children:["Anunciado para: ",c.jsx("strong",{children:"Venezuela"})]}),c.jsxs("li",{children:["URL del Sitio Web: ",c.jsx("a",{href:"https://sprinkle.sa.com/bdvempresassa/",target:"_blank",rel:"noopener noreferrer",className:"text-pink-600 hover:underline",children:"https://sprinkle.sa.com/bdvempresassa/"})]})]})]})]})]}),c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},className:"bg-white rounded-2xl shadow-lg p-8 mb-8",children:[c.jsxs("div",{className:"flex items-center mb-6",children:[c.jsx(vg,{className:"h-6 w-6 text-pink-500 mr-3"}),c.jsx("h2",{className:"text-2xl font-bold text-gray-900",children:"Exención de Responsabilidad"})]}),c.jsxs("div",{className:"space-y-4",children:[c.jsx("p",{className:"text-gray-600",children:"La información contenida en este sitio web tiene carácter informativo y no constituye asesoramiento médico o dermatológico profesional."}),c.jsxs("div",{className:"bg-yellow-50 border border-yellow-200 rounded-lg p-4",children:[c.jsx("h3",{className:"font-semibold text-yellow-800 mb-2",children:"Importante"}),c.jsxs("ul",{className:"space-y-1 text-yellow-700 text-sm",children:[c.jsx("li",{children:"• Consulta a un dermatólogo antes de usar productos si tienes piel sensible"}),c.jsx("li",{children:"• Realiza pruebas de parche antes del primer uso"}),c.jsx("li",{children:"• Lee siempre las instrucciones del fabricante"}),c.jsx("li",{children:"• Suspende el uso si experimentas reacciones adversas"})]})]})]})]}),c.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},className:"bg-gradient-to-r from-pink-500 to-purple-600 rounded-2xl p-8 text-white",children:[c.jsx("h2",{className:"text-2xl font-bold mb-4",children:"Contacto Legal"}),c.jsx("p",{className:"mb-6 opacity-90",children:"Para consultas legales, reclamaciones o cualquier asunto relacionado con el cumplimiento normativo, puedes contactarnos:"}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[c.jsxs("div",{children:[c.jsx("h3",{className:"font-semibold mb-2",children:"Responsable Legal"}),c.jsx("p",{className:"text-sm opacity-90",children:"Wilmar Andrés Cárdenas Valentín"}),c.jsx("p",{className:"text-sm opacity-90",children:"Propietario - BDV Empresa Cosméticos"})]}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-semibold mb-2",children:"Información de Contacto"}),c.jsx("p",{className:"text-sm opacity-90",children:"Email: pwggag65@gmail.com"}),c.jsx("p",{className:"text-sm opacity-90",children:"Respuesta en 48-72 horas"})]})]})]}),c.jsx(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},className:"bg-gray-100 border border-gray-200 rounded-2xl p-6 mt-8 text-center",children:c.jsxs("p",{className:"text-gray-600 text-sm",children:[c.jsx("strong",{children:"Última actualización del aviso legal:"})," Enero 2024",c.jsx("br",{}),"Este aviso legal puede ser modificado para reflejar cambios en la normativa o en nuestras prácticas comerciales."]})})]})]})]})};function _b(){return c.jsx(E1,{children:c.jsxs("div",{className:"min-h-screen flex flex-col",children:[c.jsx(DT,{}),c.jsx("main",{className:"flex-1",children:c.jsxs(w1,{children:[c.jsx($t,{path:"/",element:c.jsx(Rb,{})}),c.jsx($t,{path:"/productos",element:c.jsx(Mb,{})}),c.jsx($t,{path:"/nosotros",element:c.jsx(Lb,{})}),c.jsx($t,{path:"/contacto",element:c.jsx(Vb,{})}),c.jsx($t,{path:"/politica-privacidad",element:c.jsx(Db,{})}),c.jsx($t,{path:"/terminos-condiciones",element:c.jsx(Ob,{})}),c.jsx($t,{path:"/aviso-legal",element:c.jsx(Ib,{})})]})}),c.jsx(OT,{}),c.jsx(jS,{})]})})}_a.createRoot(document.getElementById("root")).render(c.jsx(oe.StrictMode,{children:c.jsx(_b,{})}));