1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SuperAdminDashboardPage-Dd9u3xUw.js","assets/index-DelWp-6b.js","assets/index-CEmMupnr.css","assets/superAdmin.service-Ct2LUxB2.js","assets/SaDialog-CmeXN6V0.js","assets/play-DvJeLViy.js","assets/plus-BjX2r5pd.js","assets/TenantsListPage-D9MmpEfa.js","assets/CreateTenantPage-DWoRkS-B.js","assets/superAdmin.types-B6QfI39S.js","assets/phone-BGsHPR-i.js","assets/square-SyAxypqf.js","assets/TenantDetailPage-CKQTx8iU.js","assets/copy-DRdqX8Uv.js","assets/toggle-right-BPRcJ5jc.js","assets/toggle-left-C69zdJJQ.js","assets/chevron-down-B145rEUg.js","assets/SubscriptionPlansPage-D02-BLS0.js","assets/RecordDetailsModal-orhNaHtA.js","assets/Modal-XqSNGlu3.js","assets/documentPdf-DhIrqYvD.js","assets/jspdf.es.min-CdUpFh0h.js","assets/browser-Mn9bJN7n.js","assets/api.service-Lf-HmAnC.js","assets/unwrap-CuJafpqD.js","assets/crud.service-B2C_PX1U.js","assets/WhatsAppShareDialog-DZXdL4Qk.js","assets/whatsapp-CPNFuWHQ.js","assets/external-link-CLhgZPl5.js","assets/message-circle-C60xDvyT.js","assets/printer-DiMIwXQt.js","assets/subscriptionAdmin.service-4QCSx2g0.js","assets/onboarding.types-IxpLkai-.js","assets/usePagination-Cphy509k.js","assets/TablePagination-Dis1c7z7.js","assets/chevrons-right-Cgl0PtMR.js","assets/chevron-left-BM0LmnuU.js","assets/chevron-right-B4DUFimd.js","assets/pencil-D8nokcWq.js","assets/power-BAzYa4w9.js","assets/PaymentVerificationPage-B93Ezoiz.js","assets/badge-check-BgzB_OL2.js","assets/inbox-ByLNMSI4.js","assets/MultiCompanyUsersPage-BcSj5f8J.js","assets/KeyProtectionPage-D3DLRaOW.js","assets/GrowthJourneyPage-DBBaPyou.js","assets/useQuery-B9eAwr7I.js","assets/useMutation-CwYdRQCa.js","assets/circle-pause-DITc2TG-.js","assets/ban-BU4lv9Ao.js","assets/circle-play-CCx9EHMj.js","assets/save-BGjsgJl1.js","assets/DiagnosticsPage-aqpH3GmY.js","assets/menu-C3w8FqOG.js","assets/log-out-CoAVXCyc.js","assets/ImpactReviewPage-Bf6QjOD3.js","assets/impact.types-DM8jRhMy.js","assets/fileUrl-Bt7LozsD.js"])))=>i.map(i=>d[i]); 2import{c as y,b as N,a as P,r as a,j as e,s as u,O as v,A as E,h as o,bq as S,o as A,aM as R,P as T,b5 as k,M as O,bd as I,bb as M,g as D,z as w,D as L,F as t,N as j,_ as n}from"./index-DelWp-6b.js";import{M as z}from"./menu-C3w8FqOG.js";import{B as U}from"./badge-check-BgzB_OL2.js";import{L as V}from"./log-out-CoAVXCyc.js";/** 3 * @license lucide-react v0.441.0 - ISC 4 * 5 * This source code is licensed under the ISC license. 6 * See the LICENSE file in the root directory of this source tree. 7 */const C=y("Stethoscope",[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]]),B=[{label:"Dashboard",icon:S,to:o.SUPER_ADMIN.DASHBOARD},{label:"Tenants",icon:A,to:o.SUPER_ADMIN.TENANTS},{label:"Subscription Plans",icon:R,to:o.SUPER_ADMIN.SUBSCRIPTION_PLANS},{label:"Payments",icon:U,to:o.SUPER_ADMIN.PAYMENTS},{label:"Shared people",icon:T,to:o.SUPER_ADMIN.MULTI_COMPANY},{label:"Secret protection",icon:k,to:o.SUPER_ADMIN.KEY_PROTECTION},{label:"Growth journey",icon:O,to:o.SUPER_ADMIN.GROWTH_JOURNEY},{label:"Operator reports",icon:C,to:o.SUPER_ADMIN.DIAGNOSTICS},{label:"Impact reviews",icon:I,to:o.SUPER_ADMIN.IMPACT_REVIEW}],H=()=>{var p,m;const{user:s,logout:b}=N(),c=P(),[g,d]=a.useState(!1);[(p=s==null?void 0:s.firstName)==null?void 0:p[0],(m=s==null?void 0:s.lastName)==null?void 0:m[0]].filter(Boolean).join("").toUpperCase();const _=async()=>{await b(),c(o.AUTH.LOGIN,{replace:!0}),w.success("Signed out")},x=()=>e.jsxs("aside",{className:"flex flex-col h-full",style:{background:"rgba(5,9,24,0.98)",borderRight:"1px solid rgba(139,92,246,0.15)"},children:[e.jsxs("div",{className:"flex items-center gap-3 px-5 py-4 flex-shrink-0",style:{borderBottom:"1px solid rgba(139,92,246,0.12)"},children:[e.jsx("div",{className:"p-1.5 rounded-xl flex-shrink-0",style:{background:"linear-gradient(135deg,#8b5cf6,#6d28d9)",boxShadow:"0 0 16px rgba(139,92,246,0.4)"},children:e.jsx(E,{alt:"SOSME",className:"h-6 w-auto object-contain"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-white text-xs font-bold leading-none",children:"SOSME"}),e.jsx("p",{className:"text-[10px] font-semibold tracking-widest uppercase mt-0.5",style:{color:"rgba(139,92,246,0.8)"},children:"Platform Admin"})]})]}),e.jsx("div",{className:"px-4 py-3 flex-shrink-0",children:e.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 rounded-xl",style:{background:"rgba(139,92,246,0.10)",border:"1px solid rgba(139,92,246,0.22)"},children:[e.jsx(u,{size:13,style:{color:"#8b5cf6"}}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-xs font-semibold text-white leading-none truncate",children:(s==null?void 0:s.fullName)||(s==null?void 0:s.userName)}),e.jsx("p",{className:"text-[10px] mt-0.5 truncate",style:{color:"rgba(139,92,246,0.7)"},children:"Super Admin"})]})]})}),e.jsx("nav",{className:"flex-1 px-3 py-2 overflow-y-auto",children:B.map(({label:r,icon:f,to:h})=>e.jsxs(M,{to:h,className:({isActive:i})=>`flex items-center gap-3 px-3 py-2.5 rounded-xl mb-1 text-sm font-medium transition-all duration-150 ${i?"text-white":""}`,style:({isActive:i})=>({background:i?"rgba(139,92,246,0.18)":"transparent",border:i?"1px solid rgba(139,92,246,0.30)":"1px solid transparent",color:i?"#fff":"rgba(255,255,255,0.55)"}),children:[e.jsx(f,{size:16}),r]},h))}),e.jsxs("div",{className:"px-3 pb-4 flex-shrink-0 space-y-1",style:{borderTop:"1px solid rgba(255,255,255,0.06)"},children:[e.jsxs("button",{onClick:()=>c(o.HOME),className:"w-full flex items-center gap-3 px-3 py-2.5 rounded-xl text-sm transition-all duration-150",style:{color:"rgba(255,255,255,0.45)"},onMouseEnter:r=>r.currentTarget.style.color="rgba(255,255,255,0.8)",onMouseLeave:r=>r.currentTarget.style.color="rgba(255,255,255,0.45)",children:[e.jsx(D,{size:15}),"Back to Home"]}),e.jsxs("button",{onClick:_,className:"w-full flex items-center gap-3 px-3 py-2.5 rounded-xl text-sm transition-all duration-150",style:{color:"rgba(248,113,113,0.7)"},onMouseEnter:r=>{r.currentTarget.style.background="rgba(239,68,68,0.08)",r.currentTarget.style.color="#f87171"},onMouseLeave:r=>{r.currentTarget.style.background="transparent",r.currentTarget.style.color="rgba(248,113,113,0.7)"},children:[e.jsx(V,{size:15}),"Sign Out"]})]})]});return e.jsxs("div",{className:"sa-scope flex h-screen overflow-hidden",style:{background:"#070C1F"},children:[e.jsx("div",{className:"hidden md:flex w-56 flex-shrink-0 flex-col",children:e.jsx(x,{})}),g&&e.jsxs("div",{className:"fixed inset-0 z-50 flex md:hidden",children:[e.jsx("div",{className:"w-56 flex-shrink-0 flex flex-col",children:e.jsx(x,{})}),e.jsx("div",{className:"flex-1",onClick:()=>d(!1),style:{background:"rgba(0,0,0,0.6)"}})]}),e.jsxs("div",{className:"flex-1 flex flex-col min-w-0 overflow-hidden",children:[e.jsxs("header",{className:"md:hidden flex items-center gap-3 px-4 py-3 flex-shrink-0",style:{borderBottom:"1px solid rgba(139,92,246,0.12)",background:"rgba(5,9,24,0.95)"},children:[e.jsx("button",{onClick:()=>d(!0),children:e.jsx(z,{size:20,style:{color:"rgba(255,255,255,0.6)"}})}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(u,{size:14,style:{color:"#8b5cf6"}}),e.jsx("span",{className:"text-sm font-semibold text-white",children:"Platform Admin"})]})]}),e.jsx("main",{className:"flex-1 overflow-y-auto",children:e.jsx(v,{})})]})]})},G=a.lazy(()=>n(()=>import("./SuperAdminDashboardPage-Dd9u3xUw.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),Y=a.lazy(()=>n(()=>import("./TenantsListPage-D9MmpEfa.js"),__vite__mapDeps([7,1,2,3,6]))),K=a.lazy(()=>n(()=>import("./CreateTenantPage-DWoRkS-B.js"),__vite__mapDeps([8,1,2,3,9,10,11]))),q=a.lazy(()=>n(()=>import("./TenantDetailPage-CKQTx8iU.js"),__vite__mapDeps([12,1,2,3,9,4,13,14,15,16]))),F=a.lazy(()=>n(()=>import("./SubscriptionPlansPage-D02-BLS0.js"),__vite__mapDeps([17,1,2,18,19,20,21,22,23,24,25,6,26,27,28,29,30,31,32,33,34,35,36,37,38,39]))),J=a.lazy(()=>n(()=>import("./PaymentVerificationPage-B93Ezoiz.js"),__vite__mapDeps([40,1,2,31,32,33,34,35,36,37,41,42]))),W=a.lazy(()=>n(()=>import("./MultiCompanyUsersPage-BcSj5f8J.js"),__vite__mapDeps([43,1,2,3]))),$=a.lazy(()=>n(()=>import("./KeyProtectionPage-D3DLRaOW.js"),__vite__mapDeps([44,1,2]))),Q=a.lazy(()=>n(()=>import("./GrowthJourneyPage-DBBaPyou.js"),__vite__mapDeps([45,1,2,46,47,48,37,49,50,51]))),X=a.lazy(()=>n(()=>import("./DiagnosticsPage-aqpH3GmY.js"),__vite__mapDeps([52,1,2,46,3,53,41,54]))),Z=a.lazy(()=>n(()=>import("./ImpactReviewPage-Bf6QjOD3.js"),__vite__mapDeps([55,1,2,46,47,56,57,42]))),ee=()=>e.jsx("div",{className:"flex items-center justify-center h-64",children:e.jsx("div",{className:"w-8 h-8 border-2 border-violet-500 border-t-transparent roun
7ded-full animate-spin"})}),l=({children:s})=>e.jsx(a.Suspense,{fallback:e.jsx(ee,{}),children:s}),se=()=>e.jsx(L,{children:e.jsxs(t,{element:e.jsx(H,{}),children:[e.jsx(t,{index:!0,element:e.jsx(j,{to:"dashboard",replace:!0})}),e.jsx(t,{path:"dashboard",element:e.jsx(l,{children:e.jsx(G,{})})}),e.jsx(t,{path:"tenants",element:e.jsx(l,{children:e.jsx(Y,{})})}),e.jsx(t,{path:"tenants/new",element:e.jsx(l,{children:e.jsx(K,{})})}),e.jsx(t,{path:"tenants/:id",element:e.jsx(l,{children:e.jsx(q,{})})}),e.jsx(t,{path:"subscription-plans",element:e.jsx(l,{children:e.jsx(F,{})})}),e.jsx(t,{path:"payments",element:e.jsx(l,{children:e.jsx(J,{})})}),e.jsx(t,{path:"multi-company-users",element:e.jsx(l,{children:e.jsx(W,{})})}),e.jsx(t,{path:"key-protection",element:e.jsx(l,{children:e.jsx($,{})})}),e.jsx(t,{path:"growth-journey",element:e.jsx(l,{children:e.jsx(Q,{})})}),e.jsx(t,{path:"diagnostics",element:e.jsx(l,{children:e.jsx(X,{})})}),e.jsx(t,{path:"impact-reviews",element:e.jsx(l,{children:e.jsx(Z,{})})}),e.jsx(t,{path:"*",element:e.jsx(j,{to:"dashboard",replace:!0})})]})}),oe=Object.freeze(Object.defineProperty({__proto__:null,default:se},Symbol.toStringTag,{value:"Module"}));export{C as S,oe as a};
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.