{"version":3,"file":"SupabaseAuth.DZ2RqUlv.mjs","names":["React","error","X","Check","e","Lock","EyeSlash","Eye","_Fragment","ArrowLeft","God_mode"],"sources":["https:/framerusercontent.com/modules/f3GF9l5aIFjnn1Q3Lwmv/vzQ348XqtKC8hxBzjGFV/SupabaseAuth.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import React from\"react\";import{Lock,Eye,EyeSlash,ArrowLeft,Check,X}from\"@phosphor-icons/react\";import{addPropertyControls,ControlType}from\"framer\";import{supabase}from\"https://framerusercontent.com/modules/XxUSENv9gmDnjyWOaYEt/ghm89cnmlcQqvH6Apgwq/SupabaseClient.js\";import God_mode from\"https://framerusercontent.com/modules/yu0pCVfjZMkEJt2AKsu5/rbaygBNyaZ5dEpP3B5qM/god_mode.js\";export function withSupabaseAuth(Component){const SupabaseAuthComponent=props=>{const[authenticated,setAuthenticated]=React.useState(false);const[showPassword,setShowPassword]=React.useState(false);const[email,setEmail]=React.useState(\"\");const[password,setPassword]=React.useState(\"\");const[displayName,setDisplayName]=React.useState(\"\");const[isRegistering,setIsRegistering]=React.useState(false);const[isForgotPassword,setIsForgotPassword]=React.useState(false);const[error,setError]=React.useState(\"\");const[success,setSuccess]=React.useState(\"\");const[isLoading,setIsLoading]=React.useState(false);const[passwordFocused,setPasswordFocused]=React.useState(false);const[showRegistrationSuccess,setShowRegistrationSuccess]=React.useState(false);const[registeredEmail,setRegisteredEmail]=React.useState(\"\");// Password validation states\nconst[passwordValidation,setPasswordValidation]=React.useState({minLength:false});const validatePassword=pwd=>{setPasswordValidation({minLength:pwd.length>=6});};// Función para resetear completamente el formulario\nconst resetForm=()=>{setEmail(\"\");setPassword(\"\");setDisplayName(\"\");setError(\"\");setSuccess(\"\");validatePassword(\"\");setPasswordFocused(false);};// Función para resetear formulario pero mantener mensajes\nconst resetFormKeepMessages=()=>{setEmail(\"\");setPassword(\"\");setDisplayName(\"\");validatePassword(\"\");setPasswordFocused(false);};React.useEffect(()=>{const checkSession=async()=>{const{data:{session}}=await supabase.auth.getSession();if(session){setAuthenticated(true);}};checkSession();},[]);React.useEffect(()=>{validatePassword(password);},[password]);// Auto-ocultar el toast después de 15 segundos\nReact.useEffect(()=>{let timer;if(showRegistrationSuccess){timer=setTimeout(()=>{setShowRegistrationSuccess(false);},15e3);}return()=>clearTimeout(timer);},[showRegistrationSuccess]);const handleLogin=async e=>{e.preventDefault();setIsLoading(true);setError(\"\");try{if(!email||!password){setError(\"Email and password are required\");return;}const{data,error}=await supabase.auth.signInWithPassword({email,password});if(error){if(error.message.includes(\"Invalid\")){setError(\"Invalid email or password\");}else{setError(error.message);}return;}if(data?.user){setAuthenticated(true);}}catch(error){console.error(\"Login error:\",error);setError(\"Failed to sign in\");}finally{setIsLoading(false);}};const handleRegister=async e=>{e.preventDefault();setIsLoading(true);setError(\"\");setSuccess(\"\");try{if(!email||!password){setError(\"Email and password are required\");return;}if(!passwordValidation.minLength){setError(\"Password must be at least 6 characters long\");return;}const emailRegex=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;if(!emailRegex.test(email)){setError(\"Please enter a valid email\");return;}const{data,error}=await supabase.auth.signUp({email,password,options:{data:{display_name:displayName}}});if(error){if(error.message.includes(\"already registered\")){setError(\"This email is already registered\");}else{setError(error.message);}return;}if(data?.user){// Guarda el email y muestra mensaje de éxito\nsetRegisteredEmail(email);setShowRegistrationSuccess(true);// Cambiar a la pantalla de inicio de sesión después del registro exitoso\nsetIsRegistering(false);// Resetear formulario\nresetForm();}}catch(err){console.error(\"Registration error:\",err);setError(\"Registration failed. Please try again.\");}finally{setIsLoading(false);}};const handleForgotPassword=async e=>{e.preventDefault();setIsLoading(true);setError(\"\");setSuccess(\"\");try{if(!email){setError(\"Please enter your email address\");return;}const{error}=await supabase.auth.resetPasswordForEmail(email,{redirectTo:`${window.location.origin}/reset-password`});if(error){setError(error.message);return;}setSuccess(\"Password reset instructions have been sent to your email\");setEmail(\"\");}catch(error){console.error(\"Password reset error:\",error);setError(\"Failed to send reset instructions\");}finally{setIsLoading(false);}};const handleLogout=async()=>{try{const{error}=await supabase.auth.signOut();if(!error){setAuthenticated(false);}}catch(error){console.error(\"Logout error:\",error);}};if(!authenticated){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",alignItems:\"center\",minHeight:\"100vh\",width:\"100%\",padding:\"40px 20px\",backgroundColor:props.backgroundColor,color:props.textColor,fontFamily:\"'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",maxWidth:\"390px\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\"},children:[/*#__PURE__*/_jsx(\"img\",{src:props.logoUrl,alt:\"Logo\",style:{maxWidth:\"100px\",marginBottom:\"40px\"}}),/*#__PURE__*/_jsx(\"h2\",{style:{fontSize:\"28px\",fontWeight:\"bold\",marginBottom:\"40px\"},children:isForgotPassword?\"Reset Password\":isRegistering?\"Sign Up\":\"Sign In\"})]}),/*#__PURE__*/_jsxs(\"form\",{onSubmit:isForgotPassword?handleForgotPassword:isRegistering?handleRegister:handleLogin,style:{display:\"flex\",flexDirection:\"column\",gap:\"20px\",width:\"100%\",alignItems:\"center\"},children:[(error||success)&&/*#__PURE__*/_jsx(\"div\",{style:{backgroundColor:error?\"#FF444420\":\"#4CAF5020\",border:`1px solid ${error?\"#FF4444\":\"#4CAF50\"}`,borderRadius:\"8px\",padding:\"15px\",marginBottom:\"20px\",textAlign:\"center\",fontSize:\"14px\",color:error?\"#FF4444\":\"#4CAF50\",animation:\"fadeIn 0.3s ease\",width:\"100%\",maxWidth:\"300px\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:\"8px\"},children:[error?/*#__PURE__*/_jsx(X,{size:18,weight:\"bold\"}):/*#__PURE__*/_jsx(Check,{size:18,weight:\"bold\"}),/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:\"500\"},children:error||success})]})}),isRegistering&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:\"10px\",width:\"100%\",maxWidth:\"300px\"},children:[/*#__PURE__*/_jsx(\"label\",{style:{fontSize:\"14px\",opacity:.6,textAlign:\"left\"},children:\"Display Name\"}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",value:displayName,onChange:e=>setDisplayName(e.target.value),placeholder:\"Enter your display name\",style:{width:\"100%\",padding:\"12px\",fontSize:\"16px\",backgroundColor:props.inputBackgroundColor,border:\"none\",borderRadius:\"8px\",color:props.textColor},disabled:isLoading})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:\"10px\",width:\"100%\",maxWidth:\"300px\"},children:[/*#__PURE__*/_jsx(\"label\",{style:{fontSize:\"14px\",opacity:.6,textAlign:\"left\"},children:\"Email\"}),/*#__PURE__*/_jsx(\"input\",{type:\"email\",value:email,onChange:e=>setEmail(e.target.value),placeholder:\"Enter your email\",style:{width:\"100%\",padding:\"12px\",fontSize:\"16px\",backgroundColor:props.inputBackgroundColor,border:\"none\",borderRadius:\"8px\",color:props.textColor},disabled:isLoading})]}),!isForgotPassword&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:\"10px\",width:\"100%\",maxWidth:\"300px\"},children:[/*#__PURE__*/_jsx(\"label\",{style:{fontSize:\"14px\",opacity:.6,textAlign:\"left\"},children:\"Password\"}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\"},children:[/*#__PURE__*/_jsx(Lock,{size:18,style:{position:\"absolute\",left:\"12px\",top:\"50%\",transform:\"translateY(-50%)\",opacity:.6}}),/*#__PURE__*/_jsx(\"input\",{type:showPassword?\"text\":\"password\",value:password,onChange:e=>setPassword(e.target.value),onFocus:()=>setPasswordFocused(true),onBlur:()=>{// Keep validation visible if there's content\nif(!password){setPasswordFocused(false);}},placeholder:props.inputPlaceholder,style:{width:\"100%\",padding:\"12px 40px\",fontSize:\"16px\",backgroundColor:props.inputBackgroundColor,border:\"none\",borderRadius:\"8px\",color:props.textColor},disabled:isLoading}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>setShowPassword(!showPassword),style:{position:\"absolute\",right:\"10px\",top:\"50%\",transform:\"translateY(-50%)\",background:\"none\",border:\"none\",cursor:\"pointer\",color:props.textColor,opacity:.6},disabled:isLoading,children:showPassword?/*#__PURE__*/_jsx(EyeSlash,{size:20}):/*#__PURE__*/_jsx(Eye,{size:20})})]}),isRegistering&&(passwordFocused||password)&&/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:\"10px\",fontSize:\"14px\",transition:\"all 0.3s ease\",animation:\"fadeIn 0.3s\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:\"8px\",marginBottom:\"5px\",color:passwordValidation.minLength?\"#4CAF50\":\"#FF4444\",transition:\"color 0.3s ease\"},children:[passwordValidation.minLength?/*#__PURE__*/_jsx(Check,{size:16}):/*#__PURE__*/_jsx(X,{size:16}),/*#__PURE__*/_jsx(\"span\",{children:\"Minimum 6 characters\"})]}),/*#__PURE__*/_jsx(\"style\",{children:`\n                                                @keyframes fadeIn {\n                                                    from { opacity: 0; transform: translateY(-10px); }\n                                                    to { opacity: 1; transform: translateY(0); }\n                                                }\n                                                `})]})]}),!isForgotPassword&&!isRegistering&&/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",maxWidth:\"300px\",textAlign:\"left\"},children:/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>setIsForgotPassword(true),style:{background:\"none\",border:\"none\",color:props.textColor,cursor:\"pointer\",fontSize:\"14px\",padding:0,textAlign:\"left\",opacity:isLoading?.5:1},disabled:isLoading,children:\"Forgot password?\"})}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",style:{padding:\"12px\",fontSize:\"16px\",fontWeight:\"bold\",backgroundColor:props.buttonBackgroundColor,color:props.buttonTextColor,border:\"none\",borderRadius:\"8px\",cursor:isLoading?\"not-allowed\":\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",maxWidth:\"300px\",opacity:isLoading?.7:1},disabled:isLoading,children:isLoading?\"Loading...\":/*#__PURE__*/_jsxs(_Fragment,{children:[isForgotPassword?\"Reset Password\":isRegistering?\"Sign Up\":\"Sign In\",\" \",/*#__PURE__*/_jsx(\"span\",{style:{marginLeft:\"8px\"},children:\"→\"})]})}),!isForgotPassword&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>{setIsRegistering(!isRegistering);setError(\"\");setSuccess(\"\");resetForm();},style:{background:\"none\",border:\"none\",color:props.textColor,cursor:\"pointer\",fontSize:\"14px\",marginTop:\"10px\",opacity:isLoading?.5:1},disabled:isLoading,children:isRegistering?\"Already have an account? Sign in\":\"Don't have an account? Sign up\"}),isForgotPassword&&/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>{setIsForgotPassword(false);setError(\"\");setSuccess(\"\");resetForm();},style:{background:\"none\",border:\"none\",color:props.textColor,cursor:\"pointer\",fontSize:\"14px\",display:\"flex\",alignItems:\"center\",gap:\"5px\",marginTop:\"10px\",opacity:isLoading?.5:1},disabled:isLoading,children:[/*#__PURE__*/_jsx(ArrowLeft,{size:16}),\"Back to sign in\"]}),isRegistering&&/*#__PURE__*/_jsxs(\"p\",{style:{fontSize:\"14px\",opacity:.6,textAlign:\"center\"},children:[\"By signing up, you agree to our\",\" \",/*#__PURE__*/_jsx(\"a\",{href:props.termsUrl,target:\"_blank\",rel:\"noopener noreferrer\",style:{color:props.textColor,textDecoration:\"underline\"},children:\"Terms of Service\"}),\" \",\"and\",\" \",/*#__PURE__*/_jsx(\"a\",{href:props.privacyUrl,target:\"_blank\",rel:\"noopener noreferrer\",style:{color:props.textColor,textDecoration:\"underline\"},children:\"Privacy Policy\"})]})]}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:\"20px\",width:\"100%\",marginTop:\"40px\"},children:/*#__PURE__*/_jsx(\"a\",{href:props.homeUrl,style:{color:props.textColor,opacity:.6,textDecoration:\"none\",fontSize:\"14px\"},children:props.backToHomeText})})]}),/*#__PURE__*/_jsx(God_mode,{horizontal:props.framerButtonHorizontal,vertical:props.framerButtonVertical,opacity:props.framerButtonOpacity}),showRegistrationSuccess&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"fixed\",bottom:\"24px\",right:\"24px\",backgroundColor:\"#000000\",color:\"white\",padding:\"12px 16px\",borderRadius:\"6px\",boxShadow:\"0 5px 20px rgba(0,0,0,0.16)\",display:\"flex\",alignItems:\"center\",gap:\"12px\",zIndex:1e3,maxWidth:\"360px\",width:\"auto\",animation:\"slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1)\",border:\"1px solid #333\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"20px\",height:\"20px\",borderRadius:\"50%\",backgroundColor:\"#10B981\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",flexShrink:0},children:/*#__PURE__*/_jsx(Check,{size:12,weight:\"bold\",color:\"#FFFFFF\"})}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1},children:/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0\",fontSize:\"14px\",fontWeight:\"500\",lineHeight:\"1.4\",letterSpacing:\"-0.01em\"},children:\"Registration successful! Check your email to confirm your account.\"})}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>setShowRegistrationSuccess(false),style:{background:\"none\",border:\"none\",color:\"#888\",cursor:\"pointer\",padding:\"4px\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,opacity:.7,transition:\"opacity 0.15s ease\",borderRadius:\"4px\"},onMouseOver:e=>e.currentTarget.style.opacity=\"1\",onMouseOut:e=>e.currentTarget.style.opacity=\"0.7\",\"aria-label\":\"Close\",children:/*#__PURE__*/_jsx(X,{size:14})}),/*#__PURE__*/_jsx(\"style\",{children:`\n                                @keyframes slideUp {\n                                    from { transform: translateY(10px); opacity: 0; }\n                                    to { transform: translateY(0); opacity: 1; }\n                                }\n                                `})]})]});}return /*#__PURE__*/_jsx(Component,{...props,onLogout:handleLogout});};addPropertyControls(SupabaseAuthComponent,{backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#000000\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},logoUrl:{type:ControlType.String,title:\"Logo URL\",defaultValue:\"https://framerusercontent.com/images/DEWumdJ4oC4h8HiABg9nlEwDNE.png\"},inputPlaceholder:{type:ControlType.String,title:\"Input Placeholder\",defaultValue:\"Enter your password\"},inputBackgroundColor:{type:ControlType.Color,title:\"Input Background\",defaultValue:\"#1A1A1A\"},buttonBackgroundColor:{type:ControlType.Color,title:\"Button Background\",defaultValue:\"#000\"},buttonTextColor:{type:ControlType.Color,title:\"Button Text Color\",defaultValue:\"#FFFFFF\"},backToHomeText:{type:ControlType.String,title:\"Back to Home Text\",defaultValue:\"Back to Home\"},homeUrl:{type:ControlType.String,title:\"Home URL\",defaultValue:\"/\"},framerButtonHorizontal:{type:ControlType.Enum,title:\"Framer Button Horizontal\",options:[\"left\",\"right\"],optionTitles:[\"Left\",\"Right\"],defaultValue:\"left\"},framerButtonVertical:{type:ControlType.Enum,title:\"Framer Button Vertical\",options:[\"top\",\"bottom\"],optionTitles:[\"Top\",\"Bottom\"],defaultValue:\"top\"},framerButtonOpacity:{type:ControlType.Number,title:\"Framer Button Opacity\",min:0,max:1,step:.01,defaultValue:0},termsUrl:{type:ControlType.String,title:\"Terms URL\",defaultValue:\"/terms\"},privacyUrl:{type:ControlType.String,title:\"Privacy URL\",defaultValue:\"/privacy\"}});return SupabaseAuthComponent;}\nexport const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