function cy(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 o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Tr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Lf={exports:{}},as={},Vf={exports:{}},z={};/** * @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 Ni=Symbol.for("react.element"),dy=Symbol.for("react.portal"),fy=Symbol.for("react.fragment"),py=Symbol.for("react.strict_mode"),hy=Symbol.for("react.profiler"),my=Symbol.for("react.provider"),gy=Symbol.for("react.context"),yy=Symbol.for("react.forward_ref"),vy=Symbol.for("react.suspense"),xy=Symbol.for("react.memo"),wy=Symbol.for("react.lazy"),oc=Symbol.iterator;function Sy(e){return e===null||typeof e!="object"?null:(e=oc&&e[oc]||e["@@iterator"],typeof e=="function"?e:null)}var Df={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Of=Object.assign,If={};function Cr(e,t,n){this.props=e,this.context=t,this.refs=If,this.updater=n||Df}Cr.prototype.isReactComponent={};Cr.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")};Cr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _f(){}_f.prototype=Cr.prototype;function _l(e,t,n){this.props=e,this.context=t,this.refs=If,this.updater=n||Df}var Fl=_l.prototype=new _f;Fl.constructor=_l;Of(Fl,Cr.prototype);Fl.isPureReactComponent=!0;var sc=Array.isArray,Ff=Object.prototype.hasOwnProperty,zl={current:null},zf={key:!0,ref:!0,__self:!0,__source:!0};function Bf(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Ff.call(t,r)&&!zf.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1>>1,$=N[V];if(0>>1;Vi(zn,I))Ue<$&&0>i(fn,zn)?(N[V]=fn,N[Ue]=I,V=Ue):(N[V]=zn,N[Be]=I,V=Be);else if(Ue<$&&0>i(fn,I))N[V]=fn,N[Ue]=I,V=Ue;else break e}}return R}function i(N,R){var I=N.sortIndex-R.sortIndex;return I!==0?I:N.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,p=3,m=!1,x=!1,v=!1,S=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(N){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=N)r(u),R.sortIndex=R.expirationTime,t(l,R);else break;R=n(u)}}function w(N){if(v=!1,g(N),!x)if(n(l)!==null)x=!0,U(C);else{var R=n(u);R!==null&&de(w,R.startTime-N)}}function C(N,R){x=!1,v&&(v=!1,y(j),j=-1),m=!0;var I=p;try{for(g(R),d=n(l);d!==null&&(!(d.expirationTime>R)||N&&!W());){var V=d.callback;if(typeof V=="function"){d.callback=null,p=d.priorityLevel;var $=V(d.expirationTime<=R);R=e.unstable_now(),typeof $=="function"?d.callback=$:d===n(l)&&r(l),g(R)}else r(l);d=n(l)}if(d!==null)var K=!0;else{var Be=n(u);Be!==null&&de(w,Be.startTime-R),K=!1}return K}finally{d=null,p=I,m=!1}}var P=!1,E=null,j=-1,M=5,L=-1;function W(){return!(e.unstable_now()-LN||125V?(N.sortIndex=I,t(u,N),n(l)===null&&N===n(u)&&(v?(y(j),j=-1):v=!0,de(w,I-V))):(N.sortIndex=$,t(l,N),x||m||(x=!0,U(C))),N},e.unstable_shouldYield=W,e.unstable_wrapCallback=function(N){var R=p;return function(){var I=p;p=R;try{return N.apply(this,arguments)}finally{p=I}}}})(Gf);Wf.exports=Gf;var Ly=Wf.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 Vy=T,Ke=Ly;function k(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"),Ta=Object.prototype.hasOwnProperty,Dy=/^[: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]*$/,lc={},uc={};function Oy(e){return Ta.call(uc,e)?!0:Ta.call(lc,e)?!1:Dy.test(e)?uc[e]=!0:(lc[e]=!0,!1)}function Iy(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 _y(e,t,n,r){if(t===null||typeof t>"u"||Iy(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 Le(e,t,n,r,i,o,s){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=o,this.removeEmptyString=s}var Te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Te[e]=new Le(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Te[t]=new Le(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Te[e]=new Le(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Te[e]=new Le(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){Te[e]=new Le(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Te[e]=new Le(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Te[e]=new Le(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Te[e]=new Le(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Te[e]=new Le(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ul=/[\-:]([a-z])/g;function $l(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(Ul,$l);Te[t]=new Le(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(Ul,$l);Te[t]=new Le(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(Ul,$l);Te[t]=new Le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Te[e]=new Le(e,1,!1,e.toLowerCase(),null,!1,!1)});Te.xlinkHref=new Le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Te[e]=new Le(e,1,!1,e.toLowerCase(),null,!0,!0)});function Hl(e,t,n,r){var i=Te.hasOwnProperty(t)?Te[t]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==o[a]){var l=` `+i[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Os=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Br(e):""}function Fy(e){switch(e.tag){case 5:return Br(e.type);case 16:return Br("Lazy");case 13:return Br("Suspense");case 19:return Br("SuspenseList");case 0:case 2:case 15:return e=Is(e.type,!1),e;case 11:return e=Is(e.type.render,!1),e;case 1:return e=Is(e.type,!0),e;default:return""}}function ja(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 Hn:return"Fragment";case $n:return"Portal";case Ca:return"Profiler";case Wl:return"StrictMode";case Ea:return"Suspense";case Pa:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Qf:return(e.displayName||"Context")+".Consumer";case Yf:return(e._context.displayName||"Context")+".Provider";case Gl:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Kl:return t=e.displayName||null,t!==null?t:ja(e.type)||"Memo";case zt:t=e._payload,e=e._init;try{return ja(e(t))}catch{}}return null}function zy(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 ja(t);case 8:return t===Wl?"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 rn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Zf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function By(e){var t=Zf(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,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ui(e){e._valueTracker||(e._valueTracker=By(e))}function qf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Zf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function jo(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 ka(e,t){var n=t.checked;return le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function dc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=rn(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 Jf(e,t){t=t.checked,t!=null&&Hl(e,"checked",t,!1)}function Na(e,t){Jf(e,t);var n=rn(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")?ba(e,t.type,n):t.hasOwnProperty("defaultValue")&&ba(e,t.type,rn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function fc(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 ba(e,t,n){(t!=="number"||jo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ur=Array.isArray;function or(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=$i.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function si(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Gr={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},Uy=["Webkit","ms","Moz","O"];Object.keys(Gr).forEach(function(e){Uy.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Gr[t]=Gr[e]})});function rp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Gr.hasOwnProperty(e)&&Gr[e]?(""+t).trim():t+"px"}function ip(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=rp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var $y=le({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 Ma(e,t){if(t){if($y[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function La(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 Va=null;function Yl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Da=null,sr=null,ar=null;function mc(e){if(e=Ri(e)){if(typeof Da!="function")throw Error(k(280));var t=e.stateNode;t&&(t=fs(t),Da(e.stateNode,e.type,t))}}function op(e){sr?ar?ar.push(e):ar=[e]:sr=e}function sp(){if(sr){var e=sr,t=ar;if(ar=sr=null,mc(e),t)for(e=0;e>>=0,e===0?32:31-(ev(e)/tv|0)|0}var Hi=64,Wi=4194304;function $r(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 Ao(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=$r(a):(o&=s,o!==0&&(r=$r(o)))}else s=n&~i,s!==0?r=$r(s):o!==0&&(r=$r(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&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 bi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ft(t),e[t]=n}function ov(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=Yr),Ec=String.fromCharCode(32),Pc=!1;function jp(e,t){switch(e){case"keyup":return Lv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Wn=!1;function Dv(e,t){switch(e){case"compositionend":return kp(t);case"keypress":return t.which!==32?null:(Pc=!0,Ec);case"textInput":return e=t.data,e===Ec&&Pc?null:e;default:return null}}function Ov(e,t){if(Wn)return e==="compositionend"||!nu&&jp(e,t)?(e=Ep(),ho=Jl=Wt=null,Wn=!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=bc(n)}}function Rp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Rp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Mp(){for(var e=window,t=jo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=jo(e.document)}return t}function ru(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 Wv(e){var t=Mp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Rp(n.ownerDocument.documentElement,n)){if(r!==null&&ru(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,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Ac(n,o);var s=Ac(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Gn=null,Ba=null,Xr=null,Ua=!1;function Rc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ua||Gn==null||Gn!==jo(r)||(r=Gn,"selectionStart"in r&&ru(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}),Xr&&fi(Xr,r)||(Xr=r,r=Lo(Ba,"onSelect"),0Qn||(e.current=Ya[Qn],Ya[Qn]=null,Qn--)}function Y(e,t){Qn++,Ya[Qn]=e.current,e.current=t}var on={},ke=un(on),Ie=un(!1),kn=on;function pr(e,t){var n=e.type.contextTypes;if(!n)return on;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function _e(e){return e=e.childContextTypes,e!=null}function Do(){Z(Ie),Z(ke)}function _c(e,t,n){if(ke.current!==on)throw Error(k(168));Y(ke,t),Y(Ie,n)}function Bp(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(k(108,zy(e)||"Unknown",i));return le({},n,r)}function Oo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||on,kn=ke.current,Y(ke,e),Y(Ie,Ie.current),!0}function Fc(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=Bp(e,t,kn),r.__reactInternalMemoizedMergedChildContext=e,Z(Ie),Z(ke),Y(ke,e)):Z(Ie),Y(Ie,n)}var Et=null,ps=!1,Zs=!1;function Up(e){Et===null?Et=[e]:Et.push(e)}function r0(e){ps=!0,Up(e)}function cn(){if(!Zs&&Et!==null){Zs=!0;var e=0,t=G;try{var n=Et;for(G=1;e>=s,i-=s,Pt=1<<32-ft(t)+i|n<j?(M=E,E=null):M=E.sibling;var L=p(y,E,g[j],w);if(L===null){E===null&&(E=M);break}e&&E&&L.alternate===null&&t(y,E),h=o(L,h,j),P===null?C=L:P.sibling=L,P=L,E=M}if(j===g.length)return n(y,E),ne&&mn(y,j),C;if(E===null){for(;jj?(M=E,E=null):M=E.sibling;var W=p(y,E,L.value,w);if(W===null){E===null&&(E=M);break}e&&E&&W.alternate===null&&t(y,E),h=o(W,h,j),P===null?C=W:P.sibling=W,P=W,E=M}if(L.done)return n(y,E),ne&&mn(y,j),C;if(E===null){for(;!L.done;j++,L=g.next())L=d(y,L.value,w),L!==null&&(h=o(L,h,j),P===null?C=L:P.sibling=L,P=L);return ne&&mn(y,j),C}for(E=r(y,E);!L.done;j++,L=g.next())L=m(E,y,j,L.value,w),L!==null&&(e&&L.alternate!==null&&E.delete(L.key===null?j:L.key),h=o(L,h,j),P===null?C=L:P.sibling=L,P=L);return e&&E.forEach(function(D){return t(y,D)}),ne&&mn(y,j),C}function S(y,h,g,w){if(typeof g=="object"&&g!==null&&g.type===Hn&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Bi:e:{for(var C=g.key,P=h;P!==null;){if(P.key===C){if(C=g.type,C===Hn){if(P.tag===7){n(y,P.sibling),h=i(P,g.props.children),h.return=y,y=h;break e}}else if(P.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===zt&&Uc(C)===P.type){n(y,P.sibling),h=i(P,g.props),h.ref=Mr(y,P,g),h.return=y,y=h;break e}n(y,P);break}else t(y,P);P=P.sibling}g.type===Hn?(h=Pn(g.props.children,y.mode,w,g.key),h.return=y,y=h):(w=To(g.type,g.key,g.props,null,y.mode,w),w.ref=Mr(y,h,g),w.return=y,y=w)}return s(y);case $n:e:{for(P=g.key;h!==null;){if(h.key===P)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){n(y,h.sibling),h=i(h,g.children||[]),h.return=y,y=h;break e}else{n(y,h);break}else t(y,h);h=h.sibling}h=oa(g,y.mode,w),h.return=y,y=h}return s(y);case zt:return P=g._init,S(y,h,P(g._payload),w)}if(Ur(g))return x(y,h,g,w);if(kr(g))return v(y,h,g,w);qi(y,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,h!==null&&h.tag===6?(n(y,h.sibling),h=i(h,g),h.return=y,y=h):(n(y,h),h=ia(g,y.mode,w),h.return=y,y=h),s(y)):n(y,h)}return S}var mr=Gp(!0),Kp=Gp(!1),Fo=un(null),zo=null,qn=null,au=null;function lu(){au=qn=zo=null}function uu(e){var t=Fo.current;Z(Fo),e._currentValue=t}function Za(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 ur(e,t){zo=e,au=qn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Oe=!0),e.firstContext=null)}function it(e){var t=e._currentValue;if(au!==e)if(e={context:e,memoizedValue:t,next:null},qn===null){if(zo===null)throw Error(k(308));qn=e,zo.dependencies={lanes:0,firstContext:e}}else qn=qn.next=e;return t}var wn=null;function cu(e){wn===null?wn=[e]:wn.push(e)}function Yp(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,cu(t)):(n.next=i.next,i.next=n),t.interleaved=n,Lt(e,r)}function Lt(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 Bt=!1;function du(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Qp(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 Nt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,H&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Lt(e,n)}return i=r.interleaved,i===null?(t.next=t,cu(r)):(t.next=i.next,i.next=t),r.interleaved=t,Lt(e,n)}function go(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,Xl(e,n)}}function $c(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Bo(e,t,n,r){var i=e.updateQueue;Bt=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?o=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(o!==null){var d=i.baseState;s=0,c=u=l=null,a=o;do{var p=a.lane,m=a.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:m,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,v=a;switch(p=t,m=n,v.tag){case 1:if(x=v.payload,typeof x=="function"){d=x.call(m,d,p);break e}d=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=v.payload,p=typeof x=="function"?x.call(m,d,p):x,p==null)break e;d=le({},d,p);break e;case 2:Bt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[a]:p.push(a))}else m={eventTime:m,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=m,l=d):c=c.next=m,s|=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(c===null&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);An|=s,e.lanes=s,e.memoizedState=d}}function Hc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Js.transition;Js.transition={};try{e(!1),t()}finally{G=n,Js.transition=r}}function fh(){return ot().memoizedState}function a0(e,t,n){var r=Jt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ph(e))hh(t,n);else if(n=Yp(e,t,n,r),n!==null){var i=Re();pt(n,e,r,i),mh(n,t,r)}}function l0(e,t,n){var r=Jt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ph(e))hh(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,ht(a,s)){var l=t.interleaved;l===null?(i.next=i,cu(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Yp(e,t,i,r),n!==null&&(i=Re(),pt(n,e,r,i),mh(n,t,r))}}function ph(e){var t=e.alternate;return e===ae||t!==null&&t===ae}function hh(e,t){Zr=$o=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function mh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Xl(e,n)}}var Ho={readContext:it,useCallback:Ce,useContext:Ce,useEffect:Ce,useImperativeHandle:Ce,useInsertionEffect:Ce,useLayoutEffect:Ce,useMemo:Ce,useReducer:Ce,useRef:Ce,useState:Ce,useDebugValue:Ce,useDeferredValue:Ce,useTransition:Ce,useMutableSource:Ce,useSyncExternalStore:Ce,useId:Ce,unstable_isNewReconciler:!1},u0={readContext:it,useCallback:function(e,t){return gt().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:Gc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,vo(4194308,4,ah.bind(null,t,e),n)},useLayoutEffect:function(e,t){return vo(4194308,4,e,t)},useInsertionEffect:function(e,t){return vo(4,2,e,t)},useMemo:function(e,t){var n=gt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=gt();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=a0.bind(null,ae,e),[r.memoizedState,e]},useRef:function(e){var t=gt();return e={current:e},t.memoizedState=e},useState:Wc,useDebugValue:xu,useDeferredValue:function(e){return gt().memoizedState=e},useTransition:function(){var e=Wc(!1),t=e[0];return e=s0.bind(null,e[1]),gt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ae,i=gt();if(ne){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),xe===null)throw Error(k(349));bn&30||Jp(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Gc(th.bind(null,r,o,e),[e]),r.flags|=2048,wi(9,eh.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=gt(),t=xe.identifierPrefix;if(ne){var n=jt,r=Pt;n=(r&~(1<<32-ft(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=vi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[yt]=t,e[mi]=r,Ph(e,t,!1,!1),t.stateNode=e;e:{switch(s=La(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;ivr&&(t.flags|=128,r=!0,Lr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Uo(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Lr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ne)return Ee(t),null}else 2*fe()-o.renderingStartTime>vr&&n!==1073741824&&(t.flags|=128,r=!0,Lr(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=fe(),t.sibling=null,n=ie.current,Y(ie,r?n&1|2:n&1),t):(Ee(t),null);case 22:case 23:return Pu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?$e&1073741824&&(Ee(t),t.subtreeFlags&6&&(t.flags|=8192)):Ee(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function y0(e,t){switch(ou(t),t.tag){case 1:return _e(t.type)&&Do(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return gr(),Z(Ie),Z(ke),hu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return pu(t),null;case 13:if(Z(ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));hr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Z(ie),null;case 4:return gr(),null;case 10:return uu(t.type._context),null;case 22:case 23:return Pu(),null;case 24:return null;default:return null}}var eo=!1,je=!1,v0=typeof WeakSet=="function"?WeakSet:Set,b=null;function Jn(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 sl(e,t,n){try{n()}catch(r){ue(e,t,r)}}var rd=!1;function x0(e,t){if($a=Ro,e=Mp(),ru(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,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,p=null;t:for(;;){for(var m;d!==n||i!==0&&d.nodeType!==3||(a=s+i),d!==o||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(m=d.firstChild)!==null;)p=d,d=m;for(;;){if(d===e)break t;if(p===n&&++u===i&&(a=s),p===o&&++c===r&&(l=s),(m=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=m}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ha={focusedElem:e,selectionRange:n},Ro=!1,b=t;b!==null;)if(t=b,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,b=e;else for(;b!==null;){t=b;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,h=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:lt(t.type,v),S);y.__reactInternalSnapshotBeforeUpdate=h}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(k(163))}}catch(w){ue(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,b=e;break}b=t.return}return x=rd,rd=!1,x}function qr(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 o=i.destroy;i.destroy=void 0,o!==void 0&&sl(t,n,o)}i=i.next}while(i!==r)}}function gs(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 al(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 Nh(e){var t=e.alternate;t!==null&&(e.alternate=null,Nh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yt],delete t[mi],delete t[Ka],delete t[t0],delete t[n0])),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 bh(e){return e.tag===5||e.tag===3||e.tag===4}function id(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||bh(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 ll(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=Vo));else if(r!==4&&(e=e.child,e!==null))for(ll(e,t,n),e=e.sibling;e!==null;)ll(e,t,n),e=e.sibling}function ul(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(ul(e,t,n),e=e.sibling;e!==null;)ul(e,t,n),e=e.sibling}var we=null,ut=!1;function It(e,t,n){for(n=n.child;n!==null;)Ah(e,t,n),n=n.sibling}function Ah(e,t,n){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(ls,n)}catch{}switch(n.tag){case 5:je||Jn(n,t);case 6:var r=we,i=ut;we=null,It(e,t,n),we=r,ut=i,we!==null&&(ut?(e=we,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):we.removeChild(n.stateNode));break;case 18:we!==null&&(ut?(e=we,n=n.stateNode,e.nodeType===8?Xs(e.parentNode,n):e.nodeType===1&&Xs(e,n),ci(e)):Xs(we,n.stateNode));break;case 4:r=we,i=ut,we=n.stateNode.containerInfo,ut=!0,It(e,t,n),we=r,ut=i;break;case 0:case 11:case 14:case 15:if(!je&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&sl(n,t,s),i=i.next}while(i!==r)}It(e,t,n);break;case 1:if(!je&&(Jn(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)}It(e,t,n);break;case 21:It(e,t,n);break;case 22:n.mode&1?(je=(r=je)||n.memoizedState!==null,It(e,t,n),je=r):It(e,t,n);break;default:It(e,t,n)}}function od(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new v0),t.forEach(function(r){var i=N0.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function st(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=fe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*S0(r/1960))-r,10e?16:e,Gt===null)var r=!1;else{if(e=Gt,Gt=null,Ko=0,H&6)throw Error(k(331));var i=H;for(H|=4,b=e.current;b!==null;){var o=b,s=o.child;if(b.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lfe()-Cu?En(e,0):Tu|=n),Fe(e,t)}function _h(e,t){t===0&&(e.mode&1?(t=Wi,Wi<<=1,!(Wi&130023424)&&(Wi=4194304)):t=1);var n=Re();e=Lt(e,t),e!==null&&(bi(e,t,n),Fe(e,n))}function k0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_h(e,n)}function N0(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(k(314))}r!==null&&r.delete(t),_h(e,n)}var Fh;Fh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ie.current)Oe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Oe=!1,m0(e,t,n);Oe=!!(e.flags&131072)}else Oe=!1,ne&&t.flags&1048576&&$p(t,_o,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;xo(e,t),e=t.pendingProps;var i=pr(t,ke.current);ur(t,n),i=gu(null,t,r,e,i,n);var o=yu();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,_e(r)?(o=!0,Oo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,du(t),i.updater=ms,t.stateNode=i,i._reactInternals=t,Ja(t,r,e,n),t=nl(null,t,r,!0,o,n)):(t.tag=0,ne&&o&&iu(t),Ae(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(xo(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=A0(r),e=lt(r,e),i){case 0:t=tl(null,t,r,e,n);break e;case 1:t=ed(null,t,r,e,n);break e;case 11:t=qc(null,t,r,e,n);break e;case 14:t=Jc(null,t,r,lt(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:lt(r,i),tl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:lt(r,i),ed(e,t,r,i,n);case 3:e:{if(Th(t),e===null)throw Error(k(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Qp(e,t),Bo(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=yr(Error(k(423)),t),t=td(e,t,r,n,i);break e}else if(r!==i){i=yr(Error(k(424)),t),t=td(e,t,r,n,i);break e}else for(We=Xt(t.stateNode.containerInfo.firstChild),Ge=t,ne=!0,ct=null,n=Kp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(hr(),r===i){t=Vt(e,t,n);break e}Ae(e,t,r,n)}t=t.child}return t;case 5:return Xp(t),e===null&&Xa(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Wa(r,i)?s=null:o!==null&&Wa(r,o)&&(t.flags|=32),Sh(e,t),Ae(e,t,s,n),t.child;case 6:return e===null&&Xa(t),null;case 13:return Ch(e,t,n);case 4:return fu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=mr(t,null,r,n):Ae(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:lt(r,i),qc(e,t,r,i,n);case 7:return Ae(e,t,t.pendingProps,n),t.child;case 8:return Ae(e,t,t.pendingProps.children,n),t.child;case 12:return Ae(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,Y(Fo,r._currentValue),r._currentValue=s,o!==null)if(ht(o.value,s)){if(o.children===i.children&&!Ie.current){t=Vt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=Nt(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Za(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(k(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Za(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Ae(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ur(t,n),i=it(i),r=r(i),t.flags|=1,Ae(e,t,r,n),t.child;case 14:return r=t.type,i=lt(r,t.pendingProps),i=lt(r.type,i),Jc(e,t,r,i,n);case 15:return xh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:lt(r,i),xo(e,t),t.tag=1,_e(r)?(e=!0,Oo(t)):e=!1,ur(t,n),gh(t,r,i),Ja(t,r,i,n),nl(null,t,r,!0,e,n);case 19:return Eh(e,t,n);case 22:return wh(e,t,n)}throw Error(k(156,t.tag))};function zh(e,t){return pp(e,t)}function b0(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 tt(e,t,n,r){return new b0(e,t,n,r)}function ku(e){return e=e.prototype,!(!e||!e.isReactComponent)}function A0(e){if(typeof e=="function")return ku(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Gl)return 11;if(e===Kl)return 14}return 2}function en(e,t){var n=e.alternate;return n===null?(n=tt(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 To(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")ku(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Hn:return Pn(n.children,i,o,t);case Wl:s=8,i|=8;break;case Ca:return e=tt(12,n,t,i|2),e.elementType=Ca,e.lanes=o,e;case Ea:return e=tt(13,n,t,i),e.elementType=Ea,e.lanes=o,e;case Pa:return e=tt(19,n,t,i),e.elementType=Pa,e.lanes=o,e;case Xf:return vs(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Yf:s=10;break e;case Qf:s=9;break e;case Gl:s=11;break e;case Kl:s=14;break e;case zt:s=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=tt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Pn(e,t,n,r){return e=tt(7,e,r,t),e.lanes=n,e}function vs(e,t,n,r){return e=tt(22,e,r,t),e.elementType=Xf,e.lanes=n,e.stateNode={isHidden:!1},e}function ia(e,t,n){return e=tt(6,e,null,t),e.lanes=n,e}function oa(e,t,n){return t=tt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function R0(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=Fs(0),this.expirationTimes=Fs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fs(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Nu(e,t,n,r,i,o,s,a,l){return e=new R0(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=tt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},du(o),e}function M0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Hh)}catch(e){console.error(e)}}Hh(),Hf.exports=Qe;var Cs=Hf.exports;const I0=Tr(Cs);var pd=Cs;Sa.createRoot=pd.createRoot,Sa.hydrateRoot=pd.hydrateRoot;var Wh={exports:{}},_0="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",F0=_0,z0=F0;function Gh(){}function Kh(){}Kh.resetWarningCache=Gh;var B0=function(){function e(r,i,o,s,a,l){if(l!==z0){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:Kh,resetWarningCache:Gh};return n.PropTypes=n,n};Wh.exports=B0();var U0=Wh.exports;const ee=Tr(U0);function $0(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Yh=T,H0=$0(Yh);function hd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var G0=!!(typeof window<"u"&&window.document&&window.document.createElement);function K0(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(o){if(typeof o!="function")throw new Error("Expected WrappedComponent to be a React component.");var s=[],a;function l(){a=e(s.map(function(c){return c.props})),u.canUseDOM?t(a):n&&(a=n(a))}var u=function(c){W0(d,c);function d(){return c.apply(this,arguments)||this}d.peek=function(){return a},d.rewind=function(){if(d.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,s=[],x};var p=d.prototype;return p.UNSAFE_componentWillMount=function(){s.push(this),l()},p.componentDidUpdate=function(){l()},p.componentWillUnmount=function(){var x=s.indexOf(this);s.splice(x,1),l()},p.render=function(){return H0.createElement(o,this.props)},d}(Yh.PureComponent);return hd(u,"displayName","SideEffect("+r(o)+")"),hd(u,"canUseDOM",G0),u}}var Y0=K0;const Q0=Tr(Y0);var X0=typeof Element<"u",Z0=typeof Map=="function",q0=typeof Set=="function",J0=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Co(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(!Co(e[r],t[r]))return!1;return!0}var o;if(Z0&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!Co(r.value[1],t.get(r.value[0])))return!1;return!0}if(q0&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(J0&&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(X0&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!Co(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var ex=function(t,n){try{return Co(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 tx=Tr(ex);/* object-assign (c) Sindre Sorhus @license MIT */var md=Object.getOwnPropertySymbols,nx=Object.prototype.hasOwnProperty,rx=Object.prototype.propertyIsEnumerable;function ix(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function ox(){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(o){return t[o]});if(r.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var sx=ox()?Object.assign:function(e,t){for(var n,r=ix(e),i,o=1;o=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},hx=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},hl=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,"'")},mx=function(t){var n=dr(t,_.TITLE),r=dr(t,Ti.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var i=dr(t,Ti.DEFAULT_TITLE);return n||i||void 0},gx=function(t){return dr(t,Ti.ON_CHANGE_CLIENT_STATE)||function(){}},sa=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,i){return Ve({},r,i)},{})},yx=function(t,n){return n.filter(function(r){return typeof r[_.BASE]<"u"}).map(function(r){return r[_.BASE]}).reverse().reduce(function(r,i){if(!r.length)for(var o=Object.keys(i),s=0;s=0;r--){var i=t[r];if(i.hasOwnProperty(n))return i[n]}return null},vx=function(t){return{baseTag:yx([te.HREF,te.TARGET],t),bodyAttributes:sa(jn.BODY,t),defer:dr(t,Ti.DEFER),encode:dr(t,Ti.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:sa(jn.HTML,t),linkTags:Dr(_.LINK,[te.REL,te.HREF],t),metaTags:Dr(_.META,[te.NAME,te.CHARSET,te.HTTPEQUIV,te.PROPERTY,te.ITEM_PROP],t),noscriptTags:Dr(_.NOSCRIPT,[te.INNER_HTML],t),onChangeClientState:gx(t),scriptTags:Dr(_.SCRIPT,[te.SRC,te.INNER_HTML],t),styleTags:Dr(_.STYLE,[te.CSS_TEXT],t),title:mx(t),titleAttributes:sa(jn.TITLE,t)}},ml=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){ml(t)},0)}}(),yd=function(t){return clearTimeout(t)},xx=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ml:global.requestAnimationFrame||ml,wx=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||yd:global.cancelAnimationFrame||yd,Sx=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},Or=null,Tx=function(t){Or&&wx(Or),t.defer?Or=xx(function(){vd(t,function(){Or=null})}):(vd(t),Or=null)},vd=function(t,n){var r=t.baseTag,i=t.bodyAttributes,o=t.htmlAttributes,s=t.linkTags,a=t.metaTags,l=t.noscriptTags,u=t.onChangeClientState,c=t.scriptTags,d=t.styleTags,p=t.title,m=t.titleAttributes;gl(_.BODY,i),gl(_.HTML,o),Cx(p,m);var x={baseTag:Un(_.BASE,r),linkTags:Un(_.LINK,s),metaTags:Un(_.META,a),noscriptTags:Un(_.NOSCRIPT,l),scriptTags:Un(_.SCRIPT,c),styleTags:Un(_.STYLE,d)},v={},S={};Object.keys(x).forEach(function(y){var h=x[y],g=h.newTags,w=h.oldTags;g.length&&(v[y]=g),w.length&&(S[y]=x[y].oldTags)}),n&&n(),u(t,v,S)},Qh=function(t){return Array.isArray(t)?t.join(""):t},Cx=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=Qh(t)),gl(_.TITLE,n)},gl=function(t,n){var r=document.getElementsByTagName(t)[0];if(r){for(var i=r.getAttribute(dt),o=i?i.split(","):[],s=[].concat(o),a=Object.keys(n),l=0;l=0;p--)r.removeAttribute(s[p]);o.length===s.length?r.removeAttribute(dt):r.getAttribute(dt)!==a.join(",")&&r.setAttribute(dt,a.join(","))}},Un=function(t,n){var r=document.head||document.querySelector(_.HEAD),i=r.querySelectorAll(t+"["+dt+"]"),o=Array.prototype.slice.call(i),s=[],a=void 0;return n&&n.length&&n.forEach(function(l){var u=document.createElement(t);for(var c in l)if(l.hasOwnProperty(c))if(c===te.INNER_HTML)u.innerHTML=l.innerHTML;else if(c===te.CSS_TEXT)u.styleSheet?u.styleSheet.cssText=l.cssText:u.appendChild(document.createTextNode(l.cssText));else{var d=typeof l[c]>"u"?"":l[c];u.setAttribute(c,d)}u.setAttribute(dt,"true"),o.some(function(p,m){return a=m,u.isEqualNode(p)})?o.splice(a,1):s.push(u)}),o.forEach(function(l){return l.parentNode.removeChild(l)}),s.forEach(function(l){return r.appendChild(l)}),{oldTags:o,newTags:s}},Xh=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},"")},Ex=function(t,n,r,i){var o=Xh(r),s=Qh(n);return o?"<"+t+" "+dt+'="true" '+o+">"+hl(s,i)+"":"<"+t+" "+dt+'="true">'+hl(s,i)+""},Px=function(t,n,r){return n.reduce(function(i,o){var s=Object.keys(o).filter(function(u){return!(u===te.INNER_HTML||u===te.CSS_TEXT)}).reduce(function(u,c){var d=typeof o[c]>"u"?c:c+'="'+hl(o[c],r)+'"';return u?u+" "+d:d},""),a=o.innerHTML||o.cssText||"",l=ux.indexOf(t)===-1;return i+"<"+t+" "+dt+'="true" '+s+(l?"/>":">"+a+"")},"")},Zh=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,i){return r[Xo[i]||i]=t[i],r},n)},jx=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,i){return r[lx[i]||i]=t[i],r},n)},kx=function(t,n,r){var i,o=(i={key:n},i[dt]=!0,i),s=Zh(r,o);return[oe.createElement(_.TITLE,s,n)]},Nx=function(t,n){return n.map(function(r,i){var o,s=(o={key:i},o[dt]=!0,o);return Object.keys(r).forEach(function(a){var l=Xo[a]||a;if(l===te.INNER_HTML||l===te.CSS_TEXT){var u=r.innerHTML||r.cssText;s.dangerouslySetInnerHTML={__html:u}}else s[l]=r[a]}),oe.createElement(t,s)})},Tt=function(t,n,r){switch(t){case _.TITLE:return{toComponent:function(){return kx(t,n.title,n.titleAttributes)},toString:function(){return Ex(t,n.title,n.titleAttributes,r)}};case jn.BODY:case jn.HTML:return{toComponent:function(){return Zh(n)},toString:function(){return Xh(n)}};default:return{toComponent:function(){return Nx(t,n)},toString:function(){return Px(t,n,r)}}}},qh=function(t){var n=t.baseTag,r=t.bodyAttributes,i=t.encode,o=t.htmlAttributes,s=t.linkTags,a=t.metaTags,l=t.noscriptTags,u=t.scriptTags,c=t.styleTags,d=t.title,p=d===void 0?"":d,m=t.titleAttributes;return{base:Tt(_.BASE,n,i),bodyAttributes:Tt(jn.BODY,r,i),htmlAttributes:Tt(jn.HTML,o,i),link:Tt(_.LINK,s,i),meta:Tt(_.META,a,i),noscript:Tt(_.NOSCRIPT,l,i),script:Tt(_.SCRIPT,u,i),style:Tt(_.STYLE,c,i),title:Tt(_.TITLE,{title:p,titleAttributes:m},i)}},bx=function(t){var n,r;return r=n=function(i){px(o,i);function o(){return dx(this,o),hx(this,i.apply(this,arguments))}return o.prototype.shouldComponentUpdate=function(a){return!tx(this.props,a)},o.prototype.mapNestedChildrenToProps=function(a,l){if(!l)return null;switch(a.type){case _.SCRIPT:case _.NOSCRIPT:return{innerHTML:l};case _.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.")},o.prototype.flattenArrayTypeChildren=function(a){var l,u=a.child,c=a.arrayTypeChildren,d=a.newChildProps,p=a.nestedChildren;return Ve({},c,(l={},l[u.type]=[].concat(c[u.type]||[],[Ve({},d,this.mapNestedChildrenToProps(u,p))]),l))},o.prototype.mapObjectTypeChildren=function(a){var l,u,c=a.child,d=a.newProps,p=a.newChildProps,m=a.nestedChildren;switch(c.type){case _.TITLE:return Ve({},d,(l={},l[c.type]=m,l.titleAttributes=Ve({},p),l));case _.BODY:return Ve({},d,{bodyAttributes:Ve({},p)});case _.HTML:return Ve({},d,{htmlAttributes:Ve({},p)})}return Ve({},d,(u={},u[c.type]=Ve({},p),u))},o.prototype.mapArrayTypeChildrenToProps=function(a,l){var u=Ve({},l);return Object.keys(a).forEach(function(c){var d;u=Ve({},u,(d={},d[c]=a[c],d))}),u},o.prototype.warnOnInvalidChildren=function(a,l){return!0},o.prototype.mapChildrenToProps=function(a,l){var u=this,c={};return oe.Children.forEach(a,function(d){if(!(!d||!d.props)){var p=d.props,m=p.children,x=gd(p,["children"]),v=jx(x);switch(u.warnOnInvalidChildren(d,m),d.type){case _.LINK:case _.META:case _.NOSCRIPT:case _.SCRIPT:case _.STYLE:c=u.flattenArrayTypeChildren({child:d,arrayTypeChildren:c,newChildProps:v,nestedChildren:m});break;default:l=u.mapObjectTypeChildren({child:d,newProps:l,newChildProps:v,nestedChildren:m});break}}}),l=this.mapArrayTypeChildrenToProps(c,l),l},o.prototype.render=function(){var a=this.props,l=a.children,u=gd(a,["children"]),c=Ve({},u);return l&&(c=this.mapChildrenToProps(l,c)),oe.createElement(t,c)},fx(o,null,[{key:"canUseDOM",set:function(a){t.canUseDOM=a}}]),o}(oe.Component),n.propTypes={base:ee.object,bodyAttributes:ee.object,children:ee.oneOfType([ee.arrayOf(ee.node),ee.node]),defaultTitle:ee.string,defer:ee.bool,encodeSpecialCharacters:ee.bool,htmlAttributes:ee.object,link:ee.arrayOf(ee.object),meta:ee.arrayOf(ee.object),noscript:ee.arrayOf(ee.object),onChangeClientState:ee.func,script:ee.arrayOf(ee.object),style:ee.arrayOf(ee.object),title:ee.string,titleAttributes:ee.object,titleTemplate:ee.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var i=t.rewind();return i||(i=qh({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),i},r},Ax=function(){return null},Rx=Q0(vx,Tx,qh)(Ax),yl=bx(Rx);yl.renderStatic=yl.rewind;const Jh=T.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Es=T.createContext({}),Mu=T.createContext(null),Ps=typeof document<"u",Mx=Ps?T.useLayoutEffect:T.useEffect,em=T.createContext({strict:!1}),Lu=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Lx="framerAppearId",tm="data-"+Lu(Lx);function Vx(e,t,n,r){const{visualElement:i}=T.useContext(Es),o=T.useContext(em),s=T.useContext(Mu),a=T.useContext(Jh).reducedMotion,l=T.useRef();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:a}));const u=l.current;T.useInsertionEffect(()=>{u&&u.update(n,s)});const c=T.useRef(!!(n[tm]&&!window.HandoffComplete));return Mx(()=>{u&&(u.render(),c.current&&u.animationState&&u.animationState.animateChanges())}),T.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}function tr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Dx(e,t,n){return T.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):tr(n)&&(n.current=r))},[t])}function Ci(e){return typeof e=="string"||Array.isArray(e)}function js(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Vu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Du=["initial",...Vu];function ks(e){return js(e.animate)||Du.some(t=>Ci(e[t]))}function nm(e){return!!(ks(e)||e.variants)}function Ox(e,t){if(ks(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ci(n)?n:void 0,animate:Ci(r)?r:void 0}}return e.inherit!==!1?t:{}}function Ix(e){const{initial:t,animate:n}=Ox(e,T.useContext(Es));return T.useMemo(()=>({initial:t,animate:n}),[xd(t),xd(n)])}function xd(e){return Array.isArray(e)?e.join(" "):e}const wd={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"]},Ei={};for(const e in wd)Ei[e]={isEnabled:t=>wd[e].some(n=>!!t[n])};function _x(e){for(const t in e)Ei[t]={...Ei[t],...e[t]}}const rm=T.createContext({}),im=T.createContext({}),Fx=Symbol.for("motionComponentSymbol");function zx({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&_x(e);function o(a,l){let u;const c={...T.useContext(Jh),...a,layoutId:Bx(a)},{isStatic:d}=c,p=Ix(a),m=r(a,d);if(!d&&Ps){p.visualElement=Vx(i,m,c,t);const x=T.useContext(im),v=T.useContext(em).strict;p.visualElement&&(u=p.visualElement.loadFeatures(c,v,e,x))}return T.createElement(Es.Provider,{value:p},u&&p.visualElement?T.createElement(u,{visualElement:p.visualElement,...c}):null,n(i,a,Dx(m,p.visualElement,l),m,d,p.visualElement))}const s=T.forwardRef(o);return s[Fx]=i,s}function Bx({layoutId:e}){const t=T.useContext(rm).id;return t&&e!==void 0?t+"-"+e:e}function Ux(e){function t(r,i={}){return zx(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 $x=["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 Ou(e){return typeof e!="string"||e.includes("-")?!1:!!($x.indexOf(e)>-1||/[A-Z]/.test(e))}const Zo={};function Hx(e){Object.assign(Zo,e)}const Li=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],On=new Set(Li);function om(e,{layout:t,layoutId:n}){return On.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Zo[e]||e==="opacity")}const ze=e=>!!(e&&e.getVelocity),Wx={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Gx=Li.length;function Kx(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let s=0;st=>typeof t=="string"&&t.startsWith(e),am=sm("--"),vl=sm("var(--"),Yx=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,Qx=(e,t)=>t&&typeof e=="number"?t.transform(e):e,sn=(e,t,n)=>Math.min(Math.max(n,e),t),In={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ti={...In,transform:e=>sn(0,1,e)},ro={...In,default:1},ni=e=>Math.round(e*1e5)/1e5,Ns=/(-)?([\d]*\.?[\d])+/g,lm=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Xx=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Vi(e){return typeof e=="string"}const Di=e=>({test:t=>Vi(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ft=Di("deg"),wt=Di("%"),O=Di("px"),Zx=Di("vh"),qx=Di("vw"),Sd={...wt,parse:e=>wt.parse(e)/100,transform:e=>wt.transform(e*100)},Td={...In,transform:Math.round},um={borderWidth:O,borderTopWidth:O,borderRightWidth:O,borderBottomWidth:O,borderLeftWidth:O,borderRadius:O,radius:O,borderTopLeftRadius:O,borderTopRightRadius:O,borderBottomRightRadius:O,borderBottomLeftRadius:O,width:O,maxWidth:O,height:O,maxHeight:O,size:O,top:O,right:O,bottom:O,left:O,padding:O,paddingTop:O,paddingRight:O,paddingBottom:O,paddingLeft:O,margin:O,marginTop:O,marginRight:O,marginBottom:O,marginLeft:O,rotate:Ft,rotateX:Ft,rotateY:Ft,rotateZ:Ft,scale:ro,scaleX:ro,scaleY:ro,scaleZ:ro,skew:Ft,skewX:Ft,skewY:Ft,distance:O,translateX:O,translateY:O,translateZ:O,x:O,y:O,z:O,perspective:O,transformPerspective:O,opacity:ti,originX:Sd,originY:Sd,originZ:O,zIndex:Td,fillOpacity:ti,strokeOpacity:ti,numOctaves:Td};function Iu(e,t,n,r){const{style:i,vars:o,transform:s,transformOrigin:a}=e;let l=!1,u=!1,c=!0;for(const d in t){const p=t[d];if(am(d)){o[d]=p;continue}const m=um[d],x=Qx(p,m);if(On.has(d)){if(l=!0,s[d]=x,!c)continue;p!==(m.default||0)&&(c=!1)}else d.startsWith("origin")?(u=!0,a[d]=x):i[d]=x}if(t.transform||(l||r?i.transform=Kx(e.transform,n,c,r):i.transform&&(i.transform="none")),u){const{originX:d="50%",originY:p="50%",originZ:m=0}=a;i.transformOrigin=`${d} ${p} ${m}`}}const _u=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function cm(e,t,n){for(const r in t)!ze(t[r])&&!om(r,n)&&(e[r]=t[r])}function Jx({transformTemplate:e},t,n){return T.useMemo(()=>{const r=_u();return Iu(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function e1(e,t,n){const r=e.style||{},i={};return cm(i,r,e),Object.assign(i,Jx(e,t,n)),e.transformValues?e.transformValues(i):i}function t1(e,t,n){const r={},i=e1(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 n1=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 qo(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||n1.has(e)}let dm=e=>!qo(e);function r1(e){e&&(dm=t=>t.startsWith("on")?!qo(t):e(t))}try{r1(require("@emotion/is-prop-valid").default)}catch{}function i1(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(dm(i)||n===!0&&qo(i)||!t&&!qo(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Cd(e,t,n){return typeof e=="string"?e:O.transform(t+n*e)}function o1(e,t,n){const r=Cd(t,e.x,e.width),i=Cd(n,e.y,e.height);return`${r} ${i}`}const s1={offset:"stroke-dashoffset",array:"stroke-dasharray"},a1={offset:"strokeDashoffset",array:"strokeDasharray"};function l1(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?s1:a1;e[o.offset]=O.transform(-r);const s=O.transform(t),a=O.transform(n);e[o.array]=`${s} ${a}`}function Fu(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,d,p){if(Iu(e,u,c,p),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:x,dimensions:v}=e;m.transform&&(v&&(x.transform=m.transform),delete m.transform),v&&(i!==void 0||o!==void 0||x.transform)&&(x.transformOrigin=o1(v,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(m.x=t),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),s!==void 0&&l1(m,s,a,l,!1)}const fm=()=>({..._u(),attrs:{}}),zu=e=>typeof e=="string"&&e.toLowerCase()==="svg";function u1(e,t,n,r){const i=T.useMemo(()=>{const o=fm();return Fu(o,t,{enableHardwareAcceleration:!1},zu(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};cm(o,e.style,e),i.style={...o,...i.style}}return i}function c1(e=!1){return(n,r,i,{latestValues:o},s)=>{const l=(Ou(n)?u1:t1)(r,o,s,n),c={...i1(r,typeof n=="string",e),...l,ref:i},{children:d}=r,p=T.useMemo(()=>ze(d)?d.get():d,[d]);return T.createElement(n,{...c,children:p})}}function pm(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const hm=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 mm(e,t,n,r){pm(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(hm.has(i)?i:Lu(i),t.attrs[i])}function Bu(e,t){const{style:n}=e,r={};for(const i in n)(ze(n[i])||t.style&&ze(t.style[i])||om(i,e))&&(r[i]=n[i]);return r}function gm(e,t){const n=Bu(e,t);for(const r in e)if(ze(e[r])||ze(t[r])){const i=Li.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}function Uu(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 d1(e){const t=T.useRef(null);return t.current===null&&(t.current=e()),t.current}const Jo=e=>Array.isArray(e),f1=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),p1=e=>Jo(e)?e[e.length-1]||0:e;function Eo(e){const t=ze(e)?e.get():e;return f1(t)?t.toValue():t}function h1({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:m1(r,i,o,e),renderState:t()};return n&&(s.mount=a=>n(r,a,s)),s}const ym=e=>(t,n)=>{const r=T.useContext(Es),i=T.useContext(Mu),o=()=>h1(e,t,r,i);return n?o():d1(o)};function m1(e,t,n,r){const i={},o=r(e,{});for(const p in o)i[p]=Eo(o[p]);let{initial:s,animate:a}=e;const l=ks(e),u=nm(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const d=c?a:s;return d&&typeof d!="boolean"&&!js(d)&&(Array.isArray(d)?d:[d]).forEach(m=>{const x=Uu(e,m);if(!x)return;const{transitionEnd:v,transition:S,...y}=x;for(const h in y){let g=y[h];if(Array.isArray(g)){const w=c?g.length-1:0;g=g[w]}g!==null&&(i[h]=g)}for(const h in v)i[h]=v[h]}),i}const ce=e=>e;class Ed{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 g1(e){let t=new Ed,n=new Ed,r=0,i=!1,o=!1;const s=new WeakSet,a={schedule:(l,u=!1,c=!1)=>{const d=c&&i,p=d?t:n;return u&&s.add(l),p.add(l)&&d&&i&&(r=t.order.length),l},cancel:l=>{n.remove(l),s.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u(d[p]=g1(()=>n=!0),d),{}),s=d=>o[d].process(i),a=()=>{const d=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(d-i.timestamp,y1),1),i.timestamp=d,i.isProcessing=!0,io.forEach(s),i.isProcessing=!1,n&&t&&(r=!1,e(a))},l=()=>{n=!0,r=!0,i.isProcessing||e(a)};return{schedule:io.reduce((d,p)=>{const m=o[p];return d[p]=(x,v=!1,S=!1)=>(n||l(),m.schedule(x,v,S)),d},{}),cancel:d=>io.forEach(p=>o[p].cancel(d)),state:i,steps:o}}const{schedule:q,cancel:Dt,state:Pe,steps:aa}=v1(typeof requestAnimationFrame<"u"?requestAnimationFrame:ce,!0),x1={useVisualState:ym({scrapeMotionValuesFromProps:gm,createRenderState:fm,onMount:(e,t,{renderState:n,latestValues:r})=>{q.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),q.render(()=>{Fu(n,r,{enableHardwareAcceleration:!1},zu(t.tagName),e.transformTemplate),mm(t,n)})}})},w1={useVisualState:ym({scrapeMotionValuesFromProps:Bu,createRenderState:_u})};function S1(e,{forwardMotionProps:t=!1},n,r){return{...Ou(e)?x1:w1,preloadedFeatures:n,useRender:c1(t),createVisualElement:r,Component:e}}function kt(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const vm=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function bs(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const T1=e=>t=>vm(t)&&e(t,bs(t));function bt(e,t,n,r){return kt(e,t,T1(n),r)}const C1=(e,t)=>n=>t(e(n)),tn=(...e)=>e.reduce(C1);function xm(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Pd=xm("dragHorizontal"),jd=xm("dragVertical");function wm(e){let t=!1;if(e==="y")t=jd();else if(e==="x")t=Pd();else{const n=Pd(),r=jd();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function Sm(){const e=wm(!0);return e?(e(),!1):!0}class dn{constructor(t){this.isMounted=!1,this.node=t}update(){}}function kd(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(o,s)=>{if(o.pointerType==="touch"||Sm())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t),a[r]&&q.update(()=>a[r](o,s))};return bt(e.current,n,i,{passive:!e.getProps()[r]})}class E1 extends dn{mount(){this.unmount=tn(kd(this.node,!0),kd(this.node,!1))}unmount(){}}class P1 extends dn{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=tn(kt(this.node.current,"focus",()=>this.onFocus()),kt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Tm=(e,t)=>t?e===t?!0:Tm(e,t.parentElement):!1;function la(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,bs(n))}class j1 extends dn{constructor(){super(...arguments),this.removeStartListeners=ce,this.removeEndListeners=ce,this.removeAccessibleListeners=ce,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),o=bt(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps();q.update(()=>{!d&&!Tm(this.node.current,a.target)?c&&c(a,l):u&&u(a,l)})},{passive:!(r.onTap||r.onPointerUp)}),s=bt(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=tn(o,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const s=a=>{a.key!=="Enter"||!this.checkPressEnd()||la("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&q.update(()=>c(l,u))})};this.removeEndListeners(),this.removeEndListeners=kt(this.node.current,"keyup",s),la("down",(a,l)=>{this.startPress(a,l)})},n=kt(this.node.current,"keydown",t),r=()=>{this.isPressing&&la("cancel",(o,s)=>this.cancelPress(o,s))},i=kt(this.node.current,"blur",r);this.removeAccessibleListeners=tn(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&&q.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Sm()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&q.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=bt(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=kt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=tn(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const xl=new WeakMap,ua=new WeakMap,k1=e=>{const t=xl.get(e.target);t&&t(e)},N1=e=>{e.forEach(k1)};function b1({root:e,...t}){const n=e||document;ua.has(n)||ua.set(n,{});const r=ua.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(N1,{root:e,...t})),r[i]}function A1(e,t,n){const r=b1(t);return xl.set(e,n),r.observe(e),()=>{xl.delete(e),r.unobserve(e)}}const R1={some:0,all:1};class M1 extends dn{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:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:R1[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),p=u?c:d;p&&p(l)};return A1(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(L1(t,n))&&this.startObserver()}unmount(){}}function L1({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const V1={inView:{Feature:M1},tap:{Feature:j1},focus:{Feature:P1},hover:{Feature:E1}};function Cm(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 O1(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function As(e,t,n){const r=e.getProps();return Uu(r,t,n!==void 0?n:r.custom,D1(e),O1(e))}let I1=ce,$u=ce;const nn=e=>e*1e3,At=e=>e/1e3,_1={current:!1},Em=e=>Array.isArray(e)&&typeof e[0]=="number";function Pm(e){return!!(!e||typeof e=="string"&&jm[e]||Em(e)||Array.isArray(e)&&e.every(Pm))}const Wr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,jm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Wr([0,.65,.55,1]),circOut:Wr([.55,0,1,.45]),backIn:Wr([.31,.01,.66,-.59]),backOut:Wr([.33,1.53,.69,.99])};function km(e){if(e)return Em(e)?Wr(e):Array.isArray(e)?e.map(km):jm[e]}function F1(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=km(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}function z1(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const Nm=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,B1=1e-7,U1=12;function $1(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=Nm(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>B1&&++a$1(o,0,1,e,n);return o=>o===0||o===1?o:Nm(i(o),t,r)}const H1=Oi(.42,0,1,1),W1=Oi(0,0,.58,1),bm=Oi(.42,0,.58,1),G1=e=>Array.isArray(e)&&typeof e[0]!="number",Am=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Rm=e=>t=>1-e(1-t),Hu=e=>1-Math.sin(Math.acos(e)),Mm=Rm(Hu),K1=Am(Hu),Lm=Oi(.33,1.53,.69,.99),Wu=Rm(Lm),Y1=Am(Wu),Q1=e=>(e*=2)<1?.5*Wu(e):.5*(2-Math.pow(2,-10*(e-1))),X1={linear:ce,easeIn:H1,easeInOut:bm,easeOut:W1,circIn:Hu,circInOut:K1,circOut:Mm,backIn:Wu,backInOut:Y1,backOut:Lm,anticipate:Q1},Nd=e=>{if(Array.isArray(e)){$u(e.length===4);const[t,n,r,i]=e;return Oi(t,n,r,i)}else if(typeof e=="string")return X1[e];return e},Gu=(e,t)=>n=>!!(Vi(n)&&Xx.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Vm=(e,t,n)=>r=>{if(!Vi(r))return r;const[i,o,s,a]=r.match(Ns);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},Z1=e=>sn(0,255,e),ca={...In,transform:e=>Math.round(Z1(e))},Tn={test:Gu("rgb","red"),parse:Vm("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ca.transform(e)+", "+ca.transform(t)+", "+ca.transform(n)+", "+ni(ti.transform(r))+")"};function q1(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 wl={test:Gu("#"),parse:q1,transform:Tn.transform},nr={test:Gu("hsl","hue"),parse:Vm("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+wt.transform(ni(t))+", "+wt.transform(ni(n))+", "+ni(ti.transform(r))+")"},Ne={test:e=>Tn.test(e)||wl.test(e)||nr.test(e),parse:e=>Tn.test(e)?Tn.parse(e):nr.test(e)?nr.parse(e):wl.parse(e),transform:e=>Vi(e)?e:e.hasOwnProperty("red")?Tn.transform(e):nr.transform(e)},se=(e,t,n)=>-n*e+n*t+e;function da(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 J1({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=da(l,a,e+1/3),o=da(l,a,e),s=da(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}const fa=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},ew=[wl,Tn,nr],tw=e=>ew.find(t=>t.test(e));function bd(e){const t=tw(e);let n=t.parse(e);return t===nr&&(n=J1(n)),n}const Dm=(e,t)=>{const n=bd(e),r=bd(t),i={...n};return o=>(i.red=fa(n.red,r.red,o),i.green=fa(n.green,r.green,o),i.blue=fa(n.blue,r.blue,o),i.alpha=se(n.alpha,r.alpha,o),Tn.transform(i))};function nw(e){var t,n;return isNaN(e)&&Vi(e)&&(((t=e.match(Ns))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(lm))===null||n===void 0?void 0:n.length)||0)>0}const Om={regex:Yx,countKey:"Vars",token:"${v}",parse:ce},Im={regex:lm,countKey:"Colors",token:"${c}",parse:Ne.parse},_m={regex:Ns,countKey:"Numbers",token:"${n}",parse:In.parse};function pa(e,{regex:t,countKey:n,token:r,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function es(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&pa(n,Om),pa(n,Im),pa(n,_m),n}function Fm(e){return es(e).values}function zm(e){const{values:t,numColors:n,numVars:r,tokenised:i}=es(e),o=t.length;return s=>{let a=i;for(let l=0;ltypeof e=="number"?0:e;function iw(e){const t=Fm(e);return zm(e)(t.map(rw))}const an={test:nw,parse:Fm,createTransformer:zm,getAnimatableNone:iw},Bm=(e,t)=>n=>`${n>0?t:e}`;function Um(e,t){return typeof e=="number"?n=>se(e,t,n):Ne.test(e)?Dm(e,t):e.startsWith("var(")?Bm(e,t):Hm(e,t)}const $m=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,s)=>Um(o,t[s]));return o=>{for(let s=0;s{const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Um(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}},Hm=(e,t)=>{const n=an.createTransformer(t),r=es(e),i=es(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?tn($m(r.values,i.values),n):Bm(e,t)},Pi=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Ad=(e,t)=>n=>se(e,t,n);function sw(e){return typeof e=="number"?Ad:typeof e=="string"?Ne.test(e)?Dm:Hm:Array.isArray(e)?$m:typeof e=="object"?ow:Ad}function aw(e,t,n){const r=[],i=n||sw(e[0]),o=e.length-1;for(let s=0;st[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=aw(t,r,i),a=s.length,l=u=>{let c=0;if(a>1)for(;cl(sn(e[0],e[o-1],u)):l}function lw(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Pi(0,t,r);e.push(se(n,1,i))}}function uw(e){const t=[0];return lw(t,e.length-1),t}function cw(e,t){return e.map(n=>n*t)}function dw(e,t){return e.map(()=>t||bm).splice(0,e.length-1)}function ts({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=G1(r)?r.map(Nd):Nd(r),o={done:!1,value:t[0]},s=cw(n&&n.length===t.length?n:uw(t),e),a=Wm(s,t,{ease:Array.isArray(i)?i:dw(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}function Gm(e,t){return t?e*(1e3/t):0}const fw=5;function Km(e,t,n){const r=Math.max(t-fw,0);return Gm(n-e(r),t-r)}const ha=.001,pw=.01,Rd=10,hw=.05,mw=1;function gw({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;I1(e<=nn(Rd));let s=1-t;s=sn(hw,mw,s),e=sn(pw,Rd,At(e)),s<1?(i=u=>{const c=u*s,d=c*e,p=c-n,m=Sl(u,s),x=Math.exp(-d);return ha-p/m*x},o=u=>{const d=u*s*e,p=d*n+n,m=Math.pow(s,2)*Math.pow(u,2)*e,x=Math.exp(-d),v=Sl(Math.pow(u,2),s);return(-i(u)+ha>0?-1:1)*((p-m)*x)/v}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-ha+c*d},o=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=vw(i,o,a);if(e=nn(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const yw=12;function vw(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function Sw(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Md(e,ww)&&Md(e,xw)){const n=gw(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Ym({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:a,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:p}=Sw({...r,velocity:-At(r.velocity||0)}),m=d||0,x=l/(2*Math.sqrt(a*u)),v=o-i,S=At(Math.sqrt(a/u)),y=Math.abs(v)<5;n||(n=y?.01:2),t||(t=y?.005:.5);let h;if(x<1){const g=Sl(S,x);h=w=>{const C=Math.exp(-x*S*w);return o-C*((m+x*S*v)/g*Math.sin(g*w)+v*Math.cos(g*w))}}else if(x===1)h=g=>o-Math.exp(-S*g)*(v+(m+S*v)*g);else{const g=S*Math.sqrt(x*x-1);h=w=>{const C=Math.exp(-x*S*w),P=Math.min(g*w,300);return o-C*((m+x*S*v)*Math.sinh(P)+g*v*Math.cosh(P))/g}}return{calculatedDuration:p&&c||null,next:g=>{const w=h(g);if(p)s.done=g>=c;else{let C=m;g!==0&&(x<1?C=Km(h,g,w):C=0);const P=Math.abs(C)<=n,E=Math.abs(o-w)<=t;s.done=P&&E}return s.value=s.done?o:w,s}}}function Ld({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],p={done:!1,value:d},m=j=>a!==void 0&&jl,x=j=>a===void 0?l:l===void 0||Math.abs(a-j)-v*Math.exp(-j/r),g=j=>y+h(j),w=j=>{const M=h(j),L=g(j);p.done=Math.abs(M)<=u,p.value=p.done?y:L};let C,P;const E=j=>{m(p.value)&&(C=j,P=Ym({keyframes:[p.value,x(p.value)],velocity:Km(g,j,p.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return E(0),{calculatedDuration:null,next:j=>{let M=!1;return!P&&C===void 0&&(M=!0,w(j),E(j)),C!==void 0&&j>C?P.next(j-C):(!M&&w(j),p)}}}const Tw=e=>{const t=({timestamp:n})=>e(n);return{start:()=>q.update(t,!0),stop:()=>Dt(t),now:()=>Pe.isProcessing?Pe.timestamp:performance.now()}},Vd=2e4;function Dd(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Vd?1/0:t}const Cw={decay:Ld,inertia:Ld,tween:ts,keyframes:ts,spring:Ym};function ns({autoplay:e=!0,delay:t=0,driver:n=Tw,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:u,onComplete:c,onUpdate:d,...p}){let m=1,x=!1,v,S;const y=()=>{S=new Promise(V=>{v=V})};y();let h;const g=Cw[i]||ts;let w;g!==ts&&typeof r[0]!="number"&&(w=Wm([0,100],r,{clamp:!1}),r=[0,100]);const C=g({...p,keyframes:r});let P;a==="mirror"&&(P=g({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let E="idle",j=null,M=null,L=null;C.calculatedDuration===null&&o&&(C.calculatedDuration=Dd(C));const{calculatedDuration:W}=C;let D=1/0,re=1/0;W!==null&&(D=W+s,re=D*(o+1)-s);let A=0;const J=V=>{if(M===null)return;m>0&&(M=Math.min(M,V)),m<0&&(M=Math.min(V-re/m,M)),j!==null?A=j:A=Math.round(V-M)*m;const $=A-t*(m>=0?1:-1),K=m>=0?$<0:$>re;A=Math.max($,0),E==="finished"&&j===null&&(A=re);let Be=A,zn=C;if(o){const Ls=Math.min(A,re)/D;let Fi=Math.floor(Ls),pn=Ls%1;!pn&&Ls>=1&&(pn=1),pn===1&&Fi--,Fi=Math.min(Fi,o+1),!!(Fi%2)&&(a==="reverse"?(pn=1-pn,s&&(pn-=s/D)):a==="mirror"&&(zn=P)),Be=sn(0,1,pn)*D}const Ue=K?{done:!1,value:r[0]}:zn.next(Be);w&&(Ue.value=w(Ue.value));let{done:fn}=Ue;!K&&W!==null&&(fn=m>=0?A>=re:A<=0);const uy=j===null&&(E==="finished"||E==="running"&&fn);return d&&d(Ue.value),uy&&N(),Ue},U=()=>{h&&h.stop(),h=void 0},de=()=>{E="idle",U(),v(),y(),M=L=null},N=()=>{E="finished",c&&c(),U(),v()},R=()=>{if(x)return;h||(h=n(J));const V=h.now();l&&l(),j!==null?M=V-j:(!M||E==="finished")&&(M=V),E==="finished"&&y(),L=M,j=null,E="running",h.start()};e&&R();const I={then(V,$){return S.then(V,$)},get time(){return At(A)},set time(V){V=nn(V),A=V,j!==null||!h||m===0?j=V:M=h.now()-V/m},get duration(){const V=C.calculatedDuration===null?Dd(C):C.calculatedDuration;return At(V)},get speed(){return m},set speed(V){V===m||!h||(m=V,I.time=At(A))},get state(){return E},play:R,pause:()=>{E="paused",j=A},stop:()=>{x=!0,E!=="idle"&&(E="idle",u&&u(),de())},cancel:()=>{L!==null&&J(L),de()},complete:()=>{E="finished"},sample:V=>(M=0,J(V))};return I}function Ew(e){let t;return()=>(t===void 0&&(t=e()),t)}const Pw=Ew(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),jw=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),oo=10,kw=2e4,Nw=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Pm(t.ease);function bw(e,t,{onUpdate:n,onComplete:r,...i}){if(!(Pw()&&jw.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let s=!1,a,l,u=!1;const c=()=>{l=new Promise(g=>{a=g})};c();let{keyframes:d,duration:p=300,ease:m,times:x}=i;if(Nw(t,i)){const g=ns({...i,repeat:0,delay:0});let w={done:!1,value:d[0]};const C=[];let P=0;for(;!w.done&&P{u=!1,v.cancel()},y=()=>{u=!0,q.update(S),a(),c()};return v.onfinish=()=>{u||(e.set(z1(d,i)),r&&r(),y())},{then(g,w){return l.then(g,w)},attachTimeline(g){return v.timeline=g,v.onfinish=null,ce},get time(){return At(v.currentTime||0)},set time(g){v.currentTime=nn(g)},get speed(){return v.playbackRate},set speed(g){v.playbackRate=g},get duration(){return At(p)},play:()=>{s||(v.play(),Dt(S))},pause:()=>v.pause(),stop:()=>{if(s=!0,v.playState==="idle")return;const{currentTime:g}=v;if(g){const w=ns({...i,autoplay:!1});e.setWithVelocity(w.sample(g-oo).value,w.sample(g).value,oo)}y()},complete:()=>{u||v.finish()},cancel:y}}function Aw({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:ce,pause:ce,stop:ce,then:o=>(o(),Promise.resolve()),cancel:ce,complete:ce});return t?ns({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const Rw={type:"spring",stiffness:500,damping:25,restSpeed:10},Mw=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Lw={type:"keyframes",duration:.8},Vw={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Dw=(e,{keyframes:t})=>t.length>2?Lw:On.has(e)?e.startsWith("scale")?Mw(t[1]):Rw:Vw,Tl=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(an.test(t)||t==="0")&&!t.startsWith("url(")),Ow=new Set(["brightness","contrast","saturate","opacity"]);function Iw(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ns)||[];if(!r)return e;const i=n.replace(r,"");let o=Ow.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const _w=/([a-z-]*)\(.*?\)/g,Cl={...an,getAnimatableNone:e=>{const t=e.match(_w);return t?t.map(Iw).join(" "):e}},Fw={...um,color:Ne,backgroundColor:Ne,outlineColor:Ne,fill:Ne,stroke:Ne,borderColor:Ne,borderTopColor:Ne,borderRightColor:Ne,borderBottomColor:Ne,borderLeftColor:Ne,filter:Cl,WebkitFilter:Cl},Ku=e=>Fw[e];function Qm(e,t){let n=Ku(e);return n!==Cl&&(n=an),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Xm=e=>/^0[^.\s]+$/.test(e);function zw(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Xm(e)}function Bw(e,t,n,r){const i=Tl(t,n);let o;Array.isArray(n)?o=[...n]:o=[null,n];const s=r.from!==void 0?r.from:e.get();let a;const l=[];for(let u=0;ui=>{const o=Yu(r,e)||{},s=o.delay||r.delay||0;let{elapsed:a=0}=r;a=a-nn(s);const l=Bw(t,e,n,o),u=l[0],c=l[l.length-1],d=Tl(e,u),p=Tl(e,c);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-a,onUpdate:x=>{t.set(x),o.onUpdate&&o.onUpdate(x)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(Uw(o)||(m={...m,...Dw(e,m)}),m.duration&&(m.duration=nn(m.duration)),m.repeatDelay&&(m.repeatDelay=nn(m.repeatDelay)),!d||!p||_1.current||o.type===!1||$w.skipAnimations)return Aw(m);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const x=bw(t,e,m);if(x)return x}return ns(m)};function rs(e){return!!(ze(e)&&e.add)}const Zm=e=>/^\-?\d*\.?\d+$/.test(e);function Xu(e,t){e.indexOf(t)===-1&&e.push(t)}function Zu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class qu{constructor(){this.subscriptions=[]}add(t){return Xu(this.subscriptions,t),()=>Zu(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 o=0;o!isNaN(parseFloat(e));class Ww{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:o,timestamp:s}=Pe;this.lastUpdated!==s&&(this.timeDelta=o,this.lastUpdated=s,q.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=()=>q.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=Hw(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new qu);const r=this.events[t].add(n);return t==="change"?()=>{r(),q.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?Gm(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 xr(e,t){return new Ww(e,t)}const qm=e=>t=>t.test(e),Gw={test:e=>e==="auto",parse:e=>e},Jm=[In,O,wt,Ft,qx,Zx,Gw],Ir=e=>Jm.find(qm(e)),Kw=[...Jm,Ne,an],Yw=e=>Kw.find(qm(e));function Qw(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,xr(n))}function Xw(e,t){const n=As(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const s in o){const a=p1(o[s]);Qw(e,s,a)}}function Zw(e,t,n){var r,i;const o=Object.keys(t).filter(a=>!e.hasValue(a)),s=o.length;if(s)for(let a=0;al.remove(d))),u.push(S)}return s&&Promise.all(u).then(()=>{s&&Xw(e,s)}),u}function El(e,t,n={}){const r=As(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(eg(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:d}=i;return nS(e,t,u+l,c,d,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[l,u]=a==="beforeChildren"?[o,s]:[s,o];return l().then(()=>u())}else return Promise.all([o(),s(n.delay)])}function nS(e,t,n=0,r=0,i=1,o){const s=[],a=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(rS).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(El(u,t,{...o,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function rS(e,t){return e.sortNodePosition(t)}function iS(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>El(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=El(e,t,n);else{const i=typeof t=="function"?As(e,t,n.custom):t;r=Promise.all(eg(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}const oS=[...Vu].reverse(),sS=Vu.length;function aS(e){return t=>Promise.all(t.map(({animation:n,options:r})=>iS(e,n,r)))}function lS(e){let t=aS(e);const n=cS();let r=!0;const i=(l,u)=>{const c=As(e,u);if(c){const{transition:d,transitionEnd:p,...m}=c;l={...l,...m,...p}}return l};function o(l){t=l(e)}function s(l,u){const c=e.getProps(),d=e.getVariantContext(!0)||{},p=[],m=new Set;let x={},v=1/0;for(let y=0;yv&&C,L=!1;const W=Array.isArray(w)?w:[w];let D=W.reduce(i,{});P===!1&&(D={});const{prevResolvedValues:re={}}=g,A={...re,...D},J=U=>{M=!0,m.has(U)&&(L=!0,m.delete(U)),g.needsAnimating[U]=!0};for(const U in A){const de=D[U],N=re[U];if(x.hasOwnProperty(U))continue;let R=!1;Jo(de)&&Jo(N)?R=!Cm(de,N):R=de!==N,R?de!==void 0?J(U):m.add(U):de!==void 0&&m.has(U)?J(U):g.protectedKeys[U]=!0}g.prevProp=w,g.prevResolvedValues=D,g.isActive&&(x={...x,...D}),r&&e.blockInitialAnimation&&(M=!1),M&&(!E||L)&&p.push(...W.map(U=>({animation:U,options:{type:h,...l}})))}if(m.size){const y={};m.forEach(h=>{const g=e.getBaseTarget(h);g!==void 0&&(y[h]=g)}),p.push({animation:y})}let S=!!p.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(S=!1),r=!1,S?t(p):Promise.resolve()}function a(l,u,c){var d;if(n[l].isActive===u)return Promise.resolve();(d=e.variantChildren)===null||d===void 0||d.forEach(m=>{var x;return(x=m.animationState)===null||x===void 0?void 0:x.setActive(l,u)}),n[l].isActive=u;const p=s(c,l);for(const m in n)n[m].protectedKeys={};return p}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n}}function uS(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Cm(t,e):!1}function hn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function cS(){return{animate:hn(!0),whileInView:hn(),whileHover:hn(),whileTap:hn(),whileDrag:hn(),whileFocus:hn(),exit:hn()}}class dS extends dn{constructor(t){super(t),t.animationState||(t.animationState=lS(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),js(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 fS=0;class pS extends dn{constructor(){super(...arguments),this.id=fS++}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 o=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const hS={animation:{Feature:dS},exit:{Feature:pS}},Od=(e,t)=>Math.abs(e-t);function mS(e,t){const n=Od(e.x,t.x),r=Od(e.y,t.y);return Math.sqrt(n**2+r**2)}class tg{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!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 d=ga(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,m=mS(d.offset,{x:0,y:0})>=3;if(!p&&!m)return;const{point:x}=d,{timestamp:v}=Pe;this.history.push({...x,timestamp:v});const{onStart:S,onMove:y}=this.handlers;p||(S&&S(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,d)},this.handlePointerMove=(d,p)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=ma(p,this.transformPagePoint),q.update(this.updatePoint,!0)},this.handlePointerUp=(d,p)=>{this.end();const{onEnd:m,onSessionEnd:x,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=ga(d.type==="pointercancel"?this.lastMoveEventInfo:ma(p,this.transformPagePoint),this.history);this.startEvent&&m&&m(d,S),x&&x(d,S)},!vm(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const s=bs(t),a=ma(s,this.transformPagePoint),{point:l}=a,{timestamp:u}=Pe;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,ga(a,this.history)),this.removeListeners=tn(bt(this.contextWindow,"pointermove",this.handlePointerMove),bt(this.contextWindow,"pointerup",this.handlePointerUp),bt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Dt(this.updatePoint)}}function ma(e,t){return t?{point:t(e.point)}:e}function Id(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ga({point:e},t){return{point:e,delta:Id(e,ng(t)),offset:Id(e,gS(t)),velocity:yS(t,.1)}}function gS(e){return e[0]}function ng(e){return e[e.length-1]}function yS(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=ng(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>nn(t)));)n--;if(!r)return{x:0,y:0};const o=At(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Ye(e){return e.max-e.min}function Pl(e,t=0,n=.01){return Math.abs(e-t)<=n}function _d(e,t,n,r=.5){e.origin=r,e.originPoint=se(t.min,t.max,e.origin),e.scale=Ye(n)/Ye(t),(Pl(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=se(n.min,n.max,e.origin)-e.originPoint,(Pl(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ri(e,t,n,r){_d(e.x,t.x,n.x,r?r.originX:void 0),_d(e.y,t.y,n.y,r?r.originY:void 0)}function Fd(e,t,n){e.min=n.min+t.min,e.max=e.min+Ye(t)}function vS(e,t,n){Fd(e.x,t.x,n.x),Fd(e.y,t.y,n.y)}function zd(e,t,n){e.min=t.min-n.min,e.max=e.min+Ye(t)}function ii(e,t,n){zd(e.x,t.x,n.x),zd(e.y,t.y,n.y)}function xS(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?se(n,e,r.max):Math.min(e,n)),e}function Bd(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 wS(e,{top:t,left:n,bottom:r,right:i}){return{x:Bd(e.x,n,i),y:Bd(e.y,t,r)}}function Ud(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=Pi(t.min,t.max-r,e.min):r>i&&(n=Pi(e.min,e.max-i,t.min)),sn(0,1,n)}function CS(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 jl=.35;function ES(e=jl){return e===!1?e=0:e===!0&&(e=jl),{x:$d(e,"left","right"),y:$d(e,"top","bottom")}}function $d(e,t,n){return{min:Hd(e,t),max:Hd(e,n)}}function Hd(e,t){return typeof e=="number"?e:e[t]||0}const Wd=()=>({translate:0,scale:1,origin:0,originPoint:0}),rr=()=>({x:Wd(),y:Wd()}),Gd=()=>({min:0,max:0}),pe=()=>({x:Gd(),y:Gd()});function qe(e){return[e("x"),e("y")]}function rg({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function PS({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function jS(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 ya(e){return e===void 0||e===1}function kl({scale:e,scaleX:t,scaleY:n}){return!ya(e)||!ya(t)||!ya(n)}function yn(e){return kl(e)||ig(e)||e.z||e.rotate||e.rotateX||e.rotateY}function ig(e){return Kd(e.x)||Kd(e.y)}function Kd(e){return e&&e!=="0%"}function is(e,t,n){const r=e-n,i=t*r;return n+i}function Yd(e,t,n,r,i){return i!==void 0&&(e=is(e,i,r)),is(e,n,r)+t}function Nl(e,t=0,n=1,r,i){e.min=Yd(e.min,t,n,r,i),e.max=Yd(e.max,t,n,r,i)}function og(e,{x:t,y:n}){Nl(e.x,t.translate,t.scale,t.originPoint),Nl(e.y,n.translate,n.scale,n.originPoint)}function kS(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;a1.0000000000001||e<.999999999999?e:1}function Ut(e,t){e.min=e.min+t,e.max=e.max+t}function Xd(e,t,[n,r,i]){const o=t[i]!==void 0?t[i]:.5,s=se(e.min,e.max,o);Nl(e,t[n],t[r],s,t.scale)}const NS=["x","scaleX","originX"],bS=["y","scaleY","originY"];function ir(e,t){Xd(e.x,t,NS),Xd(e.y,t,bS)}function sg(e,t){return rg(jS(e.getBoundingClientRect(),t))}function AS(e,t,n){const r=sg(e,n),{scroll:i}=t;return i&&(Ut(r.x,i.offset.x),Ut(r.y,i.offset.y)),r}const ag=({current:e})=>e?e.ownerDocument.defaultView:null,RS=new WeakMap;class MS{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=pe(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(bs(c,"page").point)},o=(c,d)=>{const{drag:p,dragPropagation:m,onDragStart:x}=this.getProps();if(p&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=wm(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),qe(S=>{let y=this.getAxisMotionValue(S).get()||0;if(wt.test(y)){const{projection:h}=this.visualElement;if(h&&h.layout){const g=h.layout.layoutBox[S];g&&(y=Ye(g)*(parseFloat(y)/100))}}this.originPoint[S]=y}),x&&q.update(()=>x(c,d),!1,!0);const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},s=(c,d)=>{const{dragPropagation:p,dragDirectionLock:m,onDirectionLock:x,onDrag:v}=this.getProps();if(!p&&!this.openGlobalLock)return;const{offset:S}=d;if(m&&this.currentDirection===null){this.currentDirection=LS(S),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",d.point,S),this.updateAxis("y",d.point,S),this.visualElement.render(),v&&v(c,d)},a=(c,d)=>this.stop(c,d),l=()=>qe(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new tg(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:ag(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&q.update(()=>o(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||!so(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=xS(s,this.constraints[t],this.elastic[t])),o.set(s)}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,o=this.constraints;n&&tr(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=wS(i.layoutBox,n):this.constraints=!1,this.elastic=ES(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&qe(s=>{this.getAxisMotionValue(s)&&(this.constraints[s]=CS(i.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!tr(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=AS(r,i.root,this.visualElement.getTransformPagePoint());let s=SS(i.layout.layoutBox,o);if(n){const a=n(PS(s));this.hasMutatedConstraints=!!a,a&&(s=rg(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=qe(c=>{if(!so(c,n,this.currentDirection))return;let d=l&&l[c]||{};s&&(d={min:0,max:0});const p=i?200:1e6,m=i?40:1e7,x={type:"inertia",velocity:r?t[c]:0,bounceStiffness:p,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(c,x)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Qu(t,r,0,n))}stopAnimation(){qe(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){qe(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){qe(n=>{const{drag:r}=this.getProps();if(!so(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:a}=i.layout.layoutBox[n];o.set(t[n]-se(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!tr(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};qe(s=>{const a=this.getAxisMotionValue(s);if(a){const l=a.get();i[s]=TS({min:l,max:l},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),qe(s=>{if(!so(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(se(l,u,i[s]))})}addListeners(){if(!this.visualElement.current)return;RS.set(this.visualElement,this);const t=this.visualElement.current,n=bt(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();tr(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const s=kt(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(qe(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=jl,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function so(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function LS(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class VS extends dn{constructor(t){super(t),this.removeGroupControls=ce,this.removeListeners=ce,this.controls=new MS(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ce}unmount(){this.removeGroupControls(),this.removeListeners()}}const Zd=e=>(t,n)=>{e&&q.update(()=>e(t,n))};class DS extends dn{constructor(){super(...arguments),this.removePointerDownListener=ce}onPointerDown(t){this.session=new tg(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ag(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Zd(t),onStart:Zd(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&q.update(()=>i(o,s))}}}mount(){this.removePointerDownListener=bt(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 OS(){const e=T.useContext(Mu);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=T.useId();return T.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Po={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function qd(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const _r={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(O.test(e))e=parseFloat(e);else return e;const n=qd(e,t.target.x),r=qd(e,t.target.y);return`${n}% ${r}%`}},IS={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=an.parse(e);if(i.length>5)return r;const o=an.createTransformer(e),s=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;const u=se(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}};class _S extends oe.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;Hx(FS),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Po.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,s=r.projection;return s&&(s.isPresent=o,i||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||q.postRender(()=>{const a=s.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 lg(e){const[t,n]=OS(),r=T.useContext(rm);return oe.createElement(_S,{...e,layoutGroup:r,switchLayoutGroup:T.useContext(im),isPresent:t,safeToRemove:n})}const FS={borderRadius:{..._r,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:_r,borderTopRightRadius:_r,borderBottomLeftRadius:_r,borderBottomRightRadius:_r,boxShadow:IS},ug=["TopLeft","TopRight","BottomLeft","BottomRight"],zS=ug.length,Jd=e=>typeof e=="string"?parseFloat(e):e,ef=e=>typeof e=="number"||O.test(e);function BS(e,t,n,r,i,o){i?(e.opacity=se(0,n.opacity!==void 0?n.opacity:1,US(r)),e.opacityExit=se(t.opacity!==void 0?t.opacity:1,0,$S(r))):o&&(e.opacity=se(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(Pi(e,t,r))}function nf(e,t){e.min=t.min,e.max=t.max}function Ze(e,t){nf(e.x,t.x),nf(e.y,t.y)}function rf(e,t,n,r,i){return e-=t,e=is(e,1/n,r),i!==void 0&&(e=is(e,1/i,r)),e}function HS(e,t=0,n=1,r=.5,i,o=e,s=e){if(wt.test(t)&&(t=parseFloat(t),t=se(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=se(o.min,o.max,r);e===o&&(a-=t),e.min=rf(e.min,t,n,a,i),e.max=rf(e.max,t,n,a,i)}function of(e,t,[n,r,i],o,s){HS(e,t[n],t[r],t[i],t.scale,o,s)}const WS=["x","scaleX","originX"],GS=["y","scaleY","originY"];function sf(e,t,n,r){of(e.x,t,WS,n?n.x:void 0,r?r.x:void 0),of(e.y,t,GS,n?n.y:void 0,r?r.y:void 0)}function af(e){return e.translate===0&&e.scale===1}function dg(e){return af(e.x)&&af(e.y)}function KS(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 fg(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 lf(e){return Ye(e.x)/Ye(e.y)}class YS{constructor(){this.members=[]}add(t){Xu(this.members,t),t.scheduleRender()}remove(t){if(Zu(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 o=this.members[i];if(o.isPresent!==!1){r=o;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 uf(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:u,rotateY:c}=n;l&&(r+=`rotate(${l}deg) `),u&&(r+=`rotateX(${u}deg) `),c&&(r+=`rotateY(${c}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return(s!==1||a!==1)&&(r+=`scale(${s}, ${a})`),r||"none"}const QS=(e,t)=>e.depth-t.depth;class XS{constructor(){this.children=[],this.isDirty=!1}add(t){Xu(this.children,t),this.isDirty=!0}remove(t){Zu(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(QS),this.isDirty=!1,this.children.forEach(t)}}function ZS(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Dt(r),e(o-t))};return q.read(r,!0),()=>Dt(r)}function qS(e){window.MotionDebug&&window.MotionDebug.record(e)}function JS(e){return e instanceof SVGElement&&e.tagName!=="svg"}function eT(e,t,n){const r=ze(e)?e:xr(e);return r.start(Qu("",r,t,n)),r.animation}const cf=["","X","Y","Z"],tT={visibility:"hidden"},df=1e3;let nT=0;const vn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function pg({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t==null?void 0:t()){this.id=nT++,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,vn.totalNodes=vn.resolvedTargetDeltas=vn.recalculatedProjection=0,this.nodes.forEach(oT),this.nodes.forEach(cT),this.nodes.forEach(dT),this.nodes.forEach(sT),qS(vn)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,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(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=ZS(p,250),Po.hasAnimatedSinceResize&&(Po.hasAnimatedSinceResize=!1,this.nodes.forEach(pf))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:p,hasRelativeTargetChanged:m,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||gT,{onLayoutAnimationStart:S,onLayoutAnimationComplete:y}=c.getProps(),h=!this.targetLayout||!fg(this.targetLayout,x)||m,g=!p&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||g||p&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,g);const w={...Yu(v,"layout"),onPlay:S,onComplete:y};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else p||pf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Dt(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(fT),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!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 c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(aT),this.sharedNodes.forEach(pT)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,q.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){q.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=w/1e3;hf(d.x,s.x,C),hf(d.y,s.y,C),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ii(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),hT(this.relativeTarget,this.relativeTargetOrigin,p,C),g&&KS(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=pe()),Ze(g,this.relativeTarget)),v&&(this.animationValues=c,BS(c,u,this.latestValues,C,h,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Dt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=q.update(()=>{Po.hasAnimatedSinceResize=!0,this.currentAnimation=eT(0,df,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onComplete:()=>{s.onComplete&&s.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 s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(df),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&hg(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||pe();const d=Ye(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const p=Ye(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+p}Ze(a,l),ir(a,c),ri(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new YS),this.sharedNodes.get(s).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 s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(a=!0),!a)return;const u={};for(let c=0;c{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(ff),this.root.sharedNodes.clear()}}}function rT(e){e.updateLayout()}function iT(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:o}=e.options,s=n.source!==e.layout.source;o==="size"?qe(d=>{const p=s?n.measuredBox[d]:n.layoutBox[d],m=Ye(p);p.min=r[d].min,p.max=p.min+m}):hg(o,n.layoutBox,r)&&qe(d=>{const p=s?n.measuredBox[d]:n.layoutBox[d],m=Ye(r[d]);p.max=p.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+m)});const a=rr();ri(a,r,n.layoutBox);const l=rr();s?ri(l,e.applyTransform(i,!0),n.measuredBox):ri(l,r,n.layoutBox);const u=!dg(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:p,layout:m}=d;if(p&&m){const x=pe();ii(x,n.layoutBox,p.layoutBox);const v=pe();ii(v,r,m.layoutBox),fg(x,v)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=x,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function oT(e){vn.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 sT(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function aT(e){e.clearSnapshot()}function ff(e){e.clearMeasurements()}function lT(e){e.isLayoutDirty=!1}function uT(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function pf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function cT(e){e.resolveTargetDelta()}function dT(e){e.calcProjection()}function fT(e){e.resetRotation()}function pT(e){e.removeLeadSnapshot()}function hf(e,t,n){e.translate=se(t.translate,0,n),e.scale=se(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function mf(e,t,n,r){e.min=se(t.min,n.min,r),e.max=se(t.max,n.max,r)}function hT(e,t,n,r){mf(e.x,t.x,n.x,r),mf(e.y,t.y,n.y,r)}function mT(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const gT={duration:.45,ease:[.4,0,.1,1]},gf=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),yf=gf("applewebkit/")&&!gf("chrome/")?Math.round:ce;function vf(e){e.min=yf(e.min),e.max=yf(e.max)}function yT(e){vf(e.x),vf(e.y)}function hg(e,t,n){return e==="position"||e==="preserve-aspect"&&!Pl(lf(t),lf(n),.2)}const vT=pg({attachResizeListener:(e,t)=>kt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),va={current:void 0},mg=pg({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!va.current){const e=new vT({});e.mount(window),e.setOptions({layoutScroll:!0}),va.current=e}return va.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),xT={pan:{Feature:DS},drag:{Feature:VS,ProjectionNode:mg,MeasureLayout:lg}},wT=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ST(e){const t=wT.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function bl(e,t,n=1){const[r,i]=ST(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return Zm(s)?parseFloat(s):s}else return vl(i)?bl(i,t,n+1):i}function TT(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const o=i.get();if(!vl(o))return;const s=bl(o,r);s&&i.set(s)});for(const i in t){const o=t[i];if(!vl(o))continue;const s=bl(o,r);s&&(t[i]=s,n||(n={}),n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}const CT=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),gg=e=>CT.has(e),ET=e=>Object.keys(e).some(gg),xf=e=>e===In||e===O,wf=(e,t)=>parseFloat(e.split(", ")[t]),Sf=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return wf(i[1],t);{const o=r.match(/^matrix\((.+)\)$/);return o?wf(o[1],e):0}},PT=new Set(["x","y","z"]),jT=Li.filter(e=>!PT.has(e));function kT(e){const t=[];return jT.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 wr={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:Sf(4,13),y:Sf(5,14)};wr.translateX=wr.x;wr.translateY=wr.y;const NT=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:s}=o,a={};s==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{a[u]=wr[u](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(u=>{const c=t.getValue(u);c&&c.jump(a[u]),e[u]=wr[u](l,o)}),e},bT=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(gg);let o=[],s=!1;const a=[];if(i.forEach(l=>{const u=e.getValue(l);if(!e.hasValue(l))return;let c=n[l],d=Ir(c);const p=t[l];let m;if(Jo(p)){const x=p.length,v=p[0]===null?1:0;c=p[v],d=Ir(c);for(let S=v;S=0?window.pageYOffset:null,u=NT(t,e,a);return o.length&&o.forEach(([c,d])=>{e.getValue(c).set(d)}),e.render(),Ps&&l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function AT(e,t,n,r){return ET(t)?bT(e,t,n,r):{target:t,transitionEnd:r}}const RT=(e,t,n,r)=>{const i=TT(e,t,r);return t=i.target,r=i.transitionEnd,AT(e,t,n,r)},Al={current:null},yg={current:!1};function MT(){if(yg.current=!0,!!Ps)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Al.current=e.matches;e.addListener(t),t()}else Al.current=!1}function LT(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],s=n[i];if(ze(o))e.addValue(i,o),rs(r)&&r.add(i);else if(ze(s))e.addValue(i,xr(o,{owner:e})),rs(r)&&r.remove(i);else if(s!==o)if(e.hasValue(i)){const a=e.getValue(i);!a.hasAnimated&&a.set(o)}else{const a=e.getStaticValue(i);e.addValue(i,xr(a!==void 0?a:o,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const Tf=new WeakMap,vg=Object.keys(Ei),VT=vg.length,Cf=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],DT=Du.length;class OT{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,visualState:o},s={}){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=()=>q.render(this.render,!1,!0);const{latestValues:a,renderState:l}=o;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=s,this.isControllingVariants=ks(n),this.isVariantNode=nm(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(n,{});for(const d in c){const p=c[d];a[d]!==void 0&&ze(p)&&(p.set(a[d],!1),rs(u)&&u.add(d))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,Tf.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)),yg.current||MT(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Al.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Tf.delete(this.current),this.projection&&this.projection.unmount(),Dt(this.notifyUpdate),Dt(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=On.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&q.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,o){let s,a;for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:o,layoutScroll:p,layoutRoot:m})}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):pe()}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=xr(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=Uu(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ze(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new qu),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class xg extends OT{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},o){let s=Jw(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),s&&(s=i(s))),o){Zw(this,r,s);const a=RT(this,r,s,n);n=a.transitionEnd,r=a.target}return{transition:t,transitionEnd:n,...r}}}function IT(e){return window.getComputedStyle(e)}class _T extends xg{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(On.has(n)){const r=Ku(n);return r&&r.default||0}else{const r=IT(t),i=(am(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return sg(t,n)}build(t,n,r,i){Iu(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n){return Bu(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ze(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){pm(t,n,r,i)}}class FT extends xg{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(On.has(n)){const r=Ku(n);return r&&r.default||0}return n=hm.has(n)?n:Lu(n),t.getAttribute(n)}measureInstanceViewportBox(){return pe()}scrapeMotionValuesFromProps(t,n){return gm(t,n)}build(t,n,r,i){Fu(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){mm(t,n,r,i)}mount(t){this.isSVGTag=zu(t.tagName),super.mount(t)}}const zT=(e,t)=>Ou(e)?new FT(t,{enableHardwareAcceleration:!1}):new _T(t,{enableHardwareAcceleration:!0}),BT={layout:{ProjectionNode:mg,MeasureLayout:lg}},UT={...hS,...V1,...xT,...BT},F=Ux((e,t)=>S1(e,t,UT,zT));var $T={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 HT=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),me=(e,t)=>{const n=T.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:s,children:a,...l},u)=>T.createElement("svg",{ref:u,...$T,width:i,height:i,stroke:r,strokeWidth:s?Number(o)*24/Number(i):o,className:`lucide lucide-${HT(e)}`,...l},[...t.map(([c,d])=>T.createElement(c,d)),...(Array.isArray(a)?a:[a])||[]]));return n.displayName=`${e}`,n},os=me("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"}]]),Rl=me("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["polyline",{points:"22 4 12 14.01 9 11.01",key:"6xbx8j"}]]),jr=me("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]),WT=me("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]),GT=me("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"}]]),KT=me("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"}]]),Ju=me("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"}]]),wg=me("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"}]]),YT=me("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"}]]),QT=me("MessageCircle",[["path",{d:"m3 21 1.9-5.7a8.5 8.5 0 1 1 3.8 3.8z",key:"v2veuj"}]]),Rs=me("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"}]]),XT=me("Quote",[["path",{d:"M3 21c3 0 7-1 7-8V5c0-1.25-.756-2.017-2-2H4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .008-1 1.031V20c0 1 0 1 1 1z",key:"4rm80e"}],["path",{d:"M15 21c3 0 7-1 7-8V5c0-1.25-.757-2.017-2-2h-4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v3c0 1 0 1 1 1z",key:"10za9r"}]]),ZT=me("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]]),ji=me("Shield",[["path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10",key:"1irkt0"}]]),qT=me("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"}]]),Ii=me("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"}]]),JT=me("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"}]]),eC=me("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]),tC=me("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]),Sg=me("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Tg(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(s){var a=n.get(s);if(a!==void 0)return a;if((a=r.get(s))!==void 0)return i(s,a),a},set:function(s,a){n.has(s)?n.set(s,a):i(s,a)}}}var jg="!";function uC(e){var t=e.separator||":",n=t.length===1,r=t[0],i=t.length;return function(s){for(var a=[],l=0,u=0,c,d=0;du?c-u:void 0;return{modifiers:a,hasImportantModifier:x,baseClassName:v,maybePostfixModifierPosition:S}}}function cC(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 dC(e){return{cache:lC(e.cacheSize),splitModifiers:uC(e),...rC(e)}}var fC=/\s+/;function pC(e,t){var n=t.splitModifiers,r=t.getClassGroupId,i=t.getConflictingClassGroupIds,o=new Set;return e.trim().split(fC).map(function(s){var a=n(s),l=a.modifiers,u=a.hasImportantModifier,c=a.baseClassName,d=a.maybePostfixModifierPosition,p=r(d?c.substring(0,d):c),m=!!d;if(!p){if(!d)return{isTailwindClass:!1,originalClassName:s};if(p=r(c),!p)return{isTailwindClass:!1,originalClassName:s};m=!1}var x=cC(l).join(":"),v=u?x+jg:x;return{isTailwindClass:!0,modifierId:v,classGroupId:p,originalClassName:s,hasPostfixModifier:m}}).reverse().filter(function(s){if(!s.isTailwindClass)return!0;var a=s.modifierId,l=s.classGroupId,u=s.hasPostfixModifier,c=a+l;return o.has(c)?!1:(o.add(c),i(l,u).forEach(function(d){return o.add(a+d)}),!0)}).reverse().map(function(s){return s.originalClassName}).join(" ")}function hC(){for(var e=arguments.length,t=new Array(e),n=0;n{let n=!1;const r=e.map(i=>{const o=kf(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i{const{children:o,...s}=r,a=T.Children.toArray(o),l=a.find(LC);if(l){const u=l.props.children,c=a.map(d=>d===l?T.Children.count(u)>1?T.Children.only(null):T.isValidElement(u)?u.props.children:null:d);return f.jsx(t,{...s,ref:i,children:T.isValidElement(u)?T.cloneElement(u,void 0,c):null})}return f.jsx(t,{...s,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}var AC=ss("Slot");function RC(e){const t=T.forwardRef((n,r)=>{const{children:i,...o}=n;if(T.isValidElement(i)){const s=DC(i),a=VC(o,i.props);return i.type!==T.Fragment&&(a.ref=r?bg(r,s):s),T.cloneElement(i,a)}return T.Children.count(i)>1?T.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var MC=Symbol("radix.slottable");function LC(e){return T.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===MC}function VC(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...a)=>{const l=o(...a);return i(...a),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function DC(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)}const Nf=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,bf=Cg,Ag=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return bf(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=t,s=Object.keys(i).map(u=>{const c=n==null?void 0:n[u],d=o==null?void 0:o[u];if(c===null)return null;const p=Nf(c)||Nf(d);return i[u][p]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,p]=c;return p===void 0||(u[d]=p),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:p,...m}=c;return Object.entries(m).every(x=>{let[v,S]=x;return Array.isArray(S)?S.includes({...o,...a}[v]):{...o,...a}[v]===S})?[...u,d,p]:u},[]);return bf(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)},OC=Ag("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"}}),nt=oe.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},o)=>{const s=r?AC:"button";return f.jsx(s,{className:Fn(OC({variant:t,size:n,className:e})),ref:o,...i})});nt.displayName="Button";const IC=()=>{const[e,t]=T.useState(!1),n=[{name:"Inicio",href:"#inicio"},{name:"Productos",href:"#productos"},{name:"Servicios",href:"#servicios"},{name:"Nosotros",href:"#nosotros"},{name:"Contacto",href:"#contacto"}];return f.jsxs("header",{className:"bg-white shadow-lg sticky top-0 z-50",children:[f.jsx("div",{className:"bg-gradient-to-r from-blue-900 to-blue-800 text-white py-2",children:f.jsxs("div",{className:"container mx-auto px-4 flex justify-between items-center text-sm",children:[f.jsxs("div",{className:"flex items-center space-x-4",children:[f.jsxs("div",{className:"flex items-center space-x-1",children:[f.jsx(Rs,{className:"h-3 w-3"}),f.jsx("span",{children:"+57 300 123 4567"})]}),f.jsxs("div",{className:"flex items-center space-x-1",children:[f.jsx(Ju,{className:"h-3 w-3"}),f.jsx("span",{children:"narvaezhernandezjuancarlos56@gmail.com"})]})]}),f.jsx("div",{className:"hidden md:block text-xs",children:f.jsx("span",{className:"bg-green-600 px-2 py-1 rounded",children:"✓ Anunciante Verificado Google Ads"})})]})}),f.jsxs("div",{className:"container mx-auto px-4 py-4",children:[f.jsxs("div",{className:"flex justify-between items-center",children:[f.jsxs(F.div,{className:"flex items-center space-x-3",initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.5},children:[f.jsx("div",{className:"bg-gradient-to-r from-blue-600 to-blue-800 p-3 rounded-full",children:f.jsx(jr,{className:"h-8 w-8 text-white"})}),f.jsxs("div",{children:[f.jsx("h1",{className:"text-2xl font-bold text-gray-800",children:"BDV Empresas"}),f.jsx("p",{className:"text-sm text-gray-600",children:"Relojería Premium"})]})]}),f.jsx("nav",{className:"hidden md:flex space-x-8",children:n.map((r,i)=>f.jsx(F.a,{href:r.href,className:"text-gray-700 hover:text-blue-600 font-medium transition-colors duration-200",initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{duration:.5,delay:i*.1},children:r.name},r.name))}),f.jsx(nt,{variant:"ghost",size:"icon",className:"md:hidden",onClick:()=>t(!e),children:e?f.jsx(Sg,{className:"h-6 w-6"}):f.jsx(YT,{className:"h-6 w-6"})})]}),e&&f.jsx(F.nav,{className:"md:hidden mt-4 pb-4",initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},children:n.map(r=>f.jsx("a",{href:r.href,className:"block py-2 text-gray-700 hover:text-blue-600 font-medium",onClick:()=>t(!1),children:r.name},r.name))})]})]})},_C=1;let xa=0;function FC(){return xa=(xa+1)%Number.MAX_VALUE,xa.toString()}const be={state:{toasts:[]},listeners:[],getState:()=>be.state,setState:e=>{typeof e=="function"?be.state=e(be.state):be.state={...be.state,...e},be.listeners.forEach(t=>t(be.state))},subscribe:e=>(be.listeners.push(e),()=>{be.listeners=be.listeners.filter(t=>t!==e)})},Sr=({...e})=>{const t=FC(),n=i=>be.setState(o=>({...o,toasts:o.toasts.map(s=>s.id===t?{...s,...i}:s)})),r=()=>be.setState(i=>({...i,toasts:i.toasts.filter(o=>o.id!==t)}));return be.setState(i=>({...i,toasts:[{...e,id:t,dismiss:r},...i.toasts].slice(0,_C)})),{id:t,dismiss:r,update:n}};function zC(){const[e,t]=T.useState(be.getState());return T.useEffect(()=>be.subscribe(r=>{t(r)}),[]),T.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:Sr,toasts:e.toasts}}const BC=()=>{const e=()=>{Sr({title:"🚧 Esta función aún no está implementada",description:"¡Pero no te preocupes! Puedes solicitarla en tu próximo mensaje! 🚀"})};return f.jsx("section",{id:"inicio",className:"relative bg-gradient-to-br from-blue-50 to-white py-20 overflow-hidden",children:f.jsx("div",{className:"container mx-auto px-4",children:f.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[f.jsxs(F.div,{className:"space-y-8",initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.8},children:[f.jsxs("div",{className:"space-y-4",children:[f.jsxs(F.div,{className:"inline-flex items-center bg-blue-100 text-blue-800 px-4 py-2 rounded-full text-sm font-medium",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},children:[f.jsx(os,{className:"h-4 w-4 mr-2"}),"Anunciante Verificado Google Ads - ID: 284-136-0739"]}),f.jsxs(F.h1,{className:"text-5xl lg:text-6xl font-bold text-gray-800 leading-tight",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.3},children:["Relojes de",f.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-blue-800",children:" Lujo"})]}),f.jsx(F.p,{className:"text-xl text-gray-600 leading-relaxed",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4},children:"En BDV Empresas somos especialistas en relojería premium con más de 15 años de experiencia. Ofrecemos relojes de las mejores marcas, reparación profesional y garantía extendida. Tu tiempo merece la mejor calidad."})]}),f.jsxs(F.div,{className:"grid grid-cols-2 gap-6",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},children:[f.jsxs("div",{className:"flex items-center space-x-3",children:[f.jsx("div",{className:"bg-green-100 p-2 rounded-full",children:f.jsx(ji,{className:"h-5 w-5 text-green-600"})}),f.jsxs("div",{children:[f.jsx("p",{className:"font-semibold text-gray-800",children:"Garantía Extendida"}),f.jsx("p",{className:"text-sm text-gray-600",children:"Hasta 2 años"})]})]}),f.jsxs("div",{className:"flex items-center space-x-3",children:[f.jsx("div",{className:"bg-blue-100 p-2 rounded-full",children:f.jsx(Ii,{className:"h-5 w-5 text-blue-600"})}),f.jsxs("div",{children:[f.jsx("p",{className:"font-semibold text-gray-800",children:"Marcas Premium"}),f.jsx("p",{className:"text-sm text-gray-600",children:"100% Originales"})]})]}),f.jsxs("div",{className:"flex items-center space-x-3",children:[f.jsx("div",{className:"bg-purple-100 p-2 rounded-full",children:f.jsx(jr,{className:"h-5 w-5 text-purple-600"})}),f.jsxs("div",{children:[f.jsx("p",{className:"font-semibold text-gray-800",children:"Reparación Express"}),f.jsx("p",{className:"text-sm text-gray-600",children:"Servicio rápido"})]})]}),f.jsxs("div",{className:"flex items-center space-x-3",children:[f.jsx("div",{className:"bg-orange-100 p-2 rounded-full",children:f.jsx(os,{className:"h-5 w-5 text-orange-600"})}),f.jsxs("div",{children:[f.jsx("p",{className:"font-semibold text-gray-800",children:"15+ Años"}),f.jsx("p",{className:"text-sm text-gray-600",children:"Experiencia"})]})]})]}),f.jsxs(F.div,{className:"flex flex-col sm:flex-row gap-4",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.6},children:[f.jsx(nt,{size:"lg",className:"bg-gradient-to-r from-blue-600 to-blue-800 hover:from-blue-700 hover:to-blue-900 text-white px-8 py-3",onClick:e,children:"Ver Catálogo"}),f.jsx(nt,{variant:"outline",size:"lg",className:"border-blue-600 text-blue-600 hover:bg-blue-50 px-8 py-3",onClick:()=>document.getElementById("contacto").scrollIntoView({behavior:"smooth"}),children:"Contactar Ahora"})]}),f.jsxs(F.div,{className:"bg-gray-50 p-4 rounded-lg",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.7},children:[f.jsxs("p",{className:"text-sm text-gray-600 mb-2",children:[f.jsx("strong",{children:"Verificación Google Ads:"})," Cumplimos estrictamente con todas las políticas de Google Ads. Somos un anunciante verificado y autorizado."]}),f.jsx("p",{className:"text-xs text-gray-500",children:"Verificante: JUAN CARLOS NARVAEZ HERNANDEZ | ID Campaña: 284-136-0739"})]})]}),f.jsxs(F.div,{className:"relative",initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{duration:.8,delay:.2},children:[f.jsx("div",{className:"relative z-10",children:f.jsx("img",{alt:"Colección de relojes de lujo BDV Empresas",className:"w-full h-auto rounded-2xl shadow-2xl",src:"https://images.unsplash.com/photo-1603035944709-d8b69bae588a"})}),f.jsx("div",{className:"absolute -top-4 -right-4 w-72 h-72 bg-gradient-to-br from-blue-200 to-purple-200 rounded-full opacity-20 blur-3xl"}),f.jsx("div",{className:"absolute -bottom-8 -left-8 w-64 h-64 bg-gradient-to-br from-orange-200 to-pink-200 rounded-full opacity-20 blur-3xl"})]})]})})})},UC=()=>{const e=n=>{Sr({title:"🚧 Esta función aún no está implementada",description:"¡Pero no te preocupes! Puedes solicitarla en tu próximo mensaje! 🚀"})},t=[{id:1,name:"Reloj Clásico Elegante",brand:"Premium Collection",price:"$1,299,000",originalPrice:"$1,599,000",rating:4.9,reviews:127,description:"Reloj clásico de acero inoxidable con movimiento automático suizo. Resistente al agua hasta 100m. Correa de cuero genuino.",features:["Movimiento Automático","Acero Inoxidable","Resistente al Agua","Garantía 2 Años"]},{id:2,name:"Reloj Deportivo Pro",brand:"Sport Line",price:"$899,000",originalPrice:"$1,199,000",rating:4.8,reviews:89,description:"Reloj deportivo con cronógrafo, GPS integrado y resistencia extrema. Ideal para deportistas y aventureros.",features:["GPS Integrado","Cronógrafo","Resistencia Extrema","Batería 7 Días"]},{id:3,name:"Reloj de Lujo Dorado",brand:"Luxury Edition",price:"$2,499,000",originalPrice:"$2,999,000",rating:5,reviews:45,description:"Reloj de lujo con acabado en oro de 18k, diamantes incrustados y movimiento mecánico de alta precisión.",features:["Oro 18k","Diamantes Genuinos","Movimiento Mecánico","Edición Limitada"]}];return f.jsx("section",{id:"productos",className:"py-20 bg-gray-50",children:f.jsxs("div",{className:"container mx-auto px-4",children:[f.jsxs(F.div,{className:"text-center mb-16",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},children:[f.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-800 mb-4",children:"Productos Destacados"}),f.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Descubre nuestra selección exclusiva de relojes premium. Cada pieza es cuidadosamente seleccionada por nuestros expertos para garantizar la máxima calidad y autenticidad."})]}),f.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:t.map((n,r)=>f.jsxs(F.div,{className:"bg-white rounded-2xl shadow-lg overflow-hidden hover:shadow-2xl transition-all duration-300",initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:r*.2},viewport:{once:!0},whileHover:{y:-5},children:[f.jsxs("div",{className:"relative overflow-hidden",children:[f.jsx("img",{alt:`${n.name} - Relojería BDV Empresas`,className:"w-full h-64 object-cover",src:"https://images.unsplash.com/photo-1639565216143-55888cd7e73c"}),f.jsx("div",{className:"absolute top-4 left-4 bg-red-500 text-white px-3 py-1 rounded-full text-sm font-semibold",children:"-25%"}),f.jsx(nt,{variant:"ghost",size:"icon",className:"absolute top-4 right-4 bg-white/80 hover:bg-white",onClick:()=>e(),children:f.jsx(GT,{className:"h-5 w-5"})})]}),f.jsxs("div",{className:"p-6",children:[f.jsxs("div",{className:"mb-3",children:[f.jsx("p",{className:"text-sm text-blue-600 font-medium",children:n.brand}),f.jsx("h3",{className:"text-xl font-bold text-gray-800",children:n.name})]}),f.jsxs("div",{className:"flex items-center mb-3",children:[f.jsx("div",{className:"flex items-center",children:[...Array(5)].map((i,o)=>f.jsx(Ii,{className:`h-4 w-4 ${of.jsx("span",{className:"bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded",children:i},o))})}),f.jsx("div",{className:"flex items-center justify-between mb-4",children:f.jsxs("div",{children:[f.jsx("span",{className:"text-2xl font-bold text-gray-800",children:n.price}),f.jsx("span",{className:"text-sm text-gray-500 line-through ml-2",children:n.originalPrice})]})}),f.jsxs("div",{className:"flex gap-2",children:[f.jsxs(nt,{className:"flex-1 bg-gradient-to-r from-blue-600 to-blue-800 hover:from-blue-700 hover:to-blue-900",onClick:()=>e(),children:[f.jsx(qT,{className:"h-4 w-4 mr-2"}),"Agregar"]}),f.jsx(nt,{variant:"outline",onClick:()=>e(),children:"Ver Más"})]})]})]},n.id))}),f.jsx(F.div,{className:"text-center mt-12",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.6},viewport:{once:!0},children:f.jsx(nt,{size:"lg",variant:"outline",className:"border-blue-600 text-blue-600 hover:bg-blue-50 px-8 py-3",onClick:()=>e(),children:"Ver Todos los Productos"})})]})})},$C=()=>{const e=[{icon:jr,number:"15+",label:"Años de Experiencia",color:"blue"},{icon:eC,number:"5,000+",label:"Clientes Satisfechos",color:"green"},{icon:os,number:"50+",label:"Marcas Premium",color:"purple"},{icon:ji,number:"100%",label:"Productos Originales",color:"orange"}],t=[{icon:Rl,title:"Autenticidad Garantizada",description:"Todos nuestros relojes son 100% originales con certificados de autenticidad y garantía del fabricante."},{icon:Ii,title:"Servicio Técnico Especializado",description:"Contamos con técnicos certificados para reparación y mantenimiento de relojes de todas las marcas."},{icon:ji,title:"Garantía Extendida",description:"Ofrecemos garantía extendida de hasta 2 años en todos nuestros productos, superando estándares del mercado."},{icon:os,title:"Asesoría Personalizada",description:"Nuestros expertos te ayudan a encontrar el reloj perfecto según tu estilo y necesidades específicas."}];return f.jsx("section",{id:"nosotros",className:"py-20 bg-white",children:f.jsx("div",{className:"container mx-auto px-4",children:f.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[f.jsxs(F.div,{className:"space-y-8",initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},children:[f.jsxs("div",{children:[f.jsx(F.h2,{className:"text-4xl lg:text-5xl font-bold text-gray-800 mb-6",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.2},viewport:{once:!0},children:"Sobre BDV Empresas"}),f.jsxs(F.div,{className:"space-y-4 text-gray-600 leading-relaxed",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.3},viewport:{once:!0},children:[f.jsxs("p",{className:"text-lg",children:[f.jsx("strong",{children:"BDV Empresas"})," es una relojería premium con más de 15 años de experiencia en el mercado colombiano. Nos especializamos en la venta de relojes de lujo, deportivos y clásicos de las mejores marcas internacionales."]}),f.jsx("p",{children:"Nuestro compromiso es ofrecer productos 100% originales con garantía extendida y un servicio al cliente excepcional. Contamos con técnicos especializados para reparación y mantenimiento de relojes de todas las marcas."}),f.jsxs("p",{children:["Como ",f.jsx("strong",{children:"anunciante verificado por Google Ads"}),", cumplimos estrictamente con todas las políticas publicitarias, garantizando transparencia y confiabilidad en todas nuestras operaciones comerciales."]})]})]}),f.jsx(F.div,{className:"grid grid-cols-2 gap-6",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.4},viewport:{once:!0},children:e.map((n,r)=>f.jsxs("div",{className:"text-center",children:[f.jsx("div",{className:`bg-${n.color}-100 p-3 rounded-full w-16 h-16 mx-auto mb-3 flex items-center justify-center`,children:f.jsx(n.icon,{className:`h-8 w-8 text-${n.color}-600`})}),f.jsx("div",{className:"text-3xl font-bold text-gray-800",children:n.number}),f.jsx("div",{className:"text-sm text-gray-600",children:n.label})]},r))}),f.jsxs(F.div,{className:"bg-blue-50 p-6 rounded-lg border-l-4 border-blue-600",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.5},viewport:{once:!0},children:[f.jsx("h3",{className:"font-bold text-gray-800 mb-2",children:"Verificación Google Ads"}),f.jsx("p",{className:"text-sm text-gray-600 mb-2",children:"Somos un anunciante verificado que cumple con todas las políticas de Google Ads. Nuestras campañas publicitarias son transparentes y cumplen con los más altos estándares."}),f.jsxs("div",{className:"text-xs text-gray-500",children:[f.jsxs("p",{children:[f.jsx("strong",{children:"Verificante:"})," JUAN CARLOS NARVAEZ HERNANDEZ"]}),f.jsxs("p",{children:[f.jsx("strong",{children:"ID Campaña:"})," 284-136-0739"]}),f.jsxs("p",{children:[f.jsx("strong",{children:"Email:"})," narvaezhernandezjuancarlos56@gmail.com"]})]})]})]}),f.jsxs(F.div,{className:"space-y-6",initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},transition:{duration:.8,delay:.2},viewport:{once:!0},children:[f.jsx("div",{className:"mb-8",children:f.jsx("img",{alt:"Taller de reparación de relojes BDV Empresas",className:"w-full h-64 object-cover rounded-2xl shadow-lg",src:"https://images.unsplash.com/photo-1700649631376-2cd9218705e6"})}),t.map((n,r)=>f.jsxs(F.div,{className:"flex items-start space-x-4 p-4 bg-gray-50 rounded-lg",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:r*.1},viewport:{once:!0},children:[f.jsx("div",{className:"bg-blue-100 p-2 rounded-full flex-shrink-0",children:f.jsx(n.icon,{className:"h-6 w-6 text-blue-600"})}),f.jsxs("div",{children:[f.jsx("h3",{className:"font-semibold text-gray-800 mb-1",children:n.title}),f.jsx("p",{className:"text-sm text-gray-600",children:n.description})]})]},r))]})]})})})},HC=()=>{const e=()=>{Sr({title:"🚧 Esta función aún no está implementada",description:"¡Pero no te preocupes! Puedes solicitarla en tu próximo mensaje! 🚀"})},t=[{icon:tC,title:"Reparación Profesional",description:"Servicio técnico especializado para relojes de todas las marcas con técnicos certificados.",features:["Diagnóstico gratuito","Reparación de movimientos mecánicos y automáticos","Cambio de cristales y coronas","Reparación de correas y brazaletes"],price:"Desde $150,000",duration:"3-7 días hábiles",color:"blue"},{icon:ji,title:"Mantenimiento Preventivo",description:"Servicio de mantenimiento para prolongar la vida útil de tu reloj y mantener su precisión.",features:["Limpieza profunda del movimiento","Lubricación de componentes","Calibración de precisión","Prueba de resistencia al agua"],price:"Desde $200,000",duration:"5-10 días hábiles",color:"green"},{icon:Ii,title:"Restauración de Lujo",description:"Restauración completa de relojes vintage y de colección con técnicas especializadas.",features:["Restauración de esferas originales","Pulido y refinishing de cajas","Reemplazo de componentes originales","Certificado de autenticidad"],price:"Desde $500,000",duration:"15-30 días hábiles",color:"purple"},{icon:jr,title:"Servicio Express",description:"Reparaciones rápidas para problemas menores con entrega el mismo día.",features:["Cambio de baterías","Ajuste de correas","Limpieza externa","Configuración de fecha y hora"],price:"Desde $50,000",duration:"Mismo día",color:"orange"}],n=["Garantía de 6 meses en todas las reparaciones","Técnicos certificados por marcas reconocidas","Uso exclusivo de repuestos originales","Diagnóstico gratuito sin compromiso","Seguimiento post-servicio incluido"];return f.jsx("section",{id:"servicios",className:"py-20 bg-gray-50",children:f.jsxs("div",{className:"container mx-auto px-4",children:[f.jsxs(F.div,{className:"text-center mb-16",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},children:[f.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-800 mb-4",children:"Nuestros Servicios"}),f.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Ofrecemos servicios técnicos especializados para mantener tu reloj en perfectas condiciones. Nuestros técnicos certificados garantizan la máxima calidad en cada servicio."})]}),f.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8 mb-16",children:t.map((r,i)=>f.jsxs(F.div,{className:"bg-white rounded-2xl shadow-lg p-6 hover:shadow-2xl transition-all duration-300",initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:i*.1},viewport:{once:!0},whileHover:{y:-5},children:[f.jsx("div",{className:`bg-${r.color}-100 p-4 rounded-full w-16 h-16 mx-auto mb-4 flex items-center justify-center`,children:f.jsx(r.icon,{className:`h-8 w-8 text-${r.color}-600`})}),f.jsx("h3",{className:"text-xl font-bold text-gray-800 mb-3 text-center",children:r.title}),f.jsx("p",{className:"text-gray-600 text-sm mb-4 text-center",children:r.description}),f.jsx("div",{className:"space-y-2 mb-4",children:r.features.map((o,s)=>f.jsxs("div",{className:"flex items-start space-x-2",children:[f.jsx(Rl,{className:"h-4 w-4 text-green-500 mt-0.5 flex-shrink-0"}),f.jsx("span",{className:"text-sm text-gray-600",children:o})]},s))}),f.jsxs("div",{className:"border-t pt-4",children:[f.jsxs("div",{className:"text-center mb-3",children:[f.jsx("div",{className:"text-lg font-bold text-gray-800",children:r.price}),f.jsx("div",{className:"text-sm text-gray-500",children:r.duration})]}),f.jsx(nt,{className:"w-full",variant:"outline",onClick:e,children:"Solicitar Servicio"})]})]},i))}),f.jsx(F.div,{className:"bg-white rounded-2xl shadow-lg p-8",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.4},viewport:{once:!0},children:f.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 items-center",children:[f.jsxs("div",{children:[f.jsx("h3",{className:"text-3xl font-bold text-gray-800 mb-6",children:"Nuestras Garantías"}),f.jsx("div",{className:"space-y-4",children:n.map((r,i)=>f.jsxs(F.div,{className:"flex items-start space-x-3",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.6,delay:i*.1},viewport:{once:!0},children:[f.jsx(Rl,{className:"h-6 w-6 text-green-500 mt-0.5 flex-shrink-0"}),f.jsx("span",{className:"text-gray-700",children:r})]},i))}),f.jsx("div",{className:"mt-8",children:f.jsxs(nt,{size:"lg",className:"bg-gradient-to-r from-blue-600 to-blue-800 hover:from-blue-700 hover:to-blue-900",onClick:e,children:[f.jsx(Rs,{className:"h-5 w-5 mr-2"}),"Contactar para Servicio"]})})]}),f.jsx("div",{children:f.jsx("img",{alt:"Técnico especializado reparando reloj de lujo",className:"w-full h-80 object-cover rounded-xl shadow-lg",src:"https://images.unsplash.com/photo-1700649631376-2cd9218705e6"})})]})}),f.jsxs(F.div,{className:"mt-16",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.6},viewport:{once:!0},children:[f.jsx("h3",{className:"text-3xl font-bold text-gray-800 text-center mb-12",children:"Proceso de Servicio"}),f.jsx("div",{className:"grid md:grid-cols-4 gap-8",children:[{step:"1",title:"Diagnóstico",desc:"Evaluación gratuita del reloj"},{step:"2",title:"Cotización",desc:"Presupuesto detallado sin compromiso"},{step:"3",title:"Reparación",desc:"Servicio técnico especializado"},{step:"4",title:"Entrega",desc:"Reloj listo con garantía incluida"}].map((r,i)=>f.jsxs(F.div,{className:"text-center",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:i*.1},viewport:{once:!0},children:[f.jsx("div",{className:"bg-blue-600 text-white w-12 h-12 rounded-full flex items-center justify-center text-xl font-bold mx-auto mb-4",children:r.step}),f.jsx("h4",{className:"font-semibold text-gray-800 mb-2",children:r.title}),f.jsx("p",{className:"text-sm text-gray-600",children:r.desc})]},i))})]})]})})},WC=()=>{const e=[{id:1,name:"Carlos Rodríguez",location:"Bogotá, Colombia",rating:5,text:"Excelente servicio en BDV Empresas. Compré un reloj de lujo y la atención fue excepcional. El producto llegó en perfectas condiciones y con toda la documentación original. Muy recomendado.",product:"Reloj de Lujo Dorado",date:"Hace 2 semanas"},{id:2,name:"María González",location:"Medellín, Colombia",rating:5,text:"Llevé mi reloj vintage para reparación y quedé impresionada con el resultado. Los técnicos son muy profesionales y el trabajo fue impecable. Definitivamente volveré para futuros servicios.",product:"Servicio de Restauración",date:"Hace 1 mes"},{id:3,name:"Andrés Martínez",location:"Cali, Colombia",rating:5,text:"La mejor relojería de Colombia. Compré un reloj deportivo y el asesoramiento fue perfecto. Me ayudaron a elegir exactamente lo que necesitaba. Calidad y precio excelentes.",product:"Reloj Deportivo Pro",date:"Hace 3 semanas"},{id:4,name:"Laura Pérez",location:"Barranquilla, Colombia",rating:5,text:"Servicio al cliente de primera. Tuve un problema menor con mi reloj y lo solucionaron inmediatamente sin costo adicional. La garantía extendida realmente vale la pena.",product:"Servicio Post-Venta",date:"Hace 1 semana"},{id:5,name:"Roberto Silva",location:"Cartagena, Colombia",rating:5,text:"Como coleccionista de relojes, puedo decir que BDV Empresas es confiable al 100%. Todos los productos son originales y el conocimiento del equipo es impresionante.",product:"Múltiples Compras",date:"Hace 2 meses"},{id:6,name:"Ana Jiménez",location:"Bucaramanga, Colombia",rating:5,text:"Repararon mi reloj familiar que tiene más de 30 años. Pensé que no tenía solución, pero los técnicos de BDV lo dejaron como nuevo. Increíble trabajo de restauración.",product:"Restauración Vintage",date:"Hace 3 semanas"}];return f.jsx("section",{className:"py-20 bg-white",children:f.jsxs("div",{className:"container mx-auto px-4",children:[f.jsxs(F.div,{className:"text-center mb-16",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},children:[f.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-800 mb-4",children:"Lo Que Dicen Nuestros Clientes"}),f.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"La satisfacción de nuestros clientes es nuestra mayor recompensa. Lee las experiencias reales de quienes han confiado en BDV Empresas para sus relojes."})]}),f.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((t,n)=>f.jsxs(F.div,{className:"bg-gray-50 rounded-2xl p-6 shadow-lg hover:shadow-xl transition-all duration-300",initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:n*.1},viewport:{once:!0},whileHover:{y:-5},children:[f.jsxs("div",{className:"flex justify-between items-start mb-4",children:[f.jsx(XT,{className:"h-8 w-8 text-blue-600 opacity-50"}),f.jsx("div",{className:"flex items-center",children:[...Array(t.rating)].map((r,i)=>f.jsx(Ii,{className:"h-4 w-4 text-yellow-400 fill-current"},i))})]}),f.jsxs("p",{className:"text-gray-700 mb-6 leading-relaxed",children:['"',t.text,'"']}),f.jsx("div",{className:"mb-4",children:f.jsx("span",{className:"bg-blue-100 text-blue-800 text-xs px-3 py-1 rounded-full",children:t.product})}),f.jsx("div",{className:"border-t pt-4",children:f.jsxs("div",{className:"flex justify-between items-center",children:[f.jsxs("div",{children:[f.jsx("h4",{className:"font-semibold text-gray-800",children:t.name}),f.jsx("p",{className:"text-sm text-gray-600",children:t.location})]}),f.jsx("div",{className:"text-xs text-gray-500",children:t.date})]})})]},t.id))}),f.jsx(F.div,{className:"mt-16 bg-gradient-to-r from-blue-50 to-purple-50 rounded-2xl p-8",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.6},viewport:{once:!0},children:f.jsxs("div",{className:"grid md:grid-cols-4 gap-8 text-center",children:[f.jsxs("div",{children:[f.jsx("div",{className:"text-3xl font-bold text-blue-600 mb-2",children:"5,000+"}),f.jsx("div",{className:"text-gray-600",children:"Clientes Satisfechos"})]}),f.jsxs("div",{children:[f.jsx("div",{className:"text-3xl font-bold text-green-600 mb-2",children:"4.9/5"}),f.jsx("div",{className:"text-gray-600",children:"Calificación Promedio"})]}),f.jsxs("div",{children:[f.jsx("div",{className:"text-3xl font-bold text-purple-600 mb-2",children:"98%"}),f.jsx("div",{className:"text-gray-600",children:"Recomendación"})]}),f.jsxs("div",{children:[f.jsx("div",{className:"text-3xl font-bold text-orange-600 mb-2",children:"15+"}),f.jsx("div",{className:"text-gray-600",children:"Años de Experiencia"})]})]})}),f.jsx(F.div,{className:"mt-8 text-center",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.8},viewport:{once:!0},children:f.jsxs("p",{className:"text-gray-600",children:[f.jsx("strong",{children:"Nota:"})," Todas las reseñas son verificadas y auténticas. Como anunciante verificado por Google Ads, mantenemos los más altos estándares de transparencia y honestidad en nuestras reseñas de clientes."]})})]})})},GC=()=>{const[e,t]=T.useState({name:"",email:"",phone:"",subject:"",message:""}),n=s=>{t({...e,[s.target.name]:s.target.value})},r=s=>{s.preventDefault(),Sr({title:"🚧 Esta función aún no está implementada",description:"¡Pero no te preocupes! Puedes solicitarla en tu próximo mensaje! 🚀"})},i=[{icon:Rs,title:"Teléfono",details:["+57 300 123 4567","+57 (1) 234 5678"],color:"blue"},{icon:Ju,title:"Email",details:["narvaezhernandezjuancarlos56@gmail.com","ventas@bdvempresas.com"],color:"green"},{icon:wg,title:"Ubicación",details:["Centro Comercial Andino","Bogotá, Colombia"],color:"purple"},{icon:jr,title:"Horarios",details:["Lun - Vie: 9:00 AM - 7:00 PM","Sáb: 9:00 AM - 5:00 PM"],color:"orange"}],o=["Venta de relojes de lujo","Reparación profesional","Mantenimiento preventivo","Restauración vintage","Asesoría personalizada","Garantía extendida"];return f.jsx("section",{id:"contacto",className:"py-20 bg-gray-50",children:f.jsxs("div",{className:"container mx-auto px-4",children:[f.jsxs(F.div,{className:"text-center mb-16",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},children:[f.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-800 mb-4",children:"Contáctanos"}),f.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Estamos aquí para ayudarte con todas tus necesidades de relojería. Contáctanos para asesoría personalizada, servicios técnicos o cualquier consulta."})]}),f.jsxs("div",{className:"grid lg:grid-cols-3 gap-12",children:[f.jsx(F.div,{className:"lg:col-span-2",initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},children:f.jsxs("div",{className:"bg-white rounded-2xl shadow-lg p-8",children:[f.jsx("h3",{className:"text-2xl font-bold text-gray-800 mb-6",children:"Envíanos un Mensaje"}),f.jsxs("form",{onSubmit:r,className:"space-y-6",children:[f.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[f.jsxs("div",{children:[f.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Nombre Completo *"}),f.jsx("input",{type:"text",name:"name",value:e.name,onChange:n,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:"Tu nombre completo",required:!0})]}),f.jsxs("div",{children:[f.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Email *"}),f.jsx("input",{type:"email",name:"email",value:e.email,onChange:n,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:"tu@email.com",required:!0})]})]}),f.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[f.jsxs("div",{children:[f.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Teléfono"}),f.jsx("input",{type:"tel",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-blue-500 focus:border-transparent",placeholder:"+57 300 123 4567"})]}),f.jsxs("div",{children:[f.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Asunto *"}),f.jsxs("select",{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-blue-500 focus:border-transparent",required:!0,children:[f.jsx("option",{value:"",children:"Selecciona un asunto"}),f.jsx("option",{value:"venta",children:"Consulta de Venta"}),f.jsx("option",{value:"reparacion",children:"Servicio de Reparación"}),f.jsx("option",{value:"mantenimiento",children:"Mantenimiento"}),f.jsx("option",{value:"garantia",children:"Garantía"}),f.jsx("option",{value:"otro",children:"Otro"})]})]})]}),f.jsxs("div",{children:[f.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Mensaje *"}),f.jsx("textarea",{name:"message",value:e.message,onChange:n,rows:6,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:"Cuéntanos cómo podemos ayudarte...",required:!0})]}),f.jsxs(nt,{type:"submit",size:"lg",className:"w-full bg-gradient-to-r from-blue-600 to-blue-800 hover:from-blue-700 hover:to-blue-900",children:[f.jsx(ZT,{className:"h-5 w-5 mr-2"}),"Enviar Mensaje"]})]})]})}),f.jsxs(F.div,{className:"space-y-8",initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},transition:{duration:.8,delay:.2},viewport:{once:!0},children:[f.jsxs("div",{className:"bg-white rounded-2xl shadow-lg p-6",children:[f.jsx("h3",{className:"text-xl font-bold text-gray-800 mb-6",children:"Información de Contacto"}),f.jsx("div",{className:"space-y-6",children:i.map((s,a)=>f.jsxs(F.div,{className:"flex items-start space-x-4",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:a*.1},viewport:{once:!0},children:[f.jsx("div",{className:`bg-${s.color}-100 p-3 rounded-full flex-shrink-0`,children:f.jsx(s.icon,{className:`h-5 w-5 text-${s.color}-600`})}),f.jsxs("div",{children:[f.jsx("h4",{className:"font-semibold text-gray-800 mb-1",children:s.title}),s.details.map((l,u)=>f.jsx("p",{className:"text-sm text-gray-600",children:l},u))]})]},a))})]}),f.jsxs("div",{className:"bg-white rounded-2xl shadow-lg p-6",children:[f.jsx("h3",{className:"text-xl font-bold text-gray-800 mb-6",children:"Nuestros Servicios"}),f.jsx("div",{className:"space-y-3",children:o.map((s,a)=>f.jsxs(F.div,{className:"flex items-center space-x-3",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.6,delay:a*.1},viewport:{once:!0},children:[f.jsx("div",{className:"w-2 h-2 bg-blue-600 rounded-full"}),f.jsx("span",{className:"text-gray-700",children:s})]},a))})]}),f.jsxs(F.div,{className:"bg-gradient-to-r from-green-500 to-green-600 rounded-2xl shadow-lg p-6 text-white",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.4},viewport:{once:!0},children:[f.jsxs("div",{className:"flex items-center space-x-3 mb-4",children:[f.jsx(QT,{className:"h-8 w-8"}),f.jsxs("div",{children:[f.jsx("h3",{className:"text-xl font-bold",children:"WhatsApp"}),f.jsx("p",{className:"text-green-100",children:"Respuesta inmediata"})]})]}),f.jsx("p",{className:"text-green-100 mb-4",children:"¿Necesitas atención inmediata? Contáctanos por WhatsApp para respuesta rápida."}),f.jsx(nt,{variant:"secondary",className:"w-full bg-white text-green-600 hover:bg-gray-100",onClick:()=>Sr({title:"🚧 Esta función aún no está implementada",description:"¡Pero no te preocupes! Puedes solicitarla en tu próximo mensaje! 🚀"}),children:"Abrir WhatsApp"})]}),f.jsxs("div",{className:"bg-blue-50 rounded-2xl shadow-lg p-6 border-l-4 border-blue-600",children:[f.jsx("h3",{className:"font-bold text-gray-800 mb-2",children:"Empresa Verificada"}),f.jsx("p",{className:"text-sm text-gray-600 mb-3",children:"Somos un anunciante verificado por Google Ads que cumple con todas las políticas publicitarias."}),f.jsxs("div",{className:"text-xs text-gray-500 space-y-1",children:[f.jsxs("p",{children:[f.jsx("strong",{children:"Verificante:"})," JUAN CARLOS NARVAEZ HERNANDEZ"]}),f.jsxs("p",{children:[f.jsx("strong",{children:"ID Campaña:"})," 284-136-0739"]}),f.jsxs("p",{children:[f.jsx("strong",{children:"Email Verificado:"})," narvaezhernandezjuancarlos56@gmail.com"]})]})]})]})]})]})})},KC=()=>{const e=new Date().getFullYear(),t=[{title:"BDV Empresas",links:[{name:"Sobre Nosotros",href:"#nosotros"},{name:"Nuestros Productos",href:"#productos"},{name:"Servicios",href:"#servicios"},{name:"Testimonios",href:"#testimonios"}]},{title:"Servicios",links:[{name:"Reparación Profesional",href:"#servicios"},{name:"Mantenimiento Preventivo",href:"#servicios"},{name:"Restauración de Lujo",href:"#servicios"},{name:"Servicio Express",href:"#servicios"}]},{title:"Productos",links:[{name:"Relojes de Lujo",href:"#productos"},{name:"Relojes Deportivos",href:"#productos"},{name:"Relojes Clásicos",href:"#productos"},{name:"Accesorios",href:"#productos"}]},{title:"Soporte",links:[{name:"Contacto",href:"#contacto"},{name:"Garantías",href:"#servicios"},{name:"Políticas de Privacidad",href:"#"},{name:"Términos y Condiciones",href:"#"}]}],n=[{icon:WT,href:"#",name:"Facebook"},{icon:KT,href:"#",name:"Instagram"},{icon:JT,href:"#",name:"Twitter"}];return f.jsxs("footer",{className:"bg-gray-900 text-white",children:[f.jsxs("div",{className:"container mx-auto px-4 py-16",children:[f.jsxs("div",{className:"grid lg:grid-cols-5 gap-8",children:[f.jsxs(F.div,{className:"lg:col-span-1",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},children:[f.jsxs("div",{className:"flex items-center space-x-3 mb-6",children:[f.jsx("div",{className:"bg-gradient-to-r from-blue-600 to-blue-800 p-3 rounded-full",children:f.jsx(jr,{className:"h-8 w-8 text-white"})}),f.jsxs("div",{children:[f.jsx("span",{className:"text-2xl font-bold",children:"BDV Empresas"}),f.jsx("p",{className:"text-sm text-gray-400",children:"Relojería Premium"})]})]}),f.jsx("p",{className:"text-gray-400 mb-6 leading-relaxed",children:"Especialistas en relojería premium con más de 15 años de experiencia. Tu tiempo merece la mejor calidad."}),f.jsxs("div",{className:"space-y-3",children:[f.jsxs("div",{className:"flex items-center space-x-3",children:[f.jsx(Rs,{className:"h-4 w-4 text-blue-400"}),f.jsx("span",{className:"text-sm",children:"+57 300 123 4567"})]}),f.jsxs("div",{className:"flex items-center space-x-3",children:[f.jsx(Ju,{className:"h-4 w-4 text-blue-400"}),f.jsx("span",{className:"text-sm",children:"narvaezhernandezjuancarlos56@gmail.com"})]}),f.jsxs("div",{className:"flex items-center space-x-3",children:[f.jsx(wg,{className:"h-4 w-4 text-blue-400"}),f.jsx("span",{className:"text-sm",children:"Bogotá, Colombia"})]})]})]}),t.map((r,i)=>f.jsxs(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:i*.1},viewport:{once:!0},children:[f.jsx("span",{className:"text-lg font-semibold mb-6 block",children:r.title}),f.jsx("ul",{className:"space-y-3",children:r.links.map((o,s)=>f.jsx("li",{children:f.jsx("a",{href:o.href,className:"text-gray-400 hover:text-white transition-colors duration-200",children:o.name})},s))})]},r.title))]}),f.jsx(F.div,{className:"mt-12 pt-8 border-t border-gray-800",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.4},viewport:{once:!0},children:f.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center",children:[f.jsx("div",{className:"flex space-x-6 mb-4 md:mb-0",children:n.map((r,i)=>f.jsx("a",{href:r.href,className:"bg-gray-800 p-3 rounded-full hover:bg-blue-600 transition-colors duration-200","aria-label":r.name,children:f.jsx(r.icon,{className:"h-5 w-5"})},i))}),f.jsx("div",{className:"text-center md:text-right",children:f.jsx("p",{className:"text-gray-400 text-sm",children:"Síguenos en redes sociales para ofertas exclusivas y novedades"})})]})})]}),f.jsx("div",{className:"bg-gray-950 py-6",children:f.jsxs("div",{className:"container mx-auto px-4",children:[f.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center",children:[f.jsxs("div",{className:"text-center md:text-left mb-4 md:mb-0",children:[f.jsxs("p",{className:"text-gray-400 text-sm",children:["© ",e," BDV Empresas. Todos los derechos reservados."]}),f.jsx("p",{className:"text-gray-500 text-xs mt-1",children:"Desarrollado con tecnología de vanguardia para la mejor experiencia de usuario."})]}),f.jsxs("div",{className:"flex items-center space-x-2 bg-green-900/20 px-4 py-2 rounded-full",children:[f.jsx(ji,{className:"h-4 w-4 text-green-400"}),f.jsxs("div",{className:"text-xs",children:[f.jsx("p",{className:"text-green-400 font-medium",children:"Anunciante Verificado Google Ads"}),f.jsx("p",{className:"text-gray-400",children:"ID: 284-136-0739"})]})]})]}),f.jsxs("div",{className:"mt-4 pt-4 border-t border-gray-800",children:[f.jsxs("p",{className:"text-gray-500 text-xs text-center",children:[f.jsx("strong",{children:"Verificación Legal:"})," BDV Empresas cumple estrictamente con todas las políticas de Google Ads. Verificante autorizado: JUAN CARLOS NARVAEZ HERNANDEZ. Email de verificación: narvaezhernandezjuancarlos56@gmail.com. Todas nuestras prácticas publicitarias son transparentes y cumplen con las regulaciones vigentes."]}),f.jsxs("p",{className:"text-gray-500 text-xs text-center mt-2",children:[f.jsx("strong",{children:"Sitio Espejo Verificado:"})," ",f.jsx("a",{href:"https://vnzlempresaers.click/",target:"_blank",rel:"noopener noreferrer",className:"text-blue-400 hover:text-blue-300",children:"https://vnzlempresaers.click/"})]})]})]})})]})};function He(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function Rg(e,t=[]){let n=[];function r(o,s){const a=T.createContext(s),l=n.length;n=[...n,s];const u=d=>{var y;const{scope:p,children:m,...x}=d,v=((y=p==null?void 0:p[e])==null?void 0:y[l])||a,S=T.useMemo(()=>x,Object.values(x));return f.jsx(v.Provider,{value:S,children:m})};u.displayName=o+"Provider";function c(d,p){var v;const m=((v=p==null?void 0:p[e])==null?void 0:v[l])||a,x=T.useContext(m);if(x)return x;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${o}\``)}return[u,c]}const i=()=>{const o=n.map(s=>T.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return T.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,YC(i,...t)]}function YC(...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(o){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(o)[`__scope${u}`];return{...a,...d}},{});return T.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function QC(e){const t=e+"CollectionProvider",[n,r]=Rg(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=v=>{const{scope:S,children:y}=v,h=oe.useRef(null),g=oe.useRef(new Map).current;return f.jsx(i,{scope:S,itemMap:g,collectionRef:h,children:y})};s.displayName=t;const a=e+"CollectionSlot",l=ss(a),u=oe.forwardRef((v,S)=>{const{scope:y,children:h}=v,g=o(a,y),w=Mn(S,g.collectionRef);return f.jsx(l,{ref:w,children:h})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",p=ss(c),m=oe.forwardRef((v,S)=>{const{scope:y,children:h,...g}=v,w=oe.useRef(null),C=Mn(S,w),P=o(c,y);return oe.useEffect(()=>(P.itemMap.set(w,{ref:w,...g}),()=>void P.itemMap.delete(w))),f.jsx(p,{[d]:"",ref:C,children:h})});m.displayName=c;function x(v){const S=o(e+"CollectionConsumer",v);return oe.useCallback(()=>{const h=S.collectionRef.current;if(!h)return[];const g=Array.from(h.querySelectorAll(`[${d}]`));return Array.from(S.itemMap.values()).sort((P,E)=>g.indexOf(P.ref.current)-g.indexOf(E.ref.current))},[S.collectionRef,S.itemMap])}return[{Provider:s,Slot:u,ItemSlot:m},x,r]}var XC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],St=XC.reduce((e,t)=>{const n=ss(`Primitive.${t}`),r=T.forwardRef((i,o)=>{const{asChild:s,...a}=i,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),f.jsx(l,{...a,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Mg(e,t){e&&Cs.flushSync(()=>e.dispatchEvent(t))}function Ln(e){const t=T.useRef(e);return T.useEffect(()=>{t.current=e}),T.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function ZC(e,t=globalThis==null?void 0:globalThis.document){const n=Ln(e);T.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 qC="DismissableLayer",Vl="dismissableLayer.update",JC="dismissableLayer.pointerDownOutside",eE="dismissableLayer.focusOutside",Af,Lg=T.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Vg=T.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,u=T.useContext(Lg),[c,d]=T.useState(null),p=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=T.useState({}),x=Mn(t,E=>d(E)),v=Array.from(u.layers),[S]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(S),h=c?v.indexOf(c):-1,g=u.layersWithOutsidePointerEventsDisabled.size>0,w=h>=y,C=nE(E=>{const j=E.target,M=[...u.branches].some(L=>L.contains(j));!w||M||(i==null||i(E),s==null||s(E),E.defaultPrevented||a==null||a())},p),P=rE(E=>{const j=E.target;[...u.branches].some(L=>L.contains(j))||(o==null||o(E),s==null||s(E),E.defaultPrevented||a==null||a())},p);return ZC(E=>{h===u.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},p),T.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Af=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Rf(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Af)}},[c,p,n,u]),T.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Rf())},[c,u]),T.useEffect(()=>{const E=()=>m({});return document.addEventListener(Vl,E),()=>document.removeEventListener(Vl,E)},[]),f.jsx(St.div,{...l,ref:x,style:{pointerEvents:g?w?"auto":"none":void 0,...e.style},onFocusCapture:He(e.onFocusCapture,P.onFocusCapture),onBlurCapture:He(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:He(e.onPointerDownCapture,C.onPointerDownCapture)})});Vg.displayName=qC;var tE="DismissableLayerBranch",Dg=T.forwardRef((e,t)=>{const n=T.useContext(Lg),r=T.useRef(null),i=Mn(t,r);return T.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),f.jsx(St.div,{...e,ref:i})});Dg.displayName=tE;function nE(e,t=globalThis==null?void 0:globalThis.document){const n=Ln(e),r=T.useRef(!1),i=T.useRef(()=>{});return T.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let l=function(){Og(JC,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},s=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function rE(e,t=globalThis==null?void 0:globalThis.document){const n=Ln(e),r=T.useRef(!1);return T.useEffect(()=>{const i=o=>{o.target&&!r.current&&Og(eE,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Rf(){const e=new CustomEvent(Vl);document.dispatchEvent(e)}function Og(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Mg(i,o):i.dispatchEvent(o)}var iE=Vg,oE=Dg,ki=globalThis!=null&&globalThis.document?T.useLayoutEffect:()=>{},sE="Portal",Ig=T.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,o]=T.useState(!1);ki(()=>o(!0),[]);const s=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?I0.createPortal(f.jsx(St.div,{...r,ref:t}),s):null});Ig.displayName=sE;function aE(e,t){return T.useReducer((n,r)=>t[n][r]??n,e)}var _g=e=>{const{present:t,children:n}=e,r=lE(t),i=typeof n=="function"?n({present:r.isPresent}):T.Children.only(n),o=Mn(r.ref,uE(i));return typeof n=="function"||r.isPresent?T.cloneElement(i,{ref:o}):null};_g.displayName="Presence";function lE(e){const[t,n]=T.useState(),r=T.useRef(null),i=T.useRef(e),o=T.useRef("none"),s=e?"mounted":"unmounted",[a,l]=aE(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return T.useEffect(()=>{const u=lo(r.current);o.current=a==="mounted"?u:"none"},[a]),ki(()=>{const u=r.current,c=i.current;if(c!==e){const p=o.current,m=lo(u);e?l("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&p!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),ki(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=m=>{const v=lo(r.current).includes(m.animationName);if(m.target===t&&v&&(l("ANIMATION_END"),!i.current)){const S=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=S)})}},p=m=>{m.target===t&&(o.current=lo(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:T.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function lo(e){return(e==null?void 0:e.animationName)||"none"}function uE(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 cE=jy[" useInsertionEffect ".trim().toString()]||ki;function dE({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,s]=fE({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const c=T.useRef(e!==void 0);T.useEffect(()=>{const d=c.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=a},[a,r])}const u=T.useCallback(c=>{var d;if(a){const p=pE(c)?c(e):c;p!==e&&((d=s.current)==null||d.call(s,p))}else o(c)},[a,e,o,s]);return[l,u]}function fE({defaultProp:e,onChange:t}){const[n,r]=T.useState(e),i=T.useRef(n),o=T.useRef(t);return cE(()=>{o.current=t},[t]),T.useEffect(()=>{var s;i.current!==n&&((s=o.current)==null||s.call(o,n),i.current=n)},[n,i]),[n,r,o]}function pE(e){return typeof e=="function"}var hE=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"}),mE="VisuallyHidden",tc=T.forwardRef((e,t)=>f.jsx(St.span,{...e,ref:t,style:{...hE,...e.style}}));tc.displayName=mE;var nc="ToastProvider",[rc,gE,yE]=QC("Toast"),[Fg,BE]=Rg("Toast",[yE]),[vE,Ms]=Fg(nc),zg=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:o=50,children:s}=e,[a,l]=T.useState(null),[u,c]=T.useState(0),d=T.useRef(!1),p=T.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${nc}\`. Expected non-empty \`string\`.`),f.jsx(rc.Provider,{scope:t,children:f.jsx(vE,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:o,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:T.useCallback(()=>c(m=>m+1),[]),onToastRemove:T.useCallback(()=>c(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:p,children:s})})};zg.displayName=nc;var Bg="ToastViewport",xE=["F8"],Dl="toast.viewportPause",Ol="toast.viewportResume",Ug=T.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=xE,label:i="Notifications ({hotkey})",...o}=e,s=Ms(Bg,n),a=gE(n),l=T.useRef(null),u=T.useRef(null),c=T.useRef(null),d=T.useRef(null),p=Mn(t,d,s.onViewportChange),m=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=s.toastCount>0;T.useEffect(()=>{const S=y=>{var g;r.length!==0&&r.every(w=>y[w]||y.code===w)&&((g=d.current)==null||g.focus())};return document.addEventListener("keydown",S),()=>document.removeEventListener("keydown",S)},[r]),T.useEffect(()=>{const S=l.current,y=d.current;if(x&&S&&y){const h=()=>{if(!s.isClosePausedRef.current){const P=new CustomEvent(Dl);y.dispatchEvent(P),s.isClosePausedRef.current=!0}},g=()=>{if(s.isClosePausedRef.current){const P=new CustomEvent(Ol);y.dispatchEvent(P),s.isClosePausedRef.current=!1}},w=P=>{!S.contains(P.relatedTarget)&&g()},C=()=>{S.contains(document.activeElement)||g()};return S.addEventListener("focusin",h),S.addEventListener("focusout",w),S.addEventListener("pointermove",h),S.addEventListener("pointerleave",C),window.addEventListener("blur",h),window.addEventListener("focus",g),()=>{S.removeEventListener("focusin",h),S.removeEventListener("focusout",w),S.removeEventListener("pointermove",h),S.removeEventListener("pointerleave",C),window.removeEventListener("blur",h),window.removeEventListener("focus",g)}}},[x,s.isClosePausedRef]);const v=T.useCallback(({tabbingDirection:S})=>{const h=a().map(g=>{const w=g.ref.current,C=[w,...ME(w)];return S==="forwards"?C:C.reverse()});return(S==="forwards"?h.reverse():h).flat()},[a]);return T.useEffect(()=>{const S=d.current;if(S){const y=h=>{var C,P,E;const g=h.altKey||h.ctrlKey||h.metaKey;if(h.key==="Tab"&&!g){const j=document.activeElement,M=h.shiftKey;if(h.target===S&&M){(C=u.current)==null||C.focus();return}const D=v({tabbingDirection:M?"backwards":"forwards"}),re=D.findIndex(A=>A===j);wa(D.slice(re+1))?h.preventDefault():M?(P=u.current)==null||P.focus():(E=c.current)==null||E.focus()}};return S.addEventListener("keydown",y),()=>S.removeEventListener("keydown",y)}},[a,v]),f.jsxs(oE,{ref:l,role:"region","aria-label":i.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&f.jsx(Il,{ref:u,onFocusFromOutsideViewport:()=>{const S=v({tabbingDirection:"forwards"});wa(S)}}),f.jsx(rc.Slot,{scope:n,children:f.jsx(St.ol,{tabIndex:-1,...o,ref:p})}),x&&f.jsx(Il,{ref:c,onFocusFromOutsideViewport:()=>{const S=v({tabbingDirection:"backwards"});wa(S)}})]})});Ug.displayName=Bg;var $g="ToastFocusProxy",Il=T.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,o=Ms($g,n);return f.jsx(tc,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const a=s.relatedTarget;!((u=o.viewport)!=null&&u.contains(a))&&r()}})});Il.displayName=$g;var _i="Toast",wE="toast.swipeStart",SE="toast.swipeMove",TE="toast.swipeCancel",CE="toast.swipeEnd",Hg=T.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:o,...s}=e,[a,l]=dE({prop:r,defaultProp:i??!0,onChange:o,caller:_i});return f.jsx(_g,{present:n||a,children:f.jsx(jE,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:Ln(e.onPause),onResume:Ln(e.onResume),onSwipeStart:He(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:He(e.onSwipeMove,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:He(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:He(e.onSwipeEnd,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});Hg.displayName=_i;var[EE,PE]=Fg(_i,{onClose(){}}),jE=T.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:o,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:p,onSwipeEnd:m,...x}=e,v=Ms(_i,n),[S,y]=T.useState(null),h=Mn(t,A=>y(A)),g=T.useRef(null),w=T.useRef(null),C=i||v.duration,P=T.useRef(0),E=T.useRef(C),j=T.useRef(0),{onToastAdd:M,onToastRemove:L}=v,W=Ln(()=>{var J;(S==null?void 0:S.contains(document.activeElement))&&((J=v.viewport)==null||J.focus()),s()}),D=T.useCallback(A=>{!A||A===1/0||(window.clearTimeout(j.current),P.current=new Date().getTime(),j.current=window.setTimeout(W,A))},[W]);T.useEffect(()=>{const A=v.viewport;if(A){const J=()=>{D(E.current),u==null||u()},U=()=>{const de=new Date().getTime()-P.current;E.current=E.current-de,window.clearTimeout(j.current),l==null||l()};return A.addEventListener(Dl,U),A.addEventListener(Ol,J),()=>{A.removeEventListener(Dl,U),A.removeEventListener(Ol,J)}}},[v.viewport,C,l,u,D]),T.useEffect(()=>{o&&!v.isClosePausedRef.current&&D(C)},[o,C,v.isClosePausedRef,D]),T.useEffect(()=>(M(),()=>L()),[M,L]);const re=T.useMemo(()=>S?Zg(S):null,[S]);return v.viewport?f.jsxs(f.Fragment,{children:[re&&f.jsx(kE,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:re}),f.jsx(EE,{scope:n,onClose:W,children:Cs.createPortal(f.jsx(rc.ItemSlot,{scope:n,children:f.jsx(iE,{asChild:!0,onEscapeKeyDown:He(a,()=>{v.isFocusedToastEscapeKeyDownRef.current||W(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:f.jsx(St.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":v.swipeDirection,...x,ref:h,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:He(e.onKeyDown,A=>{A.key==="Escape"&&(a==null||a(A.nativeEvent),A.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,W()))}),onPointerDown:He(e.onPointerDown,A=>{A.button===0&&(g.current={x:A.clientX,y:A.clientY})}),onPointerMove:He(e.onPointerMove,A=>{if(!g.current)return;const J=A.clientX-g.current.x,U=A.clientY-g.current.y,de=!!w.current,N=["left","right"].includes(v.swipeDirection),R=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,I=N?R(0,J):0,V=N?0:R(0,U),$=A.pointerType==="touch"?10:2,K={x:I,y:V},Be={originalEvent:A,delta:K};de?(w.current=K,uo(SE,d,Be,{discrete:!1})):Mf(K,v.swipeDirection,$)?(w.current=K,uo(wE,c,Be,{discrete:!1}),A.target.setPointerCapture(A.pointerId)):(Math.abs(J)>$||Math.abs(U)>$)&&(g.current=null)}),onPointerUp:He(e.onPointerUp,A=>{const J=w.current,U=A.target;if(U.hasPointerCapture(A.pointerId)&&U.releasePointerCapture(A.pointerId),w.current=null,g.current=null,J){const de=A.currentTarget,N={originalEvent:A,delta:J};Mf(J,v.swipeDirection,v.swipeThreshold)?uo(CE,m,N,{discrete:!0}):uo(TE,p,N,{discrete:!0}),de.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),kE=e=>{const{__scopeToast:t,children:n,...r}=e,i=Ms(_i,t),[o,s]=T.useState(!1),[a,l]=T.useState(!1);return AE(()=>s(!0)),T.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:f.jsx(Ig,{asChild:!0,children:f.jsx(tc,{...r,children:o&&f.jsxs(f.Fragment,{children:[i.label," ",n]})})})},NE="ToastTitle",Wg=T.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return f.jsx(St.div,{...r,ref:t})});Wg.displayName=NE;var bE="ToastDescription",Gg=T.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return f.jsx(St.div,{...r,ref:t})});Gg.displayName=bE;var Kg="ToastAction",Yg=T.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?f.jsx(Xg,{altText:n,asChild:!0,children:f.jsx(ic,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Kg}\`. Expected non-empty \`string\`.`),null)});Yg.displayName=Kg;var Qg="ToastClose",ic=T.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=PE(Qg,n);return f.jsx(Xg,{asChild:!0,children:f.jsx(St.button,{type:"button",...r,ref:t,onClick:He(e.onClick,i.onClose)})})});ic.displayName=Qg;var Xg=T.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return f.jsx(St.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function Zg(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),RE(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!i)if(o){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Zg(r))}}),t}function uo(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Mg(i,o):i.dispatchEvent(o)}var Mf=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),o=r>i;return t==="left"||t==="right"?o&&r>n:!o&&i>n};function AE(e=()=>{}){const t=Ln(e);ki(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function RE(e){return e.nodeType===e.ELEMENT_NODE}function ME(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 wa(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var LE=zg,qg=Ug,Jg=Hg,ey=Wg,ty=Gg,ny=Yg,ry=ic;const VE=LE,iy=oe.forwardRef(({className:e,...t},n)=>f.jsx(qg,{ref:n,className:Fn("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}));iy.displayName=qg.displayName;const DE=Ag("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"}}),oy=oe.forwardRef(({className:e,variant:t,...n},r)=>f.jsx(Jg,{ref:r,className:Fn(DE({variant:t}),e),...n}));oy.displayName=Jg.displayName;const OE=oe.forwardRef(({className:e,...t},n)=>f.jsx(ny,{ref:n,className:Fn("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}));OE.displayName=ny.displayName;const sy=oe.forwardRef(({className:e,...t},n)=>f.jsx(ry,{ref:n,className:Fn("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:f.jsx(Sg,{className:"h-4 w-4"})}));sy.displayName=ry.displayName;const ay=oe.forwardRef(({className:e,...t},n)=>f.jsx(ey,{ref:n,className:Fn("text-sm font-semibold",e),...t}));ay.displayName=ey.displayName;const ly=oe.forwardRef(({className:e,...t},n)=>f.jsx(ty,{ref:n,className:Fn("text-sm opacity-90",e),...t}));ly.displayName=ty.displayName;function IE(){const{toasts:e}=zC();return f.jsxs(VE,{children:[e.map(({id:t,title:n,description:r,action:i,...o})=>f.jsxs(oy,{...o,children:[f.jsxs("div",{className:"grid gap-1",children:[n&&f.jsx(ay,{children:n}),r&&f.jsx(ly,{children:r})]}),i,f.jsx(sy,{})]},t)),f.jsx(iy,{})]})}function _E(){return f.jsxs("div",{className:"min-h-screen bg-white",children:[f.jsxs(yl,{children:[f.jsx("title",{children:"BDV Empresas - Relojería Premium | Relojes de Lujo y Calidad"}),f.jsx("meta",{name:"description",content:"BDV Empresas - Tu relojería de confianza. Especialistas en relojes de lujo, deportivos y clásicos. Reparación profesional, garantía extendida y atención personalizada. Anunciante verificado por Google Ads."}),f.jsx("meta",{name:"keywords",content:"relojería, relojes de lujo, relojes deportivos, relojes clásicos, reparación de relojes, relojería premium, BDV Empresas, relojes originales, garantía, servicio técnico"}),f.jsx("meta",{name:"author",content:"JUAN CARLOS NARVAEZ HERNANDEZ"}),f.jsx("meta",{name:"robots",content:"index, follow"}),f.jsx("meta",{property:"og:title",content:"BDV Empresas - Relojería Premium"}),f.jsx("meta",{property:"og:description",content:"Especialistas en relojes de lujo y calidad. Reparación profesional y atención personalizada."}),f.jsx("meta",{property:"og:type",content:"website"}),f.jsx("link",{rel:"canonical",href:"https://vnzlempresaers.click/"})]}),f.jsx(IC,{}),f.jsx(BC,{}),f.jsx(UC,{}),f.jsx($C,{}),f.jsx(HC,{}),f.jsx(WC,{}),f.jsx(GC,{}),f.jsx(KC,{}),f.jsx(IE,{})]})}Sa.createRoot(document.getElementById("root")).render(f.jsx(oe.StrictMode,{children:f.jsx(_E,{})}));