diff --git a/hailbytes-vuln-calculator.js b/hailbytes-vuln-calculator.js index 1d2c2aa..d875174 100644 --- a/hailbytes-vuln-calculator.js +++ b/hailbytes-vuln-calculator.js @@ -550,8 +550,7 @@ const STYLES = ` // ─── Template ───────────────────────────────────────────────────────────────── -const TMPL = document.createElement('template'); -TMPL.innerHTML = ` +const TEMPLATE_HTML = `

🔍 Vulnerability Scanner Infrastructure Calculator HailBytes

Size your scanning infrastructure — estimate VM requirements, cloud costs, and ROI entirely in the browser

@@ -644,13 +643,28 @@ TMPL.innerHTML = ` // ─── Web Component ──────────────────────────────────────────────────────────── -class HailbytesVulnCalculator extends HTMLElement { +// The component depends on the DOM, but the exported `calculate()` does not. +// Build the