function ud(e,t){for(var n=0;nr[l]})}}}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 l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const s of l)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const s={};return l.integrity&&(s.integrity=l.integrity),l.referrerPolicy&&(s.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?s.credentials="include":l.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(l){if(l.ep)return;l.ep=!0;const s=n(l);fetch(l.href,s)}})();function cd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ta={exports:{}},Cl={},Ra={exports:{}},R={};/** * @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 dr=Symbol.for("react.element"),dd=Symbol.for("react.portal"),fd=Symbol.for("react.fragment"),md=Symbol.for("react.strict_mode"),hd=Symbol.for("react.profiler"),pd=Symbol.for("react.provider"),gd=Symbol.for("react.context"),xd=Symbol.for("react.forward_ref"),vd=Symbol.for("react.suspense"),yd=Symbol.for("react.memo"),wd=Symbol.for("react.lazy"),mo=Symbol.iterator;function jd(e){return e===null||typeof e!="object"?null:(e=mo&&e[mo]||e["@@iterator"],typeof e=="function"?e:null)}var Ma={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ia=Object.assign,Oa={};function xn(e,t,n){this.props=e,this.context=t,this.refs=Oa,this.updater=n||Ma}xn.prototype.isReactComponent={};xn.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")};xn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Aa(){}Aa.prototype=xn.prototype;function xs(e,t,n){this.props=e,this.context=t,this.refs=Oa,this.updater=n||Ma}var vs=xs.prototype=new Aa;vs.constructor=xs;Ia(vs,xn.prototype);vs.isPureReactComponent=!0;var ho=Array.isArray,Fa=Object.prototype.hasOwnProperty,ys={current:null},Da={key:!0,ref:!0,__self:!0,__source:!0};function Ba(e,t,n){var r,l={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)Fa.call(t,r)&&!Da.hasOwnProperty(r)&&(l[r]=t[r]);var a=arguments.length-2;if(a===1)l.children=n;else if(1>>1,q=P[Q];if(0>>1;Ql(Ql,T))Stl(wr,Ql)?(P[Q]=wr,P[St]=T,Q=St):(P[Q]=Ql,P[kt]=T,Q=kt);else if(Stl(wr,T))P[Q]=wr,P[St]=T,Q=St;else break e}}return L}function l(P,L){var T=P.sortIndex-L.sortIndex;return T!==0?T:P.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var u=[],c=[],m=1,p=null,g=3,y=!1,w=!1,j=!1,S=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(P){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=P)r(c),L.sortIndex=L.expirationTime,t(u,L);else break;L=n(c)}}function x(P){if(j=!1,h(P),!w)if(n(u)!==null)w=!0,Vl(k);else{var L=n(c);L!==null&&Hl(x,L.startTime-P)}}function k(P,L){w=!1,j&&(j=!1,f(z),z=-1),y=!0;var T=g;try{for(h(L),p=n(u);p!==null&&(!(p.expirationTime>L)||P&&!xe());){var Q=p.callback;if(typeof Q=="function"){p.callback=null,g=p.priorityLevel;var q=Q(p.expirationTime<=L);L=e.unstable_now(),typeof q=="function"?p.callback=q:p===n(u)&&r(u),h(L)}else r(u);p=n(u)}if(p!==null)var yr=!0;else{var kt=n(c);kt!==null&&Hl(x,kt.startTime-L),yr=!1}return yr}finally{p=null,g=T,y=!1}}var C=!1,b=null,z=-1,B=5,_=-1;function xe(){return!(e.unstable_now()-_P||125Q?(P.sortIndex=T,t(c,P),n(u)===null&&P===n(c)&&(j?(f(z),z=-1):j=!0,Hl(x,T-Q))):(P.sortIndex=q,t(u,P),w||y||(w=!0,Vl(k))),P},e.unstable_shouldYield=xe,e.unstable_wrapCallback=function(P){var L=g;return function(){var T=g;g=L;try{return P.apply(this,arguments)}finally{g=T}}}})(Ha);Va.exports=Ha;var Rd=Va.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 Qa=v,je=Rd;function N(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"),Ni=Object.prototype.hasOwnProperty,Md=/^[: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]*$/,go={},xo={};function Id(e){return Ni.call(xo,e)?!0:Ni.call(go,e)?!1:Md.test(e)?xo[e]=!0:(go[e]=!0,!1)}function Od(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 Ad(e,t,n,r){if(t===null||typeof t>"u"||Od(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function de(e,t,n,r,l,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new de(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new de(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new de(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new de(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ne[e]=new de(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new de(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new de(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new de(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new de(e,5,!1,e.toLowerCase(),null,!1,!1)});var js=/[\-:]([a-z])/g;function Ns(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(js,Ns);ne[t]=new de(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(js,Ns);ne[t]=new de(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(js,Ns);ne[t]=new de(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new de(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new de("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new de(e,1,!1,e.toLowerCase(),null,!0,!0)});function ks(e,t,n,r){var l=ne.hasOwnProperty(t)?ne[t]:null;(l!==null?l.type!==0:r||!(2a||l[o]!==s[a]){var u=` `+l[o].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=o&&0<=a);break}}}finally{Yl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Rn(e):""}function Fd(e){switch(e.tag){case 5:return Rn(e.type);case 16:return Rn("Lazy");case 13:return Rn("Suspense");case 19:return Rn("SuspenseList");case 0:case 2:case 15:return e=Xl(e.type,!1),e;case 11:return e=Xl(e.type.render,!1),e;case 1:return e=Xl(e.type,!0),e;default:return""}}function Ei(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 Ht:return"Fragment";case Vt:return"Portal";case ki:return"Profiler";case Ss:return"StrictMode";case Si:return"Suspense";case Ci:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ya:return(e.displayName||"Context")+".Consumer";case Ka:return(e._context.displayName||"Context")+".Provider";case Cs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Es:return t=e.displayName||null,t!==null?t:Ei(e.type)||"Memo";case tt:t=e._payload,e=e._init;try{return Ei(e(t))}catch{}}return null}function Dd(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 Ei(t);case 8:return t===Ss?"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 xt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function qa(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Bd(e){var t=qa(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 l=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function kr(e){e._valueTracker||(e._valueTracker=Bd(e))}function Za(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=qa(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function qr(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 Pi(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function yo(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=xt(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 Ja(e,t){t=t.checked,t!=null&&ks(e,"checked",t,!1)}function bi(e,t){Ja(e,t);var n=xt(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")?zi(e,t.type,n):t.hasOwnProperty("defaultValue")&&zi(e,t.type,xt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function wo(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 zi(e,t,n){(t!=="number"||qr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Mn=Array.isArray;function nn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Sr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Gn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var An={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},Ud=["Webkit","ms","Moz","O"];Object.keys(An).forEach(function(e){Ud.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),An[t]=An[e]})});function ru(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||An.hasOwnProperty(e)&&An[e]?(""+t).trim():t+"px"}function lu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=ru(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var $d=W({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 Ti(e,t){if(t){if($d[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(N(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(N(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(N(61))}if(t.style!=null&&typeof t.style!="object")throw Error(N(62))}}function Ri(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 Mi=null;function Ps(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ii=null,rn=null,ln=null;function ko(e){if(e=hr(e)){if(typeof Ii!="function")throw Error(N(280));var t=e.stateNode;t&&(t=Ll(t),Ii(e.stateNode,e.type,t))}}function iu(e){rn?ln?ln.push(e):ln=[e]:rn=e}function su(){if(rn){var e=rn,t=ln;if(ln=rn=null,ko(e),t)for(e=0;e>>=0,e===0?32:31-(Jd(e)/ef|0)|0}var Cr=64,Er=4194304;function In(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 tl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~l;a!==0?r=In(a):(s&=o,s!==0&&(r=In(s)))}else o=n&~l,o!==0?r=In(o):s!==0&&(r=In(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,s=t&-t,l>=s||l===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function fr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Me(t),e[t]=n}function lf(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=Dn),To=String.fromCharCode(32),Ro=!1;function Eu(e,t){switch(e){case"keyup":return Rf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qt=!1;function If(e,t){switch(e){case"compositionend":return Pu(t);case"keypress":return t.which!==32?null:(Ro=!0,To);case"textInput":return e=t.data,e===To&&Ro?null:e;default:return null}}function Of(e,t){if(Qt)return e==="compositionend"||!Is&&Eu(e,t)?(e=Su(),$r=Ts=it=null,Qt=!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=Ao(n)}}function _u(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_u(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Tu(){for(var e=window,t=qr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=qr(e.document)}return t}function Os(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 Hf(e){var t=Tu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_u(n.ownerDocument.documentElement,n)){if(r!==null&&Os(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 l=n.textContent.length,s=Math.min(r.start,l);r=r.end===void 0?s:Math.min(r.end,l),!e.extend&&s>r&&(l=r,r=s,s=l),l=Fo(n,s);var o=Fo(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Gt=null,Ui=null,Un=null,$i=!1;function Do(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$i||Gt==null||Gt!==qr(r)||(r=Gt,"selectionStart"in r&&Os(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}),Un&&Jn(Un,r)||(Un=r,r=ll(Ui,"onSelect"),0Xt||(e.current=Ki[Xt],Ki[Xt]=null,Xt--)}function O(e,t){Xt++,Ki[Xt]=e.current,e.current=t}var vt={},se=wt(vt),he=wt(!1),Rt=vt;function cn(e,t){var n=e.type.contextTypes;if(!n)return vt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},s;for(s in n)l[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function pe(e){return e=e.childContextTypes,e!=null}function sl(){F(he),F(se)}function Qo(e,t,n){if(se.current!==vt)throw Error(N(168));O(se,t),O(he,n)}function Uu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(N(108,Dd(e)||"Unknown",l));return W({},n,r)}function ol(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vt,Rt=se.current,O(se,e),O(he,he.current),!0}function Go(e,t,n){var r=e.stateNode;if(!r)throw Error(N(169));n?(e=Uu(e,t,Rt),r.__reactInternalMemoizedMergedChildContext=e,F(he),F(se),O(se,e)):F(he),O(he,n)}var He=null,_l=!1,ci=!1;function $u(e){He===null?He=[e]:He.push(e)}function rm(e){_l=!0,$u(e)}function jt(){if(!ci&&He!==null){ci=!0;var e=0,t=I;try{var n=He;for(I=1;e>=o,l-=o,Qe=1<<32-Me(t)+l|n<z?(B=b,b=null):B=b.sibling;var _=g(f,b,h[z],x);if(_===null){b===null&&(b=B);break}e&&b&&_.alternate===null&&t(f,b),d=s(_,d,z),C===null?k=_:C.sibling=_,C=_,b=B}if(z===h.length)return n(f,b),D&&Ct(f,z),k;if(b===null){for(;zz?(B=b,b=null):B=b.sibling;var xe=g(f,b,_.value,x);if(xe===null){b===null&&(b=B);break}e&&b&&xe.alternate===null&&t(f,b),d=s(xe,d,z),C===null?k=xe:C.sibling=xe,C=xe,b=B}if(_.done)return n(f,b),D&&Ct(f,z),k;if(b===null){for(;!_.done;z++,_=h.next())_=p(f,_.value,x),_!==null&&(d=s(_,d,z),C===null?k=_:C.sibling=_,C=_);return D&&Ct(f,z),k}for(b=r(f,b);!_.done;z++,_=h.next())_=y(b,f,z,_.value,x),_!==null&&(e&&_.alternate!==null&&b.delete(_.key===null?z:_.key),d=s(_,d,z),C===null?k=_:C.sibling=_,C=_);return e&&b.forEach(function(jn){return t(f,jn)}),D&&Ct(f,z),k}function S(f,d,h,x){if(typeof h=="object"&&h!==null&&h.type===Ht&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Nr:e:{for(var k=h.key,C=d;C!==null;){if(C.key===k){if(k=h.type,k===Ht){if(C.tag===7){n(f,C.sibling),d=l(C,h.props.children),d.return=f,f=d;break e}}else if(C.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===tt&&ea(k)===C.type){n(f,C.sibling),d=l(C,h.props),d.ref=bn(f,C,h),d.return=f,f=d;break e}n(f,C);break}else t(f,C);C=C.sibling}h.type===Ht?(d=Tt(h.props.children,f.mode,x,h.key),d.return=f,f=d):(x=Xr(h.type,h.key,h.props,null,f.mode,x),x.ref=bn(f,d,h),x.return=f,f=x)}return o(f);case Vt:e:{for(C=h.key;d!==null;){if(d.key===C)if(d.tag===4&&d.stateNode.containerInfo===h.containerInfo&&d.stateNode.implementation===h.implementation){n(f,d.sibling),d=l(d,h.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=vi(h,f.mode,x),d.return=f,f=d}return o(f);case tt:return C=h._init,S(f,d,C(h._payload),x)}if(Mn(h))return w(f,d,h,x);if(kn(h))return j(f,d,h,x);Rr(f,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,h),d.return=f,f=d):(n(f,d),d=xi(h,f.mode,x),d.return=f,f=d),o(f)):n(f,d)}return S}var fn=Xu(!0),qu=Xu(!1),pr={},We=wt(pr),rr=wt(pr),lr=wt(pr);function zt(e){if(e===pr)throw Error(N(174));return e}function Hs(e,t){switch(O(lr,t),O(rr,e),O(We,pr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_i(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=_i(t,e)}F(We),O(We,t)}function mn(){F(We),F(rr),F(lr)}function Zu(e){zt(lr.current);var t=zt(We.current),n=_i(t,e.type);t!==n&&(O(rr,e),O(We,n))}function Qs(e){rr.current===e&&(F(We),F(rr))}var U=wt(0);function ml(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var di=[];function Gs(){for(var e=0;en?n:4,e(!0);var r=fi.transition;fi.transition={};try{e(!1),t()}finally{I=n,fi.transition=r}}function hc(){return ze().memoizedState}function om(e,t,n){var r=ht(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},pc(e))gc(t,n);else if(n=Qu(e,t,n,r),n!==null){var l=ue();Ie(n,e,r,l),xc(n,t,r)}}function am(e,t,n){var r=ht(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(pc(e))gc(t,l);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(l.hasEagerState=!0,l.eagerState=a,Oe(a,o)){var u=t.interleaved;u===null?(l.next=l,Ws(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=Qu(e,t,l,r),n!==null&&(l=ue(),Ie(n,e,r,l),xc(n,t,r))}}function pc(e){var t=e.alternate;return e===$||t!==null&&t===$}function gc(e,t){$n=hl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,zs(e,n)}}var pl={readContext:be,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},um={readContext:be,useCallback:function(e,t){return Be().memoizedState=[e,t===void 0?null:t],e},useContext:be,useEffect:na,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Qr(4194308,4,uc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qr(4,2,e,t)},useMemo:function(e,t){var n=Be();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Be();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=om.bind(null,$,e),[r.memoizedState,e]},useRef:function(e){var t=Be();return e={current:e},t.memoizedState=e},useState:ta,useDebugValue:Zs,useDeferredValue:function(e){return Be().memoizedState=e},useTransition:function(){var e=ta(!1),t=e[0];return e=sm.bind(null,e[1]),Be().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=$,l=Be();if(D){if(n===void 0)throw Error(N(407));n=n()}else{if(n=t(),J===null)throw Error(N(349));It&30||tc(r,t,n)}l.memoizedState=n;var s={value:n,getSnapshot:t};return l.queue=s,na(rc.bind(null,r,s,e),[e]),r.flags|=2048,or(9,nc.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Be(),t=J.identifierPrefix;if(D){var n=Ge,r=Qe;n=(r&~(1<<32-Me(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ir++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ue]=t,e[nr]=r,Ec(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ri(n,r),n){case"dialog":A("cancel",e),A("close",e),l=r;break;case"iframe":case"object":case"embed":A("load",e),l=r;break;case"video":case"audio":for(l=0;lpn&&(t.flags|=128,r=!0,zn(s,!1),t.lanes=4194304)}else{if(!r)if(e=ml(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),zn(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!D)return le(t),null}else 2*G()-s.renderingStartTime>pn&&n!==1073741824&&(t.flags|=128,r=!0,zn(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=G(),t.sibling=null,n=U.current,O(U,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return lo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ve&1073741824&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(N(156,t.tag))}function xm(e,t){switch(Fs(t),t.tag){case 1:return pe(t.type)&&sl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return mn(),F(he),F(se),Gs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qs(t),null;case 13:if(F(U),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(N(340));dn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return F(U),null;case 4:return mn(),null;case 10:return $s(t.type._context),null;case 22:case 23:return lo(),null;case 24:return null;default:return null}}var Ir=!1,ie=!1,vm=typeof WeakSet=="function"?WeakSet:Set,E=null;function en(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){V(e,t,r)}else n.current=null}function ss(e,t,n){try{n()}catch(r){V(e,t,r)}}var da=!1;function ym(e,t){if(Wi=nl,e=Tu(),Os(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 l=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,u=-1,c=0,m=0,p=e,g=null;t:for(;;){for(var y;p!==n||l!==0&&p.nodeType!==3||(a=o+l),p!==s||r!==0&&p.nodeType!==3||(u=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(y=p.firstChild)!==null;)g=p,p=y;for(;;){if(p===e)break t;if(g===n&&++c===l&&(a=o),g===s&&++m===r&&(u=o),(y=p.nextSibling)!==null)break;p=g,g=p.parentNode}p=y}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Vi={focusedElem:e,selectionRange:n},nl=!1,E=t;E!==null;)if(t=E,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,E=e;else for(;E!==null;){t=E;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var j=w.memoizedProps,S=w.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?j:_e(t.type,j),S);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(N(163))}}catch(x){V(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,E=e;break}E=t.return}return w=da,da=!1,w}function Wn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var s=l.destroy;l.destroy=void 0,s!==void 0&&ss(t,n,s)}l=l.next}while(l!==r)}}function Ml(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 os(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 zc(e){var t=e.alternate;t!==null&&(e.alternate=null,zc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ue],delete t[nr],delete t[Gi],delete t[tm],delete t[nm])),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 Lc(e){return e.tag===5||e.tag===3||e.tag===4}function fa(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Lc(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 as(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=il));else if(r!==4&&(e=e.child,e!==null))for(as(e,t,n),e=e.sibling;e!==null;)as(e,t,n),e=e.sibling}function us(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(us(e,t,n),e=e.sibling;e!==null;)us(e,t,n),e=e.sibling}var ee=null,Te=!1;function et(e,t,n){for(n=n.child;n!==null;)_c(e,t,n),n=n.sibling}function _c(e,t,n){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(El,n)}catch{}switch(n.tag){case 5:ie||en(n,t);case 6:var r=ee,l=Te;ee=null,et(e,t,n),ee=r,Te=l,ee!==null&&(Te?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Te?(e=ee,n=n.stateNode,e.nodeType===8?ui(e.parentNode,n):e.nodeType===1&&ui(e,n),qn(e)):ui(ee,n.stateNode));break;case 4:r=ee,l=Te,ee=n.stateNode.containerInfo,Te=!0,et(e,t,n),ee=r,Te=l;break;case 0:case 11:case 14:case 15:if(!ie&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var s=l,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&ss(n,t,o),l=l.next}while(l!==r)}et(e,t,n);break;case 1:if(!ie&&(en(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){V(n,t,a)}et(e,t,n);break;case 21:et(e,t,n);break;case 22:n.mode&1?(ie=(r=ie)||n.memoizedState!==null,et(e,t,n),ie=r):et(e,t,n);break;default:et(e,t,n)}}function ma(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new vm),t.forEach(function(r){var l=bm.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Le(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~s}if(r=l,r=G()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*jm(r/1960))-r,10e?16:e,st===null)var r=!1;else{if(e=st,st=null,vl=0,M&6)throw Error(N(331));var l=M;for(M|=4,E=e.current;E!==null;){var s=E,o=s.child;if(E.flags&16){var a=s.deletions;if(a!==null){for(var u=0;uG()-no?_t(e,0):to|=n),ge(e,t)}function Dc(e,t){t===0&&(e.mode&1?(t=Er,Er<<=1,!(Er&130023424)&&(Er=4194304)):t=1);var n=ue();e=qe(e,t),e!==null&&(fr(e,t,n),ge(e,n))}function Pm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Dc(e,n)}function bm(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(N(314))}r!==null&&r.delete(t),Dc(e,n)}var Bc;Bc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||he.current)me=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return me=!1,pm(e,t,n);me=!!(e.flags&131072)}else me=!1,D&&t.flags&1048576&&Wu(t,ul,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Gr(e,t),e=t.pendingProps;var l=cn(t,se.current);on(t,n),l=Ys(null,t,r,e,l,n);var s=Xs();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,pe(r)?(s=!0,ol(t)):s=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Vs(t),l.updater=Tl,t.stateNode=l,l._reactInternals=t,Ji(t,r,e,n),t=ns(null,t,r,!0,s,n)):(t.tag=0,D&&s&&As(t),ae(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Gr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Lm(r),e=_e(r,e),l){case 0:t=ts(null,t,r,e,n);break e;case 1:t=aa(null,t,r,e,n);break e;case 11:t=sa(null,t,r,e,n);break e;case 14:t=oa(null,t,r,_e(r.type,e),n);break e}throw Error(N(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:_e(r,l),ts(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:_e(r,l),aa(e,t,r,l,n);case 3:e:{if(kc(t),e===null)throw Error(N(387));r=t.pendingProps,s=t.memoizedState,l=s.element,Gu(e,t),fl(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){l=hn(Error(N(423)),t),t=ua(e,t,r,n,l);break e}else if(r!==l){l=hn(Error(N(424)),t),t=ua(e,t,r,n,l);break e}else for(ye=dt(t.stateNode.containerInfo.firstChild),we=t,D=!0,Re=null,n=qu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(dn(),r===l){t=Ze(e,t,n);break e}ae(e,t,r,n)}t=t.child}return t;case 5:return Zu(t),e===null&&Xi(t),r=t.type,l=t.pendingProps,s=e!==null?e.memoizedProps:null,o=l.children,Hi(r,l)?o=null:s!==null&&Hi(r,s)&&(t.flags|=32),Nc(e,t),ae(e,t,o,n),t.child;case 6:return e===null&&Xi(t),null;case 13:return Sc(e,t,n);case 4:return Hs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=fn(t,null,r,n):ae(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:_e(r,l),sa(e,t,r,l,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,l=t.pendingProps,s=t.memoizedProps,o=l.value,O(cl,r._currentValue),r._currentValue=o,s!==null)if(Oe(s.value,o)){if(s.children===l.children&&!he.current){t=Ze(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(s.tag===1){u=Ke(-1,n&-n),u.tag=2;var c=s.updateQueue;if(c!==null){c=c.shared;var m=c.pending;m===null?u.next=u:(u.next=m.next,m.next=u),c.pending=u}}s.lanes|=n,u=s.alternate,u!==null&&(u.lanes|=n),qi(s.return,n,t),a.lanes|=n;break}u=u.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(N(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),qi(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}ae(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,on(t,n),l=be(l),r=r(l),t.flags|=1,ae(e,t,r,n),t.child;case 14:return r=t.type,l=_e(r,t.pendingProps),l=_e(r.type,l),oa(e,t,r,l,n);case 15:return wc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:_e(r,l),Gr(e,t),t.tag=1,pe(r)?(e=!0,ol(t)):e=!1,on(t,n),Yu(t,r,l),Ji(t,r,l,n),ns(null,t,r,!0,e,n);case 19:return Cc(e,t,n);case 22:return jc(e,t,n)}throw Error(N(156,t.tag))};function Uc(e,t){return mu(e,t)}function zm(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 Ee(e,t,n,r){return new zm(e,t,n,r)}function so(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Lm(e){if(typeof e=="function")return so(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Cs)return 11;if(e===Es)return 14}return 2}function pt(e,t){var n=e.alternate;return n===null?(n=Ee(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 Xr(e,t,n,r,l,s){var o=2;if(r=e,typeof e=="function")so(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ht:return Tt(n.children,l,s,t);case Ss:o=8,l|=8;break;case ki:return e=Ee(12,n,t,l|2),e.elementType=ki,e.lanes=s,e;case Si:return e=Ee(13,n,t,l),e.elementType=Si,e.lanes=s,e;case Ci:return e=Ee(19,n,t,l),e.elementType=Ci,e.lanes=s,e;case Xa:return Ol(n,l,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ka:o=10;break e;case Ya:o=9;break e;case Cs:o=11;break e;case Es:o=14;break e;case tt:o=16,r=null;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=Ee(o,n,t,l),t.elementType=e,t.type=r,t.lanes=s,t}function Tt(e,t,n,r){return e=Ee(7,e,r,t),e.lanes=n,e}function Ol(e,t,n,r){return e=Ee(22,e,r,t),e.elementType=Xa,e.lanes=n,e.stateNode={isHidden:!1},e}function xi(e,t,n){return e=Ee(6,e,null,t),e.lanes=n,e}function vi(e,t,n){return t=Ee(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _m(e,t,n,r,l){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=Zl(0),this.expirationTimes=Zl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function oo(e,t,n,r,l,s,o,a,u){return e=new _m(e,t,n,a,u),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Ee(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vs(s),e}function Tm(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Hc)}catch(e){console.error(e)}}Hc(),Wa.exports=Ne;var Am=Wa.exports,Qc,ja=Am;Qc=ja.createRoot,ja.hydrateRoot;/** * @remix-run/router v1.23.0 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function ur(){return ur=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Gc(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Dm(){return Math.random().toString(36).substr(2,8)}function ka(e,t){return{usr:e.state,key:e.key,idx:t}}function hs(e,t,n,r){return n===void 0&&(n=null),ur({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?wn(t):t,{state:n,key:t&&t.key||r||Dm()})}function jl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function wn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Bm(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:s=!1}=r,o=l.history,a=ot.Pop,u=null,c=m();c==null&&(c=0,o.replaceState(ur({},o.state,{idx:c}),""));function m(){return(o.state||{idx:null}).idx}function p(){a=ot.Pop;let S=m(),f=S==null?null:S-c;c=S,u&&u({action:a,location:j.location,delta:f})}function g(S,f){a=ot.Push;let d=hs(j.location,S,f);n&&n(d,S),c=m()+1;let h=ka(d,c),x=j.createHref(d);try{o.pushState(h,"",x)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;l.location.assign(x)}s&&u&&u({action:a,location:j.location,delta:1})}function y(S,f){a=ot.Replace;let d=hs(j.location,S,f);n&&n(d,S),c=m();let h=ka(d,c),x=j.createHref(d);o.replaceState(h,"",x),s&&u&&u({action:a,location:j.location,delta:0})}function w(S){let f=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof S=="string"?S:jl(S);return d=d.replace(/ $/,"%20"),H(f,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,f)}let j={get action(){return a},get location(){return e(l,o)},listen(S){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(Na,p),u=S,()=>{l.removeEventListener(Na,p),u=null}},createHref(S){return t(l,S)},createURL:w,encodeLocation(S){let f=w(S);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:g,replace:y,go(S){return o.go(S)}};return j}var Sa;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Sa||(Sa={}));function Um(e,t,n){return n===void 0&&(n="/"),$m(e,t,n,!1)}function $m(e,t,n,r){let l=typeof t=="string"?wn(t):t,s=gn(l.pathname||"/",n);if(s==null)return null;let o=Kc(e);Wm(o);let a=null;for(let u=0;a==null&&u{let u={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};u.relativePath.startsWith("/")&&(H(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=gt([r,u.relativePath]),m=n.concat(u);s.children&&s.children.length>0&&(H(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Kc(s.children,t,m,c)),!(s.path==null&&!s.index)&&t.push({path:c,score:Xm(c,s.index),routesMeta:m})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))l(s,o);else for(let u of Yc(s.path))l(s,o,u)}),t}function Yc(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return l?[s,""]:[s];let o=Yc(r.join("/")),a=[];return a.push(...o.map(u=>u===""?s:[s,u].join("/"))),l&&a.push(...o),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function Wm(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:qm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Vm=/^:[\w-]+$/,Hm=3,Qm=2,Gm=1,Km=10,Ym=-2,Ca=e=>e==="*";function Xm(e,t){let n=e.split("/"),r=n.length;return n.some(Ca)&&(r+=Ym),t&&(r+=Qm),n.filter(l=>!Ca(l)).reduce((l,s)=>l+(Vm.test(s)?Hm:s===""?Gm:Km),r)}function qm(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Zm(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,l={},s="/",o=[];for(let a=0;a{let{paramName:g,isOptional:y}=m;if(g==="*"){let j=a[p]||"";o=s.slice(0,s.length-j.length).replace(/(.)\/+$/,"$1")}const w=a[p];return y&&!w?c[g]=void 0:c[g]=(w||"").replace(/%2F/g,"/"),c},{}),pathname:s,pathnameBase:o,pattern:e}}function Jm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Gc(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function eh(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Gc(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function gn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function th(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?wn(e):e;return{pathname:n?n.startsWith("/")?n:nh(n,t):t,search:ih(r),hash:sh(l)}}function nh(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function yi(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function rh(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Xc(e,t){let n=rh(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function qc(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=wn(e):(l=ur({},e),H(!l.pathname||!l.pathname.includes("?"),yi("?","pathname","search",l)),H(!l.pathname||!l.pathname.includes("#"),yi("#","pathname","hash",l)),H(!l.search||!l.search.includes("#"),yi("#","search","hash",l)));let s=e===""||l.pathname==="",o=s?"/":l.pathname,a;if(o==null)a=n;else{let p=t.length-1;if(!r&&o.startsWith("..")){let g=o.split("/");for(;g[0]==="..";)g.shift(),p-=1;l.pathname=g.join("/")}a=p>=0?t[p]:"/"}let u=th(l,a),c=o&&o!=="/"&&o.endsWith("/"),m=(s||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||m)&&(u.pathname+="/"),u}const gt=e=>e.join("/").replace(/\/\/+/g,"/"),lh=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ih=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,sh=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function oh(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Zc=["post","put","patch","delete"];new Set(Zc);const ah=["get",...Zc];new Set(ah);/** * React Router v6.30.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function cr(){return cr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),v.useCallback(function(c,m){if(m===void 0&&(m={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let p=qc(c,JSON.parse(o),s,m.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:gt([t,p.pathname])),(m.replace?r.replace:r.push)(p,m.state,m)},[t,r,o,s,e])}function Wl(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=v.useContext(Nt),{matches:l}=v.useContext(Bt),{pathname:s}=xr(),o=JSON.stringify(Xc(l,r.v7_relativeSplatPath));return v.useMemo(()=>qc(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function dh(e,t){return fh(e,t)}function fh(e,t,n,r){gr()||H(!1);let{navigator:l}=v.useContext(Nt),{matches:s}=v.useContext(Bt),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let c=xr(),m;if(t){var p;let S=typeof t=="string"?wn(t):t;u==="/"||(p=S.pathname)!=null&&p.startsWith(u)||H(!1),m=S}else m=c;let g=m.pathname||"/",y=g;if(u!=="/"){let S=u.replace(/^\//,"").split("/");y="/"+g.replace(/^\//,"").split("/").slice(S.length).join("/")}let w=Um(e,{pathname:y}),j=xh(w&&w.map(S=>Object.assign({},S,{params:Object.assign({},a,S.params),pathname:gt([u,l.encodeLocation?l.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?u:gt([u,l.encodeLocation?l.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),s,n,r);return t&&j?v.createElement($l.Provider,{value:{location:cr({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:ot.Pop}},j):j}function mh(){let e=jh(),t=oh(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},s=null;return v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),n?v.createElement("pre",{style:l},n):null,s)}const hh=v.createElement(mh,null);class ph extends v.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?v.createElement(Bt.Provider,{value:this.props.routeContext},v.createElement(ed.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function gh(e){let{routeContext:t,match:n,children:r}=e,l=v.useContext(Ul);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),v.createElement(Bt.Provider,{value:t},r)}function xh(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(l=n)==null?void 0:l.errors;if(a!=null){let m=o.findIndex(p=>p.route.id&&(a==null?void 0:a[p.route.id])!==void 0);m>=0||H(!1),o=o.slice(0,Math.min(o.length,m+1))}let u=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let m=0;m=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((m,p,g)=>{let y,w=!1,j=null,S=null;n&&(y=a&&p.route.id?a[p.route.id]:void 0,j=p.route.errorElement||hh,u&&(c<0&&g===0?(kh("route-fallback",!1),w=!0,S=null):c===g&&(w=!0,S=p.route.hydrateFallbackElement||null)));let f=t.concat(o.slice(0,g+1)),d=()=>{let h;return y?h=j:w?h=S:p.route.Component?h=v.createElement(p.route.Component,null):p.route.element?h=p.route.element:h=m,v.createElement(gh,{match:p,routeContext:{outlet:m,matches:f,isDataRoute:n!=null},children:h})};return n&&(p.route.ErrorBoundary||p.route.errorElement||g===0)?v.createElement(ph,{location:n.location,revalidation:n.revalidation,component:j,error:y,children:d(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):d()},null)}var nd=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(nd||{}),kl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(kl||{});function vh(e){let t=v.useContext(Ul);return t||H(!1),t}function yh(e){let t=v.useContext(Jc);return t||H(!1),t}function wh(e){let t=v.useContext(Bt);return t||H(!1),t}function rd(e){let t=wh(),n=t.matches[t.matches.length-1];return n.route.id||H(!1),n.route.id}function jh(){var e;let t=v.useContext(ed),n=yh(kl.UseRouteError),r=rd(kl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Nh(){let{router:e}=vh(nd.UseNavigateStable),t=rd(kl.UseNavigateStable),n=v.useRef(!1);return td(()=>{n.current=!0}),v.useCallback(function(l,s){s===void 0&&(s={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,cr({fromRouteId:t},s)))},[e,t])}const Ea={};function kh(e,t,n){!t&&!Ea[e]&&(Ea[e]=!0)}function Sh(e,t){e==null||e.v7_startTransition,(e==null?void 0:e.v7_relativeSplatPath)===void 0&&(!t||t.v7_relativeSplatPath),t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation)}function oe(e){H(!1)}function Ch(e){let{basename:t="/",children:n=null,location:r,navigationType:l=ot.Pop,navigator:s,static:o=!1,future:a}=e;gr()&&H(!1);let u=t.replace(/^\/*/,"/"),c=v.useMemo(()=>({basename:u,navigator:s,static:o,future:cr({v7_relativeSplatPath:!1},a)}),[u,a,s,o]);typeof r=="string"&&(r=wn(r));let{pathname:m="/",search:p="",hash:g="",state:y=null,key:w="default"}=r,j=v.useMemo(()=>{let S=gn(m,u);return S==null?null:{location:{pathname:S,search:p,hash:g,state:y,key:w},navigationType:l}},[u,m,p,g,y,w,l]);return j==null?null:v.createElement(Nt.Provider,{value:c},v.createElement($l.Provider,{children:n,value:j}))}function ld(e){let{children:t,location:n}=e;return dh(ps(t),n)}new Promise(()=>{});function ps(e,t){t===void 0&&(t=[]);let n=[];return v.Children.forEach(e,(r,l)=>{if(!v.isValidElement(r))return;let s=[...t,l];if(r.type===v.Fragment){n.push.apply(n,ps(r.props.children,s));return}r.type!==oe&&H(!1),!r.props.index||!r.props.children||H(!1);let o={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=ps(r.props.children,s)),n.push(o)}),n}/** * React Router DOM v6.30.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function Sl(){return Sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function Eh(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Ph(e,t){return e.button===0&&(!t||t==="_self")&&!Eh(e)}const bh=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],zh=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],Lh="6";try{window.__reactRouterVersion=Lh}catch{}const _h=v.createContext({isTransitioning:!1}),Th="startTransition",Pa=Ed[Th];function Rh(e){let{basename:t,children:n,future:r,window:l}=e,s=v.useRef();s.current==null&&(s.current=Fm({window:l,v5Compat:!0}));let o=s.current,[a,u]=v.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},m=v.useCallback(p=>{c&&Pa?Pa(()=>u(p)):u(p)},[u,c]);return v.useLayoutEffect(()=>o.listen(m),[o,m]),v.useEffect(()=>Sh(r),[r]),v.createElement(Ch,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const Mh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ih=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Lt=v.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:s,replace:o,state:a,target:u,to:c,preventScrollReset:m,viewTransition:p}=t,g=id(t,bh),{basename:y}=v.useContext(Nt),w,j=!1;if(typeof c=="string"&&Ih.test(c)&&(w=c,Mh))try{let h=new URL(window.location.href),x=c.startsWith("//")?new URL(h.protocol+c):new URL(c),k=gn(x.pathname,y);x.origin===h.origin&&k!=null?c=k+x.search+x.hash:j=!0}catch{}let S=uh(c,{relative:l}),f=Ah(c,{replace:o,state:a,target:u,preventScrollReset:m,relative:l,viewTransition:p});function d(h){r&&r(h),h.defaultPrevented||f(h)}return v.createElement("a",Sl({},g,{href:w||S,onClick:j||s?r:d,ref:n,target:u}))}),Fe=v.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:l=!1,className:s="",end:o=!1,style:a,to:u,viewTransition:c,children:m}=t,p=id(t,zh),g=Wl(u,{relative:p.relative}),y=xr(),w=v.useContext(Jc),{navigator:j,basename:S}=v.useContext(Nt),f=w!=null&&Fh(g)&&c===!0,d=j.encodeLocation?j.encodeLocation(g).pathname:g.pathname,h=y.pathname,x=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;l||(h=h.toLowerCase(),x=x?x.toLowerCase():null,d=d.toLowerCase()),x&&S&&(x=gn(x,S)||x);const k=d!=="/"&&d.endsWith("/")?d.length-1:d.length;let C=h===d||!o&&h.startsWith(d)&&h.charAt(k)==="/",b=x!=null&&(x===d||!o&&x.startsWith(d)&&x.charAt(d.length)==="/"),z={isActive:C,isPending:b,isTransitioning:f},B=C?r:void 0,_;typeof s=="function"?_=s(z):_=[s,C?"active":null,b?"pending":null,f?"transitioning":null].filter(Boolean).join(" ");let xe=typeof a=="function"?a(z):a;return v.createElement(Lt,Sl({},p,{"aria-current":B,className:_,ref:n,style:xe,to:u,viewTransition:c}),typeof m=="function"?m(z):m)});var gs;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(gs||(gs={}));var ba;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ba||(ba={}));function Oh(e){let t=v.useContext(Ul);return t||H(!1),t}function Ah(e,t){let{target:n,replace:r,state:l,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,u=vr(),c=xr(),m=Wl(e,{relative:o});return v.useCallback(p=>{if(Ph(p,n)){p.preventDefault();let g=r!==void 0?r:jl(c)===jl(m);u(e,{replace:g,state:l,preventScrollReset:s,relative:o,viewTransition:a})}},[c,u,m,r,l,n,e,s,o,a])}function Fh(e,t){t===void 0&&(t={});let n=v.useContext(_h);n==null&&H(!1);let{basename:r}=Oh(gs.useViewTransitionState),l=Wl(e,{relative:t.relative});if(!n.isTransitioning)return!1;let s=gn(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=gn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Nl(l.pathname,o)!=null||Nl(l.pathname,s)!=null}const Dh=[{image:"📅",color:"bg-red-500",title:"Cómo programar una transmisión en vivo en YouTube",author:"Kelsey Bentz",tag:"YouTube"},{image:"🎙️",color:"bg-blue-600",title:"7 formas de mejorar el audio de la transmisión en vivo",author:"AvanzaCast",tag:"Audio"},{image:"⏱️",color:"bg-yellow-500",title:"¿Cuánto tiempo debe durar un podcast? Elegir la duración adecuada del episodio",author:"AvanzaCast",tag:"Podcast"},{image:"📺",color:"bg-blue-700",title:"Cómo realizar una transmisión en vivo de prueba sin ir en vivo | 3 formas fáciles",author:"AvanzaCast",tag:"Tutorial"}];function Bh(){return i.jsxs(i.Fragment,{children:[i.jsx("section",{className:"bg-gradient-to-r from-blue-600 via-purple-600 to-green-500 py-20",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[i.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-white mb-8",children:"Transmite mejor, crece más rápido"}),i.jsx("p",{className:"text-xl text-white/90 mb-8 max-w-4xl mx-auto",children:"Descubre consejos de expertos, guías prácticas y acciones reales diseñadas para ayudarte a crear contenido de alta calidad, involucrar a tu audiencia y aumentar tu presencia—una transmisión a la vez."}),i.jsx("button",{className:"text-blue-600 bg-white hover:bg-gray-50 px-6 py-3 rounded-lg font-medium transition-colors",children:"Ver todas las publicaciones"})]})}),i.jsx("section",{className:"bg-white py-20",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:Dh.map((e,t)=>i.jsxs("article",{className:"group cursor-pointer",children:[i.jsxs("div",{className:`${e.color} rounded-2xl p-6 mb-4 text-center text-white relative overflow-hidden hover:scale-105 transition-transform`,children:[i.jsx("div",{className:"text-6xl mb-4",children:e.image}),i.jsx("div",{className:"absolute bottom-4 left-4 right-4",children:i.jsx("p",{className:"text-sm opacity-90",children:"avanzacast.com/blog"})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx("div",{className:"flex items-center space-x-2",children:i.jsx("span",{className:"text-xs bg-gray-100 text-gray-600 px-2 py-1 rounded-full",children:e.tag})}),i.jsxs("p",{className:"text-sm text-gray-500",children:["Escrito por ",i.jsx("span",{className:"text-blue-600 font-medium",children:e.author})]}),i.jsx("h3",{className:"font-bold text-gray-900 group-hover:text-blue-600 transition-colors line-clamp-3",children:e.title}),i.jsxs("button",{className:"text-blue-600 text-sm font-medium flex items-center hover:text-blue-800 transition-colors",children:["Leer más",i.jsx("svg",{className:"w-4 h-4 ml-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})]})]},t))})})})]})}const Uh=["YouTube","Twitch","Facebook","LinkedIn","TikTok"],$h=[{name:"Microsoft",logo:"🏢"},{name:"Adobe",logo:"🎨"},{name:"Netflix",logo:"🎬"},{name:"Spotify",logo:"🎵"},{name:"Google",logo:"🔍"},{name:"Meta",logo:"📘"}];function Wh(){return i.jsxs(i.Fragment,{children:[i.jsx("section",{className:"bg-white py-20",children:i.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[i.jsx("h2",{className:"text-3xl lg:text-5xl font-bold text-gray-900 mb-8",children:"Transmite profesionalmente desde el primer día"}),i.jsx("p",{className:"text-xl text-gray-600 mb-10 leading-relaxed",children:"Con AvanzaCast, no necesitas ser un experto en tecnología para crear transmisiones de alta calidad. Comienza en minutos y crece con nosotros."}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-6 justify-center items-center mb-8",children:[i.jsx("a",{href:"/auth/register",children:i.jsx("button",{className:"bg-gradient-to-r from-teal-600 to-teal-700 hover:from-teal-700 hover:to-teal-800 text-white px-10 py-5 text-xl font-bold rounded-xl transition-all duration-200 transform hover:scale-105 hover:shadow-xl active:scale-95 shadow-lg",children:"Comenzar prueba gratuita"})}),i.jsx("button",{className:"text-gray-600 hover:text-gray-800 font-semibold underline transition-colors text-lg hover:bg-white px-4 py-3 rounded-lg hover:shadow-sm",children:"Ver demos en vivo"})]}),i.jsx("p",{className:"text-sm text-gray-500",children:"✓ Sin tarjeta de crédito requerida • ✓ Configuración en 2 minutos • ✓ Soporte 24/7"})]})}),i.jsx("section",{className:"bg-gray-50 py-16",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[i.jsx("p",{className:"text-gray-500 text-lg mb-8",children:"Confiado por más de 4 millones de creadores"}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-8 items-center opacity-60",children:$h.map((e,t)=>i.jsxs("div",{className:"flex flex-col items-center space-y-2 hover:opacity-100 transition-opacity",children:[i.jsx("div",{className:"text-3xl",children:e.logo}),i.jsx("span",{className:"text-sm font-medium text-gray-400",children:e.name})]},t))})]})}),i.jsx("section",{className:"py-20 bg-gradient-to-r from-blue-50 to-indigo-50",children:i.jsxs("div",{className:"max-w-4xl mx-auto text-center px-4 sm:px-6 lg:px-8",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"¿Listo para elevar tu contenido?"}),i.jsx("p",{className:"text-xl text-gray-600 mb-8",children:"Únete a miles de creadores que ya confían en AvanzaCast para sus transmisiones profesionales"}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-6 justify-center mb-8",children:[i.jsx("a",{href:"/auth/register",children:i.jsx("button",{className:"w-full sm:w-auto bg-gradient-to-r from-blue-600 to-blue-700 hover:from-blue-700 hover:to-blue-800 text-white px-10 py-5 text-xl font-bold rounded-xl transition-all duration-200 transform hover:scale-105 hover:shadow-xl active:scale-95 shadow-lg",children:"🚀 Crear Cuenta Gratis"})}),i.jsx("button",{className:"w-full sm:w-auto border-2 border-gray-300 hover:border-gray-400 bg-white hover:bg-gray-50 text-gray-700 px-10 py-5 text-xl font-bold rounded-xl transition-all duration-200 transform hover:scale-105 hover:shadow-lg active:scale-95",children:"📞 Contactar Ventas"})]}),i.jsxs("div",{className:"pt-8 border-t border-gray-200",children:[i.jsx("p",{className:"text-sm text-gray-500 mb-4",children:"Confiado por creadores en todo el mundo"}),i.jsx("div",{className:"flex justify-center items-center space-x-8 opacity-60",children:Uh.map((e,t)=>i.jsx("div",{className:"text-gray-400 font-medium hover:text-gray-600 hover:-translate-y-0.5 transition-all duration-200 cursor-pointer",children:e},e))})]})]})}),i.jsx("footer",{className:"bg-gray-900 text-white py-12",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"grid md:grid-cols-4 gap-8",children:[i.jsxs("div",{children:[i.jsx("div",{className:"mb-4",children:i.jsx("img",{src:"/images/logoavanzacast_white.png",alt:"AvanzaCast",className:"h-12 w-auto"})}),i.jsx("p",{className:"text-gray-400 mb-6",children:"La plataforma profesional de streaming que necesitas para crear contenido de calidad."}),i.jsxs("div",{className:"flex space-x-4",children:[i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white transition-colors",children:i.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:i.jsx("path",{d:"M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z"})})}),i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white transition-colors",children:i.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:i.jsx("path",{d:"M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.49.75 2.81 1.91 3.56-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07 4.28 4.28 0 0 0 4 2.98 8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21 16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56.84-.6 1.56-1.36 2.14-2.23z"})})}),i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white transition-colors",children:i.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:i.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})})]})]}),["Producto","Soporte","Empresa"].map((e,t)=>i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold mb-4",children:e}),i.jsxs("ul",{className:"space-y-2 text-gray-400",children:[i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white transition-colors",children:"Enlace 1"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white transition-colors",children:"Enlace 2"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white transition-colors",children:"Enlace 3"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white transition-colors",children:"Enlace 4"})})]})]},t))]}),i.jsxs("div",{className:"border-t border-gray-700 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center text-gray-400",children:[i.jsx("p",{children:"© 2024 AvanzaCast. Todos los derechos reservados."}),i.jsxs("div",{className:"flex space-x-6 mt-4 md:mt-0",children:[i.jsx("a",{href:"/privacy",className:"hover:text-white transition-colors",children:"Política de Privacidad"}),i.jsx("a",{href:"/terms",className:"hover:text-white transition-colors",children:"Términos de Servicio"}),i.jsx("a",{href:"/cookies",className:"hover:text-white transition-colors",children:"Cookies"})]})]})]})})]})}function Vh(){const[e,t]=v.useState(""),[n,r]=v.useState(!1),[l]=v.useState({name:"Nextv",email:"nextv.stream@gmail.com",initial:"N"}),s=vr(),o=c=>{c.preventDefault(),s(`/auth/register?email=${encodeURIComponent(e)}`)},a=()=>{setTimeout(()=>r(!0),600)},u=()=>{s("/broadcasts")};return i.jsx("section",{className:"relative bg-white py-20 lg:py-32",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[i.jsx("div",{className:"space-y-8",children:i.jsxs("div",{className:"space-y-6",children:[i.jsxs("h1",{className:"text-4xl lg:text-6xl font-black text-gray-900 leading-tight",children:["La manera más sencilla de",i.jsx("br",{}),i.jsx("span",{className:"text-gray-900",children:"grabar y transmitir"}),i.jsx("br",{}),i.jsx("span",{className:"text-gray-900",children:"en vivo"})]}),i.jsx("p",{className:"text-xl text-gray-600 leading-relaxed max-w-lg",children:"AvanzaCast es un estudio profesional para grabar y hacer transmisiones en vivo desde tu navegador. Graba contenido o transmite en vivo a Facebook, YouTube y otras plataformas."}),i.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-4",children:i.jsxs("div",{className:"flex items-start",children:[i.jsx("div",{className:"text-blue-600 mr-3 mt-0.5",children:"ℹ️"}),i.jsxs("div",{children:[i.jsx("p",{className:"text-blue-900 font-medium",children:"¡Te refieres a AvanzaCast!"}),i.jsx("p",{className:"text-blue-700 text-sm",children:"Recibirás una prueba gratuita de 14 días. No se requiere tarjeta."})]})]})})]})}),i.jsxs("div",{className:"bg-white rounded-2xl shadow-xl border border-gray-200 p-6 max-w-md mx-auto",children:[i.jsx("div",{className:"mb-4",children:n?i.jsxs("button",{onClick:u,className:"w-full flex items-center px-4 py-2.5 border border-gray-300 rounded-lg shadow-sm bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition-colors",children:[i.jsx("div",{className:"w-7 h-7 bg-purple-600 rounded-full flex items-center justify-center",children:i.jsx("span",{className:"text-white text-sm font-bold",children:l.initial})}),i.jsxs("div",{className:"flex-1 ml-3",children:[i.jsxs("p",{className:"text-sm font-medium text-gray-900",children:["Continuar como ",l.name]}),i.jsx("p",{className:"text-xs text-gray-500",children:l.email})]}),i.jsx("svg",{className:"w-4 h-4 text-gray-400",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"})})]}):i.jsx("button",{onClick:a,className:"w-full flex items-center justify-center px-4 py-2.5 border border-gray-300 rounded-md shadow-sm bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition-colors",children:i.jsxs("div",{className:"flex items-center space-x-3",children:[i.jsxs("svg",{className:"w-5 h-5",viewBox:"0 0 24 24",children:[i.jsx("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),i.jsx("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),i.jsx("path",{fill:"#FBBC04",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),i.jsx("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]}),i.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Continuar con Google"})]})})}),i.jsxs("div",{className:"relative mb-4",children:[i.jsx("div",{className:"absolute inset-0 flex items-center",children:i.jsx("div",{className:"w-full border-t border-gray-200"})}),i.jsx("div",{className:"relative flex justify-center text-sm",children:i.jsx("span",{className:"px-3 bg-white text-gray-500",children:"O continúa con tu correo"})})]}),i.jsxs("form",{onSubmit:o,className:"space-y-4",children:[i.jsx("div",{children:i.jsx("input",{type:"email",value:e,onChange:c=>t(c.target.value),placeholder:"Ingresa tu dirección de correo electrónico",className:"w-full px-6 py-4 text-base border-2 border-gray-300 rounded-xl focus:ring-4 focus:ring-blue-500/20 focus:border-blue-500 transition-all duration-200 placeholder:text-gray-500 hover:border-gray-400 shadow-sm hover:shadow-md",required:!0})}),i.jsx("button",{type:"submit",className:"w-full bg-gradient-to-r from-blue-600 to-blue-700 hover:from-blue-700 hover:to-blue-800 text-white py-4 px-6 rounded-xl font-bold text-base transition-all duration-200 transform hover:scale-105 hover:shadow-lg active:scale-95 shadow-md",children:"¡Empiezo gratis ahora!"}),i.jsx("div",{className:"text-center py-2",children:i.jsx("p",{className:"text-green-600 font-medium text-xs",children:"¡Confiado por más de 12,000,000 creadores!"})}),i.jsx("div",{className:"text-xs text-gray-500 text-center leading-tight",children:i.jsxs("p",{children:["Al continuar, aceptas nuestros"," ",i.jsx(Lt,{to:"/terms",className:"text-blue-600 hover:underline",children:"Términos de Servicio"}),", "," ",i.jsx(Lt,{to:"/privacy-policy",className:"text-blue-600 hover:underline",children:"Política de Uso"}),", y reconoces nuestra"," ",i.jsx(Lt,{to:"/privacy",className:"text-blue-600 hover:underline",children:"Política de Privacidad"}),"."]})}),i.jsx("div",{className:"text-center pt-2",children:i.jsxs("p",{className:"text-sm text-gray-600",children:["¿Ya usas AvanzaCast?"," ",i.jsx(Lt,{to:"/auth/login",className:"text-blue-600 hover:underline font-medium",children:"Inicia sesión"}),"."]})})]})]})]})})})}function Hh(){return i.jsx("section",{className:"bg-gray-50 py-20",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center mb-20",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-gray-900 mb-6",children:"Transmite en vivo o graba podcasts con invitados remotos"}),i.jsx("p",{className:"text-xl text-gray-600 leading-relaxed",children:"Los invitados pueden unirse fácilmente desde su navegador o teléfono en unos pocos clics. No hace falta descargar ningún software."}),i.jsx("div",{className:"mt-8",children:i.jsx("button",{className:"bg-gradient-to-r from-blue-600 to-blue-700 hover:from-blue-700 hover:to-blue-800 text-white px-8 py-4 rounded-xl font-bold text-lg transition-all duration-200 transform hover:scale-105 hover:shadow-xl active:scale-95 shadow-lg",children:"Invitar colaboradores"})})]}),i.jsx("div",{className:"bg-pink-100 rounded-3xl p-8",children:i.jsxs("div",{className:"bg-white rounded-2xl p-6 shadow-lg",children:[i.jsxs("div",{className:"flex items-center space-x-4 mb-4",children:[i.jsx("div",{className:"w-20 h-16 bg-gray-300 rounded flex items-center justify-center",children:i.jsx("span",{className:"text-xs font-medium",children:"James"})}),i.jsx("div",{className:"w-20 h-16 bg-gray-300 rounded flex items-center justify-center",children:i.jsx("span",{className:"text-xs font-medium",children:"Helena"})})]}),i.jsxs("div",{className:"bg-purple-600 rounded-lg p-4 text-center",children:[i.jsx("div",{className:"text-white text-lg font-semibold",children:"Melanie Dyann Howe"}),i.jsx("div",{className:"text-purple-200 text-sm",children:"Anfitriona"})]})]})})]}),i.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[i.jsx("div",{className:"order-2 lg:order-1",children:i.jsxs("div",{className:"bg-gradient-to-r from-purple-600 to-blue-600 rounded-3xl p-8 text-white",children:[i.jsxs("div",{className:"flex items-center justify-between mb-4",children:[i.jsx("span",{className:"text-sm opacity-80",children:"Zoom"}),i.jsx("span",{className:"text-sm font-semibold",children:"AvanzaCast"})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsx("div",{className:"bg-black/20 rounded-lg aspect-video flex items-center justify-center",children:i.jsx("span",{className:"text-xs",children:"📹 Video Feed 1"})}),i.jsx("div",{className:"bg-black/20 rounded-lg aspect-video flex items-center justify-center",children:i.jsx("span",{className:"text-xs",children:"📹 Video Feed 2"})})]}),i.jsx("div",{className:"mt-4 text-center",children:i.jsxs("div",{className:"inline-flex items-center bg-green-500 text-white px-3 py-1 rounded-full text-xs",children:[i.jsx("div",{className:"w-2 h-2 bg-white rounded-full mr-2"}),"Grabando en HD"]})})]})}),i.jsxs("div",{className:"order-1 lg:order-2",children:[i.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-gray-900 mb-6",children:"Grabaciones con calidad de estudio, independientemente de tu conexión"}),i.jsx("p",{className:"text-xl text-gray-600 leading-relaxed mb-8",children:"¿Te cansaste de que tus podcasts queden arruinados con Zoom y Skype? Con las grabaciones locales, se graba un archivo de video separado de cada invitado directamente en su computadora, sin importar qué tan mala sea su conexión a internet."}),i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex items-center space-x-3",children:[i.jsx("div",{className:"w-5 h-5 bg-green-500 rounded-full flex items-center justify-center",children:i.jsx("svg",{className:"w-3 h-3 text-white",fill:"currentColor",viewBox:"0 0 20 20",children:i.jsx("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}),i.jsx("span",{className:"text-gray-600",children:"Grabación local en cada dispositivo"})]}),i.jsxs("div",{className:"flex items-center space-x-3",children:[i.jsx("div",{className:"w-5 h-5 bg-green-500 rounded-full flex items-center justify-center",children:i.jsx("svg",{className:"w-3 h-3 text-white",fill:"currentColor",viewBox:"0 0 20 20",children:i.jsx("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}),i.jsx("span",{className:"text-gray-600",children:"Calidad 4K independiente de la conexión"})]}),i.jsxs("div",{className:"flex items-center space-x-3",children:[i.jsx("div",{className:"w-5 h-5 bg-green-500 rounded-full flex items-center justify-center",children:i.jsx("svg",{className:"w-3 h-3 text-white",fill:"currentColor",viewBox:"0 0 20 20",children:i.jsx("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}),i.jsx("span",{className:"text-gray-600",children:"Sincronización automática"})]})]})]})]})]})})}const _n=[{icon:"/images/carousel_recording.svg",title:"Recording",description:"Graba contenido de alta calidad"},{icon:"/images/carousel_streaming.svg",title:"Streaming",description:"Transmite en vivo a múltiples plataformas"},{icon:"/images/carousel_guests.svg",title:"Guests",description:"Invita colaboradores fácilmente"},{icon:"/images/carousel_branding.svg",title:"Branding",description:"Personaliza tu transmisión"},{icon:"/images/carousel_engagement.svg",title:"Engagement",description:"Interactúa con tu audiencia"},{icon:"/images/carousel_podcasts.svg",title:"Podcasts",description:"Crea podcasts profesionales"},{icon:"/images/carousel_repurpose.svg",title:"Repurpose",description:"Reutiliza tu contenido"}];function Qh(){const e=v.useRef(null),t=12,n=Array.from({length:t},()=>_n).flat(),r=()=>{e.current&&e.current.scrollBy({left:-320,behavior:"smooth"})},l=()=>{e.current&&e.current.scrollBy({left:320,behavior:"smooth"})};return v.useEffect(()=>{if(e.current){const o=_n.length*312*Math.floor(t/2);e.current.scrollLeft=o}},[]),v.useEffect(()=>{let s;const o=e.current,a=()=>{if(!o)return;const u=_n.length*(288+24),c=u*t,m=u*Math.floor(t/2),p=50;requestAnimationFrame(()=>{(o.scrollLeft<=p||o.scrollLeft>=c-o.clientWidth-p)&&(o.scrollLeft=m)})};if(o){const u=()=>{clearTimeout(s),s=setTimeout(a,150)};return o.addEventListener("scroll",u,{passive:!0}),()=>{o.removeEventListener("scroll",u),clearTimeout(s)}}},[]),i.jsx("section",{className:"bg-gray-50 py-16 w-full",children:i.jsxs("div",{className:"w-full",children:[i.jsx("div",{className:"text-center mb-12 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto",children:i.jsx("p",{className:"text-gray-600 mb-8",children:"AvanzaCast es un estudio profesional para grabar y hacer transmisiones en vivo desde tu navegador. Graba contenido o transmite en vivo a Facebook, YouTube y otras plataformas."})}),i.jsxs("div",{className:"relative w-full",children:[i.jsx("button",{onClick:r,className:"absolute left-4 top-1/2 -translate-y-1/2 z-10 w-12 h-12 rounded-full bg-white shadow-lg border border-gray-200 flex items-center justify-center hover:bg-gray-50 cursor-pointer transition-all",children:i.jsx("svg",{className:"w-6 h-6 text-gray-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),i.jsx("button",{onClick:l,className:"absolute right-4 top-1/2 -translate-y-1/2 z-10 w-12 h-12 rounded-full bg-white shadow-lg border border-gray-200 flex items-center justify-center hover:bg-gray-50 cursor-pointer transition-all",children:i.jsx("svg",{className:"w-6 h-6 text-gray-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})}),i.jsx("div",{ref:e,className:"flex space-x-6 overflow-x-auto scrollbar-hide carousel-smooth pb-4 px-16",children:n.map((s,o)=>{const a=Math.floor(o/_n.length),u=o%_n.length;return i.jsx("div",{className:"flex-shrink-0 w-72",children:i.jsx(Lt,{to:"/auth/register",className:"block group hover:scale-105 transition-transform duration-200",children:i.jsxs("div",{className:"bg-white rounded-2xl p-6 text-center shadow-sm hover:shadow-lg transition-all duration-200 border border-gray-100 hover:border-blue-200",children:[i.jsx("div",{className:"mb-6 overflow-hidden rounded-xl",children:i.jsx("img",{src:s.icon,alt:s.title,className:"w-full h-40 object-cover group-hover:scale-110 transition-transform duration-300"})}),i.jsx("h5",{className:"font-bold text-gray-900 text-lg mb-2 group-hover:text-blue-600 transition-colors",children:s.title})]})})},`set-${a}-item-${u}-${s.title}`)})})]})]})})}const Tn=[{text:"Esta probablemente sea la plataforma de transmisión más fácil de usar que conozco...",author:"Bomeca Trotter"},{text:"Uso AvanzaCast desde hace mucho tiempo y sigo eligiéndolo...",author:"Krissy Buck"},{text:"Hace dos años que uso este sistema y me encanta!",author:"Joy Ann Lajeret"},{text:"La integración con múltiples plataformas es perfecta...",author:"Carlos Mendoza"},{text:"Como creadora de contenido, necesitaba una herramienta confiable...",author:"María González"}];function Gh(){const e=v.useRef(null),[t,n]=v.useState(!0),r=12,l=Array.from({length:r},()=>Tn).flat(),s=()=>{e.current&&e.current.scrollBy({left:-400,behavior:"smooth"})},o=()=>{e.current&&e.current.scrollBy({left:400,behavior:"smooth"})};return v.useEffect(()=>{if(e.current){const u=Tn.length*400*Math.floor(r/2);e.current.scrollLeft=u}},[]),v.useEffect(()=>{if(!t||!e.current)return;const a=setInterval(()=>o(),4e3);return()=>clearInterval(a)},[t]),v.useEffect(()=>{let a;const u=e.current,c=()=>{if(!u)return;const m=Tn.length*400,p=m*r,g=m*Math.floor(r/2),y=100;requestAnimationFrame(()=>{(u.scrollLeft<=y||u.scrollLeft>=p-u.clientWidth-y)&&(u.scrollLeft=g)})};if(u){const m=()=>{clearTimeout(a),a=setTimeout(c,150)};return u.addEventListener("scroll",m,{passive:!0}),()=>{u.removeEventListener("scroll",m),clearTimeout(a)}}},[]),i.jsx("section",{className:"bg-white py-20",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[i.jsx("h2",{className:"text-3xl lg:text-5xl font-black text-gray-900 mb-16",children:"Ya se crearon más de 60 millones de transmisiones y grabaciones en AvanzaCast"}),i.jsxs("div",{className:"relative w-full",children:[i.jsx("button",{onClick:s,className:"absolute left-4 top-1/2 -translate-y-1/2 z-10 w-12 h-12 rounded-full bg-white shadow-lg border border-gray-200 flex items-center justify-center hover:bg-gray-50 cursor-pointer transition-all",children:i.jsx("svg",{className:"w-6 h-6 text-gray-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),i.jsx("button",{onClick:o,className:"absolute right-4 top-1/2 -translate-y-1/2 z-10 w-12 h-12 rounded-full bg-white shadow-lg border border-gray-200 flex items-center justify-center hover:bg-gray-50 cursor-pointer transition-all",children:i.jsx("svg",{className:"w-6 h-6 text-gray-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})}),i.jsx("div",{ref:e,className:"flex space-x-8 overflow-x-auto scrollbar-hide carousel-smooth pb-4 px-16",onMouseEnter:()=>n(!1),onMouseLeave:()=>n(!0),children:l.map((a,u)=>{const c=Math.floor(u/Tn.length),m=u%Tn.length;return i.jsx("div",{className:"flex-shrink-0 w-80",children:i.jsxs("div",{className:"bg-gray-50 p-8 rounded-2xl h-full",children:[i.jsxs("p",{className:"text-gray-700 italic mb-6 leading-relaxed text-sm",children:["“",a.text,"”"]}),i.jsx("p",{className:"font-semibold text-gray-900",children:a.author})]})},`testimonial-set-${c}-item-${m}-${a.author}`)})})]}),i.jsx("div",{className:"flex justify-center space-x-4 mt-8",children:i.jsx("button",{onClick:()=>n(!t),className:"text-sm text-gray-500 hover:text-gray-700 flex items-center space-x-1 transition-colors",children:t?i.jsxs(i.Fragment,{children:[i.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 9v6m4-6v6"})}),i.jsx("span",{children:"Pausar auto-scroll"})]}):i.jsxs(i.Fragment,{children:[i.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14.828 14.828a4 4 0 01-5.656 0M9 10h1m4 0h1m-6 4h.01M15 14h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),i.jsx("span",{children:"Reanudar auto-scroll"})]})})})]})})}function Kh(){return v.useEffect(()=>{const e=document.createElement("script");return e.src="/next-assets/js/main.js",e.async=!0,document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),i.jsxs("div",{className:"bg-white",children:[i.jsx("header",{className:"bg-white py-6",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex items-center justify-between",children:[i.jsx("a",{href:"/",className:"text-2xl font-bold",children:"AvanzaCast"}),i.jsxs("div",{className:"space-x-4",children:[i.jsx("a",{href:"/auth/login",className:"text-gray-700",children:"Accede"}),i.jsx("a",{href:"/auth/register",className:"bg-blue-600 text-white px-4 py-2 rounded-lg",children:"Empezamos"})]})]})}),i.jsxs("main",{children:[i.jsx(Vh,{}),i.jsx(Qh,{}),i.jsx(Hh,{}),i.jsx(Bh,{}),i.jsx(Gh,{}),i.jsx(Wh,{})]})]})}const Yh=()=>i.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[i.jsx("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),i.jsx("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),i.jsx("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]}),Xh=()=>i.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[i.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),i.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),za=()=>i.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:i.jsx("polyline",{points:"6 9 12 15 18 9"})}),qh=()=>i.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[i.jsx("path",{d:"M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"}),i.jsx("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),i.jsx("line",{x1:"12",y1:"19",x2:"12",y2:"23"}),i.jsx("line",{x1:"8",y1:"23",x2:"16",y2:"23"})]}),Zh=()=>i.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[i.jsx("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),i.jsx("circle",{cx:"9",cy:"7",r:"4"}),i.jsx("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87m-3-12a4 4 0 0 1 0 7.75"})]}),Jh=()=>i.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[i.jsx("path",{d:"M23 7l-7 5 7 5V7z"}),i.jsx("rect",{x:"1",y:"5",width:"15",height:"14",rx:"2",ry:"2"})]}),ep=()=>{const[e,t]=v.useState(!1),[n,r]=v.useState(!1),[l,s]=v.useState(!1),o=()=>t(!e);return i.jsx("header",{className:"sticky top-0 bg-white border-b border-gray-200 z-50 shadow-sm",children:i.jsxs("div",{className:"max-w-[1280px] mx-auto px-5",children:[i.jsxs("div",{className:"flex items-center justify-between h-20",children:[i.jsx("a",{href:"/",className:"flex items-center",children:i.jsx("img",{src:"/images/logo.svg",alt:"AvanzaCast",className:"h-10 w-auto"})}),i.jsxs("nav",{className:"hidden lg:flex items-center gap-8",children:[i.jsxs("ul",{className:"flex items-center gap-8 list-none m-0 p-0",children:[i.jsxs("li",{className:"relative",onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:[i.jsxs("a",{href:"#",className:"flex items-center gap-1 text-gray-700 hover:text-blue-600 transition-colors no-underline",children:["Producto",i.jsx(za,{})]}),n&&i.jsxs("ul",{className:"absolute top-full left-0 mt-2 bg-white border border-gray-200 rounded-lg shadow-lg min-w-[220px] p-2",children:[i.jsx("li",{children:i.jsxs("a",{href:"#",className:"flex items-center gap-3 px-4 py-3 hover:bg-gray-50 rounded text-gray-700 no-underline",children:[i.jsx(qh,{}),i.jsx("span",{children:"Grabación"})]})}),i.jsx("li",{children:i.jsxs("a",{href:"#",className:"flex items-center gap-3 px-4 py-3 hover:bg-gray-50 rounded text-gray-700 no-underline",children:[i.jsx(Jh,{}),i.jsx("span",{children:"Multistream"})]})}),i.jsx("li",{children:i.jsxs("a",{href:"#",className:"flex items-center gap-3 px-4 py-3 hover:bg-gray-50 rounded text-gray-700 no-underline",children:[i.jsx(Zh,{}),i.jsx("span",{children:"Invitados"})]})})]})]}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"text-gray-700 hover:text-blue-600 transition-colors no-underline",children:"Contacto"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"text-gray-700 hover:text-blue-600 transition-colors no-underline",children:"Precios"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"text-gray-700 hover:text-blue-600 transition-colors no-underline",children:"Novedades"})}),i.jsxs("li",{className:"relative",onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),children:[i.jsxs("a",{href:"#",className:"flex items-center gap-1 text-gray-700 hover:text-blue-600 transition-colors no-underline",children:["Para empresas",i.jsx(za,{})]}),l&&i.jsxs("ul",{className:"absolute top-full left-0 mt-2 bg-white border border-gray-200 rounded-lg shadow-lg min-w-[220px] p-2",children:[i.jsx("li",{children:i.jsx("a",{href:"#",className:"flex items-center gap-3 px-4 py-3 hover:bg-gray-50 rounded text-gray-700 no-underline",children:"Soluciones empresariales"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"flex items-center gap-3 px-4 py-3 hover:bg-gray-50 rounded text-gray-700 no-underline",children:"Casos de uso"})})]})]}),i.jsx("li",{children:i.jsx("a",{href:"/auth/login",className:"text-gray-700 hover:text-blue-600 transition-colors no-underline",children:"Accede"})})]}),i.jsx("a",{href:"/auth/register",className:"bg-blue-600 text-white px-8 py-4 rounded-lg hover:bg-blue-700 transition-colors no-underline font-medium",children:"Empecemos"})]}),i.jsx("button",{className:"lg:hidden p-2 text-gray-700 hover:text-blue-600",onClick:o,"aria-label":"Toggle menu",children:e?i.jsx(Xh,{}):i.jsx(Yh,{})})]}),e&&i.jsx("nav",{className:"lg:hidden py-4 border-t border-gray-200",children:i.jsxs("ul",{className:"flex flex-col gap-4 list-none m-0 p-0",children:[i.jsx("li",{children:i.jsx("a",{href:"#",className:"block py-2 text-gray-700 hover:text-blue-600 no-underline",children:"Producto"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"block py-2 text-gray-700 hover:text-blue-600 no-underline",children:"Contacto"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"block py-2 text-gray-700 hover:text-blue-600 no-underline",children:"Precios"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"block py-2 text-gray-700 hover:text-blue-600 no-underline",children:"Novedades"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"block py-2 text-gray-700 hover:text-blue-600 no-underline",children:"Para empresas"})}),i.jsx("li",{children:i.jsx("a",{href:"/auth/login",className:"block py-2 text-gray-700 hover:text-blue-600 no-underline",children:"Accede"})}),i.jsx("li",{children:i.jsx("a",{href:"/auth/register",className:"block bg-blue-600 text-white px-6 py-3 rounded-lg hover:bg-blue-700 transition-colors no-underline text-center font-medium",children:"Empecemos"})})]})})]})})},tp=()=>{const[e,t]=v.useState(""),n=()=>{window.location.href="/auth/register?provider=google"},r=l=>{l.preventDefault(),window.location.href=`/auth/register?email=${encodeURIComponent(e)}`};return i.jsx("section",{className:"relative py-24 lg:py-32 bg-gradient-to-b from-blue-50 to-white overflow-hidden",children:i.jsxs("div",{className:"max-w-[1280px] mx-auto px-5",children:[i.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[i.jsxs("div",{className:"max-w-[600px]",children:[i.jsx("h1",{className:"text-5xl lg:text-6xl font-bold text-gray-900 leading-tight mb-6",children:"La manera más sencilla de transmitir en vivo y grabar"}),i.jsx("p",{className:"text-lg lg:text-xl text-gray-600 mb-8 max-w-[500px]",children:"AvanzaCast es un estudio profesional para grabar y hacer transmisiones en vivo desde tu navegador. Invita a tus invitados, comparte tu pantalla y transmite en varias plataformas a la vez."})]}),i.jsxs("div",{className:"relative min-w-[350px]",children:[i.jsxs("div",{className:"bg-white p-8 rounded-2xl shadow-xl relative z-10",children:[i.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Comienza gratis"}),i.jsxs("button",{onClick:n,className:"w-full bg-white border-2 border-gray-300 text-gray-700 px-6 py-4 rounded-lg hover:bg-gray-50 transition-colors flex items-center justify-center gap-3 mb-4 font-medium",children:[i.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",children:[i.jsx("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),i.jsx("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),i.jsx("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),i.jsx("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]}),"Continuar con Google"]}),i.jsxs("div",{className:"relative text-center my-6",children:[i.jsx("span",{className:"relative bg-white px-4 text-sm text-gray-500 z-10",children:"o"}),i.jsx("div",{className:"absolute top-1/2 left-0 right-0 h-px bg-gray-200 -z-10"})]}),i.jsxs("form",{onSubmit:r,children:[i.jsx("input",{type:"email",value:e,onChange:l=>t(l.target.value),placeholder:"Ingresa tu correo electrónico",className:"w-full border border-gray-300 px-4 py-4 rounded-lg mb-4 focus:outline-none focus:border-blue-600 focus:ring-2 focus:ring-blue-100",required:!0}),i.jsx("button",{type:"submit",className:"w-full bg-blue-600 text-white px-6 py-4 rounded-lg hover:bg-blue-700 transition-colors font-medium text-lg",children:"Empecemos"})]}),i.jsxs("p",{className:"text-xs text-gray-500 mt-4 text-center",children:["Al continuar, aceptas nuestros"," ",i.jsx("a",{href:"/terms",className:"text-blue-600 hover:underline",children:"Términos de Servicio"})," ","y"," ",i.jsx("a",{href:"/privacy",className:"text-blue-600 hover:underline",children:"Política de Privacidad"}),"."]}),i.jsxs("p",{className:"text-sm text-gray-600 mt-6 text-center",children:["¿Ya tienes cuenta?"," ",i.jsx("a",{href:"/auth/login",className:"text-blue-600 hover:underline font-medium",children:"Inicia sesión"})]})]}),i.jsx("div",{className:"absolute -right-8 -bottom-8 w-64 h-64 bg-gradient-to-br from-blue-100 to-purple-100 rounded-full blur-3xl opacity-30 -z-10"})]})]}),i.jsxs("div",{className:"mt-20 pt-12 border-t border-gray-200",children:[i.jsx("p",{className:"text-center text-sm text-gray-500 mb-8",children:"Confiado por miles de creadores y empresas"}),i.jsxs("div",{className:"flex flex-wrap justify-center items-center gap-12 opacity-60 grayscale",children:[i.jsx("img",{src:"/images/clients/microsoft.svg",alt:"Microsoft",className:"h-8"}),i.jsx("img",{src:"/images/clients/google.svg",alt:"Google",className:"h-8"}),i.jsx("img",{src:"/images/clients/amazon.svg",alt:"Amazon",className:"h-8"}),i.jsx("img",{src:"/images/clients/facebook.svg",alt:"Facebook",className:"h-8"}),i.jsx("img",{src:"/images/clients/linkedin.svg",alt:"LinkedIn",className:"h-8"})]})]})]})})},np=[{id:1,name:"Grabación",icon:"🎙️",description:"Graba con calidad de estudio"},{id:2,name:"Multistream",icon:"📡",description:"Transmite a múltiples plataformas"},{id:3,name:"Invitados",icon:"👥",description:"Invita fácilmente a colaboradores"},{id:4,name:"Marca",icon:"🎨",description:"Personaliza con tu branding"},{id:5,name:"Chat en Vivo",icon:"💬",description:"Interactúa con tu audiencia"},{id:6,name:"Pantalla Compartida",icon:"🖥️",description:"Comparte tu pantalla fácilmente"},{id:7,name:"Analytics",icon:"📊",description:"Analiza tu rendimiento"}],rp=()=>{const e=v.useRef(null),t=r=>{e.current&&e.current.scrollBy({left:r==="left"?-300:300,behavior:"smooth"})},n=r=>{window.location.href=`/auth/register?feature=${encodeURIComponent(r)}`};return i.jsx("section",{className:"py-24 bg-white",children:i.jsxs("div",{className:"max-w-[1280px] mx-auto px-5",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-4",children:"Todo lo que necesitas para transmitir"}),i.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Herramientas profesionales al alcance de un clic"})]}),i.jsxs("div",{className:"relative",children:[i.jsx("button",{onClick:()=>t("left"),className:"absolute left-0 top-1/2 -translate-y-1/2 z-10 bg-white border-2 border-gray-200 rounded-full p-3 hover:bg-gray-50 hover:scale-105 transition-all shadow-lg hidden md:block","aria-label":"Anterior",children:i.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:i.jsx("polyline",{points:"15 18 9 12 15 6"})})}),i.jsx("div",{ref:e,className:"flex gap-6 overflow-x-auto scrollbar-hide scroll-smooth pb-4",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:np.map(r=>i.jsxs("div",{onClick:()=>n(r.name),className:"flex-none w-64 bg-white border-2 border-gray-200 rounded-2xl p-8 hover:-translate-y-2 hover:shadow-2xl transition-all cursor-pointer group",children:[i.jsx("div",{className:"text-5xl mb-4 group-hover:scale-110 transition-transform",children:r.icon}),i.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-2",children:r.name}),i.jsx("p",{className:"text-sm text-gray-600",children:r.description})]},r.id))}),i.jsx("button",{onClick:()=>t("right"),className:"absolute right-0 top-1/2 -translate-y-1/2 z-10 bg-white border-2 border-gray-200 rounded-full p-3 hover:bg-gray-50 hover:scale-105 transition-all shadow-lg hidden md:block","aria-label":"Siguiente",children:i.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:i.jsx("polyline",{points:"9 18 15 12 9 6"})})})]})]})})},lp=[{title:"Transmite en vivo o graba podcasts con invitados remotos",description:"Los invitados pueden unirse fácilmente desde su navegador o teléfono en unos pocos clics. No necesitan crear una cuenta ni descargar nada.",image:"/images/features/guests.svg",link:"/features/guests",reverse:!1},{title:"Grabaciones con calidad de estudio, independientemente de tu conexión",description:"¿Te cansaste de que tus podcasts queden arruinados con Zoom y Skype? AvanzaCast graba localmente en la computadora de cada invitado para obtener pistas de audio y video perfectas.",image:"/images/features/recording.svg",link:"/features/recording",background:"bg-pink-50",reverse:!0},{title:"Transmite a YouTube, Facebook, LinkedIn y más",description:"Transmite simultáneamente a múltiples destinos. Alcanza a tu audiencia dondequiera que estén, todo desde un solo lugar.",image:"/images/features/multistream.svg",link:"/features/multistream",reverse:!1},{title:"Personaliza con tu marca",description:"Añade tu logo, fondos personalizados y overlays para crear transmisiones profesionales que reflejen tu marca.",image:"/images/features/branding.svg",link:"/features/branding",background:"bg-purple-50",reverse:!0}],ip=()=>i.jsx("section",{className:"py-12",children:lp.map((e,t)=>i.jsx("div",{className:`py-20 ${e.background||""}`,children:i.jsx("div",{className:"max-w-[1280px] mx-auto px-5",children:i.jsxs("div",{className:`grid lg:grid-cols-2 gap-12 items-center ${e.reverse?"lg:grid-flow-dense":""}`,children:[i.jsxs("div",{className:e.reverse?"lg:col-start-2":"",children:[i.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-6",children:e.title}),i.jsx("p",{className:"text-lg text-gray-600 mb-8 leading-relaxed",children:e.description}),e.link&&i.jsxs("a",{href:e.link,className:"inline-flex items-center gap-2 text-blue-600 hover:text-blue-700 font-medium text-lg group",children:["Saber más",i.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"group-hover:translate-x-1 transition-transform",children:i.jsx("polyline",{points:"9 18 15 12 9 6"})})]})]}),i.jsx("div",{className:e.reverse?"lg:col-start-1 lg:row-start-1":"",children:i.jsx("div",{className:"relative rounded-2xl overflow-hidden shadow-2xl bg-gradient-to-br from-indigo-500 to-purple-600",children:i.jsx("img",{src:e.image,alt:e.title,className:"w-full h-auto",onError:n=>{const r=`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Crect width='600' height='400' fill='%234F46E5'/%3E%3Ctext x='50%25' y='50%25' dominant-baseline='middle' text-anchor='middle' font-family='system-ui' font-size='18' fill='white'%3E${encodeURIComponent(e.title.substring(0,50))}%3C/text%3E%3C/svg%3E`;n.currentTarget.src=r}})})})]})})},t))}),De=[{id:1,name:"María García",role:"CEO",company:"TechStartup",image:"/images/testimonials/user1.jpg",quote:"AvanzaCast transformó completamente la forma en que hacemos webinars. La calidad es excepcional y es súper fácil de usar.",rating:5},{id:2,name:"Carlos Rodríguez",role:"Content Creator",company:"YouTube",image:"/images/testimonials/user2.jpg",quote:"Llevo más de 2 años usando AvanzaCast para mis streams. No cambiaría a otra plataforma por nada del mundo.",rating:5},{id:3,name:"Ana Martínez",role:"Marketing Director",company:"GlobalCorp",image:"/images/testimonials/user3.jpg",quote:"La capacidad de transmitir simultáneamente a múltiples plataformas nos ha ayudado a triplicar nuestro alcance.",rating:5},{id:4,name:"Juan Pérez",role:"Podcaster",company:"El Podcast Diario",image:"/images/testimonials/user4.jpg",quote:"La calidad de audio es impresionante. Mis invitados siempre comentan lo profesional que se ve todo.",rating:5}],sp=()=>{const[e,t]=v.useState(0),n=()=>{t(s=>(s+1)%De.length)},r=()=>{t(s=>(s-1+De.length)%De.length)},l=s=>{t(s)};return i.jsx("section",{className:"py-24 bg-gradient-to-b from-blue-50 to-white",children:i.jsxs("div",{className:"max-w-[1280px] mx-auto px-5",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("p",{className:"text-sm font-semibold text-blue-600 uppercase tracking-wider mb-4",children:"Testimonios"}),i.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-4",children:"60,000,000+ transmisiones realizadas"}),i.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Miles de creadores confían en AvanzaCast para sus transmisiones"})]}),i.jsxs("div",{className:"relative max-w-4xl mx-auto",children:[i.jsx("button",{onClick:r,className:"absolute left-0 top-1/2 -translate-y-1/2 -translate-x-12 z-10 bg-white border-2 border-gray-200 rounded-full p-3 hover:bg-gray-50 hover:scale-105 transition-all shadow-lg hidden lg:block","aria-label":"Anterior testimonio",children:i.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:i.jsx("polyline",{points:"15 18 9 12 15 6"})})}),i.jsxs("div",{className:"bg-white rounded-2xl shadow-xl p-12 min-h-[400px] flex flex-col justify-between",children:[i.jsx("div",{className:"flex gap-1 mb-6",children:[...Array(De[e].rating)].map((s,o)=>i.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#FFD700",stroke:"#FFD700",children:i.jsx("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"})},o))}),i.jsxs("blockquote",{className:"text-2xl text-gray-700 leading-relaxed mb-8 flex-grow",children:['"',De[e].quote,'"']}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsx("div",{className:"w-16 h-16 rounded-full bg-gradient-to-br from-blue-400 to-purple-600 flex items-center justify-center text-white text-2xl font-bold",children:De[e].name.charAt(0)}),i.jsxs("div",{children:[i.jsx("p",{className:"font-bold text-gray-900 text-lg",children:De[e].name}),i.jsxs("p",{className:"text-gray-600",children:[De[e].role," at ",De[e].company]})]})]})]}),i.jsx("button",{onClick:n,className:"absolute right-0 top-1/2 -translate-y-1/2 translate-x-12 z-10 bg-white border-2 border-gray-200 rounded-full p-3 hover:bg-gray-50 hover:scale-105 transition-all shadow-lg hidden lg:block","aria-label":"Siguiente testimonio",children:i.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:i.jsx("polyline",{points:"9 18 15 12 9 6"})})}),i.jsx("div",{className:"flex justify-center gap-3 mt-8",children:De.map((s,o)=>i.jsx("button",{onClick:()=>l(o),className:`w-3 h-3 rounded-full transition-all ${o===e?"bg-blue-600 w-8":"bg-gray-300 hover:bg-gray-400"}`,"aria-label":`Ir al testimonio ${o+1}`},o))})]}),i.jsxs("div",{className:"flex justify-center gap-4 mt-8 lg:hidden",children:[i.jsx("button",{onClick:r,className:"bg-white border-2 border-gray-200 rounded-full p-3 hover:bg-gray-50 transition-all shadow","aria-label":"Anterior",children:i.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:i.jsx("polyline",{points:"15 18 9 12 15 6"})})}),i.jsx("button",{onClick:n,className:"bg-white border-2 border-gray-200 rounded-full p-3 hover:bg-gray-50 transition-all shadow","aria-label":"Siguiente",children:i.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:i.jsx("polyline",{points:"9 18 15 12 9 6"})})})]})]})})},op=()=>i.jsxs("section",{className:"py-24 bg-gradient-to-r from-blue-600 to-purple-600 relative overflow-hidden",children:[i.jsx("div",{className:"absolute top-0 left-0 w-96 h-96 bg-white opacity-5 rounded-full -translate-x-1/2 -translate-y-1/2"}),i.jsx("div",{className:"absolute bottom-0 right-0 w-96 h-96 bg-white opacity-5 rounded-full translate-x-1/2 translate-y-1/2"}),i.jsx("div",{className:"max-w-[1280px] mx-auto px-5 relative z-10",children:i.jsxs("div",{className:"text-center max-w-3xl mx-auto",children:[i.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-white mb-6",children:"¿Listo para comenzar tu próxima transmisión?"}),i.jsx("p",{className:"text-xl text-blue-100 mb-10",children:"Únete a miles de creadores que ya están transmitiendo con AvanzaCast. Es gratis para comenzar."}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center",children:[i.jsx("a",{href:"/auth/register",className:"bg-white text-blue-600 px-10 py-5 rounded-lg hover:bg-gray-100 transition-all font-bold text-lg shadow-xl hover:shadow-2xl hover:-translate-y-1 no-underline",children:"Comienza gratis"}),i.jsx("a",{href:"#features",className:"bg-transparent border-2 border-white text-white px-10 py-5 rounded-lg hover:bg-white hover:text-blue-600 transition-all font-bold text-lg no-underline",children:"Ver características"})]}),i.jsx("p",{className:"text-sm text-blue-100 mt-8",children:"No se requiere tarjeta de crédito • Configura en menos de 2 minutos"})]})})]}),ap=()=>{const[e,t]=v.useState("es");return i.jsx("footer",{className:"bg-gray-900 text-gray-300 py-16",children:i.jsxs("div",{className:"max-w-[1280px] mx-auto px-5",children:[i.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-8 mb-12",children:[i.jsxs("div",{className:"col-span-2 md:col-span-4 lg:col-span-1",children:[i.jsx("img",{src:"/images/logo-white.svg",alt:"AvanzaCast",className:"h-10 mb-4"}),i.jsx("p",{className:"text-sm text-gray-400",children:"La plataforma de streaming profesional para creadores y empresas."})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-white font-bold mb-4",children:"Producto"}),i.jsxs("ul",{className:"space-y-3 text-sm",children:[i.jsx("li",{children:i.jsx("a",{href:"/features",className:"hover:text-white transition-colors no-underline",children:"Características"})}),i.jsx("li",{children:i.jsx("a",{href:"/pricing",className:"hover:text-white transition-colors no-underline",children:"Precios"})}),i.jsx("li",{children:i.jsx("a",{href:"/integrations",className:"hover:text-white transition-colors no-underline",children:"Integraciones"})}),i.jsx("li",{children:i.jsx("a",{href:"/updates",className:"hover:text-white transition-colors no-underline",children:"Novedades"})})]})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-white font-bold mb-4",children:"Comunidad"}),i.jsxs("ul",{className:"space-y-3 text-sm",children:[i.jsx("li",{children:i.jsx("a",{href:"/blog",className:"hover:text-white transition-colors no-underline",children:"Blog"})}),i.jsx("li",{children:i.jsx("a",{href:"/tutorials",className:"hover:text-white transition-colors no-underline",children:"Tutoriales"})}),i.jsx("li",{children:i.jsx("a",{href:"/forum",className:"hover:text-white transition-colors no-underline",children:"Foro"})}),i.jsx("li",{children:i.jsx("a",{href:"/events",className:"hover:text-white transition-colors no-underline",children:"Eventos"})})]})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-white font-bold mb-4",children:"Empresa"}),i.jsxs("ul",{className:"space-y-3 text-sm",children:[i.jsx("li",{children:i.jsx("a",{href:"/about",className:"hover:text-white transition-colors no-underline",children:"Acerca de"})}),i.jsx("li",{children:i.jsx("a",{href:"/careers",className:"hover:text-white transition-colors no-underline",children:"Carreras"})}),i.jsx("li",{children:i.jsx("a",{href:"/contact",className:"hover:text-white transition-colors no-underline",children:"Contacto"})}),i.jsx("li",{children:i.jsx("a",{href:"/partners",className:"hover:text-white transition-colors no-underline",children:"Partners"})})]})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-white font-bold mb-4",children:"Legal"}),i.jsxs("ul",{className:"space-y-3 text-sm",children:[i.jsx("li",{children:i.jsx("a",{href:"/terms",className:"hover:text-white transition-colors no-underline",children:"Términos de Servicio"})}),i.jsx("li",{children:i.jsx("a",{href:"/privacy",className:"hover:text-white transition-colors no-underline",children:"Política de Privacidad"})}),i.jsx("li",{children:i.jsx("a",{href:"/cookies",className:"hover:text-white transition-colors no-underline",children:"Cookies"})}),i.jsx("li",{children:i.jsx("a",{href:"/dmca",className:"hover:text-white transition-colors no-underline",children:"DMCA"})})]})]})]}),i.jsxs("div",{className:"border-t border-gray-800 pt-8 flex flex-col md:flex-row justify-between items-center gap-4",children:[i.jsx("p",{className:"text-sm text-gray-400",children:"© 2025 AvanzaCast. Todos los derechos reservados."}),i.jsxs("div",{className:"flex gap-6",children:[i.jsx("a",{href:"https://twitter.com/avanzacast",className:"text-gray-400 hover:text-white transition-colors","aria-label":"Twitter",children:i.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M23 3a10.9 10.9 0 01-3.14 1.53 4.48 4.48 0 00-7.86 3v1A10.66 10.66 0 013 4s-4 9 5 13a11.64 11.64 0 01-7 2c9 5 20 0 20-11.5a4.5 4.5 0 00-.08-.83A7.72 7.72 0 0023 3z"})})}),i.jsx("a",{href:"https://facebook.com/avanzacast",className:"text-gray-400 hover:text-white transition-colors","aria-label":"Facebook",children:i.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",children:i.jsx("path",{d:"M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"})})}),i.jsx("a",{href:"https://youtube.com/avanzacast",className:"text-gray-400 hover:text-white transition-colors","aria-label":"YouTube",children:i.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",children:[i.jsx("path",{d:"M22.54 6.42a2.78 2.78 0 00-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 00-1.94 2A29 29 0 001 11.75a29 29 0 00.46 5.33A2.78 2.78 0 003.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 001.94-2 29 29 0 00.46-5.25 29 29 0 00-.46-5.33z"}),i.jsx("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02",fill:"#fff"})]})}),i.jsx("a",{href:"https://linkedin.com/company/avanzacast",className:"text-gray-400 hover:text-white transition-colors","aria-label":"LinkedIn",children:i.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",children:[i.jsx("path",{d:"M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"}),i.jsx("circle",{cx:"4",cy:"4",r:"2"})]})})]}),i.jsxs("div",{className:"relative",children:[i.jsxs("select",{value:e,onChange:n=>t(n.target.value),className:"bg-gray-800 border border-gray-700 text-gray-300 px-4 py-2 rounded-lg appearance-none cursor-pointer hover:bg-gray-700 transition-colors pr-10",children:[i.jsx("option",{value:"es",children:"🇪🇸 Español"}),i.jsx("option",{value:"en",children:"🇺🇸 English"}),i.jsx("option",{value:"pt",children:"🇧🇷 Português"}),i.jsx("option",{value:"fr",children:"🇫🇷 Français"})]}),i.jsx("svg",{className:"absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none text-gray-400",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:i.jsx("polyline",{points:"6 9 12 15 18 9"})})]})]})]})})},up=()=>i.jsxs("div",{className:"min-h-screen bg-white",children:[i.jsx(ep,{}),i.jsxs("main",{children:[i.jsx(tp,{}),i.jsx(rp,{}),i.jsx(ip,{}),i.jsx(sp,{}),i.jsx(op,{})]}),i.jsx(ap,{})]});function cp(){return v.useEffect(()=>{const e=document.querySelector(".tiny-slider");let t=0,n,r=0,l=0;function s(){const y=window.innerWidth;return y>=1024?3:y>=768?2:1}function o(){document.querySelectorAll(".slider-dots > button").forEach((w,j)=>{j===t?(w.classList.add("bg-indigo-600"),w.classList.remove("bg-slate-300")):(w.classList.remove("bg-indigo-600"),w.classList.add("bg-slate-300"))})}function a(y){if(!e)return;const w=e.querySelectorAll("[data-slide]"),j=s(),S=Math.max(0,w.length-j);y<0&&(y=0),y>S&&(y=0),t=y;const f=t*(100/j);e.style.transform=`translateX(-${f}%)`,o()}function u(){a(t+1)}function c(){m(),n=window.setInterval(u,4e3);const y=document.querySelector("[data-autoplay]");if(y){y.setAttribute("aria-pressed","true");const w=y.querySelector("[data-autoplay-icon]");w&&w.setAttribute("data-state","playing")}}function m(){n&&(clearInterval(n),n=void 0);const y=document.querySelector("[data-autoplay]");if(y){y.setAttribute("aria-pressed","false");const w=y.querySelector("[data-autoplay-icon]");w&&w.setAttribute("data-state","paused")}}function p(){if(!e)return;const y=Array.from(e.querySelectorAll("[data-slide]"));if(!y.length)return;e.style.display="flex",e.style.overflow="hidden",e.style.gap="20px";const w=s();y.forEach(d=>{d.style.flex=`0 0 ${100/w}%`,d.style.boxSizing="border-box"}),e.style.transition="transform 400ms ease",a(t);const j=document.querySelector("[data-prev]"),S=document.querySelector("[data-next]");j&&S&&(j.onclick=()=>{a(t-1),c()},S.onclick=()=>{a(t+1),c()});const f=document.querySelector(".slider-dots");if(f){f.innerHTML="";const d=Math.max(1,y.length-w+1);for(let h=0;h{a(h),c()},x.onkeydown=k=>{(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),a(h),c())},f.appendChild(x)}o()}}p(),c();const g=()=>{p()};if(window.addEventListener("resize",g),e){e.setAttribute("tabindex","0");const y=x=>{x.key==="ArrowLeft"&&(a(t-1),c()),x.key==="ArrowRight"&&(a(t+1),c())};e.addEventListener("keydown",y),e.addEventListener("mouseenter",m),e.addEventListener("mouseleave",c),e.addEventListener("focusin",m),e.addEventListener("focusout",c);let w=!1;const j=x=>{r=x.touches[0].clientX,l=0,w=!1},S=x=>{const k=x.touches[0].clientX,C=x.touches[0].clientY;l=k-r,!(Math.abs(l){if(!w)return;const x=40;Math.abs(l)>x&&(l>0?a(t-1):a(t+1),c()),r=0,l=0,w=!1};e.addEventListener("touchstart",j,{passive:!0}),e.addEventListener("touchmove",S,{passive:!0}),e.addEventListener("touchend",f);const d=document.querySelectorAll("[data-accordion]"),h=[];return d.forEach(x=>{const k=x.querySelector("[data-accordion-button]"),C=x.querySelector("[data-accordion-panel]");if(!k||!C)return;const b=()=>{const z=k.getAttribute("aria-expanded")==="true";k.setAttribute("aria-expanded",z?"false":"true"),z?C.style.maxHeight="":C.style.maxHeight=C.scrollHeight+"px"};k.addEventListener("click",b),h.push(()=>k.removeEventListener("click",b))}),()=>{m(),window.removeEventListener("resize",g),e.removeEventListener("keydown",y),e.removeEventListener("mouseenter",m),e.removeEventListener("mouseleave",c),e.removeEventListener("focusin",m),e.removeEventListener("focusout",c),e.removeEventListener("touchstart",j),e.removeEventListener("touchmove",S),e.removeEventListener("touchend",f),h.forEach(x=>x())}}return()=>{m(),window.removeEventListener("resize",g)}},[]),null}function La(){return i.jsxs("main",{className:"min-h-screen bg-white dark:bg-slate-900",children:[i.jsx("span",{className:"fixed blur-[200px] lg:size-[600px] size-[400px] rounded-full top-[10%] md:left-[10%] -left-[20%] bg-indigo-600/20","aria-hidden":"true"}),i.jsx("span",{className:"fixed blur-[200px] lg:size-[600px] size-[400px] rounded-full bottom-[10%] md:right-[10%] -right-[20%] bg-red-600/20","aria-hidden":"true"}),i.jsx("header",{className:"py-6",children:i.jsxs("div",{className:"container mx-auto px-4 flex items-center justify-between",children:[i.jsx("div",{className:"text-2xl font-bold",children:"AvanzaCast"}),i.jsx("nav",{children:i.jsxs("ul",{className:"flex gap-6 text-sm text-slate-700 dark:text-slate-200",children:[i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-indigo-600",children:"Product"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-indigo-600",children:"Pricing"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-indigo-600",children:"Docs"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-indigo-600",children:"Contact"})})]})})]})}),i.jsxs("section",{className:"relative table w-full lg:py-40 md:py-36 pt-36 pb-24 overflow-hidden bg-white dark:bg-slate-900",children:[i.jsx("div",{className:"absolute inset-0 hero-overlay opacity-10 dark:opacity-60","aria-hidden":"true"}),i.jsx("div",{className:"container mx-auto relative z-10 px-4",children:i.jsxs("div",{className:"relative grid lg:grid-cols-12 grid-cols-1 items-center mt-10 gap-[30px]",children:[i.jsx("div",{className:"lg:col-span-7",children:i.jsxs("div",{className:"lg:me-6 lg:text-start text-center",children:[i.jsxs("h1",{className:"font-bold lg:leading-normal leading-normal text-4xl lg:text-6xl mb-5",children:["Access powerful AI ",i.jsx("br",{}),"For ",i.jsx("span",{className:"bg-gradient-to-tl to-indigo-600 from-red-600 text-transparent bg-clip-text",children:"AI Content"})]}),i.jsx("p",{className:"text-lg max-w-xl lg:ms-0 mx-auto",children:"Beatae cum eius, animi itaque aliquid ducimus facere dicta, vitae ipsam maiores nam sit blanditiis, quisquam expedita?"}),i.jsx("div",{className:"subcribe-form mt-6 mb-3",children:i.jsxs("form",{className:"relative max-w-md mx-auto lg:ms-0",children:[i.jsxs("div",{className:"relative",children:[i.jsx("i",{className:"uil uil-envelope text-xl absolute top-3 left-5"}),i.jsx("input",{type:"email",id:"aiemail",name:"email",className:"py-4 pe-40 ps-12 w-full h-[50px] outline-none text-black dark:text-white rounded-md bg-white/60 dark:bg-slate-900/60 shadow dark:shadow-gray-800",placeholder:"support@techwind.com"})]}),i.jsx("button",{type:"submit",className:"py-2 px-5 inline-block font-semibold tracking-wide align-middle duration-500 text-base text-center absolute top-[2px] end-[3px] h-[46px] bg-indigo-600 hover:bg-indigo-700 border border-indigo-600 hover:border-indigo-700 text-white rounded-md",children:"Sign Up"})]})})]})}),i.jsx("div",{className:"lg:col-span-5",children:i.jsx("div",{className:"relative",children:i.jsx("div",{className:"relative",children:i.jsx("img",{src:"/images/hero/light-dash.png",className:"lg:max-w-none lg:ms-14 mx-auto",alt:""})})})})]})})]}),i.jsx("section",{className:"pt-6",children:i.jsx("div",{className:"container mx-auto px-4 relative",children:i.jsxs("div",{className:"grid md:grid-cols-6 grid-cols-2 justify-center gap-[30px]",children:[i.jsx("div",{className:"mx-auto pt-6",children:i.jsx("img",{src:"/images/client/amazon.svg",className:"h-6",alt:"Amazon"})}),i.jsx("div",{className:"mx-auto pt-6",children:i.jsx("img",{src:"/images/client/google.svg",className:"h-6",alt:"Google"})}),i.jsx("div",{className:"mx-auto pt-6",children:i.jsx("img",{src:"/images/client/lenovo.svg",className:"h-6",alt:"Lenovo"})}),i.jsx("div",{className:"mx-auto pt-6",children:i.jsx("img",{src:"/images/client/paypal.svg",className:"h-6",alt:"PayPal"})}),i.jsx("div",{className:"mx-auto pt-6",children:i.jsx("img",{src:"/images/client/shopify.svg",className:"h-6",alt:"Shopify"})}),i.jsx("div",{className:"mx-auto pt-6",children:i.jsx("img",{src:"/images/client/spotify.svg",className:"h-6",alt:"Spotify"})})]})})}),i.jsx("section",{className:"relative md:py-24 py-16",children:i.jsx("div",{className:"container mx-auto px-4 relative",children:i.jsxs("div",{className:"grid md:grid-cols-3 grid-cols-1 shadow shadow-gray-300 dark:shadow-gray-500 rounded-lg md:divide-x divide-y divide-gray-200 dark:divide-gray-700",children:[i.jsxs("div",{className:"relative p-6 md:p-8",children:[i.jsx("i",{className:"mdi mdi-account-search-outline bg-gradient-to-tl to-indigo-600 from-red-600 text-transparent bg-clip-text text-[45px]"}),i.jsx("h5",{className:"text-xl font-semibold my-5",children:"Search & Write Content"}),i.jsx("p",{className:"text-slate-400",children:"If the distribution of letters and 'words' is random, the reader will not be distracted from making."})]}),i.jsxs("div",{className:"relative p-6 md:p-8",children:[i.jsx("i",{className:"mdi mdi-wallet-bifold-outline bg-gradient-to-tl to-indigo-600 from-red-600 text-transparent bg-clip-text text-[45px]"}),i.jsx("h5",{className:"text-xl font-semibold my-5",children:"Discribe Content"}),i.jsx("p",{className:"text-slate-400",children:"If the distribution of letters and 'words' is random, the reader will not be distracted from making."})]}),i.jsxs("div",{className:"relative p-6 md:p-8",children:[i.jsx("i",{className:"mdi mdi-home-plus-outline bg-gradient-to-tl to-indigo-600 from-red-600 text-transparent bg-clip-text text-[45px]"}),i.jsx("h5",{className:"text-xl font-semibold my-5",children:"Generate Content"}),i.jsx("p",{className:"text-slate-400",children:"If the distribution of letters and 'words' is random, the reader will not be distracted from making."})]})]})})}),i.jsx("section",{className:"py-12",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"grid grid-cols-1 pb-8 text-center",children:[i.jsx("h3",{className:"mb-4 md:text-3xl md:leading-normal text-2xl leading-normal font-semibold",children:"What Our Users Say"}),i.jsx("p",{className:"text-slate-400 max-w-xl mx-auto",children:"Start working with Tailwind CSS that can provide everything you need to generate awareness, drive traffic, connect."})]}),i.jsx("div",{className:"relative",children:i.jsxs("div",{className:"relative slider-wrapper",children:[i.jsxs("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6 mt-8 tiny-slider",children:[i.jsxs("div",{className:"rounded-lg shadow p-6","data-slide":!0,children:[i.jsxs("div",{className:"flex items-center pb-4",children:[i.jsx("img",{src:"/images/client/01.jpg",className:"size-16 rounded-full shadow",alt:""}),i.jsxs("div",{className:"pl-4",children:[i.jsx("a",{className:"text-lg hover:text-indigo-600",children:"Thomas Israel"}),i.jsx("p",{className:"text-slate-400",children:"User"})]})]}),i.jsx("p",{className:"text-slate-400",children:"I didn't know a thing about icon design until I read this book. Now I can create any icon I need in no time. Great resource!"})]}),i.jsxs("div",{className:"rounded-lg shadow p-6","data-slide":!0,children:[i.jsxs("div",{className:"flex items-center pb-4",children:[i.jsx("img",{src:"/images/client/02.jpg",className:"size-16 rounded-full shadow",alt:""}),i.jsxs("div",{className:"pl-4",children:[i.jsx("a",{className:"text-lg hover:text-indigo-600",children:"Carl Oliver"}),i.jsx("p",{className:"text-slate-400",children:"User"})]})]}),i.jsx("p",{className:"text-slate-400",children:"The best part about Techwind is every time I pay my employees, my bank balance doesn't go down like it used to."})]}),i.jsxs("div",{className:"rounded-lg shadow p-6","data-slide":!0,children:[i.jsxs("div",{className:"flex items-center pb-4",children:[i.jsx("img",{src:"/images/client/03.jpg",className:"size-16 rounded-full shadow",alt:""}),i.jsxs("div",{className:"pl-4",children:[i.jsx("a",{className:"text-lg hover:text-indigo-600",children:"Barbara McIntosh"}),i.jsx("p",{className:"text-slate-400",children:"User"})]})]}),i.jsx("p",{className:"text-slate-400",children:"I used to have to remit tax to the EU and with Techwind I somehow don't have to do that anymore."})]})]}),i.jsx("div",{className:"absolute inset-y-0 left-0 flex items-center pl-2 pointer-events-none",children:i.jsx("button",{"data-prev":!0,"aria-label":"Previous",className:"prev-btn pointer-events-auto bg-white/90 dark:bg-slate-800/90 text-slate-700 dark:text-slate-200 p-2 rounded-full shadow-md hover:scale-105 focus:outline-none focus:ring-2 focus:ring-indigo-500 transition",children:i.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:i.jsx("path",{d:"M15 18l-6-6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})}),i.jsx("div",{className:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none",children:i.jsx("button",{"data-next":!0,"aria-label":"Next",className:"next-btn pointer-events-auto bg-white/90 dark:bg-slate-800/90 text-slate-700 dark:text-slate-200 p-2 rounded-full shadow-md hover:scale-105 focus:outline-none focus:ring-2 focus:ring-indigo-500 transition",children:i.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:i.jsx("path",{d:"M9 6l6 6-6 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})}),i.jsxs("div",{className:"mt-4 flex justify-center items-center gap-4",children:[i.jsx("div",{className:"flex justify-center slider-dots","aria-hidden":"false",role:"tablist"}),i.jsx("button",{"data-autoplay":!0,"aria-pressed":"true",title:"Pause autoplay",className:"ml-2 bg-white/90 dark:bg-slate-800/90 text-slate-700 dark:text-slate-200 p-2 rounded-full shadow-md hover:scale-105 focus:outline-none focus:ring-2 focus:ring-indigo-500 transition",children:i.jsx("svg",{"data-autoplay-icon":!0,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:i.jsx("path",{d:"M5 3v18l15-9L5 3z",stroke:"currentColor",strokeWidth:"0",fill:"currentColor"})})})]})]})})]})}),i.jsx(cp,{}),i.jsx("section",{className:"py-12 bg-white dark:bg-slate-900",children:i.jsx("div",{className:"container mx-auto px-4",children:i.jsxs("div",{className:"grid lg:grid-cols-12 md:grid-cols-2 grid-cols-1 items-center md:gap-[30px]",children:[i.jsxs("div",{className:"lg:col-span-4 md:mb-0 mb-8",children:[i.jsx("h3",{className:"mb-4 md:text-3xl md:leading-normal text-2xl leading-normal font-semibold",children:"Frequently Asked Questions"}),i.jsx("p",{className:"text-slate-400 max-w-xl mx-auto mb-6",children:"Start working with Tailwind CSS that can provide everything you need to generate awareness, drive traffic, connect."}),i.jsx("a",{href:"#",className:"py-2 px-5 inline-block font-semibold tracking-wide border align-middle duration-500 text-base text-center bg-transparent hover:bg-indigo-600 border-gray-100 dark:border-gray-800 hover:border-indigo-600 dark:hover:border-indigo-600 text-slate-900 dark:text-white hover:text-white rounded-full",children:"Contact Us"})]}),i.jsx("div",{className:"lg:col-span-8 md:mt-0 mt-8",children:i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"shadow rounded-md p-4",children:[i.jsx("h4",{className:"font-semibold",children:"How does it work?"}),i.jsx("p",{className:"text-slate-400 mt-2",children:"There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form."})]}),i.jsxs("div",{className:"shadow rounded-md p-4",children:[i.jsx("h4",{className:"font-semibold",children:"Do I need a designer to use Techwind?"}),i.jsx("p",{className:"text-slate-400 mt-2",children:"There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form."})]}),i.jsxs("div",{className:"shadow rounded-md p-4",children:[i.jsx("h4",{className:"font-semibold",children:"What do I need to do to start selling?"}),i.jsx("p",{className:"text-slate-400 mt-2",children:"There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form."})]})]})})]})})}),i.jsx("section",{className:"py-20 bg-gradient-to-r from-purple-600 to-blue-600",children:i.jsxs("div",{className:"container mx-auto px-4 text-center",children:[i.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-white mb-6",children:"¿Listo para Revolucionar tus Transmisiones?"}),i.jsx("p",{className:"text-xl text-purple-100 mb-8 max-w-2xl mx-auto",children:"Únete a miles de creadores que ya confían en AvanzaCast para sus streams profesionales"}),i.jsx("button",{className:"bg-white text-purple-600 hover:bg-gray-100 font-bold py-4 px-12 rounded-full text-lg shadow-xl hover:shadow-2xl transform hover:scale-105 transition-all duration-300",children:"Empecemos - 14 Días de Prueba"})]})}),i.jsx("footer",{className:"bg-gray-900 text-white py-12",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8",children:[i.jsxs("div",{children:[i.jsx("h3",{className:"text-2xl font-bold mb-4 bg-gradient-to-r from-purple-400 to-pink-400 bg-clip-text text-transparent",children:"AvanzaCast"}),i.jsx("p",{className:"text-gray-400",children:"La plataforma profesional de multistreaming para creadores de contenido."})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold mb-4",children:"Producto"}),i.jsxs("ul",{className:"space-y-2 text-gray-400",children:[i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white",children:"Características"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white",children:"Precios"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white",children:"Casos de Uso"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white",children:"Integraciones"})})]})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold mb-4",children:"Recursos"}),i.jsxs("ul",{className:"space-y-2 text-gray-400",children:[i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white",children:"Blog"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white",children:"Guías"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white",children:"API Docs"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white",children:"Soporte"})})]})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold mb-4",children:"Compañía"}),i.jsxs("ul",{className:"space-y-2 text-gray-400",children:[i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white",children:"Acerca de"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white",children:"Contacto"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white",children:"Términos"})}),i.jsx("li",{children:i.jsx("a",{href:"#",className:"hover:text-white",children:"Privacidad"})})]})]})]}),i.jsx("div",{className:"border-t border-gray-800 mt-8 pt-8 text-center text-gray-400",children:i.jsx("p",{children:"© 2024 AvanzaCast. Todos los derechos reservados."})})]})})]})}function dp({title:e,titleId:t,...n},r){return v.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?v.createElement("title",{id:t},e):null,v.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}const fp=v.forwardRef(dp),mp=fp;function hp({title:e,titleId:t,...n},r){return v.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?v.createElement("title",{id:t},e):null,v.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0"}))}const pp=v.forwardRef(hp),gp=pp;function xp({title:e,titleId:t,...n},r){return v.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?v.createElement("title",{id:t},e):null,v.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25"}))}const vp=v.forwardRef(xp),yp=vp;function wp({title:e,titleId:t,...n},r){return v.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?v.createElement("title",{id:t},e):null,v.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"}))}const jp=v.forwardRef(wp),Np=jp;function kp({title:e,titleId:t,...n},r){return v.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?v.createElement("title",{id:t},e):null,v.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const Sp=v.forwardRef(kp),Cp=Sp;function Ep({title:e,titleId:t,...n},r){return v.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?v.createElement("title",{id:t},e):null,v.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}const Pp=v.forwardRef(Ep),bp=Pp;function wi({title:e,subtitle:t}){return i.jsxs("button",{className:"create-card rounded-md hover:shadow-sm p-4 text-left",children:[i.jsx("div",{className:"icon bg-sky-50 text-sky-600 flex items-center justify-center",children:i.jsx(yp,{className:"w-6 h-6"})}),i.jsxs("div",{className:"ml-3",children:[i.jsx("div",{className:"font-medium",children:e}),t&&i.jsx("div",{className:"text-sm text-slate-500",children:t})]})]})}function zp(){const[e,t]=v.useState("upcoming");return i.jsxs("div",{className:"max-w-7xl mx-auto",children:[i.jsx("h1",{className:"text-2xl font-semibold mb-6",children:"Inicio"}),i.jsxs("section",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 mb-8",children:[i.jsx(wi,{title:"Transmisión en vivo",subtitle:"Inicia una transmisión"}),i.jsx(wi,{title:"Grabación",subtitle:"Inicia una grabación"}),i.jsx(wi,{title:"Seminario web On-Air",subtitle:"Programar evento"})]}),i.jsxs("section",{className:"panel p-6",children:[i.jsxs("div",{className:"flex items-center justify-between mb-4",children:[i.jsx("h2",{className:"text-lg font-medium",children:"Transmisiones y grabaciones"}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("button",{className:`tab-btn ${e==="upcoming"?"active":""}`,onClick:()=>t("upcoming"),children:"Próximamente"}),i.jsx("button",{className:`tab-btn ${e==="previous"?"active":""}`,onClick:()=>t("previous"),children:"Anteriores"})]})]}),i.jsx("div",{className:"min-h-[260px] flex items-center justify-center text-slate-500",children:"No tienes próximas transmisiones ni grabaciones"})]})]})}function Lp(){return i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("h1",{className:"text-2xl font-bold",children:"Studio"}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("button",{className:"btn btn-ghost px-3 py-1 rounded-md",children:"Previsualizar"}),i.jsx("button",{className:"btn btn-gradient px-3 py-1 rounded-md",children:"Ir en Vivo"})]})]}),i.jsx("div",{className:"panel p-4",children:i.jsx("div",{className:"min-h-[260px] flex items-center justify-center text-slate-500",children:"Estudio de transmisión (placeholder)."})})]})}const ji={id:"1",name:"César Mendívil",email:"cesar@avanzacast.com",avatar:"",role:"admin",createdAt:new Date().toISOString(),isActive:!0,plan:"pro"},sd=[{id:"1",name:"youtube",displayName:"YouTube",isConnected:!0,accountName:"AvanzaCast Channel",isLive:!1,viewerCount:0},{id:"2",name:"facebook",displayName:"Facebook Live",isConnected:!0,accountName:"AvanzaCast Page",isLive:!1,viewerCount:0}],_p=[{id:"1",title:"Tutorial: Cómo usar AvanzaCast",description:"Aprende a crear transmisiones",status:"ended",userId:"1",startedAt:new Date().toISOString(),platforms:sd,viewerCount:0,maxViewers:245,chatEnabled:!0,isPrivate:!1,tags:[]}],$t=(e=300)=>new Promise(t=>setTimeout(t,e));class Wt{static async login(t,n){return await $t(),t===ji.email&&n==="password"?{success:!0,data:ji}:{success:!1,error:"Credenciales inválidas"}}static async register(t){return await $t(),{success:!0,data:{...ji,id:Date.now().toString(),name:t.name||"",email:t.email||""}}}static async getStreams(){return await $t(),{success:!0,data:_p}}static async getPlatforms(){return await $t(),{success:!0,data:sd}}static async getScenes(){return await $t(),{success:!0,data:[]}}static async getChatMessages(t){return await $t(),{success:!0,data:[]}}}const _a={login:async(e,t)=>Wt.login(e,t),register:async e=>Wt.register(e),getStreams:async()=>Wt.getStreams(),getPlatforms:async()=>Wt.getPlatforms(),getScenes:async()=>Wt.getScenes(),getChatMessages:async e=>Wt.getChatMessages(e)};function od(){const[e,t]=v.useState(null),[n,r]=v.useState(!1),[l,s]=v.useState(!1),o=async(c,m)=>{r(!0);try{const p=await _a.login(c,m);return p.success&&p.data&&(t(p.data),s(!0),localStorage.setItem("user",JSON.stringify(p.data))),p}finally{r(!1)}},a=async c=>{r(!0);try{const m=await _a.register(c);return m.success&&m.data&&(t(m.data),s(!0),localStorage.setItem("user",JSON.stringify(m.data))),m}finally{r(!1)}},u=()=>{t(null),s(!1),localStorage.removeItem("user")};return v.useEffect(()=>{const c=localStorage.getItem("user");if(c)try{const m=JSON.parse(c);t(m),s(!0)}catch{localStorage.removeItem("user")}},[]),{user:e,isAuthenticated:l,isLoading:n,login:o,register:a,logout:u}}function Tp(){const[e,t]=v.useState("cesar@avanzacast.com"),[n,r]=v.useState(""),[l,s]=v.useState(""),{login:o,isLoading:a}=od(),u=vr(),c=async m=>{m.preventDefault(),s("");const p=await o(e,n);p.success?u("/broadcasts"):s(p.error||"Error al iniciar sesión")};return i.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-gray-50",children:i.jsx("div",{className:"w-full max-w-md",children:i.jsxs("div",{className:"bg-white rounded-2xl shadow p-8",children:[i.jsx("h2",{className:"text-2xl font-bold mb-4",children:"Iniciar sesión"}),i.jsxs("form",{onSubmit:c,className:"space-y-4",children:[l&&i.jsx("div",{className:"text-red-600",children:l}),i.jsx("input",{className:"w-full p-3 border rounded",value:e,onChange:m=>t(m.target.value),placeholder:"Email",required:!0}),i.jsx("input",{className:"w-full p-3 border rounded",type:"password",value:n,onChange:m=>r(m.target.value),placeholder:"Password",required:!0}),i.jsx("button",{className:"w-full bg-blue-600 text-white p-3 rounded",disabled:a,children:a?"Cargando...":"Entrar"})]}),i.jsxs("p",{className:"mt-4 text-sm",children:["¿No tienes cuenta? ",i.jsx(Lt,{to:"/auth/register",className:"text-blue-600",children:"Regístrate"})]})]})})})}function Rp(){const[e,t]=v.useState(""),[n,r]=v.useState(""),[l,s]=v.useState(""),[o,a]=v.useState(""),{register:u,isLoading:c}=od(),m=vr(),p=async g=>{g.preventDefault(),a("");const y=await u({name:e,email:n});y.success?m("/broadcasts"):a(y.error||"Error al registrar")};return i.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-gray-50",children:i.jsx("div",{className:"w-full max-w-md",children:i.jsxs("div",{className:"bg-white rounded-2xl shadow p-8",children:[i.jsx("h2",{className:"text-2xl font-bold mb-4",children:"Crear cuenta"}),i.jsxs("form",{onSubmit:p,className:"space-y-4",children:[o&&i.jsx("div",{className:"text-red-600",children:o}),i.jsx("input",{className:"w-full p-3 border rounded",value:e,onChange:g=>t(g.target.value),placeholder:"Nombre",required:!0}),i.jsx("input",{className:"w-full p-3 border rounded",value:n,onChange:g=>r(g.target.value),placeholder:"Email",required:!0}),i.jsx("input",{className:"w-full p-3 border rounded",type:"password",value:l,onChange:g=>s(g.target.value),placeholder:"Password",required:!0}),i.jsx("button",{className:"w-full bg-blue-600 text-white p-3 rounded",disabled:c,children:c?"Creando...":"Crear cuenta"})]})]})})})}function Mp({isOpen:e,onToggle:t}){const[n,r]=v.useState(""),l=s=>{r(o=>o===s?"":s)};return i.jsxs(i.Fragment,{children:[e&&i.jsx("div",{className:"fixed inset-0 z-40 bg-black/60 lg:hidden",onClick:t}),i.jsx("nav",{role:"navigation","aria-label":"Menú lateral",className:`fixed top-0 bottom-0 z-50 h-full w-[260px] transition-all duration-300 ${e?"left-0":"-left-[260px]"} lg:left-0`,children:i.jsxs("div",{className:"h-full bg-white",children:[i.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[i.jsx("div",{className:"main-logo flex items-center shrink-0",children:i.jsx("span",{className:"text-2xl font-semibold text-accent",children:"AvanzaCast"})}),i.jsx("button",{type:"button","aria-label":"Cerrar menú",className:"collapse-icon p-2 rounded-md hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-primary",onClick:t,children:i.jsx(bp,{className:"w-5 h-5","aria-hidden":!0})})]}),i.jsx("div",{className:"p-4",children:i.jsxs("ul",{className:"space-y-2",children:[i.jsx("li",{className:"nav-item",children:i.jsx(Fe,{to:"/landing",className:"w-full block text-left font-semibold focus:outline-none focus:ring-2 focus:ring-primary rounded-md px-2 py-2",children:"Página pública"})}),i.jsx("hr",{className:"my-2 border-t"}),i.jsx("li",{className:"nav-item",children:i.jsx(Fe,{to:"/broadcasts",className:({isActive:s})=>`w-full block text-left focus:outline-none focus:ring-2 focus:ring-primary rounded-md px-2 py-2 ${s?"font-medium active":""}`,end:!0,children:"Transmisiones"})}),i.jsx("h2",{className:"mt-4 mb-2 uppercase text-xs font-extrabold",children:"Streaming"}),i.jsx("li",{className:"nav-item",children:i.jsx(Fe,{to:"/studio",className:({isActive:s})=>`w-full block text-left focus:outline-none focus:ring-2 focus:ring-primary rounded-md px-2 py-2 ${s?"font-medium active":""}`,children:"Estudio Virtual"})}),i.jsxs("li",{className:"nav-item",children:[i.jsx("button",{className:"w-full text-left rounded-md px-2 py-2",onClick:()=>l("streams"),children:"Transmisiones"}),n==="streams"&&i.jsxs("ul",{className:"pl-4 mt-2 space-y-1 text-sm",role:"menu","aria-label":"Submenú Transmisiones",children:[i.jsx("li",{role:"none",children:i.jsx(Fe,{role:"menuitem",to:"/streams",className:"w-full block text-left focus:outline-none focus:ring-2 focus:ring-primary",children:"Todas"})}),i.jsx("li",{role:"none",children:i.jsx(Fe,{role:"menuitem",to:"/streams/create",className:"w-full block text-left focus:outline-none focus:ring-2 focus:ring-primary",children:"Nueva Transmisión"})}),i.jsx("li",{role:"none",children:i.jsx(Fe,{role:"menuitem",to:"/streams/scheduled",className:"w-full block text-left focus:outline-none focus:ring-2 focus:ring-primary",children:"Programadas"})}),i.jsx("li",{role:"none",children:i.jsx(Fe,{role:"menuitem",to:"/streams/history",className:"w-full block text-left focus:outline-none focus:ring-2 focus:ring-primary",children:"Historial"})})]})]}),i.jsx("li",{className:"nav-item mt-4",children:i.jsx(Fe,{to:"/analytics",className:"w-full block text-left focus:outline-none focus:ring-2 focus:ring-primary rounded-md px-2 py-2",children:"Analytics"})}),i.jsx("h2",{className:"mt-6 mb-2 uppercase text-xs font-extrabold",children:"Configuración"}),i.jsx("li",{className:"nav-item",children:i.jsx(Fe,{to:"/platforms",className:"w-full block text-left focus:outline-none focus:ring-2 focus:ring-primary rounded-md px-2 py-2",children:"Plataformas"})}),i.jsx("li",{className:"nav-item",children:i.jsx(Fe,{to:"/settings",className:"w-full block text-left focus:outline-none focus:ring-2 focus:ring-primary rounded-md px-2 py-2",children:"Configuración"})})]})})]})})]})}function Ip({onToggleSidebar:e}){const[t,n]=v.useState(""),[r,l]=v.useState(!1),[s,o]=v.useState(!1),a=vr();return i.jsx("header",{className:"sticky top-0 z-40 bg-white border-b border-white-light shadow-sm",role:"banner","aria-label":"Barra superior",children:i.jsxs("div",{className:"relative flex w-full items-center px-4 py-2",children:[i.jsx("div",{className:"horizontal-logo flex lg:hidden justify-between items-center",children:i.jsx("div",{className:"main-logo flex items-center shrink-0",children:i.jsx("span",{className:"text-2xl font-semibold align-middle text-accent",children:"AvanzaCast"})})}),i.jsx("button",{type:"button","aria-label":"Abrir menú lateral",title:"Abrir menú lateral",className:"collapse-icon flex-none hover:text-primary flex lg:hidden p-2 rounded-md bg-white-light/40 focus:outline-none focus:ring-2 focus:ring-primary",onClick:e,children:i.jsx(mp,{className:"w-5 h-5","aria-hidden":!0})}),i.jsx("div",{className:"sm:ltr:mr-auto sm:rtl:ml-auto hidden sm:block",children:i.jsx("form",{className:"relative",action:"#",method:"GET",role:"search","aria-label":"Buscar en AvanzaCast",children:i.jsxs("div",{className:"relative",children:[i.jsx("label",{htmlFor:"search",className:"sr-only",children:"Buscar"}),i.jsx("input",{id:"search",name:"q",type:"text",className:"form-input ltr:pl-9 rtl:pr-9 ltr:sm:pr-4 rtl:sm:pl-4 peer sm:bg-transparent bg-gray-100 placeholder:tracking-widest focus:outline-none focus:ring-2 focus:ring-primary rounded-md py-2 px-3",placeholder:"Buscar...","aria-label":"Buscar",value:t,onChange:u=>n(u.target.value)})]})})}),i.jsxs("div",{className:"ltr:ml-auto rtl:mr-auto flex items-center space-x-1.5 lg:space-x-2",children:[i.jsx("button",{type:"button","aria-label":"Ir en vivo",onClick:()=>a("/studio"),className:"btn btn-gradient !mt-0 border-0 uppercase focus:outline-none focus:ring-2 focus:ring-primary px-3 py-1.5 text-sm",children:i.jsxs("span",{className:"flex items-center",children:[i.jsx("span",{className:"w-2 h-2 bg-white rounded-full animate-pulse ltr:mr-2","aria-hidden":!0}),"Ir en Vivo"]})}),i.jsx("button",{type:"button","aria-label":"Cambiar tema",title:"Cambiar tema",className:"p-2 rounded-md bg-white-light/40 focus:outline-none focus:ring-2 focus:ring-primary",children:i.jsx(Np,{className:"w-5 h-5","aria-hidden":!0})}),i.jsxs("div",{className:"relative",children:[i.jsxs("button",{type:"button","aria-label":"Notificaciones","aria-expanded":r,className:"relative flex items-center p-2 rounded-full bg-white-light/40 focus:outline-none focus:ring-2 focus:ring-primary",onClick:()=>l(!r),children:[i.jsx(gp,{className:"w-5 h-5","aria-hidden":!0}),i.jsx("span",{className:"absolute top-0 right-0 w-2 h-2 rounded-full bg-danger","aria-hidden":!0}),i.jsx("span",{className:"sr-only",children:"Tienes notificaciones"})]}),r&&i.jsxs("div",{role:"dialog","aria-label":"Panel de notificaciones",className:"absolute top-full right-0 mt-2 w-80 bg-white rounded shadow-lg z-50 overflow-hidden",children:[i.jsx("div",{className:"px-4 py-3 border-b border-white-light",children:i.jsx("h5",{className:"font-semibold",children:"Notificaciones"})}),i.jsx("div",{className:"p-4 text-center text-sm",children:"No hay notificaciones nuevas"})]})]}),i.jsxs("div",{className:"relative",children:[i.jsxs("button",{type:"button","aria-label":"Abrir menú de usuario","aria-expanded":s,className:"flex items-center space-x-2 p-2 rounded-full bg-white-light/40 focus:outline-none focus:ring-2 focus:ring-primary",onClick:()=>o(!s),children:[i.jsx("div",{className:"h-9 w-9 rounded-full bg-accent flex items-center justify-center text-white font-semibold",children:i.jsx(Cp,{className:"w-5 h-5"})}),i.jsxs("div",{className:"hidden md:block",children:[i.jsx("h4",{className:"text-xs font-semibold",children:"Usuario"}),i.jsx("span",{className:"text-[10px] text-white-dark",children:"Free Plan"})]})]}),s&&i.jsx("div",{role:"menu","aria-label":"Menú de usuario",className:"absolute top-full right-0 mt-2 w-56 bg-white rounded shadow-lg z-50 overflow-hidden",children:i.jsxs("ul",{className:"py-2",role:"none",children:[i.jsx("li",{role:"none",children:i.jsx("button",{role:"menuitem",className:"w-full text-left px-4 py-2 hover:bg-white-light focus:outline-none focus:ring-2 focus:ring-primary",onClick:()=>a("/profile"),children:"Perfil"})}),i.jsx("li",{role:"none",children:i.jsx("button",{role:"menuitem",className:"w-full text-left px-4 py-2 hover:bg-white-light focus:outline-none focus:ring-2 focus:ring-primary",onClick:()=>a("/settings"),children:"Configuración"})}),i.jsx("li",{role:"none",className:"border-t border-white-light",children:i.jsx("button",{role:"menuitem",className:"w-full text-left px-4 py-2 text-danger hover:bg-white-light focus:outline-none focus:ring-2 focus:ring-primary",onClick:()=>a("/auth/login"),children:"Cerrar Sesión"})})]})})]})]})]})})}function Op({children:e}){const[t,n]=v.useState(!1),r=()=>n(!t);return i.jsxs("div",{className:"min-h-screen bg-[#f1f5f9]",children:[i.jsx(Mp,{isOpen:t,onToggle:r}),i.jsxs("div",{className:"lg:pl-64 flex flex-col min-h-screen",children:[i.jsx(Ip,{onToggleSidebar:r}),i.jsx("main",{className:"flex-1 p-6",children:e})]})]})}const Ap=ld;function Fr(){const e=ld;return i.jsx(Op,{children:i.jsxs(e,{children:[i.jsx(oe,{path:"/broadcasts",element:i.jsx(zp,{})}),i.jsx(oe,{path:"/studio",element:i.jsx(Lp,{})}),i.jsx(oe,{path:"/profile",element:i.jsx("div",{children:"Perfil (placeholder)"})}),i.jsx(oe,{path:"/settings",element:i.jsx("div",{children:"Settings (placeholder)"})})]})})}function Fp(){return i.jsx(Rh,{children:i.jsxs(Ap,{children:[i.jsx(oe,{path:"/",element:i.jsx(La,{})}),i.jsx(oe,{path:"/landing",element:i.jsx(Kh,{})}),i.jsx(oe,{path:"/new-landing",element:i.jsx(up,{})}),i.jsx(oe,{path:"/nextream",element:i.jsx(La,{})}),i.jsx(oe,{path:"/auth/login",element:i.jsx(Tp,{})}),i.jsx(oe,{path:"/auth/register",element:i.jsx(Rp,{})}),i.jsx(oe,{path:"/broadcasts/*",element:i.jsx(Fr,{})}),i.jsx(oe,{path:"/studio/*",element:i.jsx(Fr,{})}),i.jsx(oe,{path:"/profile/*",element:i.jsx(Fr,{})}),i.jsx(oe,{path:"/settings/*",element:i.jsx(Fr,{})})]})})}Qc(document.getElementById("root")).render(i.jsx(Ua.StrictMode,{children:i.jsx(Fp,{})}));