1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/MobileAccounts-B23umdCz.js","assets/react-B-vVwQ3b.js","assets/financial-data-DCgRfs2G.js","assets/user-data-DUd7LJgP.js","assets/firebase-storage-CPr6ZEEY.js","assets/firebase-core-C-Adny5R.js","assets/app-core-CaVHifoP.js","assets/router-W5KEZhfK.js","assets/firebase-auth-CKWIqRzq.js","assets/firebase-Dk_-pvUE.js","assets/firebase-firestore-LMrzQ1pa.js","assets/zod-BWY43kwD.js","assets/crypto-Bxq_8Pdr.js","assets/zustand-W6yXL7r6.js","assets/sonner-B5yJVNJy.js","assets/MobileEmptyStates-B39AabNw.js","assets/AuthenticatedRoot-eUgCBj93.js","assets/useSubscription-C3iaddrK.js","assets/framer-motion-BcnudXUq.js","assets/forceLight-CqzepPCS.js","assets/useSpaLinks-64NSW4up.js","assets/qrcode-CGy4FdQ3.js","assets/ai-shell-10zYQVEB.js","assets/vaul-CcTWbbyq.js","assets/radix-m0F2fy-F.js","assets/tw-utils-DWXKzyze.js","assets/notifications-CEWQ6Hff.js","assets/lucide-Dy8pGTP2.js","assets/index-DwLb7-Y2.js","assets/index-D0EVtqJW.css","assets/EmptyStateIllustrations-COseCM9u.js","assets/PullToRefresh-C2IyY6P4.js","assets/MobileTransactions-BCu_1-IZ.js","assets/utils-Cf-7lMn7.js","assets/merchantLogoService-BPxbIJP2.js","assets/Eyebrow-CjeYvWnV.js","assets/spendingFilter-DEA0dUPm.js","assets/TransactionAnnotationIndicator-CjG4Eqgz.js","assets/TabBar-BFIza7zW.js","assets/index-DsFgjic7.js","assets/audio-61NZVZNa.js","assets/purify.es-CZKq0h6h.js","assets/highlight-2wPKQWTE.js","assets/Collapse-CFF2UUAx.js","assets/KiraVoiceMark-DTqmrwPj.js","assets/MobileSettings-CfbV3h8c.js"])))=>i.map(i=>d[i]); 2import{_ as e}from"./app-core-CaVHifoP.js";import{r as s,j as a}from"./react-B-vVwQ3b.js";import{u as i}from"./user-data-DUd7LJgP.js";import{A as t,m as n}from"./framer-motion-BcnudXUq.js";import{w as d,X as r,e as l,W as o,S as c,aD as m}from"./lucide-Dy8pGTP2.js";const h="bwise_pwa_install_dismissed",x={type:"spring",stiffness:400,damping:30,mass:.8};const u=s.memo(function(){const[e,i]=s.useState(!1),l=s.useRef(null);s.useEffect(()=>{if("undefined"!=typeof window&&(window.matchMedia("(display-mode: standalone)").matches||!0===navigator.standalone)||function(){try{const e=localStorage.getItem(h);if(!e)return!1;const s=parseInt(e,10);return Date.now()-s<2592e6}catch{return!1}}())return;const e=e=>{e.preventDefault(),l.current=e;const s=setTimeout(()=>{i(!0)},3e3);return()=>clearTimeout(s)};return window.addEventListener("beforeinstallprompt",e),()=>{window.removeEventListener("beforeinstallprompt",e)}},[]);const o=s.useCallback(async()=>{const e=l.current;if(!e)return;await e.prompt();const{outcome:s}=await e.userChoice;"accepted"===s&&i(!1),l.current=null},[]),c=s.useCallback(()=>{!function(){try{localStorage.setItem(h,String(Date.now()))}catch{}}(),i(!1)},[]);return a.jsx(t,{children:e&&a.jsx(n.div,{className:"fixed left-4 right-4 z-40",style:{bottom:"calc(64px + env(safe-area-inset-bottom, 0px) + 12px)"},initial:{y:80,opacity:0,scale:.95},animate:{y:0,opacity:1,scale:1},exit:{y:80,opacity:0,scale:.95},transition:x,children:a.jsxs("div",{className:"\n flex items-center gap-3 px-4 py-4\n rounded-2xl\n bg-white/90 dark:bg-[#1C1C1E]/90\n backdrop-blur-xl backdrop-saturate-200\n border border-black/[0.06] dark:border-white/[0.08]\n shadow-[0_4px_24px_rgba(0,0,0,0.08),0_1px_4px_rgba(0,0,0,0.04)]\n dark:shadow-[0_4px_24px_rgba(0,0,0,0.3),0_1px_4px_rgba(0,0,0,0.2)]\n ",children:[a.jsx("div",{className:"\n w-10 h-10 rounded-xl flex-shrink-0\n bg-gradient-to-br from-emerald-400 to-emerald-600\n flex items-center justify-center\n shadow-sm\n ",children:a.jsx(d,{className:"w-5 h-5 text-white",strokeWidth:1.5})}),a.jsxs("div",{className:"flex-1 min-w-0",children:[a.jsx("p",{className:"text-[14px] font-semibold text-[#1C1C1E] dark:text-[#F5F5F7] leading-tight",children:"Add BWise to Home Screen"}),a.jsx("p",{className:"text-[12px] text-[#8E8E93] mt-1 leading-tight",children:"Quick access to your wealth dashboard"})]}),a.jsx(n.button,{onClick:o,className:"\n flex-shrink-0 px-4 py-2 rounded-full\n bg-[#007AFF] text-white\n text-[13px] font-semibold\n active:bg-[#0066D6]\n transition-colors duration-150\n ",whileTap:{scale:.95},transition:x,children:"Install"}),a.jsx(n.button,{onClick:c,className:"\n flex-shrink-0 p-2 rounded-full\n text-[#8E8E93]\n hover:bg-black/5 dark:hover:bg-white/5\n active:bg-black/10 dark:active:bg-white/10\n transition-colors duration-150\n ",whileTap:{scale:.9},"aria-label":"Dismiss install prompt",children:a.jsx(r,{className:"w-4 h-4"})})]})})})});if("undefined"!=typeof document){const e="mobile-skeleton-styles";if(!document.getElementById(e)){const s=document.createElement("style");s.id=e,s.textContent="\n@keyframes mobile-skeleton-breathe {\n 0%, 100% {\n opacity: 1;\n }\n 50% {\n opacity: 0.65;\n }\n}\n\n.skeleton-shimmer {\n background: #C8C8CC;\n animation: mobile-skeleton-breathe 2.2s ease-in-out infinite;\n will-change: opacity;\n transform: translateZ(0);\n}\n\n.dark .skeleton-shimmer {\n background: #2A2A2A;\n}\n",document.head.appendChild(s)}}const p=.03,g=.08,b={initial:{opacity:0}
2,animate:{opacity:1,transition:{staggerChildren:.05,delayChildren:.05}},exit:{opacity:0,transition:{duration:.2,ease:[.25,.1,.25,1]}}},j={initial:{opacity:0,y:12},animate:{opacity:1,y:0,transition:{type:"spring",stiffness:300,damping:30}},exit:{opacity:0,y:-4,transition:{duration:.15}}},f={none:"rounded-none",sm:"rounded",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl","2xl":"rounded-2xl","3xl":"rounded-3xl",full:"rounded-full"},v=s.memo(function({className:e="",width:s,height:i,rounded:t="md",delay:d=0,animate:r=!0}){return a.jsx(n.div,{className:`skeleton-shimmer ${f[t]} ${e}`,style:{width:"number"==typeof s?`${s}px`:s,height:"number"==typeof i?`${i}px`:i,animationDelay:r?`${d}s, ${d}s`:void 0},initial:!!r&&{opacity:0,scale:.98},animate:!!r&&{opacity:1,scale:1},transition:{delay:d,duration:.3,ease:[.25,.1,.25,1]}})}),w=s.memo(function({children:e,className:s="",delay:i=0,gradient:t=!1}){return a.jsx(n.div,{className:`\n ${t?"bg-gradient-to-br from-[#F5F5F7] to-[#EFEFED] dark:from-[#1A1A1A] dark:to-[#1F1F1F]":"bg-white dark:bg-surface-tertiary"}\n rounded-2xl border border-edge/60 dark:border-edge/60\n shadow-[0_1px_3px_rgba(0,0,0,0.04)] dark:shadow-[0_1px_3px_rgba(0,0,0,0.2)]\n overflow-hidden\n ${s}\n `,variants:j,initial:"initial",animate:"animate",exit:"exit",transition:{delay:i},children:e})});s.memo(function({isLoading:e,children:s,skeleton:i}){return a.jsx(t,{mode:"wait",children:e?a.jsx(n.div,{initial:{opacity:1},exit:{opacity:0},transition:{duration:.25,ease:[.25,.1,.25,1]},children:i},"skeleton"):a.jsx(n.div,{initial:{opacity:0}
2,animate:{opacity:1},transition:{duration:.3,ease:[.25,.1,.25,1]},children:s},"content")})});const y=s.memo(function(){return a.jsxs(n.div,{className:"min-h-screen bg-surface-secondary dark:bg-[#0F0F0F]",variants:b,initial:"initial",animate:"animate",exit:"exit",children:[a.jsxs(n.div,{className:"pt-4 px-4 mb-4",variants:j,children:[a.jsx(v,{width:140,height:32,rounded:"lg",className:"mb-1"}),a.jsx(v,{width:100,height:14,rounded:"md"})]}),a.jsx(n.div,{className:"px-4 pb-3",variants:j,children:a.jsx("div",{className:"flex p-1 bg-surface-secondary dark:bg-surface-tertiary rounded-xl",children:Array.from({length:4}).map((e,s)=>a.jsx(v,{className:"flex-1 mx-1",height:38,rounded:"lg",delay:.02*s},s))})}),a.jsx(n.div,{className:"px-4 pb-3",variants:j,children:a.jsxs("div",{className:"flex gap-2",children:[a.jsx(v,{className:"flex-1",height:48,rounded:"xl"}),a.jsx(v,{className:"flex-1",height:48,rounded:"xl",delay:.03})]})}),a.jsx(n.div,{className:"px-4 pb-4",variants:j,children:a.jsxs("div",{className:"flex items-center justify-between py-2",children:[a.jsx(v,{width:100,height:12,rounded:"md"}),a.jsx(v,{width:70,height:14,rounded:"md"})]})}),a.jsx("div",{className:"px-4 pb-32 space-y-5",children:Array.from({length:3}).map((e,s)=>a.jsxs(n.div,{variants:j,children:[a.jsxs("div",{className:"flex items-center justify-between py-3 px-1",children:[a.jsxs("div",{className:"flex items-baseline gap-2",children:[a.jsx(v,{width:70,height:13,rounded:"md"}),a.jsx(v,{width:85,height:11,rounded:"sm"})]}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(v,{width:50,height:11,rounded:"md"}),a.jsx(v,{width:45,height:11,rounded:"md"})]})]}),a.jsx(w,{className:"divide-y divide-[#C8C8CC]/50 dark:divide-[#2A2A2A]/50",children:Array.from({length:4-s}).map((e,s)=>a.jsxs("div",{className:"flex items-center justify-between p-4",children:[a.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[a.jsx(v,{width:36,height:36,rounded:"lg",animate:!1}),a.jsxs("div",{className:"flex-1 min-w-0",children:[a.jsx(v,{width:"55%",height:13,rounded:"sm",className:"mb-2",animate:!1}),a.jsx(v,{width:"40%",height:10,rounded:"sm",animate:!1})]})]}),a.jsx(v,{width:65,height:13,rounded:"md",animate:!1})]},s))})]},s))})]})}),N=s.memo(function(){return a.jsxs(n.div,{className:"min-h-screen bg-surface-secondary dark:bg-[#121212]",variants:b,initial:"initial",animate:"animate",exit:"exit",children:[a.jsx(n.div,{className:"pt-4 px-4 mb-5",variants:j,children:a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(v,{width:100,height:32,rounded:"lg",className:"mb-1"}),a.jsx(v,{width:150,height:13,rounded:"md"})]}),a.jsx(v,{width:40,height:40,rounded:"xl"})]})}),a.jsxs("div",{className:"px-4 pb-8",children:[a.jsx(n.div,{variants:j,children:a.jsx("div",{className:"relative overflow-hidden rounded-3xl mb-6 bg-gradient-to-br from-emerald-500 to-teal-600 dark:from-emerald-600 dark:to-teal-700",children:a.jsxs("div",{className:"p-6",children:[a.jsxs("div",{className:"flex items-center justify-between mb-4",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("div",{className:"w-4 h-4 rounded bg-white/20"}),a.jsx("div",{className:"h-4 w-24 rounded bg-white/20"})]}),a.jsx("div",{className:"w-9 h-9 rounded-full bg-white/10"})]}),a.jsx("div",{className:"h-12 w-48 rounded-lg bg-white/20 mb-3"}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"h-7 w-24 rounded-full bg-white/15"}),a.jsx("div",{className:"h-4 w-16 rounded bg-white/10"})]}),a.jsxs("div",{className:"flex gap-6 mt-5 pt-5 border-t border-white/15",children:[a.jsxs("div",{children:[a.jsx("div",{className:"h-3 w-12 rounded bg-white/20 mb-2"}),a.jsx("div",{className:"h-5 w-20 rounded bg-white/20"})]}),a.jsx("div",{className:"w-px h-8 bg-white/20"}),a.jsxs("div",{children:[a.jsx("div",{className:"h-3 w-14 rounded bg-white/20 mb-2"}),a.jsx("div",{className:"h-5 w-20 rounded bg-white/20"})]})]})]})})}),a.jsxs(n.div,{className:"flex gap-2 p-1 bg-surface-secondary dark:bg-[#1F1F1F] rounded-xl mb-6",variants:j,children:[a.jsx(v,{className:"flex-1",height:44,rounded:"lg"}),a.jsx(v,{className:"flex-1",height:44,rounded:"lg",delay:.03})]}),Array.from({length:2}).map((e,s)=>a.jsxs(n.div,{className:"mb-8",variants:j,children:[a.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[a.jsx(v,{width:44,height:44,rounded:"xl"}),a.jsxs("div",{className:"flex-1",children:[a.jsx(v,{width:100,height:16,className:"mb-2",rounded:"md"}),a.jsx(v,{width:140,height:13,rounded:"sm"})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(v,{width:16,height:16,rounded:"full"}
2),a.jsx(v,{width:65,height:11,rounded:"md"})]})]}),a.jsx("div",{className:"space-y-3",children:Array.from({length:2-s}).map((e,i)=>a.jsx(k,{delay:(2*s+i)*p},i))})]},s))]})]})}),k=s.memo(function({delay:e=0}){return a.jsx(n.div,{className:"w-full overflow-hidden rounded-2xl bg-gradient-to-br from-slate-100 to-slate-50 dark:from-slate-800 dark:to-slate-900 border border-slate-200/50 dark:border-slate-700/30",initial:{opacity:0},animate:{opacity:1},transition:{delay:e,duration:.35,ease:[.25,.1,.25,1]},children:a.jsxs("div",{className:"p-4",children:[a.jsxs("div",{className:"flex items-start justify-between mb-3",children:[a.jsx(v,{width:40,height:40,rounded:"lg",animate:!1}),a.jsx(v,{width:55,height:20,rounded:"md",animate:!1})]}),a.jsx(v,{width:"50%",height:13,className:"mb-2",rounded:"sm",animate:!1}),a.jsx(v,{width:120,height:28,className:"mb-3",rounded:"lg",animate:!1}),a.jsxs("div",{className:"flex items-center justify-between mt-3",children:[a.jsx(v,{width:80,height:11,rounded:"sm",animate:!1}),a.jsx(v,{width:32,height:24,rounded:"md",animate:!1})]})]})})}),_=s.memo(function(){return a.jsxs(n.div,{className:"min-h-screen bg-surface-secondary dark:bg-[#0F0F0F]",variants:b,initial:"initial",animate:"animate",exit:"exit",children:[a.jsx(n.div,{className:"pt-4 px-4 mb-4",variants:j,children:a.jsx(v,{width:85,height:32,rounded:"lg"})}),a.jsxs("div",{className:"px-4 pb-8",children:[a.jsx(n.div,{variants:j,children:a.jsx(w,{className:"p-5 mb-6",children:a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsx(v,{width:72,height:72,rounded:"full"}),a.jsxs("div",{className:"flex-1",children:[a.jsx(v,{width:140,height:18,className:"mb-3",rounded:"md"}),a.jsx(v,{width:180,height:14,rounded:"md"})]})]})})}),Array.from({length:3}).map((e,s)=>a.jsx(n.div,{variants:j,children:a.jsxs(w,{className:"overflow-hidden mb-5",delay:s*g,children:[a.jsx("div",{className:"px-4 py-3 border-b border-edge/40 dark:border-edge/40",children:a.jsx(v,{width:100,height:12,rounded:"md"})}),a.jsx("div",{className:"divide-y divide-[#C8C8CC]/30 dark:divide-[#2A2A2A]/30",children:Array.from({length:2===s?2:3}).map((e,i)=>a.jsxs("div",{className:"flex items-center gap-4 p-4",children:[a.jsx(v,{width:40,height:40,rounded:"xl",animate:!1}),a.jsxs("div",{className:"flex-1",children:[a.jsx(v,{width:110,height:14,className:"mb-2",rounded:"md",animate:!1}),0===i&&s<2&&a.jsx(v,{width:150,height:12,rounded:"sm",animate:!1})]}),a.jsx(v,{width:52,height:30,rounded:"full",animate:!1})]},i))})]})},s))]})]})}),C=s.memo(function(){return a.jsxs(n.div,{className:"min-h-screen flex flex-col bg-surface-secondary dark:bg-[#0f0f0f]",variants:b,initial:"initial",animate:"animate",exit:"exit",children:[a.jsx(n.div,{className:"sticky top-0 z-20 px-4 py-3 border-b border-edge dark:border-[#2F2F2F] bg-surface-secondary/95 dark:bg-[#0f0f0f]/95 backdrop-blur-xl",variants:j,children:a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(v,{width:36,height:36,rounded:"xl"}),a.jsxs("div",{children:[a.jsx(v,{width:55,height:15,className:"mb-2",rounded:"md"}),a.jsx(v,{width:120,height:11,rounded:"sm"})]})]}),a.jsx(v,{width:36,height:36,rounded:"xl"})]})}),a.jsxs(n.div,{className:"flex-1 flex flex-col items-center justify-center px-4 pb-4",variants:j,children:[a.jsx("div",{className:"relative mb-6",children:a.jsx(v,{width:80,height:80,rounded:"2xl"})}),a.jsx(v,{width:160,height:22,className:"mb-3",rounded:"md"}),a.jsx(v,{width:240,height:15,className:"mb-8",rounded:"md"}),a.jsx("div",{className:"flex flex-wrap gap-2 justify-center max-w-[320px]",children:["How am I doing?","Top expenses","Save more","Bills"].map((e,s)=>a.jsx(v,{width:95+10*s,height:42,rounded:"full",delay:.05*s},s))})]}),a.jsxs(n.div,{className:"px-4 pt-3 pb-4 border-t border-edge/30 dark:border-edge/30",style:{paddingBottom:"calc(80px + env(safe-area-inset-bottom, 0px))"},variants:j,children:[a.jsxs("div",{className:"relative",children:[a.jsx(v,{width:"100%",height:48,rounded:"2xl"}),a.jsxs("div",{className:"absolute right-2 top-1/2 -translate-y-1/2 flex items-center gap-1",children:[a.jsx(v,{width:36,height:36,rounded:"xl",animate:!1}),a.jsx(v,{width:70,height:32,rounded:"xl",animate:!1}),a.jsx(v,{width:36,height:36,rounded:"xl",animate:!1})]})]}),a.jsx("div",{className:"flex justify-center mt-2",children:a.jsx(v,{width:220,height:9,rounded:"sm"})})]})]})});s.memo(function({lines:e=3,className:s=""}){return a.jsx("div",{className:`space-y-2 ${s}`,children:Array.from({length:e}).map((s,i)=>a.jsx(v,{height:12,width:i===e-1?"65%":"100%",rounded:"sm",delay:.03*i}
2,i))})});const F=s.lazy(()=>e(()=>import("./MobileAccounts-B23umdCz.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]))),A=s.lazy(()=>e(()=>import("./MobileTransactions-BCu_1-IZ.js"),__vite__mapDeps([32,6,1,7,2,3,4,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38]))),E=s.lazy(()=>e(()=>import("./index-DsFgjic7.js"),__vite__mapDeps([39,1,6,7,3,4,5,8,9,10,11,12,13,14,22,2,17,18,16,19,20,21,23,24,25,26,27,28,29,40,41,42,43,44]))),S=s.lazy(()=>e(()=>import("./MobileSettings-CfbV3h8c.js"),__vite__mapDeps([45,1,14,3,4,5,6,7,8,9,10,11,12,13,16,17,18,19,20,21,22,2,23,24,25,26,27,28,29,15,30])));function T({view:e}){switch(e){case"transactions":return a.jsx(y,{});case"accounts":return a.jsx(N,{});case"settings":return a.jsx(_,{});default:return a.jsx(C,{})}}const D=[{id:"transactions",label:"Transactions",icon:l},{id:"accounts",label:"Accounts",icon:o},{id:"settings",label:"Settings",icon:c}];const B=Object.freeze(Object.defineProperty({__proto__:null,default:function(){const[e,t]=s.useState("kira"),[n,d]=s.useState(!1),{user:l,logout:o}=i(),c=s.useMemo(()=>({paddingTop:"env(safe-area-inset-top, 0px)",paddingBottom:"env(safe-area-inset-bottom, 0px)"}),[]),h=s.useCallback(()=>d(!0),[]),x=s.useCallback(()=>d(!1),[]),p=s.useCallback(e=>{t(e),d(!1)},[]),g=s.useCallback(()=>t("kira"),[]),b=s.useCallback(async()=>{d(!1),await o()},[o]),j=(null==l?void 0:l.displayName)||"BWise User",f=(null==l?void 0:l.email)||"",v=j.charAt(0).toUpperCase();return a.jsxs("div",{className:"mobile-shell min-h-[100dvh] w-full bg-surface-secondary dark:bg-[#0f0f0f] flex flex-col overflow-hidden transition-colors duration-200",style:{paddingTop:c.paddingTop},children:[a.jsx("main",{className:"flex-1 relative overflow-hidden",style:{isolation:"isolate"},children:a.jsx("div",{className:"absolute inset-0 overflow-y-auto overscroll-y-contain overflow-x-hidden scrollbar-hide",style:{WebkitOverflowScrolling:"touch"},children:a.jsxs(s.Suspense,{fallback:a.jsx(T,{view:e}),children:["kira"===e&&a.jsx(E,{onOpenSidebar:h}),"transactions"===e&&a.jsx(A,{onBack:g}),"accounts"===e&&a.jsx(F,{onBack:g}),"settings"===e&&a.jsx(S,{onBack:g})]})})}),a.jsx(u,{}),n&&a.jsxs("div",{className:"fixed inset-0 z-50 flex",children:[a.jsx("div",{className:"absolute inset-0 bg-black/50 transition-opacity duration-200",onClick:x,"aria-hidden":"true"}),a.jsxs("div",{className:"\n relative w-[280px] h-full flex flex-col\n bg-surface-secondary/95 dark:bg-[#1C1C1E]/95\n backdrop-blur-2xl backdrop-saturate-200\n border-r border-edge/50 dark:border-edge/50\n shadow-2xl\n transition-transform duration-200 ease-out\n ",style:{paddingTop:c.paddingTop},children:[a.jsx("div",{className:"flex items-center justify-end px-4 pt-3 pb-1",children:a.jsx("button",{onClick:x,className:"p-2 rounded-xl text-ink-secondary hover:bg-black/5 dark:hover:bg-white/5 transition-colors","aria-label":"Close sidebar",children:a.jsx(r,{className:"w-5 h-5",strokeWidth:1.5})})}),a.jsx("div",{className:"px-4 pb-4 pt-1 border-b border-edge/50 dark:border-edge/50",children:a.jsxs("div",{className:"flex items-center gap-3",children:[(null==l?void 0:l.photoURL)?a.jsx("img",{src:l.photoURL,alt:j,width:44,height:44,className:"w-11 h-11 rounded-full object-cover flex-shrink-0",loading:"lazy"}):a.jsx("div",{className:"w-11 h-11 rounded-full flex-shrink-0 bg-gradient-to-br from-[#34C759] to-[#30D158] flex items-center justify-center",children:a.jsx("span",{className:"text-lg font-medium text-white",children:v})}),a.jsxs("div",{className:"flex-1 min-w-0",children:[a.jsx("p",{className:"text-[15px] font-semibold text-[#1C1C1E] dark:text-[#F5F5F7] truncate",children:j}),f&&a.jsx("p",{className:"text-[13px] text-[#8E8E93] truncate",children:f})]})]})}),a.jsx("nav",{className:"flex-1 py-3 px-2",children:D.map(s=>{const i=s.icon,t=e===s.id;return a.jsxs("button",{onClick:()=>p(s.id),className:`\n w-full flex items-center gap-3 px-3 py-3 rounded-xl mb-1\n text-[15px] font-medium transition-colors duration-150\n ${t?"bg-[#1a1a1a]/10 dark:bg-white/10 text-ink-primary dark:text-[#F5F5F7]":"text-ink-secondary hover:bg-black/5 dark:hover:bg-white/5"}\n `,children:[a.jsx(i,{className:"w-5 h-5 flex-shrink-0",strokeWidth:1.5}),s.label]},s.id)})}),a.jsx("div",{className:"px-2 pb-4 border-t border-edge/50 dark:border-edge/50 pt-3",style:{paddingBottom:`calc(16px + ${c.paddingBottom})`},children:a.jsxs("button",{onClick:b,className:"w-full flex items-center gap-3 px-3 py-3 rounded-xl text-[15px] font-medium text-[#FF3B30] hover:bg-red-500/10 transition-colors duration-150",children:[a.jsx(m,{className:"w-5 h-5 flex-shrink-0",strokeWidth:1.5}),"Sign Out"]})})]})]})]})}},Symbol.toStringTag,{value:"Module"}));
2export{N as M,y as a,C as b,_ as c,B as d};
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.