1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/CLVCalculator-DU7ZFfxe.js","assets/vendor/query-vendor-Y7AIDkkf.js","assets/entry/index-Dxjmq2pd.js","assets/vendor/radix-vendor-B2DAHOav.js","assets/vendor/style-vendor-BLsR-C0C.js","assets/chunks/react-router-Cpz8bbDW.js","assets/vendor/form-vendor-T50cXxMw.js","assets/vendor/security-vendor-CYOW2OFY.js","assets/vendor/validation-vendor-AbaUCx90.js","assets/chunks/performance-core-CcVu6KE3.js","assets/styles/index-DNBU7zsh.css","assets/chunks/EnhancedResults-DGKcGtBI.js","assets/chunks/book-open-B56XyLFu.js","assets/chunks/select-Do8ED6Hq.js","assets/chunks/trending-up-CW_43Qcf.js","assets/chunks/download-BboXeRt8.js","assets/chunks/target-BjxAnkL5.js","assets/chunks/calendar-CNJWOz0H.js","assets/chunks/calculator-config-r1HqlGiI.js","assets/chunks/tabs-m3NJRPJf.js","assets/chunks/user-check-ot8d2lAE.js","assets/chunks/users-DIOO0Ymh.js","assets/chunks/zap-C9znYtee.js","assets/chunks/chart-column-cm3bXmb1.js","assets/chunks/globe-CKPvWf1d.js","assets/chunks/calculator-rISMubPn.js","assets/chunks/chevron-right-7sIM61p-.js","assets/chunks/MigrationCalculator-CScY1p2C.js","assets/chunks/CACCalculator-DgNaLh_J.js","assets/chunks/CompetitiveCalculator-D9XnhV9_.js","assets/chunks/TiersCalculator-Ccqp1mQt.js","assets/chunks/OutcomeCalculator-DgGAYSRm.js","assets/chunks/PlatformCalculator-t-03VcK_.js","assets/chunks/MarginCalculator-i_DahRhp.js","assets/chunks/StressCalculator-Dj31HhjE.js","assets/chunks/ExitCalculator-BDc_wcjs.js","assets/chunks/LaborCalculator-B6glpCAB.js","assets/chunks/textarea-4jvUbIMt.js","assets/chunks/checkbox-DGvI1f2X.js","assets/chunks/FormPersistenceBanner-Ddvyl9Hk.js","assets/chunks/CollapsibleSection-BDFAuPvT.js","assets/chunks/clock-D5PmLe6P.js","assets/chunks/AutomationCalculator-BCOmdebT.js","assets/chunks/ConsolidationCalculator-Cazvf2T9.js","assets/chunks/PortfolioCalculator-CmmWGlOV.js","assets/chunks/ValuePricingCalculator-Byox5XDM.js","assets/chunks/RiskAssessmentCalculator-Dp9oG_kz.js","assets/chunks/StaffingPayrollCalculator-CFfuodRS.js","assets/chunks/TurnoverReplacementCalculator-DifcwZWd.js","assets/chunks/NearshoreCalculator-CP-37TnV.js","assets/chunks/BreachEconomicsCalculator-DyZo3uws.js","assets/chunks/AgentCoverageCalculator-BlAYbrse.js","assets/chunks/circle-alert-ByVQt9HZ.js","assets/chunks/HumanInLoopCalculator-C7zHV-1K.js","assets/chunks/GuardrailSafetyCalculator-CbiVNOIk.js","assets/chunks/DetectionTriageCalculator-DWPfdS4T.js","assets/chunks/AIUnitEconomicsCalculator-D6oG9R15.js","assets/chunks/ReliabilityHealthCalculator-CZLo6OTH.js","assets/chunks/StaffingROICalculator-CUVu4WD6.js","assets/chunks/CustomerOutcomeCalculator-DdLhDNR7.js"])))=>i.map(i=>d[i]); 2import{g as m,h as y,e as C,T as R,S as V,B as j,_ as s}from"../entry/index-Dxjmq2pd.js";import{j as e,a as t}from"../vendor/query-vendor-Y7AIDkkf.js";import{T as I,a as M,b as O,c as l}from"./tabs-m3NJRPJf.js";import{a as z}from"../vendor/style-vendor-BLsR-C0C.js";import{S as D,a as H,b as B,c as U,d as q}from"./select-Do8ED6Hq.js";import{U as G}from"./user-check-ot8d2lAE.js";import{U as E}from"./users-DIOO0Ymh.js";import{T}from"./target-BjxAnkL5.js";import{Z as X}from"./zap-C9znYtee.js";import{C as Y}from"./chart-column-cm3bXmb1.js";import{T as Z}from"./trending-up-CW_43Qcf.js";import{G as $}from"./globe-CKPvWf1d.js";import{C as F}from"./calculator-rISMubPn.js";import{C as J}from"./chevron-right-7sIM61p-.js";const K=m("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);const L=m("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);const Q=m("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);const W=m("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);const A=m("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);const ee=m("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const ae=m("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);const te=m("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7",key:"yx3hmr"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);const le=m("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);const se=m("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
2y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const re=m("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);const ie=m("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]),ne=z("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function w({className:a,variant:c,...n}){return e.jsx("div",{className:y(ne({variant:c}),a),...n})}function k({className:a,...c}){return e.jsx("div",{className:y("animate-pulse rounded-md bg-muted",a),...c})}const oe=({value:a,onValueChange:c,calculators:n,className:f})=>{const o=n.find(r=>r.id===a);return e.jsx("div",{className:y("w-full md:hidden",f),children:e.jsxs(D,{value:a,onValueChange:c,children:[e.jsx(H,{className:"w-full h-12",children:e.jsx(B,{children:o&&e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(o.icon,{className:"h-4 w-4"}),e.jsx("span",{className:"font-medium",children:o.label}),o.status&&e.jsx(w,{variant:o.status==="new"?"default":"secondary",className:y("ml-1 px-1.5 py-0.5 text-xs font-medium",o.status==="new"?"bg-[hsl(var(--brand-community-green))] hover:bg-[hsl(var(--brand-community-green))]/90 text-[hsl(var(--brand-proximity-white))]":"bg-[hsl(var(--brand-network-blue))] hover:bg-[hsl(var(--brand-network-blue))]/90 text-[hsl(var(--brand-proximity-white))]"),children:o.status==="new"?"New":"Updated"})]})})}),e.jsx(U,{children:n.map(r=>e.jsx(q,{value:r.id,children:e.jsxs("div",{className:"flex items-center justify-between w-full gap-3 py-1",children:[e.jsxs("div",{className:y("flex items-center gap-3",r.id==="human-in-loop"&&"pl-2"),children:[e.jsx(r.icon,{className:"h-4 w-4 text-primary flex-shrink-0"}),e.jsx("span",{className:"font-medium",children:r.label})]}),r.status&&e.jsx(w,{variant:r.status==="new"?"default":"secondary",className:y("px-1.5 py-0.5 text-xs font-medium flex-shrink-0",r.status==="new"?"bg-[hsl(var(--brand-community-green))] hover:bg-[hsl(var(--brand-community-green))]/90 text-[hsl(var(--brand-proximity-white))]":"bg-[hsl(var(--brand-network-blue))] hover:bg-[hsl(var(--brand-network-blue))]/90 text-[hsl(var(--brand-proximity-white))]"),children:r.status==="new"?"New":"Updated"})]})},r.id))})]})})},ce=({onSwipeLeft:a,onSwipeRight:c,threshold:n=50,velocity:f=.3})=>{const o=t.useRef(null),[r,d]=t.useState(null),[u,p]=t.useState(!1);return t.useEffect(()=>{const x=o.current;if(!x)return;const i=b=>{const v=b.touches[0];d({x:v.clientX,y:v.clientY,time:Date.now()}),p(!1)},h=b=>{if(!r)return;const v=b.touches[0],g=Math.abs(v.clientX-r.x),_=Math.abs(v.clientY-r.y);g>_&&g>n&&(p(!0),b.preventDefault())},N=b=>{if(!r||!u){d(null),p(!1);return}const v=b.changedTouches[0],g=v.clientX-r.x,_=Math.abs(v.clientY-r.y),S=Date.now()-r.time,P=Math.abs(g)/S;Math.abs(g)>n&&_<100&&P>f&&(g>0?c?.():a?.()),d(null),p(!1)};return x.addEventListener("touchstart",i,{passive:!0}),x.addEventListener("touchmove",h,{passive:!1}),x.addEventListener("touchend",N,{passive:!0}),()=>{x.removeEventListener("touchstart",i),x.removeEventListener("touchmove",h),x.removeEventListener("touchend",N)}},[r,u,a,c,n,f]),{ref:o,isSwiping:u}},de=t.lazy(()=>s(()=>import("./CLVCalculator-DU7ZFfxe.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])).then(a=>({default:a.CLVCalculator}))),ue=t.lazy(()=>s(()=>import("./MigrationCalculator-CScY1p2C.js"),__vite__mapDeps([27,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])).then(a=>({default:a.MigrationCalculator}))),me=t.lazy(()=>s(()=>import("./CACCalculator-DgNaLh_J.js"),__vite__mapDeps([28,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])).then(a=>({default:a.CACCalculator}))),he=t.lazy(()=>s(()=>import("./CompetitiveCalculator-D9XnhV9_.js"),__vite__mapDeps([29,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])).then(a=>({default:a.CompetitiveCalculator}))),pe=t.lazy(()=>s(()=>import("./TiersCalculator-Ccqp1mQt.js"),__vite__mapDeps([30,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])).then(a=>({default:a.TiersCalculator}))),xe=t.lazy(()=>s(()=>import("./OutcomeCalculator-DgGAYSRm.js"),__vite__mapDeps([31,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])).then(a=>({default:a.OutcomeCalculator}))),ve=t.lazy(()=>s(()=>import("./PlatformCalculator-t-03VcK_.js"),__vite__mapDeps([32,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])).then(a=>({default:a.PlatformCalculator}))),ye=t.lazy(()=>s(()=>import("./MarginCalculator-i_DahRhp.js"),__vite__mapDeps([33,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])).then(a=>({default:a.MarginCalculator}))),fe=t.lazy(()=>s(()=>import("./StressCalculator-Dj31HhjE.js"),__vite__mapDeps([34,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])).then(a=>({default:a.StressCalculator}))),be=t.lazy(()=>s(()=>import("./ExitCalculator-BDc_wcjs.js"),__vite__mapDeps([35,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])).then(a=>({default:a.ExitCalculator}))),ge=t.lazy(()=>s(()=>import("./LaborCalculator-B6glpCAB.js"),__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,37,13,38,39,40,21,24,41,19,20,16,22,23,14,25,26])).then(a=>({default:a.LaborCalculator}))),_e=t.lazy(()=>s(()=>import("./AutomationCalculator-BCOmdebT.js"),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,40,18,19,20,21,22,23,24,25,26])).then(a=>({default:a.AutomationCalculator}))),Ce=t.lazy(()=>s(()=>import("./ConsolidationCalculator-Cazvf2T9.js"),__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,40,18,19,20,21,22,23,24,25,26])).then(a=>({default:a.ConsolidationCalculator}))),je=t.lazy(()=>s(()=>import("./PortfolioCalculator-CmmWGlOV.js"),__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,40,18,19,20,21,22,23,24,25,26])).then(a=>({default:a.PortfolioCalculator}))),Ee=t.lazy(()=>s(()=>import("./ValuePricingCalculator-Byox5XDM.js"),__vite__mapDeps([45,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,40,18,19,20,21,22,23,24,25,26])).then(a=>({default:a.ValuePricingCalculator}))),ke=t.lazy(()=>s(()=>import("./RiskAssessmentCalculator-Dp9oG_kz.js"),__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,40,18,19,20,21,22,23,24,25,26])).then(a=>({default:a.RiskAssessmentCalculator}))),we=t.lazy(()=>s(()=>import("./StaffingPayrollCalculator-CFfuodRS.js"),__vite__mapDeps([47,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,21,25,19,20,22,23,24,26])).then(a=>({default:a.StaffingPayrollCalculator}))),Ne=t.lazy(()=>s(()=>import("./TurnoverReplacementCalculator-DifcwZWd.js"),__vite__mapDeps([48,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,21,19,20,22,23,24,25,26])).then(a=>({default:a.TurnoverReplacementCalculator}))),Te=t.lazy(()=>s(()=>
2import("./NearshoreCalculator-CP-37TnV.js"),__vite__mapDeps([49,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,24,23,19,20,21,22,25,26])).then(a=>({default:a.NearshoreCalculator}))),Le=t.lazy(()=>s(()=>import("./BreachEconomicsCalculator-DyZo3uws.js"),__vite__mapDeps([50,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])).then(a=>({default:a.BreachEconomicsCalculator}))),Ae=t.lazy(()=>s(()=>import("./AgentCoverageCalculator-BlAYbrse.js"),__vite__mapDeps([51,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,52,19,20,21,22,23,24,25,26])).then(a=>({default:a.AgentCoverageCalculator}))),Se=t.lazy(()=>s(()=>import("./HumanInLoopCalculator-C7zHV-1K.js"),__vite__mapDeps([53,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,20,19,21,22,23,24,25,26])).then(a=>({default:a.HumanInLoopCalculator}))),Pe=t.lazy(()=>s(()=>import("./GuardrailSafetyCalculator-CbiVNOIk.js"),__vite__mapDeps([54,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26])).then(a=>({default:a.GuardrailSafetyCalculator}))),Re=t.lazy(()=>s(()=>import("./DetectionTriageCalculator-DWPfdS4T.js"),__vite__mapDeps([55,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,52,19,20,21,22,23,24,25,26])).then(a=>({default:a.DetectionTriageCalculator}))),Ve=t.lazy(()=>s(()=>import("./AIUnitEconomicsCalculator-D6oG9R15.js"),__vite__mapDeps([56,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26])).then(a=>({default:a.AIUnitEconomicsCalculator}))),Ie=t.lazy(()=>s(()=>import("./ReliabilityHealthCalculator-CZLo6OTH.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,22,19,20,21,23,24,25,26])).then(a=>({default:a.ReliabilityHealthCalculator}))),Me=t.lazy(()=>s(()=>import("./StaffingROICalculator-CUVu4WD6.js"),__vite__mapDeps([58,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,21,19,20,22,23,24,25,26])).then(a=>({default:a.StaffingROICalculator}))),Oe=t.lazy(()=>s(()=>import("./CustomerOutcomeCalculator-DdLhDNR7.js"),__vite__mapDeps([59,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26])).then(a=>({default:a.CustomerOutcomeCalculator}))),ze=()=>e.jsxs("div",{className:"space-y-4",children:[e.jsx(k,{className:"h-12 w-full"}),e.jsx(k,{className:"h-64 w-full"}),e.jsx(k,{className:"h-32 w-full"})]}),De=()=>{const[a,c]=t.useState("clv"),[n,f]=t.useState("business"),o=t.useRef(null),r={business:{label:"Business & Growth",calculators:[{id:"clv",label:"CLV",icon:F},{id:"cac",label:"CAC",icon:C},{id:"competitive",label:"Competitive",icon:A},{id:"exit",label:"Exit",icon:ie},{id:"margin",label:"Margin",icon:Q}]},transformation:{label:"Transformation & ROI",calculators:[{id:"automation",label:"Automation",icon:L},{id:"consolidation",label:"Consolidation",icon:te},{id:"portfolio",label:"Portfolio",icon:ae},{id:"valuepricing",label:"Value Pricing",icon:Z},{id:"riskassessment",label:"Risk Analysis",icon:se},{id:"staffing-payroll",label:"Staffing Economics",icon:E},{id:"turnover-replacement",label:"Turnover Analysis",icon:le},{id:"nearshore",label:"Nearshore Savings",icon:$},{id:"breach-economics",label:"Breach Economics",icon:C}]},operations:{label:"Operations & Strategy",calculators:[{id:"migration",label:"Migration",icon:re},{id:"platform",label:"Platform",icon:X},{id:"tiers",label:"Tiers",icon:Y},{id:"outcome",label:"Outcome",icon:T},{id:"stress",label:"Stress",icon:R},{id:"labor",label:"Labor",icon:E}]},ai:{label:"AI SOC",calculators:[{id:"agent-coverage",label:"Agent Coverage",icon:L},{id:"human-in-loop",label:"Human-in-Loop",icon:G},{id:"guardrail-safety",label:"Guardrail & Safety",icon:C},{id:"detection-triage",label:"Detection & Triage",icon:ee},{id:"ai-unit-economics",label:"AI Unit Economics",icon:A},{id:"reliability-health",label:"Platform Health",icon:K},{id:"staffing-roi",label:"Staffing & ROI",icon:E},{id:"customer-outcome",label:"Customer Impact",icon:T}]}},d=Object.values(r).flatMap(i=>i.calculators),u=d.findIndex(i=>i.id===a),p=i=>{let h;i==="prev"?h=u>0?u-1:d.length-1:h=u<d.length-1?u+1:0,c(d[h].id)},{ref:x}=ce({onSwipeLeft:()=>p("next"),onSwipeRight:()=>p("prev"),threshold:50,velocity:.3});return t.useEffect(()=>{const i=o.current;if(!i)return;const h=i.querySelector(`[data-tab="${a}"]`);h&&h.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})},[a,n]),e.jsxs(e.Fragment,{children:[e.jsx(V,{title:"MSSP Financial Calculator Suite - ROI & Pricing Tools",description:"Comprehensive financial calculator suite for MSSPs. Calculate CLV, analyze pricing migrations, optimize CAC recovery, and make data-driven business decisions.",canonical:"/calc"}),e.jsx("div",{className:"min-h-screen bg-[hsl(var(--brand-proximity-white))]",children:e.jsxs("div",{className:"container mx-auto px-4 py-8",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h1",{className:"text-4xl font-bold mb-4 text-[hsl(var(--brand-integrity-black))]",children:"MSSP/SOC Calculator Suite"}),e.jsx("p",{className:"text-xl text-[hsl(var(--brand-integrity-black))]/70 max-w-3xl mx-auto",children:"Comprehensive financial modeling tools designed specifically for Managed Security Service Providers. Calculate ROI, analyze transformations, and make data-driven decisions about pricing, automation, and business growth."})]}),e.jsx("div",{className:"flex justify-center mb-8",children:e.jsx("div",{className:"flex flex-wrap sm:flex-nowrap justify-center gap-2 bg-[hsl(var(--brand-proximity-white))] backdrop-blur-sm rounded-lg p-2 border-2 border-[hsl(var(--brand-integrity-black))]/10 max-w-2xl shadow-sm",children:Object.entries(r).map(([i,h])=>e.jsx(j,{variant:n===i?"default":"ghost",size:"sm",onClick:()=>f(i),className:"transition-all duration-200 flex-shrink-0 whitespace-nowrap px-4 py-2",children:h.label},i))})}),e.jsxs("div",{className:"lg:hidden flex items-center justify-between mb-4",children:[e.jsxs(j,{variant:"outline",size:"sm",onClick:()=>p("prev"),className:"flex items-center gap-2",children:[e.jsx(W,{className:"h-4 w-4"}),d[u>0?u-1:d.length-1].label]}),e.jsxs(j,{variant:"outline",size:"sm",onClick:()=>p("next"),className:"flex items-center gap-2",children:[d[u<d.length-1?u+1:0].label,e.jsx(J,{className:"h-4 w-4"})]})]}),e.jsx("div",{className:"lg:hidden mb-6",children:e.jsx(oe,{value:a,onValueChange:c,calculators:r[n].calculators})}),e.jsx("div",{ref:x,children:e.jsxs(I,{value:a,onValueChange:c,className:"space-y-6",children:[e.jsx("div",{className:"hidden lg:block mb-6",children:e.jsx("div",{className:"bg-[hsl(var(--brand-proximity-white))] backdrop-blur-sm border-2 border-[hsl(var(--brand-integrity-black))]/10 rounded-lg p-2 max-w-5xl mx-auto
2shadow-sm",children:e.jsx("div",{ref:o,className:"overflow-x-auto px-3 scroll-smooth",children:e.jsx(M,{className:"inline-flex w-max bg-transparent p-1",children:r[n].calculators.map(i=>e.jsxs(O,{value:i.id,"data-tab":i.id,className:y("flex items-center gap-2 data-[state=active]:bg-[hsl(var(--brand-lava-red))] data-[state=active]:text-[hsl(var(--brand-proximity-white))]","transition-all duration-200 px-4 py-2 text-sm whitespace-nowrap flex-shrink-0 first:ml-2 last:mr-2"),children:[e.jsx(i.icon,{className:"h-4 w-4 flex-shrink-0"}),e.jsx("span",{className:"font-medium",children:i.label}),i.status&&e.jsx(w,{variant:i.status==="new"?"default":"secondary",className:y("ml-1 px-1.5 py-0.5 text-xs font-medium flex-shrink-0",i.status==="new"?"bg-[hsl(var(--brand-community-green))] hover:bg-[hsl(var(--brand-community-green))]/90 text-[hsl(var(--brand-proximity-white))]":"bg-[hsl(var(--brand-network-blue))] hover:bg-[hsl(var(--brand-network-blue))]/90 text-[hsl(var(--brand-proximity-white))]"),children:i.status==="new"?"New":"Updated"})]},i.id))})})})}),e.jsxs(t.Suspense,{fallback:e.jsx(ze,{}),children:[e.jsx(l,{value:"clv",className:"space-y-6",children:e.jsx(de,{})}),e.jsx(l,{value:"migration",className:"space-y-6",children:e.jsx(ue,{})}),e.jsx(l,{value:"cac",className:"space-y-6",children:e.jsx(me,{})}),e.jsx(l,{value:"competitive",className:"space-y-6",children:e.jsx(he,{})}),e.jsx(l,{value:"tiers",className:"space-y-6",children:e.jsx(pe,{})}),e.jsx(l,{value:"outcome",className:"space-y-6",children:e.jsx(xe,{})}),e.jsx(l,{value:"platform",className:"space-y-6",children:e.jsx(ve,{})}),e.jsx(l,{value:"margin",className:"space-y-6",children:e.jsx(ye,{})}),e.jsx(l,{value:"stress",className:"space-y-6",children:e.jsx(fe,{})}),e.jsx(l,{value:"exit",className:"space-y-6",children:e.jsx(be,{})}),e.jsx(l,{value:"labor",className:"space-y-6",children:e.jsx(ge,{})}),e.jsx(l,{value:"automation",className:"space-y-6",children:e.jsx(_e,{})}),e.jsx(l,{value:"consolidation",className:"space-y-6",children:e.jsx(Ce,{})}),e.jsx(l,{value:"portfolio",className:"space-y-6",children:e.jsx(je,{})}),e.jsx(l,{value:"valuepricing",className:"space-y-6",children:e.jsx(Ee,{})}),e.jsx(l,{value:"riskassessment",className:"space-y-6",children:e.jsx(ke,{})}),e.jsx(l,{value:"staffing-payroll",className:"space-y-6",children:e.jsx(we,{})}),e.jsx(l,{value:"turnover-replacement",className:"space-y-6",children:e.jsx(Ne,{})}),e.jsx(l,{value:"nearshore",className:"space-y-6",children:e.jsx(Te,{})}),e.jsx(l,{value:"breach-economics",className:"space-y-6",children:e.jsx(Le,{})}),e.jsx(l,{value:"agent-coverage",className:"space-y-6",children:e.jsx(Ae,{})}),e.jsx(l,{value:"human-in-loop",className:"space-y-6",children:e.jsx(Se,{})}),e.jsx(l,{value:"guardrail-safety",className:"space-y-6",children:e.jsx(Pe,{})}),e.jsx(l,{value:"detection-triage",className:"space-y-6",children:e.jsx(Re,{})}),e.jsx(l,{value:"ai-unit-economics",className:"space-y-6",children:e.jsx(Ve,{})}),e.jsx(l,{value:"reliability-health",className:"space-y-6",children:e.jsx(Ie,{})}),e.jsx(l,{value:"staffing-roi",className:"space-y-6",children:e.jsx(Me,{})}),e.jsx(l,{value:"customer-outcome",className:"space-y-6",children:e.jsx(Oe,{})})]})]})}),e.jsx("div",{className:"mt-12 text-center",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:"Need help interpreting your results? Contact our team for personalized guidance."})})]})})]})},ea=Object.freeze(Object.defineProperty({__proto__:null,default:De},Symbol.toStringTag,{value:"Module"}));export{K as A,w as B,ea as C,A as D,ee as E,le as R,re as T,L 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.