{"version":3,"file":"UserProfileMenu.B2NLTVVY.mjs","names":["useState","useMemo","startTransition"],"sources":["https:/framerusercontent.com/modules/lvUUW64zR73KRK1OOSSg/xaGMubl5Zpc58bXcCKmz/UserProfileMenu.js"],"sourcesContent":["// UserProfileMenu — Supabase-connected\n// - Shows First Name + Last Name + Email from public.customers by auth.user_id\n// - Logout signs out via Supabase and redirects to /customer/login\n// - Only talks to Supabase on bangautoglass.com\n// - Renders as a white, light-theme card using Bang AutoGlass neon green\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,startTransition,useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{createClient}from\"@supabase/supabase-js\";/**\n * My Profile Section\n *\n * @framerIntrinsicWidth 320\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function UserProfileMenu(props){const{userName=\"John Doe\",userEmail=\"john.doe@example.com\",userAvatar={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"User Avatar\"},borderRadius=12,showShadow=true,headingFont,bodyFont,supabaseUrl,supabaseAnonKey}=props;// === THEME-ALIGNED COLORS (WHITE CARD, LIGHT TEXT) ===\nconst cardBg=\"var(--section-white-bg, #ffffff)\";const textColor=\"var(--section-white-text, #101410)\";const mutedColor=\"var(--section-white-muted, #3a4a3b)\";const accentColor=\"var(--neon, #39FF14)\";const borderColor=\"var(--section-white-line, rgba(0,0,0,.12))\";const hoverColor=\"var(--section-white-surface-strong, rgba(0,0,0,.08))\";const logoutColor=\"#EF4444\";const logoutIdleColor=\"var(--section-white-muted, #6B7280)\"// grey default\n;// Host detection: only call Supabase on bangautoglass.com\nconst[isLiveSite,setIsLiveSite]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;const hostname=window.location.hostname;const isBangDomain=hostname===\"bangautoglass.com\"||hostname===\"www.bangautoglass.com\"||hostname.endsWith(\".bangautoglass.com\");setIsLiveSite(isBangDomain);},[]);// Display values (override props with DB values when available)\nconst[displayName,setDisplayName]=useState(userName);const[displayEmail,setDisplayEmail]=useState(userEmail);// Theme-aligned typography with override support\nconst headingTextStyle={fontFamily:\"var(--font-display, Inter Display, Inter, ui-sans-serif)\",fontSize:\"18px\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\",...headingFont};const bodyTextStyle={fontFamily:\"var(--font-body, Inter, ui-sans-serif)\",fontSize:\"14px\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\",...bodyFont};// Supabase client: created only on live site & when keys exist\nconst supabase=useMemo(()=>{if(!isLiveSite||!supabaseUrl||!supabaseAnonKey)return null;return createClient(supabaseUrl,supabaseAnonKey,{auth:{persistSession:true,autoRefreshToken:true,detectSessionInUrl:false}});},[isLiveSite,supabaseUrl,supabaseAnonKey]);// Load profile from public.customers (by auth.user.id)\nuseEffect(()=>{if(!supabase)return;let isCancelled=false;let authSubscription=null;const fetchProfile=async uid=>{const{data,error}=await supabase.from(\"customers\").select(\"first_name,last_name,email\").eq(\"user_id\",uid).maybeSingle();if(error){console.warn(\"UserProfileMenu: customers fetch error:\",error);return;}if(!isCancelled&&data){const fullName=`${data.first_name??\"\"} ${data.last_name??\"\"}`.trim();startTransition(()=>{if(fullName)setDisplayName(fullName);if(data.email)setDisplayEmail(data.email);});}};const init=async()=>{const{data}=await supabase.auth.getSession();const uid=data?.session?.user?.id;if(uid){await fetchProfile(uid);}const{data:sub}=supabase.auth.onAuthStateChange((_evt,session)=>{const nextUid=session?.user?.id;if(nextUid){void fetchProfile(nextUid);}else if(!isCancelled){// If user logs out, revert to fallback props\nstartTransition(()=>{setDisplayName(userName);setDisplayEmail(userEmail);});}});authSubscription=sub;};void init();return()=>{isCancelled=true;if(authSubscription?.subscription){authSubscription.subscription.unsubscribe();}};},[supabase,userName,userEmail]);// === MENU ORDER & LABELS ===\nconst menuItems=[{label:\"Schedule Service\",icon:\"calendar\"},{label:\"My Account\",icon:\"user\"},{label:\"Services\",icon:\"briefcase\",hasDropdown:true},{label:\"My Vehicles\",icon:\"car\"},{label:\"Insurance\",icon:\"shield\"},{label:\"Settings\",icon:\"settings\"}];const servicesSubItems=[\"Upcoming Services\",\"Completed Services\"];// Route mapping based on /customer sitemap (no folder-only links)\nconst baseUrl=\"https://bangautoglass.com\";const routeMap={\"Schedule Service\":`${baseUrl}/customer/schedule-service`,\"My Account\":`${baseUrl}/customer/my-account`,\"My Vehicles\":`${baseUrl}/customer/my-vehicle`,Insurance:`${baseUrl}/customer/insurance`,Settings:`${baseUrl}/customer/settings`,\"Upcoming Services\":`${baseUrl}/customer/services/upcoming`,\"Completed Services\":`${baseUrl}/customer/services/completed`};const getIcon=iconName=>{switch(iconName){case\"user\":return /*#__PURE__*/_jsxs(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"7\",r:\"4\"})]});case\"settings\":// Wrench icon\nreturn /*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M21 7.5a4.5 4.5 0 0 1-6.53 4.03L9 17l-3 3-2-2 3-3 5.47-5.47A4.5 4.5 0 0 1 16.5 3a4.48 4.48 0 0 1 2.77.96l-2.83 2.83 1.41 1.41 2.83-2.83A4.48 4.48 0 0 1 21 7.5z\"})});case\"calendar\":return /*#__PURE__*/_jsxs(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"4\",width:\"18\",height:\"18\",rx:\"2\",ry:\"2\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"16\",y1:\"2\",x2:\"16\",y2:\"6\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"8\",y1:\"2\",x2:\"8\",y2:\"6\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"3\",y1:\"10\",x2:\"21\",y2:\"10\"})]});case\"car\":return /*#__PURE__*/_jsxs(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M5 17h14v2a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-2z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5 17H3a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h2m16 6h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5 11L7 5h10l2 6\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"7.5\",cy:\"15.5\",r:\"1.5\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"16.5\",cy:\"15.5\",r:\"1.5\"})]});case\"shield\":return /*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z\"})});case\"briefcase\":return /*#__PURE__*/_jsxs(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"2\",y:\"7\",width:\"20\",height:\"14\",rx:\"2\",ry:\"2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16\"})]});default:return null;}};const handleMenuClick=label=>{const target=routeMap[label];if(!target){console.warn(`UserProfileMenu: no route configured for \"${label}\"`);return;}if(typeof window!==\"undefined\"){window.location.href=target;}};const handleLogout=async()=>{const redirectUrl=`${baseUrl}/customer/login`;try{if(supabase){await supabase.auth.signOut();}}catch(e){console.warn(\"Logout error:\",e);}finally{if(typeof window!==\"undefined\"){window.location.href=redirectUrl;}}};const[hoveredItem,setHoveredItem]=useState(null);const[hoveredLogout,setHoveredLogout]=useState(false);const[servicesExpanded,setServicesExpanded]=useState(false);const[hoveredSubItem,setHoveredSubItem]=useState(null);return /*#__PURE__*/_jsxs(\"div\",{style:{...props.style,position:\"relative\",width:\"100%\",height:\"100%\",minHeight:\"400px\",backgroundColor:cardBg,borderRadius,border:`1px solid ${borderColor}`,boxShadow:showShadow?\"var(--shadow-card, 0 4px 24px rgba(0,0,0,.08))\":\"none\",overflow:\"hidden\",display:\"flex\",flexDirection:\"column\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"24px\",borderBottom:`1px solid ${borderColor}`,display:\"flex\",alignItems:\"center\",gap:\"16px\",flexShrink:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"56px\",height:\"56px\",borderRadius:\"50%\",overflow:\"hidden\",border:`2px solid ${accentColor}`,flexShrink:0},children:/*#__PURE__*/_jsx(\"img\",{...userAvatar,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"}})}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,minWidth:0},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:0,color:textColor,...headingTextStyle,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\"},children:displayName}),/*#__PURE__*/_jsx(\"p\",{style:{margin:\"4px 0 0 0\",color:mutedColor,...bodyTextStyle,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\"},children:displayEmail})]})]}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1,padding:\"8px\",overflow:\"auto\",minHeight:0},children:menuItems.map((item,index)=>/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"button\",{onClick:()=>{if(item.hasDropdown){startTransition(()=>setServicesExpanded(!servicesExpanded));}else{handleMenuClick(item.label);}},onMouseEnter:()=>startTransition(()=>setHoveredItem(index)),onMouseLeave:()=>startTransition(()=>setHoveredItem(null)),style:{width:\"100%\",padding:\"14px 16px\",border:\"none\",background:hoveredItem===index?hoverColor:\"transparent\",borderRadius:8,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",gap:\"12px\",transition:\"all 0.2s ease\",// Font color stays the same; only background changes\n    color:textColor,...bodyTextStyle},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",flexShrink:0},children:getIcon(item.icon)}),/*#__PURE__*/_jsx(\"span\",{style:{textAlign:\"left\",flex:1},children:item.label}),item.hasDropdown?/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",style:{transition:\"transform 0.2s ease\",transform:servicesExpanded?\"rotate(180deg)\":\"rotate(0deg)\"},children:/*#__PURE__*/_jsx(\"polyline\",{points:\"6 9 12 15 18 9\"})}):/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",style:{opacity:hoveredItem===index?1:.4,transition:\"opacity 0.2s ease\"},children:/*#__PURE__*/_jsx(\"polyline\",{points:\"9 18 15 12 9 6\"})})]}),item.hasDropdown&&servicesExpanded&&/*#__PURE__*/_jsx(\"div\",{style:{marginLeft:\"32px\",marginTop:\"4px\",marginBottom:\"4px\",borderLeft:`2px solid ${borderColor}`,paddingLeft:\"12px\"},children:servicesSubItems.map((subItem,subIndex)=>/*#__PURE__*/_jsxs(\"button\",{onClick:()=>handleMenuClick(subItem),onMouseEnter:()=>startTransition(()=>setHoveredSubItem(subIndex)),onMouseLeave:()=>startTransition(()=>setHoveredSubItem(null)),style:{width:\"100%\",padding:\"12px 16px\",border:\"none\",background:hoveredSubItem===subIndex?hoverColor:\"transparent\",borderRadius:8,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",gap:\"12px\",transition:\"all 0.2s ease\",// Submenu font color stays muted; only background changes\n        color:mutedColor,...bodyTextStyle,fontSize:\"13px\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{textAlign:\"left\",flex:1},children:subItem}),/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",style:{opacity:hoveredSubItem===subIndex?1:.4,transition:\"opacity 0.2s ease\"},children:/*#__PURE__*/_jsx(\"polyline\",{points:\"9 18 15 12 9 6\"})})]},subIndex))})]},index))}),/*#__PURE__*/_jsx(\"div\",{style:{padding:\"8px\",borderTop:`1px solid ${borderColor}`,flexShrink:0},children:/*#__PURE__*/_jsxs(\"button\",{onClick:handleLogout,onMouseEnter:()=>startTransition(()=>setHoveredLogout(true)),onMouseLeave:()=>startTransition(()=>setHoveredLogout(false)),style:{width:\"100%\",padding:\"14px 16px\",border:\"none\",background:hoveredLogout?`${logoutColor}10`:\"transparent\",borderRadius:8,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",gap:\"12px\",transition:\"all 0.2s ease\",// Grey by default, red on hover\ncolor:hoveredLogout?logoutColor:logoutIdleColor,...bodyTextStyle},children:[/*#__PURE__*/_jsxs(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"16 17 21 12 16 7\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"21\",y1:\"12\",x2:\"9\",y2:\"12\"})]}),/*#__PURE__*/_jsx(\"span\",{style:{textAlign:\"left\",flex:1},children:\"Logout\"})]})})]});}addPropertyControls(UserProfileMenu,{userName:{type:ControlType.String,title:\"Fallback Name\",defaultValue:\"John Doe\"},userEmail:{type:ControlType.String,title:\"Fallback Email\",defaultValue:\"john.doe@example.com\"},userAvatar:{type:ControlType.ResponsiveImage,title:\"User Avatar\"},supabaseUrl:{type:ControlType.String,title:\"Supabase URL\",defaultValue:\"\",placeholder:\"https://your-project.supabase.co\"},supabaseAnonKey:{type:ControlType.String,title:\"Supabase Anon Key\",defaultValue:\"\",placeholder:\"your-anon-key\",displayTextArea:true},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:12,min:0,max:32,step:1,unit:\"px\"},showShadow:{type:ControlType.Boolean,title:\"Shadow\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},headingFont:{type:ControlType.Font,title:\"Heading Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"18px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"}},bodyFont:{type:ControlType.Font,title:\"Body Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"UserProfileMenu\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"320\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"400\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./UserProfileMenu.map"],"mappings":"gQAaG,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,WAAS,WAAW,YAAU,uBAAuB,aAAW,CAAC,IAAI,sEAAsE,IAAI,cAAc,CAAC,eA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