1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[397],{8397:(e,t,s)=>{s.r(t),s.d(t,{default:()=>i});var r=s(5043),o=s(5890),n=s(1137),a=s(579);const i=e=>{var t;let{user:s,onLogout:i,onProfileClick:l,onCreditsClick:d,showCreditsDropdown:c,setShowCreditsDropdown:x,setShowSupport:h,setShowOrdersDashboard:m,setShowAdminPanel:p,setShowReferralDashboard:u,currentView:w,setCurrentView:v,projects:j,setProjectSubtab:f,setShowArchived:b,setShowPendingSubtab:g,setShowFailedSubtab:k,picturesContentRef:N,animatedMomentsContentRef:y,pendingInvitationsCount:C=0,totalPendingAccessRequests:M=0}=e;const{t:L}=(0,n.Bd)(),[z,B]=r.useState(!1);r.useEffect(()=>{console.log("\ud83d\udd14 MemoryNavbar totalPendingAccessRequests changed:",M)},[M]);return r.useEffect(()=>{const e=e=>{z&&!e.target.closest(".profile-dropdown-container")&&B(!1),c&&!e.target.closest(".credits-dropdown-container")&&x(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[z,c,x]),(0,a.jsx)("nav",{className:"bg-gradient-to-r from-purple-400 via-blue-400 to-indigo-400 border-b border-purple-300/30 px-4 sm:px-6 lg:px-8 py-3 sticky top-0 z-[60] shadow-xl backdrop-blur-sm",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-2 sm:mb-3",children:[(0,a.jsxs)("button",{onClick:()=>window.location.reload(),className:"hover:opacity-90 transition-opacity",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center sm:hidden",children:[(0,a.jsx)(o.A,{className:"w-8 h-8 flex-shrink-0 mb-1"}),(0,a.jsx)("h1",{className:"text-sm font-bold text-white tracking-tight text-center",children:"Magic Moments"})]}),(0,a.jsxs)("div",{className:"hidden sm:flex items-center space-x-3",children:[(0,a.jsx)(o.A,{className:"w-10 h-10 flex-shrink-0"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-xl font-bold text-white tracking-tight",children:L("landing.app_name")}),(0,a.jsx)("p",{className:"text-xs text-purple-100/80",children:L("nav.tagline")})]})]})]}),s&&(0,a.jsxs)("div",{className:"flex items-center space-x-3 sm:space-x-4 md:space-x-5",children:[(0,a.jsxs)("button",{onClick:()=>{window.openCartModal&&window.openCartModal()},className:"relative p-1.5 sm:p-2 hover:bg-white/20 rounded-lg sm:rounded-xl transition-all duration-200",title:"Shopping Cart",children:[(0,a.jsx)("svg",{className:"w-5 h-5 sm:w-6 sm:h-6 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"})}),window.cartCount>0&&(0,a.jsx)("div",{className:"absolute -top-1 -right-1 bg-red-500 text-white text-xs font-bold rounded-full w-5 h-5 flex items-center justify-center shadow-lg ring-2 ring-white",children:window.cartCount})]}),(0,a.jsxs)("div",{className:"relative credits-dropdown-container",children:[(0,a.jsxs)("button",{onClick:()=>x(!c),className:"flex items-center space-x-2 bg-white/20 backdrop-blur-sm px-3 sm:px-4 py-2 rounded-full border border-white/30 hover:bg-white/30 transition-all duration-200 cursor-pointer shadow-lg",children:[(0,a.jsx)("div",{className:"w-2 h-2 bg-green-400 rounded-full animate-pulse shadow-sm"}),(0,a.jsx)("span",{className:"text-sm font-semibold text-white",children:(null===(t=s.credits)||void 0===t?void 0:t.toFixed(2))||0}),(0,a.jsx)("span",{className:"text-xs text-white/90 hidden sm:inline",children:L("nav.credits")}),(0,a.jsx)("svg",{className:"w-3 h-3 text-white/80",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),c&&(0,a.jsxs)("div",{className:"absolute right-0 top-full mt-2 w-56 bg-white rounded-xl shadow-2xl border border-gray-100 py-2 z-50",children:[(0,a.jsxs)("button",{onClick:()=>{d("buy"),x(!1)},className:"w-full px-3 sm:px-4 py-2 text-left hover:bg-gray-50 flex items-center space-x-3",children:[(0,a.jsxs)("svg",{className:"w-5 h-5 text-purple-600 flex-shrink-0",viewBox:"0 0 24 24",fill:"
1currentColor",children:[(0,a.jsx)("circle",{cx:"12",cy:"12",r:"10",fill:"currentColor"}),(0,a.jsx)("circle",{cx:"12",cy:"12",r:"8.5",fill:"white"}),(0,a.jsx)("text",{x:"12",y:"17","font-family":"Arial, sans-serif","font-size":"14","font-weight":"bold",fill:"currentColor","text-anchor":"middle",children:"$"})]}),(0,a.jsx)("span",{className:"text-xs sm:text-sm font-medium text-gray-700",children:L("credits.buy_credits")})]}),(0,a.jsxs)("button",{onClick:()=>{d("earn"),x(!1)},className:"w-full px-3 sm:px-4 py-2 text-left hover:bg-gray-50 flex items-center space-x-3",children:[(0,a.jsx)("svg",{className:"w-5 h-5 text-green-600 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v13m0-13V6a2 2 0 112 2h-2zm0 0V5.5A2.5 2.5 0 109.5 8H12zm-7 4h14M5 12a2 2 0 110-4h14a2 2 0 110 4M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7"})}),(0,a.jsx)("span",{className:"text-xs sm:text-sm font-medium text-gray-700",children:L("earn_credits.title")})]}),(0,a.jsxs)("button",{onClick:()=>{d("redeem"),x(!1)},className:"w-full px-3 sm:px-4 py-2 text-left hover:bg-gray-50 flex items-center space-x-3",children:[(0,a.jsxs)("svg",{className:"w-5 h-5 text-blue-600 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v13m0-13V6a2 2 0 112 2h-2zm0 0V5.5A2.5 2.5 0 109.5 8H12zm-7 4h14M5 12a2 2 0 110-4h14a2 2 0 110 4M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7"}),(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})]}),(0,a.jsx)("span",{className:"text-xs sm:text-sm font-medium text-gray-700",children:"Redeem Gift Credits"})]})]})]}),(0,a.jsxs)("div",{className:"relative profile-dropdown-container",children:[(0,a.jsxs)("button",{onClick:()=>B(!z),className:"flex items-center space-x-2 p-1.5 rounded-full hover:bg-white/20 transition-all duration-200",children:[(0,a.jsx)("div",{className:"w-8 h-8 sm:w-9 sm:h-9 rounded-full bg-gradient-to-br ".concat("from-orange-400 to-orange-600"," border-2 border-white/50 shadow-md flex items-center justify-center"),children:(0,a.jsx)("span",{className:"text-white font-bold text-sm sm:text-base",children:null!==s&&void 0!==s&&s.name?s.name.charAt(0).toUpperCase():"?"})}),(0,a.jsx)("svg",{className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),z&&(0,a.jsxs)("div",{className:"absolute right-0 top-full mt-2 w-56 bg-white rounded-xl shadow-2xl border border-gray-100 py-2 z-50",children:[(0,a.jsxs)("div",{className:"px-4 py-3 border-b border-gray-100",children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-gray-900 truncate",children:s.name}),(0,a.jsx)("p",{className:"text-xs text-gray-500 truncate",children:s.email})]}),(0,a.jsxs)("button",{onClick:()=>{l(),B(!1)},className:"w-full px-4 py-2.5 text-left hover:bg-amber-50 flex items-center space-x-3 transition-colors",children:[(0,a.jsx)("svg",{className:"w-5 h-5 text-amber-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})}),(0,a.jsx)("span",{className:"text-sm font-medium text-gray-700",children:L("nav.my_profile")})]}),(0,a.jsxs)("button",{onClick:()=>{v("my-orders"),B(!1)},className:"w-full px-4 py-2.5 text-left hover:bg-blue-50 flex items-center space-x-3 transition-colors",children:[(0,a.jsx)("svg",{className:"w-5 h-5 text-blue-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"})}),(0,a.jsx)("span",{className:"text-sm font-medium text-gray-700",children:L("nav.my_orders")})]}),(0,a.jsxs)("button",{onClick:()=>{u(!0),B(!1)},className:"w-full px-4 py-2.5 text-left hover:bg-purple-50 flex items-center space-x-3 transition-colors",children:[(0,a.jsx)("svg",{className:"w-5 h-5 text-purple-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2
10 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"})}),(0,a.jsx)("span",{className:"text-sm font-medium text-gray-700",children:L("nav.my_referrals")})]}),(0,a.jsxs)("button",{onClick:()=>{h(!0),B(!1)},className:"w-full px-4 py-2.5 text-left hover:bg-amber-50 flex items-center space-x-3 transition-colors",children:[(0,a.jsx)("svg",{className:"w-5 h-5 text-amber-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18.364 5.636l-3.536 3.536m0 5.656l3.536 3.536M9.172 9.172L5.636 5.636m3.536 9.192l-3.536 3.536M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-5 0a4 4 0 11-8 0 4 4 0 018 0z"})}),(0,a.jsx)("span",{className:"text-sm font-medium text-gray-700",children:L("nav.help_support")})]}),"[email protected]"===(null===s||void 0===s?void 0:s.email)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"border-t border-gray-100 my-1"}),(0,a.jsx)("div",{className:"px-4 py-2",children:(0,a.jsx)("p",{className:"text-xs font-semibold text-gray-400 uppercase tracking-wide",children:"Admin Tools"})}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsxs)("button",{onClick:e=>{e.shiftKey?window.open("/my-orders","_blank"):m(!0),B(!1)},className:"flex-1 px-4 py-2.5 text-left hover:bg-purple-50 flex items-center space-x-3 transition-colors",children:[(0,a.jsx)("svg",{className:"w-5 h-5 text-purple-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"})}),(0,a.jsx)("span",{className:"text-sm font-medium text-gray-700",children:"Orders Dashboard"})]}),(0,a.jsx)("button",{onClick:()=>{window.open("/my-orders","_blank"),B(!1)},className:"px-2 py-2.5 hover:bg-purple-50 transition-colors",title:"Open in new tab",children:(0,a.jsx)("svg",{className:"w-4 h-4 text-purple-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})})]})]}),"[email protected]"===(null===s||void 0===s?void 0:s.email)&&(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsxs)("button",{onClick:e=>{e.shiftKey?window.open("/admin","_blank"):p(!0),B(!1)},className:"flex-1 px-4 py-2.5 text-left hover:bg-red-50 flex items-center space-x-3 transition-colors",children:[(0,a.jsx)("svg",{className:"w-5 h-5 text-red-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})}),(0,a.jsx)("span",{className:"text-sm font-medium text-gray-700",children:"Admin Panel"})]}),(0,a.jsx)("button",{onClick:()=>{window.open("/admin","_blank"),B(!1)},className:"px-2 py-2.5 hover:bg-red-50 transition-colors",title:"Open in new tab",children:(0,a.jsx)("svg",{className:"w-4 h-4 text-red-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})})]}),"[email protected]"===(null===s||void 0===s?void 0:s.email)&&(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsxs)("button",{onClick:()=>{window.open("/admin/metrics","_blank"),B(!1)},className:"flex-1 px-4 py-2.5 text-left hover:bg-blue-50 flex items-center space-x-3 transition-colors",children:[(0,a.jsx)("svg",{className:"w-5 h-5 text-blue-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"})}),(0,a.jsx)("span",{className:"text-sm font-medium text-gray-700",children:"Monitoring Dashboard"})]}),(0,a.jsx)("button",{onClick:()=>{window.open("/admin/metrics","_blank"),B(!1)},className:"px-2 py-2.5 hover:bg-blue-50 transition-colors",title:"Open in new tab",children:(0,a.jsx)("svg",{className:"w-4 h-4 text-blue-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})})]}),(0,a.jsx)("div",{className:"border-t border-gray-100 my-1"}),(0,a.jsxs)("button",{onClick:()=>{i(),B(!1)},className:"w-full px-4 py-2.5 text-left hover:bg-red-50 flex items-center space-x-3 transition-colors group",children:[(0,a.jsx)("svg",{className:"w-5 h-5 text-red-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"})}),(0,a.jsx)("span",{className:"text-sm font-medium text-red-600",children:"Logout"})]})]})]})]})]}),(0,a.jsx)("div",{className:"flex justify-center scrollbar-hide mt-3 sm:mt-0",style:{overflow:"visible"},children:(0,a.jsxs)("div",{className:"inline-flex items-center space-x-2 sm:space-x-1.5 bg-white/10 px-2 py-1.5 rounded-2xl shadow-lg border border-white/20 overflow-visible",children:[(0,a.jsx)("button",{onClick:()=>{v("shop"),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},100)},className:"group relative px-3 py-2.5 rounded-xl font-medium transition-all duration-200 text-sm ".concat("shop"===w?"bg-white text-purple-600 shadow-lg":"text-white/80 hover:text-white hover:bg-white/10"),children:(0,a.jsxs)("span",{className:"flex items-center gap-2 whitespace-nowrap",children:[(0,a.jsx)("svg",{className:"w-5 h-5 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"})}),(0,a.jsx)("span",{className:"max-w-0 overflow-hidden group-hover:max-w-xs transition-all duration-300 ease-out",children:"Shop"})]})}),(0,a.jsx)("button",{onClick:()=>{v("pictures"),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},100)},className:"group relative px-3 py-2.5 rounded-xl font-medium transition-all duration-200 text-sm ".concat("pictures"===w?"bg-white text-purple-600 shadow-lg":"text-white/80 hover:text-white hover:bg-white/10"),children:(0,a.jsxs)("span",{className:"flex items-center gap-2 whitespace-nowrap",children:[(0,a.jsx)("svg",{className:"w-5 h-5 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"})}),(0,a.jsx)("span",{className:"max-w-0 overflow-hidden group-hover:max-w-xs transition-all duration-300 ease-out",children:"Pictures"})]})}),(0,a.jsx)("button",{onClick:()=>{v("living_memories"),g(!1),k(!1),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},100)},className:"group relative px-3 py-2.5 rounded-xl font-medium transition-all duration-200 text-sm ".concat("living_memories"===w?"bg-white text-purple-600 shadow-lg":"text-white/80 hover:text-white hover:bg-white/10"),children:(0,a.jsxs)("span",{className:"flex items-center gap-2 whitespace-nowrap",children:[(0,a.jsx)("svg",{className:"w-5 h-5 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"})}),(0,a.jsx)("span",{className:"max-w-0 overflow-hidden group-hover:max-w-xs transition-all duration-300 ease-out",children:"Moments"})]})}),(0,a.jsxs)("button",{onClick:()=>{v("projects"),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},100)},className:"group relative px-3 py-2.5 rounded-xl font-medium transition-all duration-200 text-sm z-[70] ".concat("projects"===w?"bg-white text-purple-600 shadow-lg":"text-white/80 hover:text-white hover:bg-white/10"),children:[(0,a.jsxs)("span",{className:"flex items-center gap-2 whitespace-nowrap",children:[(0,a.jsx)("svg",{className:"w-5 h-5 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2
10 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"})}),(0,a.jsx)("span",{className:"max-w-0 overflow-hidden group-hover:max-w-xs transition-all duration-300 ease-out",children:"Collaborate"})]}),(()=>{const e=C+M;return console.log("\ud83c\udfa8 RENDERING Badge - pendingInvitations:",C,"totalAccessRequests:",M,"total:",e,"shouldShow:",e>0),e>0?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute rounded-full",style:{top:"-10px",right:"-10px",width:"28px",height:"28px",backgroundColor:"white",zIndex:9998}}),(0,a.jsx)("div",{className:"absolute bg-red-600 text-white text-xs font-bold rounded-full w-6 h-6 flex items-center justify-center animate-pulse",style:{top:"-9px",right:"-9px",zIndex:9999,boxShadow:"0 4px 8px rgba(0,0,0,0.3)"},children:e})]}):null})()]})]})})]})})}}}]); 2//# sourceMappingURL=397.c720652a.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.