{"version":3,"file":"AdminSidebar.aQ5t7Fn0.mjs","names":["_Fragment","React.useState","React.useRef","React.useCallback"],"sources":["https:/framerusercontent.com/modules/yXR4mcHqvMgtxtgkG5Ex/96bBV0cDTLhrIsDtG2KN/AdminSidebar.js"],"sourcesContent":["// NH AGENCY — ADMIN SIDEBAR\n// Framer-native navigation:\n// Uses <Link> from \"framer\" for internal pages so Framer Page Effects\n// remain active. No window.location reloads and no unsupported useRouter.\n//\n// Keeps live:\n// - active route highlight\n// - profile/avatar\n// - unread Meetings badge\n// - notification read state\n// - Supabase realtime\n// - Content route: /admin/content\n// - Reviews route: /admin/reviews\n// - Staff role/name now resolve correctly for Manager sessions\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,Link}from\"framer\";import{supabase}from\"https://framerusercontent.com/modules/b3l0K6Jo9apTLV4AdgOX/RzlCl9xrTRPDBj31bNSK/SupabaseClient.js\";function initials(name){return name.split(/\\s+/).filter(Boolean).slice(0,2).map(part=>part[0]?.toUpperCase()||\"\").join(\"\")||\"NH\";}function Icon({name,size=17}){const common={width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:1.6,strokeLinecap:\"round\",strokeLinejoin:\"round\"};const paths={overview:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"4\",y:\"4\",width:\"6\",height:\"6\",rx:\"1.5\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"14\",y:\"4\",width:\"6\",height:\"6\",rx:\"1.5\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"4\",y:\"14\",width:\"6\",height:\"6\",rx:\"1.5\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"14\",y:\"14\",width:\"6\",height:\"6\",rx:\"1.5\"})]}),clients:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"9\",cy:\"8\",r:\"3\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M4 19c.4-3.2 2.2-5 5-5s4.6 1.8 5 5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M16 7.3a2.6 2.6 0 0 1 0 5M16.5 14.5c2 .5 3.2 1.9 3.5 4\"})]}),reviews:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M5 4h14a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H10l-5 4v-4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"m12 7 .9 1.8 2 .3-1.45 1.4.35 2-1.8-.95-1.8.95.35-2L9.1 9.1l2-.3L12 7Z\"})]}),calendar:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"4\",y:\"5\",width:\"16\",height:\"15\",rx:\"3\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M8 3v4M16 3v4M4 10h16\"})]}),flag:/*#__PURE__*/_jsx(\"path\",{d:\"M5 21V4M5 5h10l2 3-2 3H5\"}),landing:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"4\",y:\"4\",width:\"16\",height:\"16\",rx:\"3\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M8 8h8M8 12h5M8 16h6\"})]}),content:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"8\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M10 8.5l5.5 3.5-5.5 3.5z\"})]}),focus:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"8\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"2.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M12 2v3M12 19v3M2 12h3M19 12h3\"})]}),ads:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"8\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M8 12h8M12 8v8\"})]}),billing:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"4\",y:\"4\",width:\"16\",height:\"16\",rx:\"2.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M8 8h8M8 12h5M8 16h7\"})]}),lock:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"5\",y:\"10\",width:\"14\",height:\"10\",rx:\"2.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M8 10V7a4 4 0 0 1 8 0v3\"})]}),team:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"8\",cy:\"9\",r:\"2.5\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"16\",cy:\"9\",r:\"2.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M3.5 19c.4-2.7 2-4.2 4.5-4.2S12 16.3 12.5 19M11.5 19c.5-2.7 2-4.2 4.5-4.2s4 1.5 4.5 4.2\"})]}),chevron:/*#__PURE__*/_jsx(\"path\",{d:\"M9 6l6 6-6 6\"})};return /*#__PURE__*/_jsx(\"svg\",{...common,children:paths[name]});}function adminsidebar({activePage=\"Overview\",accentColor=\"#1677FF\",textColor=\"#FFFFFF\",mutedColor=\"rgba(255,255,255,0.58)\",borderColor=\"rgba(255,255,255,0.10)\",sidebarColor=\"rgba(5,7,11,0.94)\",fontFamily=\"Inter, SF Pro Display, SF Pro Text, sans-serif\",meetingsBadge=0,profileName=\"Jos\\xe9 Montenegro\",profileRole=\"Admin\",profileImage=\"\",overviewLink=\"/admin\",clientsLink=\"/admin/clients\",reviewsLink=\"/admin/reviews\",calendarLink=\"/admin/calendar\",meetingsLink=\"/admin/meetings\",projectDatesLink=\"/admin/project-dates\",landingPagesLink=\"/admin/landing-pages\",contentLink=\"/admin/content\",metaAdsLink=\"/admin/meta-ads\",billingLink=\"/admin/billing\",accessCodesLink=\"/admin/access\",teamLink=\"/admin/team\",settingsLink=\"/admin/settings\"}){const[liveMeetingsBadge,setLiveMeetingsBadge]=React.useState(0);const[liveProfileName,setLiveProfileName]=React.useState(profileName);const[liveProfileRole,setLiveProfileRole]=React.useState(profileRole);const[liveProfileImage,setLiveProfileImage]=React.useState(profileImage);const[notificationToast,setNotificationToast]=React.useState(null);const[currentPath,setCurrentPath]=React.useState(()=>{if(typeof window===\"undefined\")return\"\";return window.location.pathname.replace(/\\/+$/,\"\")||\"/\";});const currentUserIdRef=React.useRef(\"\");const notificationPrefsRef=React.useRef({newClient:true,newMeeting:true,rescheduleRequest:true,invoicePaid:true,overdueInvoice:true,projectDateReminder:false});const loadAdminIdentity=React.useCallback(async()=>{try{const{data:{session},error:sessionError}=await supabase.auth.getSession();if(sessionError)throw sessionError;if(!session?.user)return;const userId=session.user.id;currentUserIdRef.current=userId;const[profileResult,contextResult]=await Promise.all([supabase.from(\"profiles\").select(\"full_name,display_name,avatar_url\").eq(\"id\",userId).maybeSingle(),supabase.rpc(\"get_my_staff_context\")]);if(profileResult.error)throw profileResult.error;if(contextResult.error)throw contextResult.error;const profile=profileResult.data;const context=contextResult.data||{};const role=String(context.role||\"\");// Admin-specific preferences are optional for non-admin staff.\nlet settings=null;if(role===\"admin\"){const settingsResult=await supabase.rpc(\"ensure_my_admin_settings\");if(!settingsResult.error){settings=settingsResult.data;}}setLiveProfileName(profile?.full_name||session.user.user_metadata?.full_name||profileName);setLiveProfileRole(role?role.charAt(0).toUpperCase()+role.slice(1):profileRole);setLiveProfileImage(profile?.avatar_url?`${profile.avatar_url}?v=${Date.now()}`:profileImage);if(settings?.notification_preferences){notificationPrefsRef.current={...notificationPrefsRef.current,...settings.notification_preferences};}// Generate time-based notifications when supported.\n// Identity/profile must not fail if notification generation is unavailable.\ntry{await supabase.rpc(\"generate_my_due_admin_notifications\");}catch{}}catch(error){console.error(\"[NH] Could not load admin identity:\",error);}},[profileImage,profileName,profileRole]);const showAdminNotification=React.useCallback(row=>{const type=String(row?.notification_type||\"\");const enabled=notificationPrefsRef.current[type]!==false;if(!enabled)return;const id=String(row?.id||\"\");const title=String(row?.title||\"NH Agency\");const message=String(row?.message||\"New admin activity.\");setNotificationToast({id,type,title,message});window.setTimeout(()=>setNotificationToast(null),5200);if(typeof window!==\"undefined\"&&\"Notification\"in window&&Notification.permission===\"granted\"){try{new Notification(title,{body:message});}catch{}}},[]);const loadMeetingsBadge=React.useCallback(async()=>{try{const{count,error}=await supabase.from(\"admin_notifications\").select(\"id\",{count:\"exact\",head:true}).is(\"read_at\",null).in(\"notification_type\",[\"newMeeting\",\"rescheduleRequest\"]);if(error)throw error;setLiveMeetingsBadge(typeof count===\"number\"?count:0);}catch(error){console.error(\"[NH] Could not load unread meetings badge:\",error);setLiveMeetingsBadge(0);}},[]);const markNotificationTypesRead=React.useCallback(async types=>{if(!types.length)return;try{const{error}=await supabase.from(\"admin_notifications\").update({read_at:new Date().toISOString()}).is(\"read_at\",null).in(\"notification_type\",types);if(error)throw error;if(types.includes(\"newMeeting\")||types.includes(\"rescheduleRequest\")){setLiveMeetingsBadge(0);}}catch(error){console.error(\"[NH] Could not mark notifications as read:\",error);}},[]);const markSingleNotificationRead=React.useCallback(async notificationId=>{if(!notificationId)return;try{const{error}=await supabase.from(\"admin_notifications\").update({read_at:new Date().toISOString()}).eq(\"id\",notificationId).is(\"read_at\",null);if(error)throw error;}catch(error){console.error(\"[NH] Could not mark notification as read:\",error);}},[]);React.useEffect(()=>{void loadMeetingsBadge();const handleFocus=()=>{void loadMeetingsBadge();};const handleVisibility=()=>{if(document.visibilityState===\"visible\"){void loadMeetingsBadge();}};window.addEventListener(\"focus\",handleFocus);document.addEventListener(\"visibilitychange\",handleVisibility);const channel=supabase.channel(`admin-sidebar-unread-meetings-${Math.random().toString(36).slice(2)}`).on(\"postgres_changes\",{event:\"*\",schema:\"public\",table:\"admin_notifications\"},()=>{void loadMeetingsBadge();}).subscribe();return()=>{window.removeEventListener(\"focus\",handleFocus);document.removeEventListener(\"visibilitychange\",handleVisibility);void supabase.removeChannel(channel);};},[loadMeetingsBadge]);React.useEffect(()=>{let profileChannel=null;let notificationsChannel=null;const setup=async()=>{await loadAdminIdentity();const userId=currentUserIdRef.current;if(!userId)return;profileChannel=supabase.channel(`admin-sidebar-profile-${userId}-${Math.random().toString(36).slice(2)}`).on(\"postgres_changes\",{event:\"*\",schema:\"public\",table:\"profiles\",filter:`id=eq.${userId}`},()=>void loadAdminIdentity()).on(\"postgres_changes\",{event:\"*\",schema:\"public\",table:\"admin_settings\",filter:`user_id=eq.${userId}`},()=>void loadAdminIdentity()).subscribe();notificationsChannel=supabase.channel(`admin-notifications-${userId}-${Math.random().toString(36).slice(2)}`).on(\"postgres_changes\",{event:\"INSERT\",schema:\"public\",table:\"admin_notifications\",filter:`user_id=eq.${userId}`},payload=>showAdminNotification(payload.new)).subscribe();};void setup();const onProfileUpdated=event=>{const detail=event?.detail||{};if(detail.fullName){setLiveProfileName(String(detail.fullName));}setLiveProfileImage(detail.avatarUrl?String(detail.avatarUrl):\"\");void loadAdminIdentity();};const onFocus=()=>{void loadAdminIdentity();};window.addEventListener(\"nh-admin-profile-updated\",onProfileUpdated);window.addEventListener(\"focus\",onFocus);return()=>{window.removeEventListener(\"nh-admin-profile-updated\",onProfileUpdated);window.removeEventListener(\"focus\",onFocus);if(profileChannel){void supabase.removeChannel(profileChannel);}if(notificationsChannel){void supabase.removeChannel(notificationsChannel);}};},[loadAdminIdentity,showAdminNotification]);React.useEffect(()=>{if(typeof window===\"undefined\")return;const syncPath=()=>{setCurrentPath(window.location.pathname.replace(/\\/+$/,\"\")||\"/\");};syncPath();window.addEventListener(\"popstate\",syncPath);return()=>{window.removeEventListener(\"popstate\",syncPath);};},[]);const resolvedMeetingsBadge=liveMeetingsBadge;const nav=[{label:\"Overview\",icon:\"overview\",link:overviewLink},{label:\"Clients\",icon:\"clients\",link:clientsLink},{label:\"Reviews\",icon:\"reviews\",link:reviewsLink},{label:\"Calendar\",icon:\"calendar\",link:calendarLink},{label:\"Meetings\",icon:\"calendar\",link:meetingsLink},{label:\"Project Dates\",icon:\"flag\",link:projectDatesLink},{label:\"Landing Pages\",icon:\"landing\",link:landingPagesLink},{label:\"Content\",icon:\"content\",link:contentLink},{label:\"Meta Ads\",icon:\"ads\",link:metaAdsLink},{label:\"Billing & Invoices\",icon:\"billing\",link:billingLink},{label:\"Access Codes\",icon:\"lock\",link:accessCodesLink},{label:\"Team\",icon:\"team\",link:teamLink}];const normalizePath=href=>{if(!href)return\"\";try{const pathname=href.startsWith(\"http://\")||href.startsWith(\"https://\")?new URL(href).pathname:href.split(\"?\")[0].split(\"#\")[0];return pathname.replace(/\\/+$/,\"\")||\"/\";}catch{return href.replace(/\\/+$/,\"\")||\"/\";}};const prepareNavigation=href=>{if(!href)return;// Immediate visual feedback.\n// Actual navigation is handled by Framer <Link>,\n// preserving the Page Effect configured in the editor.\nsetCurrentPath(normalizePath(href));};const handleNavClick=item=>{prepareNavigation(item.link);if(item.label===\"Meetings\"){setLiveMeetingsBadge(0);// Do not block Framer navigation while Supabase updates.\nvoid markNotificationTypesRead([\"newMeeting\",\"rescheduleRequest\"]);}};const notificationDestination=type=>{if(type===\"newMeeting\"||type===\"rescheduleRequest\"){return meetingsLink;}if(type===\"newClient\")return clientsLink;if(type===\"invoicePaid\"||type===\"overdueInvoice\"){return billingLink;}if(type===\"projectDateReminder\"){return projectDatesLink;}return\"\";};const handleNotificationClick=()=>{const current=notificationToast;if(!current)return;setNotificationToast(null);void markSingleNotificationRead(current.id);if(current.type===\"newMeeting\"||current.type===\"rescheduleRequest\"){setLiveMeetingsBadge(0);void loadMeetingsBadge();}const destination=notificationDestination(current.type);if(destination){prepareNavigation(destination);}};const notificationLink=notificationToast?notificationDestination(notificationToast.type):\"\";const profileActive=currentPath===normalizePath(settingsLink);return /*#__PURE__*/_jsxs(\"aside\",{style:{width:\"100%\",height:\"100%\",minWidth:0,minHeight:0,boxSizing:\"border-box\",background:sidebarColor,borderRight:`1px solid ${borderColor}`,padding:\"22px 16px 18px\",display:\"flex\",flexDirection:\"column\",color:textColor,fontFamily,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n\n                .nh-side-nav,\n                .nh-side-focus,\n                .nh-side-profile {\n                    text-decoration: none !important;\n                }\n\n                .nh-side-nav:visited,\n                .nh-side-focus:visited,\n                .nh-side-profile:visited {\n                    color: inherit;\n                }\n                .nh-side-nav,\n                .nh-side-focus,\n                .nh-side-profile {\n                    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;\n                }\n                .nh-side-nav:hover,\n                .nh-side-profile:hover {\n                    background: rgba(255,255,255,.045) !important;\n                }\n                .nh-side-profile:hover {\n                    transform: translateY(-1px);\n                }\n                .nh-side-focus:hover {\n                    filter: brightness(1.08);\n                    transform: translateY(-1px);\n                }\n                .nh-side-scroll::-webkit-scrollbar {\n                    width: 7px;\n                }\n                .nh-side-scroll::-webkit-scrollbar-thumb {\n                    background: rgba(255,255,255,.07);\n                    border-radius: 999px;\n                }\n                @media (max-width: 900px) {\n                    .nh-side-brand-copy,\n                    .nh-side-label,\n                    .nh-side-profile-copy,\n                    .nh-side-support {\n                        display: none !important;\n                    }\n                    .nh-side-nav,\n                    .nh-side-focus,\n                    .nh-side-profile {\n                        justify-content: center !important;\n                        padding: 0 !important;\n                    }\n                    .nh-side-profile-chevron {\n                        display: none !important;\n                    }\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10,padding:\"0 8px 20px\",borderBottom:`1px solid ${borderColor}`},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:28,fontWeight:700,letterSpacing:\"-.08em\",lineHeight:1},children:\"NH\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"nh-side-brand-copy\",children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:13,fontWeight:600,letterSpacing:\".02em\"},children:\"NH AGENCY\"}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:2,fontSize:10,color:accentColor,letterSpacing:\".12em\"},children:\"ADMIN\"})]})]}),/*#__PURE__*/_jsx(\"div\",{className:\"nh-side-scroll\",style:{marginTop:14,flex:1,overflowY:\"auto\",paddingRight:2},children:nav.map(item=>{const active=currentPath===normalizePath(item.link);return /*#__PURE__*/_jsx(Link,{href:item.link,children:/*#__PURE__*/_jsxs(\"a\",{className:\"nh-side-nav\",onClick:()=>handleNavClick(item),style:{width:\"100%\",height:42,display:\"flex\",alignItems:\"center\",gap:11,padding:\"0 12px\",marginBottom:4,borderRadius:9,border:`1px solid ${active?accentColor:\"transparent\"}`,background:active?\"linear-gradient(90deg, rgba(22,119,255,.18), rgba(22,119,255,.08))\":\"transparent\",color:active?textColor:\"rgba(255,255,255,.68)\",font:\"inherit\",fontSize:13,cursor:\"pointer\",WebkitAppearance:\"none\",appearance:\"none\",textDecoration:\"none\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:active?\"#8AC2FF\":\"rgba(255,255,255,.56)\",display:\"grid\",placeItems:\"center\"},children:/*#__PURE__*/_jsx(Icon,{name:item.icon})}),/*#__PURE__*/_jsx(\"span\",{className:\"nh-side-label\",style:{flex:1,textAlign:\"left\",whiteSpace:\"nowrap\"},children:item.label}),item.label===\"Meetings\"&&resolvedMeetingsBadge>0&&/*#__PURE__*/_jsx(\"span\",{className:\"nh-side-label\",style:{minWidth:22,height:20,padding:\"0 5px\",borderRadius:999,display:\"grid\",placeItems:\"center\",background:\"rgba(0,166,255,.13)\",color:\"#4FB9FF\",fontSize:10},children:resolvedMeetingsBadge})]})},item.label);})}),/*#__PURE__*/_jsxs(\"a\",{className:\"nh-side-focus\",href:\"https://focus.somosnh.com\",target:\"_blank\",rel:\"noopener noreferrer\",style:{width:\"100%\",minHeight:44,marginTop:12,padding:\"0 12px\",borderRadius:10,border:\"1px solid rgba(138,194,255,.42)\",background:accentColor,color:\"#FFFFFF\",display:\"flex\",alignItems:\"center\",gap:11,font:\"inherit\",fontSize:13,fontWeight:600,textDecoration:\"none\",boxSizing:\"border-box\",boxShadow:\"0 10px 28px rgba(22,119,255,.22)\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{display:\"grid\",placeItems:\"center\",color:\"#FFFFFF\"},children:/*#__PURE__*/_jsx(Icon,{name:\"focus\"})}),/*#__PURE__*/_jsx(\"span\",{className:\"nh-side-label\",style:{flex:1,whiteSpace:\"nowrap\"},children:\"NH FOCUS\"}),/*#__PURE__*/_jsx(\"span\",{className:\"nh-side-label\",\"aria-hidden\":\"true\",style:{fontSize:14,opacity:.72},children:\"↗\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"nh-side-support\",style:{marginTop:12,padding:14,borderRadius:12,border:`1px solid rgba(22,119,255,.32)`,background:\"rgba(8,14,24,.55)\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12,fontWeight:600},children:\"Need help?\"}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:5,fontSize:11,lineHeight:1.45,color:mutedColor},children:\"Contact support\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:14,paddingTop:14,borderTop:`1px solid ${borderColor}`},children:/*#__PURE__*/_jsx(Link,{href:settingsLink,children:/*#__PURE__*/_jsxs(\"a\",{className:\"nh-side-profile\",onClick:()=>prepareNavigation(settingsLink),style:{width:\"100%\",minHeight:50,padding:\"7px 8px\",borderRadius:11,border:`1px solid ${profileActive?`${accentColor}AA`:\"transparent\"}`,background:profileActive?\"linear-gradient(90deg, rgba(22,119,255,.15), rgba(22,119,255,.05))\":\"transparent\",color:textColor,display:\"flex\",alignItems:\"center\",gap:10,font:\"inherit\",cursor:\"pointer\",textAlign:\"left\",textDecoration:\"none\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:36,height:36,borderRadius:\"50%\",background:accentColor,display:\"grid\",placeItems:\"center\",fontSize:11,fontWeight:600,flexShrink:0,overflow:\"hidden\",boxShadow:profileActive?`0 0 0 2px rgba(22,119,255,.18)`:\"none\"},children:liveProfileImage?/*#__PURE__*/_jsx(\"img\",{src:liveProfileImage,alt:\"\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}}):initials(liveProfileName)}),/*#__PURE__*/_jsxs(\"div\",{className:\"nh-side-profile-copy\",style:{minWidth:0,flex:1},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:11,fontWeight:500,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"},children:liveProfileName}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:2,fontSize:10,color:mutedColor},children:liveProfileRole})]}),/*#__PURE__*/_jsx(\"span\",{className:\"nh-side-profile-chevron\",style:{color:profileActive?\"#8AC2FF\":\"rgba(255,255,255,.28)\",display:\"grid\",placeItems:\"center\"},children:/*#__PURE__*/_jsx(Icon,{name:\"chevron\",size:14})})]})})}),notificationToast&&notificationLink?/*#__PURE__*/_jsx(Link,{href:notificationLink,children:/*#__PURE__*/_jsxs(\"a\",{onClick:()=>handleNotificationClick(),title:\"Open and mark as read\",style:{position:\"fixed\",top:22,right:22,zIndex:2147483e3,width:330,maxWidth:\"calc(100vw - 44px)\",padding:\"13px 14px\",borderRadius:12,border:\"1px solid rgba(22,119,255,.34)\",background:\"rgba(6,11,19,.96)\",boxShadow:\"0 22px 70px rgba(0,0,0,.50)\",backdropFilter:\"blur(18px)\",color:\"#FFFFFF\",fontFamily,textAlign:\"left\",cursor:\"pointer\",appearance:\"none\",WebkitAppearance:\"none\",textDecoration:\"none\",display:\"block\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:11,fontWeight:600},children:notificationToast.title}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:4,fontSize:9,lineHeight:1.45,color:\"rgba(255,255,255,.58)\"},children:notificationToast.message}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:7,fontSize:8,color:\"rgba(105,169,255,.82)\"},children:\"Open \\xb7 mark as read\"})]})}):notificationToast?/*#__PURE__*/_jsxs(\"button\",{onClick:()=>handleNotificationClick(),title:\"Mark as read\",style:{position:\"fixed\",top:22,right:22,zIndex:2147483e3,width:330,maxWidth:\"calc(100vw - 44px)\",padding:\"13px 14px\",borderRadius:12,border:\"1px solid rgba(22,119,255,.34)\",background:\"rgba(6,11,19,.96)\",boxShadow:\"0 22px 70px rgba(0,0,0,.50)\",backdropFilter:\"blur(18px)\",color:\"#FFFFFF\",fontFamily,textAlign:\"left\",cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:11,fontWeight:600},children:notificationToast.title}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:4,fontSize:9,lineHeight:1.45,color:\"rgba(255,255,255,.58)\"},children:notificationToast.message})]}):null]});}adminsidebar.defaultProps={width:230,height:900,activePage:\"Overview\",accentColor:\"#1677FF\",textColor:\"#FFFFFF\",mutedColor:\"rgba(255,255,255,0.58)\",borderColor:\"rgba(255,255,255,0.10)\",sidebarColor:\"rgba(5,7,11,0.94)\",fontFamily:\"Inter, SF Pro Display, SF Pro Text, sans-serif\",meetingsBadge:0,profileName:\"Jos\\xe9 Montenegro\",profileRole:\"Admin\",profileImage:\"\",overviewLink:\"/admin\",clientsLink:\"/admin/clients\",reviewsLink:\"/admin/reviews\",calendarLink:\"/admin/calendar\",meetingsLink:\"/admin/meetings\",projectDatesLink:\"/admin/project-dates\",landingPagesLink:\"/admin/landing-pages\",contentLink:\"/admin/content\",metaAdsLink:\"/admin/meta-ads\",billingLink:\"/admin/billing\",accessCodesLink:\"/admin/access\",teamLink:\"/admin/team\",settingsLink:\"/admin/settings\"};addPropertyControls(adminsidebar,{activePage:{type:ControlType.Enum,title:\"Active Page\",options:[\"Overview\",\"Clients\",\"Reviews\",\"Calendar\",\"Meetings\",\"Project Dates\",\"Landing Pages\",\"Content\",\"Meta Ads\",\"Billing & Invoices\",\"Access Codes\",\"Team\",\"Settings\"],defaultValue:\"Overview\"},meetingsBadge:{type:ControlType.Number,title:\"Meetings fallback\",defaultValue:0,min:0,max:999,step:1},profileName:{type:ControlType.String,title:\"Profile Name\",defaultValue:\"Jos\\xe9 Montenegro\"},profileRole:{type:ControlType.String,title:\"Profile Role\",defaultValue:\"Admin\"},profileImage:{type:ControlType.Image,title:\"Profile Photo\"},accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#1677FF\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#FFFFFF\"},mutedColor:{type:ControlType.Color,title:\"Muted\",defaultValue:\"rgba(255,255,255,0.58)\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"rgba(255,255,255,0.10)\"},sidebarColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(5,7,11,0.94)\"},fontFamily:{type:ControlType.String,title:\"Font\",defaultValue:\"Inter, SF Pro Display, SF Pro Text, sans-serif\"},overviewLink:{type:ControlType.Link,title:\"Overview\",defaultValue:\"/admin\"},clientsLink:{type:ControlType.Link,title:\"Clients\",defaultValue:\"/admin/clients\"},reviewsLink:{type:ControlType.Link,title:\"Reviews\",defaultValue:\"/admin/reviews\"},calendarLink:{type:ControlType.Link,title:\"Calendar\",defaultValue:\"/admin/calendar\"},meetingsLink:{type:ControlType.Link,title:\"Meetings\",defaultValue:\"/admin/meetings\"},projectDatesLink:{type:ControlType.Link,title:\"Project Dates\",defaultValue:\"/admin/project-dates\"},landingPagesLink:{type:ControlType.Link,title:\"Landing Pages\",defaultValue:\"/admin/landing-pages\"},contentLink:{type:ControlType.Link,title:\"Content\",defaultValue:\"/admin/content\"},metaAdsLink:{type:ControlType.Link,title:\"Meta Ads\",defaultValue:\"/admin/meta-ads\"},billingLink:{type:ControlType.Link,title:\"Billing\",defaultValue:\"/admin/billing\"},accessCodesLink:{type:ControlType.Link,title:\"Access Codes\",defaultValue:\"/admin/access\"},teamLink:{type:ControlType.Link,title:\"Team\",defaultValue:\"/admin/team\"},settingsLink:{type:ControlType.Link,title:\"Profile / Settings\",defaultValue:\"/admin/settings\"}});export{adminsidebar};export default adminsidebar;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"adminsidebar\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"adminsidebar\":{\"type\":\"reactComponent\",\"name\":\"adminsidebar\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AdminSidebar.map"],"mappings":"sRAc4R,SAAS,EAAS,EAAK,CAAC,OAAO,EAAK,MAAM,KAAK,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI,GAAM,EAAK,EAAE,EAAE,YAAY,GAAG,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,IAAK,CAAC,SAAS,EAAK,CAAC,OAAK,OAAK,IAAI,CAAC,IAAM,EAAO,CAAC,MAAM,EAAK,OAAO,EAAK,QAAQ,YAAY,KAAK,OAAO,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,OAAO,EAAQ,EAAM,CAAC,SAAsB,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,OAAO,CAAC,EAAE,IAAI,EAAE,IAAI,MAAM,IAAI,OAAO,IAAI,GAAG,KAAK,CAAC,EAAe,EAAK,OAAO,CAAC,EAAE,KAAK,EAAE,IAAI,MAAM,IAAI,OAAO,IAAI,GAAG,KAAK,CAAC,EAAe,EAAK,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,MAAM,IAAI,OAAO,IAAI,GAAG,KAAK,CAAC,EAAe,EAAK,OAAO,CAAC,EAAE,KAAK,EAAE,KAAK,MAAM,IAAI,OAAO,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,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