{"version":3,"file":"SupabaseAuth.B9FWCCqT.mjs","names":["useState","createClient"],"sources":["https:/framerusercontent.com/modules/KDzTyK8hHvXKl4mIhjEc/aShKijL6VIDAfTCmJ3vI/SupabaseAuth.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{createClient}from\"https://esm.sh/@supabase/supabase-js@2\";// --- ⚠️ CONFIGURATION ⚠️ ---\nconst SUPABASE_URL=\"https://soayhpwumoietmxmpslw.supabase.co\";const SUPABASE_ANON_KEY=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InNvYXlocHd1bW9pZXRteG1wc2x3Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjgyMjU3MjUsImV4cCI6MjA4MzgwMTcyNX0.oGyW8ZcmVXffm1x3FMSQy9Eerq8j8B-bkc16yz1aqw4\";const supabase=createClient(SUPABASE_URL,SUPABASE_ANON_KEY);// --- STORE ---\nconst useStore=createStore({name:\"\",email:\"\",password:\"\",acceptedTerms:false,isLoading:false,errorField:\"\"});// --- ✨ UI HELPERS : NOTIFICATION & SPINNER ✨ ---\nfunction showNotification(message,type=\"error\"){const existing=document.getElementById(\"clarte-toast\");if(existing)existing.remove();const toast=document.createElement(\"div\");toast.id=\"clarte-toast\";// Détection du style selon le type\nconst isSuccess=type===\"success\";const mainColor=isSuccess?\"#10B981\":\"#E02E2E\"// Vert ou Rouge\n;const bgColor=isSuccess?\"#F0FDF4\":\"#FFFFFF\"// Fond vert clair ou blanc\n;const borderColor=isSuccess?\"rgba(16, 185, 129, 0.2)\":\"rgba(224, 46, 46, 0.2)\";// Icône dynamique\nconst iconError=`<svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22Z\" stroke=\"${mainColor}\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M12 8V13\" stroke=\"${mainColor}\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M11.9945 16H12.0035\" stroke=\"${mainColor}\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>`;const iconSuccess=`<svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22Z\" stroke=\"${mainColor}\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M7.75 12L10.58 14.83L16.25 9.17\" stroke=\"${mainColor}\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>`;toast.innerHTML=`\n        <div style=\"display: flex; align-items: center; gap: 10px;\">\n            ${isSuccess?iconSuccess:iconError}\n            <span>${message}</span>\n        </div>\n    `;// Style Premium\nObject.assign(toast.style,{position:\"fixed\",bottom:\"40px\",left:\"50%\",transform:\"translateX(-50%) translateY(20px)\",padding:\"12px 20px\",borderRadius:\"12px\",backgroundColor:bgColor,color:isSuccess?\"#166534\":\"#0F172A\",border:`1px solid ${borderColor}`,boxShadow:\"0 10px 40px rgba(0,0,0,0.15), 0 4px 10px rgba(0,0,0,0.05)\",zIndex:\"99999\",fontFamily:\"'Inter', sans-serif\",fontWeight:\"500\",fontSize:\"14px\",display:\"flex\",alignItems:\"center\",opacity:\"0\",transition:\"all 0.5s cubic-bezier(0.16, 1, 0.3, 1)\",whiteSpace:\"nowrap\"});document.body.appendChild(toast);requestAnimationFrame(()=>{toast.style.opacity=\"1\";toast.style.transform=\"translateX(-50%) translateY(0)\";});setTimeout(()=>{toast.style.opacity=\"0\";toast.style.transform=\"translateX(-50%) translateY(10px)\";setTimeout(()=>{if(toast.parentNode)toast.parentNode.removeChild(toast);},500);},4e3);}// 🌀 SPINNER IA\nconst AiSpinner=()=>/*#__PURE__*/_jsx(\"div\",{style:{width:\"18px\",height:\"18px\",border:\"2px solid rgba(255, 255, 255, 0.2)\",borderTop:\"2px solid #ffffff\",borderRadius:\"50%\",animation:\"spin 0.8s linear infinite\",marginRight:\"10px\"},children:/*#__PURE__*/_jsx(\"style\",{children:`@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }`})});// --- INPUTS ---\nexport function InputName(Component){return props=>{const[store,setStore]=useStore();const isError=store.errorField===\"name\";const handleChange=val=>setStore({name:val,errorField:\"\"});return /*#__PURE__*/_jsx(Component,{...props,value:store.name,onValueChange:handleChange,onChange:e=>handleChange(e.target.value),style:{...props.style,color:\"#000000\",border:isError?\"2px solid #E02E2E\":props.style?.border,borderRadius:\"10px\"}});};}export function InputEmail(Component){return props=>{const[store,setStore]=useStore();const isError=store.errorField===\"email\";const handleChange=val=>setStore({email:val,errorField:\"\"});return /*#__PURE__*/_jsx(Component,{...props,value:store.email,onValueChange:handleChange,onChange:e=>handleChange(e.target.value),style:{...props.style,color:\"#000000\",border:isError?\"2px solid #E02E2E\":props.style?.border,borderRadius:\"10px\"}});};}export function InputPassword(Component){return props=>{const[store,setStore]=useStore();const[showPassword,setShowPassword]=useState(false);const isError=store.errorField===\"password\";const handleChange=val=>setStore({password:val,errorField:\"\"});return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\"},children:[/*#__PURE__*/_jsx(Component,{...props,type:showPassword?\"text\":\"password\",value:store.password,onValueChange:handleChange,onChange:e=>{if(e&&e.target)handleChange(e.target.value);},style:{...props.style,color:\"#000000\",border:isError?\"2px solid #E02E2E\":props.style?.border,borderRadius:\"10px\",width:\"100%\"}}),/*#__PURE__*/_jsx(\"div\",{onClick:e=>{e.stopPropagation();setShowPassword(!showPassword);},style:{position:\"absolute\",right:\"15px\",top:\"50%\",transform:\"translateY(-50%)\",cursor:\"pointer\",zIndex:5,display:\"flex\",alignItems:\"center\",color:\"#000000\"},children:showPassword?/*#__PURE__*/_jsxs(\"svg\",{width:\"22\",height:\"22\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"1\",y1:\"1\",x2:\"23\",y2:\"23\"})]}):/*#__PURE__*/_jsxs(\"svg\",{width:\"22\",height:\"22\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"3\"})]})})]});};}// 🛠️ SYNCHRO TOTALE : Checkbox synchronisée avec le Store\nexport function InputCheckbox(Component){return props=>{const[store,setStore]=useStore();const isError=store.errorField===\"terms\";// Fonction pour forcer la mise à jour du Store\nconst handleChange=newValue=>{// On s'assure de récupérer un booléen (vrai/faux)\nconst value=typeof newValue===\"boolean\"?newValue:!store.acceptedTerms;setStore({acceptedTerms:value,errorField:\"\"});};return /*#__PURE__*/_jsx(Component,{...props,// Source de vérité unique : le Store\nisChecked:store.acceptedTerms,value:store.acceptedTerms,// On écoute les deux types d'événements possibles sur Framer\nonValueChange:handleChange,onClick:()=>handleChange(!store.acceptedTerms),style:{...props.style,cursor:\"pointer\",boxShadow:isError?\"0 0 0 2px #E02E2E\":\"none\",borderRadius:\"4px\"}});};}// --- ACTION : INSCRIPTION ---\nexport function ActionSignUp(Component){return props=>{const[store,setStore]=useStore();const handleSignUp=async e=>{if(e&&e.preventDefault)e.preventDefault();if(e&&e.stopPropagation)e.stopPropagation();if(!store.name||store.name.trim()===\"\"){setStore({errorField:\"name\"});showNotification(\"Quel est votre nom ?\");return;}const emailRegex=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;if(!store.email||!emailRegex.test(store.email)){setStore({errorField:\"email\"});showNotification(\"Adresse e-mail invalide\");return;}if(!store.password||store.password.length<8){setStore({errorField:\"password\"});showNotification(\"Mot de passe trop court (8+ caract\\xe8res)\");return;}if(!/[A-Z]/.test(store.password)||!/[!@#$%^&*]/.test(store.password)){setStore({errorField:\"password\"});showNotification(\"Mot de passe faible (1 Maj + 1 Symbole requis)\");return;}if(!store.acceptedTerms){setStore({errorField:\"terms\"});showNotification(\"Veuillez accepter les conditions\");return;}setStore({isLoading:true,errorField:\"\"});const{data,error}=await supabase.auth.signUp({email:store.email,password:store.password,options:{data:{full_name:store.name}}});if(error){setStore({isLoading:false});showNotification(error.message);}else{setTimeout(()=>{window.location.href=\"/page-client\";},1500);}};return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\"},children:[/*#__PURE__*/_jsx(Component,{...props,onClick:handleSignUp,style:{...props.style}}),store.isLoading&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundColor:props.style?.backgroundColor||\"#007AFF\",borderRadius:props.style?.borderRadius||\"10px\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"white\",fontWeight:\"bold\",fontFamily:\"Inter, sans-serif\",fontSize:\"14px\",zIndex:10,pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(AiSpinner,{}),\"Cr\\xe9ation...\"]})]});};}// --- ACTION : CONNEXION ---\nexport function ActionSignIn(Component){return props=>{const[store,setStore]=useStore();const handleSignIn=async e=>{if(e&&e.preventDefault)e.preventDefault();if(e&&e.stopPropagation)e.stopPropagation();if(!store.email||!store.password){showNotification(\"Merci de remplir votre email et mot de passe\");return;}setStore({isLoading:true});const{error}=await supabase.auth.signInWithPassword({email:store.email,password:store.password});if(error){setStore({isLoading:false});if(error.message.includes(\"Invalid login credentials\")){showNotification(\"Email ou mot de passe incorrect\");}else{showNotification(error.message);}}else{setTimeout(()=>{window.location.href=\"/page-client\";},500);}};return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\"},children:[/*#__PURE__*/_jsx(Component,{...props,onClick:handleSignIn,style:{...props.style}}),store.isLoading&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundColor:props.style?.backgroundColor||\"#000000\",borderRadius:props.style?.borderRadius||\"10px\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"white\",fontWeight:\"bold\",fontFamily:\"Inter, sans-serif\",fontSize:\"14px\",zIndex:10,pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(AiSpinner,{}),\"Connexion...\"]})]});};}// --- ACTION : MOT DE PASSE OUBLIÉ ---\nexport function ActionResetPassword(Component){return props=>{const[store,setStore]=useStore();const handleReset=async e=>{if(e&&e.preventDefault)e.preventDefault();if(!store.email){showNotification(\"Veuillez entrer votre adresse e-mail.\");setStore({errorField:\"email\"});return;}setStore({isLoading:true});const{error}=await supabase.auth.resetPasswordForEmail(store.email,{// Utilise window.location.origin pour avoir ton domaine (ex: https://clart-ia.framer.website)\n// Et ajoute le bon chemin\nredirectTo:window.location.origin+\"/nouveau-mot-de-passe\"});setStore({isLoading:false});if(error){if(error.message.includes(\"User not found\")||error.status===422){showNotification(\"Aucun compte ne correspond \\xe0 cet e-mail.\");setStore({errorField:\"email\"});}else{showNotification(\"❌ \"+error.message);}}else{showNotification(\"📧 Reset envoy\\xe9 ! Regardez votre bo\\xeete mail.\",\"success\");}};return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\"},children:[/*#__PURE__*/_jsx(Component,{...props,onClick:handleReset,text:store.isLoading?\"Envoi...\":props.text}),store.isLoading&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundColor:props.style?.backgroundColor||\"#000\",borderRadius:props.style?.borderRadius||\"10px\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",zIndex:10,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(AiSpinner,{})})]});};}// --- PROTECTIONS (INCHANGÉES) ---\nasync function getUserRole(){const{data:{session}}=await supabase.auth.getSession();if(!session)return null;const{data:profile}=await supabase.from(\"profiles\").select(\"role\").eq(\"id\",session.user.id).single();return profile?.role||\"guest\";}export function ProtectTeacherOnly(Component){return props=>{useEffect(()=>{getUserRole().then(r=>{if(!r||r!==\"teacher\"&&r!==\"admin\")window.location.href=\"/page-client\";});},[]);return /*#__PURE__*/_jsx(Component,{...props});};}export function ProtectStudentAndTeacher(Component){return props=>{useEffect(()=>{getUserRole().then(r=>{if(!r||r===\"guest\")window.location.href=\"/page-client\";});},[]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"ProtectStudentAndTeacher\":{\"type\":\"reactComponent\",\"name\":\"ProtectStudentAndTeacher\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"InputPassword\":{\"type\":\"reactHoc\",\"name\":\"InputPassword\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ActionSignUp\":{\"type\":\"reactHoc\",\"name\":\"ActionSignUp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"InputEmail\":{\"type\":\"reactHoc\",\"name\":\"InputEmail\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"InputName\":{\"type\":\"reactHoc\",\"name\":\"InputName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ActionSignIn\":{\"type\":\"reactHoc\",\"name\":\"ActionSignIn\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ProtectTeacherOnly\":{\"type\":\"reactComponent\",\"name\":\"ProtectTeacherOnly\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"InputCheckbox\":{\"type\":\"reactHoc\",\"name\":\"InputCheckbox\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ActionResetPassword\":{\"type\":\"reactHoc\",\"name\":\"ActionResetPassword\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SupabaseAuth.map"],"mappings":"wMAGA,SAAS,EAAiB,EAAQ,EAAK,QAAQ,CAAC,IAAM,EAAS,SAAS,eAAe,eAAe,CAAI,GAAS,EAAS,QAAQ,CAAC,IAAM,EAAM,SAAS,cAAc,MAAM,CAAC,EAAM,GAAG,eACxL,IAAM,EAAU,IAAO,UAAgB,EAAU,EAAU,UAAU,UAC9D,EAAQ,EAAU,UAAU,UAC5B,EAAY,EAAU,0BAA0B,yBACjD,EAAU,uKAAuK,EAAU,kGAAkG,EAAU,6GAA6G,EAAU,2EAAiF,EAAY,uKAAuK,EAAU,yHAAyH,EAAU,2EAA2E,EAAM,UAAU;;cAEl4B,EAAU,EAAY,EAAU;oBAC1B,EAAQ;;MAG5B,OAAO,OAAO,EAAM,MAAM,CAAC,SAAS,QAAQ,OAAO,OAAO,KAAK,MAAM,UAAU,oCAAoC,QAAQ,YAAY,aAAa,OAAO,gBAAgB,EAAQ,MAAM,EAAU,UAAU,UAAU,OAAO,aAAa,IAAc,UAAU,4DAA4D,OAAO,QAAQ,WAAW,sBAAsB,WAAW,MAAM,SAAS,OAAO,QAAQ,OAAO,WAAW,SAAS,QAAQ,IAAI,WAAW,yCAAyC,WAAW,SAAS,CAAC,CAAC,SAAS,KAAK,YAAY,EAAM,CAAC,0BAA0B,CAAC,EAAM,MAAM,QAAQ,IAAI,EA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