ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
Add browser setup wizard and MSI shortcuts
Juan Denis956c8e79640f
diff --git a/agent/cmd/agent/main.go b/agent/cmd/agent/main.goindex 645b8f36..4d3a85b6 100644--- a/agent/cmd/agent/main.go+++ b/agent/cmd/agent/main.go@@ -11,6 +11,7 @@ import ("github.com/serverkit/agent/internal/agent""github.com/serverkit/agent/internal/config""github.com/serverkit/agent/internal/logger"+ "github.com/serverkit/agent/internal/setupui""github.com/serverkit/agent/internal/tray""github.com/serverkit/agent/internal/updater""github.com/spf13/cobra"@@ -43,6 +44,7 @@ enabling remote Docker management, monitoring, and more.`,rootCmd.AddCommand(startCmd())rootCmd.AddCommand(registerCmd())rootCmd.AddCommand(pairCmd())+ rootCmd.AddCommand(setupCmd())rootCmd.AddCommand(statusCmd())rootCmd.AddCommand(versionCmd())rootCmd.AddCommand(configCmd())@@ -371,6 +373,46 @@ func showStatus() error {return nil}+func setupCmd() *cobra.Command {+ return &cobra.Command{+ Use: "setup",+ Short: "Open a browser-based pairing wizard (recommended for desktops)",+ Long: `Launches a small local web server on 127.0.0.1 and opens your default+browser to a pairing wizard. You enter the panel URL and a passphrase, then+type the displayed code into the panel UI to claim this server.++This is the easiest way to pair on Windows/macOS desktops. For headless+servers, use 'serverkit-agent pair' instead.`,+ RunE: func(cmd *cobra.Command, args []string) error {+ return runSetup()+ },+ }+}++func runSetup() error {+ log := logger.New(config.LoggingConfig{Level: "info"})++ configPath := cfgFile+ if configPath == "" {+ configPath = config.DefaultConfigPath()+ }++ srv := setupui.New(log, configPath)++ ctx, cancel := context.WithCancel(context.Background())+ defer cancel()++ sigCh := make(chan os.Signal, 1)+ signal.Notify(sigCh, syscall.SIGINT, syscall.SIGTERM)+ go func() {+ <-sigCh+ fmt.Println("\nCancelling…")+ cancel()+ }()++ return srv.Run(ctx)+}+func trayCmd() *cobra.Command {return &cobra.Command{Use: "tray",diff --git a/agent/go.mod b/agent/go.modindex 4fae9b32..9fb8bb59 100644--- a/agent/go.mod+++ b/agent/go.mod@@ -24,6 +24,8 @@ require (github.com/godbus/dbus/v5 v5.1.0 // indirectgithub.com/gogo/protobuf v1.3.2 // indirectgithub.com/inconshreveable/mousetrap v1.1.0 // indirect+ github.com/jchv/go-webview2 v0.0.0-20260205173254-56598839c808 // indirect+ github.com/jchv/go-winloader v0.0.0-20250406163304-c1995be93bd1 // indirectgithub.com/lufia/plan9stats v0.0.0-20231016141302-07b5767bb0ed // indirectgithub.com/moby/term v0.5.0 // indirectgithub.com/morikuni/aec v1.0.0 // indirectdiff --git a/agent/go.sum b/agent/go.sumindex 720000c4..6ffd524b 100644--- a/agent/go.sum+++ b/agent/go.sum@@ -35,6 +35,10 @@ github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY=github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=+github.com/jchv/go-webview2 v0.0.0-20260205173254-56598839c808 h1:ftnsTqIUH57XQEF+PnXX9++nlHCzdkuB5zbWyMMruZo=+github.com/jchv/go-webview2 v0.0.0-20260205173254-56598839c808/go.mod h1:rWifBlzkgrvd7zUqlfq91sWt3473OikgnglnIILx/Jo=+github.com/jchv/go-winloader v0.0.0-20250406163304-c1995be93bd1 h1:njuLRcjAuMKr7kI3D85AXWkw6/+v9PwtV6M6o11sWHQ=+github.com/jchv/go-winloader v0.0.0-20250406163304-c1995be93bd1/go.mod h1:alcuEEnZsY1WQsagKhZDsoPCRoOijYqhZvPwLG0kzVs=github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I=@@ -104,8 +108,10 @@ golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=+golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=+golang.org/x/sys v0.0.0-20210218145245-beda7e5e158e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=diff --git a/agent/internal/setupui/service_other.go b/agent/internal/setupui/service_other.gonew file mode 100644index 00000000..1ce2fb5e--- /dev/null+++ b/agent/internal/setupui/service_other.go@@ -0,0 +1,5 @@+//go:build !windows++package setupui++func startServiceIfInstalled() {}diff --git a/agent/internal/setupui/service_windows.go b/agent/internal/setupui/service_windows.gonew file mode 100644index 00000000..daf57be7--- /dev/null+++ b/agent/internal/setupui/service_windows.go@@ -0,0 +1,21 @@+//go:build windows++package setupui++import (+ "os/exec"+ "syscall"+)++// startServiceIfInstalled flips the ServerKitAgent service to auto-start+// and starts it. Best-effort: silently ignores errors (e.g. service not+// installed, no admin rights).+func startServiceIfInstalled() {+ run := func(args ...string) {+ cmd := exec.Command("sc.exe", args...)+ cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}+ _ = cmd.Run()+ }+ run("config", "ServerKitAgent", "start=", "auto")+ run("start", "ServerKitAgent")+}diff --git a/agent/internal/setupui/setupui.go b/agent/internal/setupui/setupui.gonew file mode 100644index 00000000..2dc32e34--- /dev/null+++ b/agent/internal/setupui/setupui.go@@ -0,0 +1,366 @@+// Package setupui implements a local-loopback HTTP wizard that walks an+// operator through agent pairing without forcing them onto the CLI.+package setupui++import (+ "context"+ _ "embed"+ "encoding/json"+ "errors"+ "fmt"+ "net"+ "net/http"+ "os"+ "os/exec"+ "path/filepath"+ "runtime"+ "strings"+ "sync"+ "time"++ "github.com/serverkit/agent/internal/config"+ "github.com/serverkit/agent/internal/logger"+ "github.com/serverkit/agent/internal/metrics"+ "github.com/serverkit/agent/internal/pairing"+)++//go:embed wizard.html+var wizardHTML []byte++// errNoWebView2 signals that a native WebView2 window could not be opened+// and the caller should fall back to the system browser.+var errNoWebView2 = errors.New("native window unavailable")++// Server hosts the local pairing wizard.+type Server struct {+ log *logger.Logger+ configPath string++ mu sync.RWMutex+ state *State+ cancel context.CancelFunc+ doneCh chan struct{}+ listener net.Listener+}++// State is the JSON shape returned by /api/status.+type State struct {+ Phase string `json:"phase"` // idle | enrolling | waiting | claimed | error+ PanelURL string `json:"panel_url,omitempty"`+ PairCode string `json:"pair_code,omitempty"`+ PairCodeShort string `json:"pair_code_short,omitempty"`+ Fingerprint string `json:"fingerprint,omitempty"`+ ServerName string `json:"server_name,omitempty"`+ ErrorMessage string `json:"error,omitempty"`+}++// New constructs a wizard server using the given config path for credential persistence.+func New(log *logger.Logger, configPath string) *Server {+ return &Server{+ log: log.WithComponent("setupui"),+ configPath: configPath,+ state: &State{Phase: "idle"},+ }+}++// Run starts the HTTP server, opens a browser and blocks until pairing+// completes (success or user cancel) or ctx is cancelled.+func (s *Server) Run(ctx context.Context) error {+ ln, err := net.Listen("tcp", "127.0.0.1:0")+ if err != nil {+ return fmt.Errorf("listen: %w", err)+ }+ s.listener = ln++ s.doneCh = make(chan struct{})+ mux := http.NewServeMux()+ mux.HandleFunc("/", s.handleIndex)+ mux.HandleFunc("/api/start", s.handleStart)+ mux.HandleFunc("/api/status", s.handleStatus)+ mux.HandleFunc("/api/cancel", s.handleCancel)+ mux.HandleFunc("/api/close", s.handleClose)++ srv := &http.Server{+ Handler: mux,+ ReadHeaderTimeout: 10 * time.Second,+ }++ go func() {+ _ = srv.Serve(ln)+ }()++ url := fmt.Sprintf("http://%s/", ln.Addr().String())+ fmt.Printf("ServerKit Agent — pairing wizard:\n %s\n\n", url)++ // Try native window first (Windows: WebView2). On failure or non-Windows,+ // fall back to opening in the user's default browser.+ useBrowser := true+ go func() {+ err := openInNativeWindow(url, "ServerKit Agent · Setup")+ if err == nil {+ // Window closed — signal done so we shut down.+ s.signalDone()+ }+ // errNoWebView2 means we never got a window; the browser fallback+ // runs synchronously below, so nothing else to do here.+ _ = err+ }()++ // Give the native window a brief moment to come up before deciding to+ // open the browser. If the goroutine has already errored, fall back.+ time.Sleep(150 * time.Millisecond)+ if runtime.GOOS == "windows" {+ // On Windows we trust WebView2 (ships with Win10+). If WebView2 is+ // missing the native call returns errNoWebView2 quickly — but the+ // goroutine may still be initializing, so we don't open a browser+ // here. The user will see the native window.+ useBrowser = false+ fmt.Println("Opening setup window…")+ fmt.Println("Leave this terminal open until pairing completes. Press Ctrl+C to cancel.")+ }+ if useBrowser {+ fmt.Println("Opening in your default browser…")+ fmt.Println("Leave this terminal open until pairing completes. Press Ctrl+C to cancel.")+ if err := openBrowser(url); err != nil {+ s.log.Warn("could not open browser automatically", "error", err)+ fmt.Println("(Couldn't open browser automatically — copy the URL above into your browser.)")+ }+ }++ select {+ case <-ctx.Done():+ case <-s.doneCh:+ }++ shutdownCtx, cancel := context.WithTimeout(context.Background(), 2*time.Second)+ defer cancel()+ _ = srv.Shutdown(shutdownCtx)++ s.mu.RLock()+ defer s.mu.RUnlock()+ if s.state.Phase == "error" {+ return fmt.Errorf("pairing failed: %s", s.state.ErrorMessage)+ }+ return nil+}++// ---- handlers ----++func (s *Server) handleIndex(w http.ResponseWriter, r *http.Request) {+ if r.URL.Path != "/" {+ http.NotFound(w, r)+ return+ }+ w.Header().Set("Content-Type", "text/html; charset=utf-8")+ w.Header().Set("Cache-Control", "no-store")+ _, _ = w.Write(wizardHTML)+}++func (s *Server) handleStart(w http.ResponseWriter, r *http.Request) {+ if r.Method != http.MethodPost {+ http.Error(w, "method not allowed", http.StatusMethodNotAllowed)+ return+ }+ var req struct {+ PanelURL string `json:"panel_url"`+ Passphrase string `json:"passphrase"`+ }+ if err := json.NewDecoder(r.Body).Decode(&req); err != nil {+ http.Error(w, "invalid json", http.StatusBadRequest)+ return+ }+ req.PanelURL = strings.TrimSpace(req.PanelURL)+ req.Passphrase = strings.TrimSpace(req.Passphrase)+ if req.PanelURL == "" || req.Passphrase == "" {+ http.Error(w, "panel_url and passphrase are required", http.StatusBadRequest)+ return+ }+ if len(req.Passphrase) < 4 {+ http.Error(w, "passphrase must be at least 4 characters", http.StatusBadRequest)+ return+ }+ if !strings.HasPrefix(req.PanelURL, "http://") && !strings.HasPrefix(req.PanelURL, "https://") {+ req.PanelURL = "https://" + req.PanelURL+ }++ s.mu.Lock()+ if s.state.Phase != "idle" && s.state.Phase != "error" && s.state.Phase != "claimed" {+ s.mu.Unlock()+ http.Error(w, "pairing already in progress", http.StatusConflict)+ return+ }+ if s.cancel != nil {+ s.cancel()+ }+ ctx, cancel := context.WithCancel(context.Background())+ s.cancel = cancel+ s.state = &State{Phase: "enrolling", PanelURL: req.PanelURL}+ s.mu.Unlock()++ go s.runPairing(ctx, req.PanelURL, req.Passphrase)++ w.WriteHeader(http.StatusAccepted)+ _, _ = w.Write([]byte(`{"ok":true}`))+}++func (s *Server) handleStatus(w http.ResponseWriter, r *http.Request) {+ s.mu.RLock()+ state := *s.state+ s.mu.RUnlock()+ w.Header().Set("Content-Type", "application/json")+ w.Header().Set("Cache-Control", "no-store")+ _ = json.NewEncoder(w).Encode(state)+}++func (s *Server) handleCancel(w http.ResponseWriter, r *http.Request) {+ s.mu.Lock()+ if s.cancel != nil {+ s.cancel()+ s.cancel = nil+ }+ s.state = &State{Phase: "idle"}+ s.mu.Unlock()+ w.WriteHeader(http.StatusNoContent)+}++func (s *Server) handleClose(w http.ResponseWriter, r *http.Request) {+ w.WriteHeader(http.StatusNoContent)+ go func() {+ time.Sleep(200 * time.Millisecond)+ s.signalDone()+ }()+}++func (s *Server) signalDone() {+ select {+ case <-s.doneCh:+ default:+ close(s.doneCh)+ }+}++// ---- pairing driver ----++func (s *Server) runPairing(ctx context.Context, panelURL, passphrase string) {+ setErr := func(msg string) {+ s.mu.Lock()+ s.state.Phase = "error"+ s.state.ErrorMessage = msg+ s.mu.Unlock()+ }++ kp, err := pairing.LoadOrCreate(pairing.DefaultKeyPath())+ if err != nil {+ setErr(fmt.Sprintf("could not load keypair: %v", err))+ return+ }++ collector := metrics.NewCollector(config.MetricsConfig{}, s.log)+ infoCtx, infoCancel := context.WithTimeout(ctx, 8*time.Second)+ sysInfo, _ := collector.GetSystemInfo(infoCtx)+ infoCancel()+ sysMap := map[string]interface{}{}+ if sysInfo != nil {+ sysMap = map[string]interface{}{+ "hostname": sysInfo.Hostname,+ "os": sysInfo.OS,+ "platform": sysInfo.Platform,+ "platform_version": sysInfo.PlatformVersion,+ "architecture": sysInfo.Architecture,+ "cpu_cores": sysInfo.CPUCores,+ "total_memory": sysInfo.TotalMemory,+ "total_disk": sysInfo.TotalDisk,+ }+ } else {+ hostname, _ := os.Hostname()+ sysMap["hostname"] = hostname+ sysMap["os"] = runtime.GOOS+ sysMap["architecture"] = runtime.GOARCH+ }++ client := pairing.NewClient(panelURL, s.log)+ enrollCtx, enrollCancel := context.WithTimeout(ctx, 30*time.Second)+ enrollResp, err := client.Enroll(enrollCtx, pairing.EnrollRequest{+ Pubkey: kp.PublicKeyHex(),+ Passphrase: passphrase,+ MachineID: config.MachineID(),+ SystemInfo: sysMap,+ })+ enrollCancel()+ if err != nil {+ setErr(fmt.Sprintf("enroll: %v", err))+ return+ }++ s.mu.Lock()+ s.state.Phase = "waiting"+ s.state.PairCode = enrollResp.PairCode+ s.state.PairCodeShort = enrollResp.PairCodeFormatted+ s.state.Fingerprint = enrollResp.PubkeyFingerprint+ s.mu.Unlock()++ creds, err := client.WaitForClaim(ctx, func(code, formatted, expiresAt string) {+ s.mu.Lock()+ s.state.PairCode = code+ s.state.PairCodeShort = formatted+ s.mu.Unlock()+ })+ if err != nil {+ if ctx.Err() != nil {+ return+ }+ setErr(fmt.Sprintf("waiting for claim: %v", err))+ return+ }++ if err := saveCredentials(s.configPath, panelURL, creds); err != nil {+ setErr(fmt.Sprintf("save credentials: %v", err))+ return+ }++ s.mu.Lock()+ s.state.Phase = "claimed"+ s.state.ServerName = creds.Name+ s.mu.Unlock()++ // On Windows, flip the service to auto-start and start it now that we have credentials.+ startServiceIfInstalled()+}++func saveCredentials(configPath, panelURL string, creds *pairing.Credentials) error {+ cfg, err := config.Load(configPath)+ if err != nil {+ cfg = config.Default()+ }+ wsURL := strings.TrimSuffix(panelURL, "/")+ wsURL = strings.Replace(wsURL, "https://", "wss://", 1)+ wsURL = strings.Replace(wsURL, "http://", "ws://", 1)+ cfg.Server.URL = wsURL + "/agent"+ cfg.Agent.ID = creds.AgentID+ cfg.Agent.Name = creds.Name+ cfg.Auth.APIKey = creds.APIKey+ cfg.Auth.APISecret = creds.APISecret++ if configPath == "" {+ configPath = config.DefaultConfigPath()+ }+ if err := os.MkdirAll(filepath.Dir(configPath), 0700); err != nil {+ return err+ }+ if err := cfg.Save(configPath); err != nil {+ return err+ }+ return cfg.SaveCredentials()+}++// openBrowser opens the URL in the user's default browser.+func openBrowser(url string) error {+ switch runtime.GOOS {+ case "windows":+ return exec.Command("rundll32", "url.dll,FileProtocolHandler", url).Start()+ case "darwin":+ return exec.Command("open", url).Start()+ default:+ return exec.Command("xdg-open", url).Start()+ }+}diff --git a/agent/internal/setupui/window_other.go b/agent/internal/setupui/window_other.gonew file mode 100644index 00000000..96eecdb4--- /dev/null+++ b/agent/internal/setupui/window_other.go@@ -0,0 +1,10 @@+//go:build !windows++package setupui++// openInNativeWindow falls back to opening the user's default browser on+// non-Windows platforms. Returns errNoWebView2 to signal "no native window+// available; caller should keep the HTTP server running until done."+func openInNativeWindow(url, title string) error {+ return errNoWebView2+}diff --git a/agent/internal/setupui/window_windows.go b/agent/internal/setupui/window_windows.gonew file mode 100644index 00000000..4992a4c0--- /dev/null+++ b/agent/internal/setupui/window_windows.go@@ -0,0 +1,31 @@+//go:build windows++package setupui++import (+ wv "github.com/jchv/go-webview2"+)++// openInNativeWindow opens the wizard URL in a real WebView2 window+// (no browser chrome). It blocks until the user closes the window.+func openInNativeWindow(url, title string) error {+ w := wv.NewWithOptions(wv.WebViewOptions{+ Debug: false,+ AutoFocus: true,+ WindowOptions: wv.WindowOptions{+ Title: title,+ Width: 720,+ Height: 760,+ Center: true,+ },+ })+ if w == nil {+ return errNoWebView2+ }+ defer w.Destroy()++ w.SetTitle(title)+ w.Navigate(url)+ w.Run()+ return nil+}diff --git a/agent/internal/setupui/wizard.html b/agent/internal/setupui/wizard.htmlnew file mode 100644index 00000000..5f537d44--- /dev/null+++ b/agent/internal/setupui/wizard.html@@ -0,0 +1,513 @@+<!doctype html>+<html lang="en">+<head>+<meta charset="utf-8">+<meta name="viewport" content="width=device-width,initial-scale=1">+<title>ServerKit Agent Setup</title>+<style>+ /* Windows 11 Fluent-inspired design system */+ :root {+ --accent: #0067c0;+ --accent-hover: #1a78c9;+ --accent-pressed: #2f87d1;+ --bg: #f3f3f3;+ --bg-mica: #f9f9f9;+ --layer: #ffffff;+ --layer-alt: #fbfbfb;+ --stroke: #e5e5e5;+ --stroke-soft: #ededed;+ --text: #1b1b1b;+ --text-secondary: #5d5d5d;+ --text-tertiary: #8a8a8a;+ --success: #0e7c3a;+ --danger: #c42b1c;+ --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);+ --shadow-md: 0 2px 6px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);+ --radius: 8px;+ --radius-sm: 4px;+ --radius-lg: 12px;+ }+ @media (prefers-color-scheme: dark) {+ :root {+ --bg: #202020;+ --bg-mica: #2c2c2c;+ --layer: #2b2b2b;+ --layer-alt: #323232;+ --stroke: #3a3a3a;+ --stroke-soft: #353535;+ --text: #ffffff;+ --text-secondary: #c5c5c5;+ --text-tertiary: #8a8a8a;+ --accent: #4cc2ff;+ --accent-hover: #5cc9ff;+ --accent-pressed: #74cfff;+ --success: #6ccb5f;+ --danger: #ff99a4;+ }+ }+ * { box-sizing: border-box; }+ html, body {+ margin: 0; padding: 0;+ height: 100vh;+ font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;+ font-size: 14px;+ color: var(--text);+ background: var(--bg-mica);+ -webkit-font-smoothing: antialiased;+ overflow: hidden;+ user-select: none;+ }+ input { user-select: text; -webkit-user-select: text; }+ .app {+ display: flex; flex-direction: column;+ height: 100vh;+ background: var(--bg-mica);+ }++ /* Title bar (Win11 style, drag region simulated) */+ .titlebar {+ height: 40px;+ display: flex; align-items: center;+ padding: 0 16px;+ border-bottom: 1px solid var(--stroke-soft);+ background: var(--bg-mica);+ flex-shrink: 0;+ }+ .titlebar .title {+ font-size: 12px; font-weight: 600; color: var(--text);+ letter-spacing: 0.01em;+ }+ .titlebar .icon {+ width: 16px; height: 16px;+ background: linear-gradient(135deg, #0067c0, #4cc2ff);+ border-radius: 3px;+ margin-right: 10px;+ display: inline-flex; align-items: center; justify-content: center;+ color: white; font-size: 9px; font-weight: 800;+ }++ /* Content area */+ .content {+ flex: 1;+ overflow-y: auto;+ padding: 28px 36px;+ display: flex; flex-direction: column;+ }++ /* Page header */+ .page-title {+ font-size: 28px; font-weight: 600; line-height: 1.2;+ margin: 0 0 6px;+ letter-spacing: -0.01em;+ }+ .page-sub {+ font-size: 14px; color: var(--text-secondary);+ margin: 0 0 24px; line-height: 1.5;+ max-width: 520px;+ }++ /* Card (Layer / Mica) */+ .card {+ background: var(--layer);+ border: 1px solid var(--stroke);+ border-radius: var(--radius);+ padding: 20px;+ box-shadow: var(--shadow-sm);+ margin-bottom: 12px;+ }+ .card + .card { margin-top: 0; }++ /* Form fields */+ .field { margin-bottom: 18px; }+ .field:last-child { margin-bottom: 0; }+ .field label {+ display: block;+ font-size: 13px; font-weight: 600;+ margin-bottom: 6px;+ color: var(--text);+ }+ .field .desc {+ font-size: 12px; color: var(--text-secondary);+ margin-top: 6px; line-height: 1.45;+ }+ .input {+ width: 100%;+ height: 32px;+ padding: 0 10px;+ background: var(--layer-alt);+ border: 1px solid var(--stroke);+ border-bottom: 1px solid var(--text-tertiary);+ border-radius: var(--radius-sm);+ color: var(--text);+ font-family: inherit; font-size: 14px;+ transition: border-color 0.12s;+ outline: none;+ }+ .input:hover { background: var(--layer); }+ .input:focus {+ border-bottom: 2px solid var(--accent);+ padding-bottom: 0;+ }++ /* Buttons */+ .actions {+ display: flex; gap: 8px; justify-content: flex-end;+ margin-top: 20px;+ }+ .btn {+ height: 32px; min-width: 100px;+ padding: 0 16px;+ border-radius: var(--radius-sm);+ font-family: inherit; font-size: 14px; font-weight: 600;+ cursor: pointer;+ transition: background 0.1s, border-color 0.1s, transform 0.05s;+ border: 1px solid var(--stroke);+ background: var(--layer);+ color: var(--text);+ }+ .btn:hover { background: var(--layer-alt); }+ .btn:active { transform: translateY(0.5px); }+ .btn-primary {+ background: var(--accent);+ border-color: var(--accent);+ color: white;+ }+ .btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }+ .btn-primary:active { background: var(--accent-pressed); border-color: var(--accent-pressed); }+ .btn-primary:disabled {+ background: var(--stroke); border-color: var(--stroke);+ color: var(--text-tertiary); cursor: not-allowed;+ }++ /* InfoBar */+ .infobar {+ display: flex; align-items: flex-start; gap: 10px;+ padding: 10px 12px; border-radius: var(--radius-sm);+ background: rgba(196,43,28,0.08);+ border: 1px solid rgba(196,43,28,0.25);+ color: var(--text);+ font-size: 13px;+ margin-bottom: 16px;+ }+ .infobar.success {+ background: rgba(14,124,58,0.08);+ border-color: rgba(14,124,58,0.25);+ }+ .infobar .ico { font-size: 16px; line-height: 1; flex-shrink: 0; }++ /* Stepper */+ .steps {+ display: flex; gap: 0; margin-bottom: 22px;+ background: var(--layer); border: 1px solid var(--stroke);+ border-radius: var(--radius); padding: 6px; align-items: center;+ }+ .step {+ flex: 1; display: flex; align-items: center; gap: 8px;+ padding: 6px 10px; border-radius: var(--radius-sm);+ font-size: 12px; color: var(--text-tertiary);+ transition: background 0.12s;+ }+ .step .num {+ width: 18px; height: 18px; border-radius: 50%;+ background: var(--stroke); color: var(--text-secondary);+ display: inline-flex; align-items: center; justify-content: center;+ font-weight: 600; font-size: 11px;+ }+ .step.active { color: var(--text); background: var(--layer-alt); }+ .step.active .num { background: var(--accent); color: white; }+ .step.done .num { background: var(--success); color: white; }+ .step.done { color: var(--text-secondary); }++ /* Pair code display */+ .pair-display {+ display: flex; flex-direction: column; align-items: center;+ padding: 24px 16px;+ background: linear-gradient(135deg, var(--layer-alt), var(--layer));+ border: 1px solid var(--stroke);+ border-radius: var(--radius-lg);+ margin-bottom: 16px;+ }+ .pair-label {+ font-size: 12px; font-weight: 600;+ color: var(--text-secondary);+ text-transform: uppercase; letter-spacing: 0.08em;+ margin-bottom: 10px;+ }+ .pair-code {+ font-family: "Cascadia Mono", "Consolas", "SF Mono", ui-monospace, monospace;+ font-size: 44px; font-weight: 700;+ letter-spacing: 0.18em;+ color: var(--accent);+ line-height: 1.1;+ margin-bottom: 6px;+ user-select: text; -webkit-user-select: text;+ }+ .fingerprint-row {+ display: flex; align-items: center; gap: 6px;+ font-size: 11px; color: var(--text-tertiary);+ margin-top: 8px;+ font-family: "Cascadia Mono", "Consolas", monospace;+ word-break: break-all;+ text-align: center;+ user-select: text; -webkit-user-select: text;+ }++ /* Spinner */+ .progress-row {+ display: flex; align-items: center; gap: 10px;+ padding: 10px 0;+ color: var(--text-secondary);+ font-size: 13px;+ }+ .ring {+ width: 16px; height: 16px; flex-shrink: 0;+ border: 2px solid var(--stroke);+ border-top-color: var(--accent);+ border-radius: 50%;+ animation: spin 0.8s linear infinite;+ }+ @keyframes spin { to { transform: rotate(360deg); } }++ /* Success */+ .success-hero {+ display: flex; flex-direction: column; align-items: center;+ padding: 24px 0;+ }+ .success-circle {+ width: 56px; height: 56px;+ background: var(--success);+ border-radius: 50%;+ display: flex; align-items: center; justify-content: center;+ margin-bottom: 14px;+ box-shadow: 0 4px 12px rgba(14,124,58,0.35);+ }+ .success-circle svg { width: 28px; height: 28px; color: white; }++ /* Instructions list */+ .instr {+ list-style: none; padding: 0; margin: 0;+ display: flex; flex-direction: column; gap: 10px;+ }+ .instr li {+ display: flex; align-items: flex-start; gap: 12px;+ font-size: 13px; color: var(--text-secondary);+ line-height: 1.5;+ }+ .instr .bullet {+ width: 22px; height: 22px; flex-shrink: 0;+ background: var(--accent);+ color: white;+ border-radius: 50%;+ display: flex; align-items: center; justify-content: center;+ font-size: 12px; font-weight: 700;+ margin-top: -1px;+ }+ .instr strong { color: var(--text); }++ .hidden { display: none !important; }+</style>+</head>+<body>+<div class="app">+ <div class="titlebar">+ <span class="icon">SK</span>+ <span class="title">ServerKit Agent · Setup</span>+ </div>++ <div class="content">+ <!-- Stepper -->+ <div class="steps" id="stepper">+ <div class="step active" data-step="1"><span class="num">1</span><span>Connect</span></div>+ <div class="step" data-step="2"><span class="num">2</span><span>Pair code</span></div>+ <div class="step" data-step="3"><span class="num">3</span><span>Done</span></div>+ </div>++ <!-- View 1: Form -->+ <div id="view-form">+ <h1 class="page-title">Pair this server</h1>+ <p class="page-sub">+ Connect this machine to your ServerKit panel. We'll generate a short+ code that you'll type into the panel to confirm.+ </p>++ <div id="form-error" class="infobar hidden">+ <span class="ico">⚠</span><span id="form-error-text"></span>+ </div>++ <div class="card">+ <form id="pair-form" autocomplete="off">+ <div class="field">+ <label for="panel">ServerKit panel URL</label>+ <input id="panel" class="input" type="url" placeholder="https://panel.example.com" required autofocus>+ <div class="desc">The address you use to log into your ServerKit panel.</div>+ </div>+ <div class="field">+ <label for="passphrase">Passphrase</label>+ <input id="passphrase" class="input" type="password" placeholder="Pick something memorable" required minlength="4">+ <div class="desc">You'll type this into the panel along with the pair code. 4+ characters.</div>+ </div>+ </form>+ </div>++ <div class="actions">+ <button id="quit-btn" class="btn" type="button">Cancel</button>+ <button id="submit-btn" class="btn btn-primary" type="button">Begin pairing</button>+ </div>+ </div>++ <!-- View 2: Waiting / pair code -->+ <div id="view-waiting" class="hidden">+ <h1 class="page-title">Enter this code in the panel</h1>+ <p class="page-sub">+ The code rotates every minute. As soon as someone in the panel claims+ this server, this window will continue.+ </p>++ <div class="pair-display">+ <div class="pair-label">Pair code</div>+ <div class="pair-code" id="pair-code">— — — — — —</div>+ <div class="fingerprint-row">+ fingerprint: <span id="fingerprint">—</span>+ </div>+ </div>++ <div class="card">+ <ol class="instr">+ <li><span class="bullet">1</span><div>Open the <strong>ServerKit panel</strong> in your browser.</div></li>+ <li><span class="bullet">2</span><div>Go to <strong>Servers → Add Server → Pair existing agent</strong>.</div></li>+ <li><span class="bullet">3</span><div>Enter the <strong>pair code</strong> above and the <strong>passphrase</strong> you just set.</div></li>+ </ol>+ </div>++ <div class="progress-row">+ <span class="ring"></span>+ <span id="wait-msg">Waiting for the panel to claim this agent…</span>+ </div>++ <div class="actions">+ <button id="cancel-btn" class="btn" type="button">Cancel</button>+ </div>+ </div>++ <!-- View 3: Success -->+ <div id="view-success" class="hidden">+ <div class="success-hero">+ <div class="success-circle">+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">+ <polyline points="20 6 9 17 4 12"/>+ </svg>+ </div>+ <h1 class="page-title" style="text-align:center; margin-bottom:4px">All set</h1>+ <p class="page-sub" id="success-name" style="text-align:center">Your agent is paired with the panel.</p>+ </div>++ <div class="infobar success">+ <span class="ico">✓</span>+ <span>The agent service will start automatically. This server should appear as <strong>Online</strong> in the panel within a few seconds.</span>+ </div>++ <div class="actions">+ <button id="close-btn" class="btn btn-primary" type="button">Close</button>+ </div>+ </div>+ </div>+</div>++<script>+ const $ = (id) => document.getElementById(id);+ function setStep(n) {+ document.querySelectorAll('#stepper .step').forEach(el => {+ const s = Number(el.dataset.step);+ el.classList.remove('active', 'done');+ if (s < n) el.classList.add('done');+ else if (s === n) el.classList.add('active');+ });+ }+ function show(view) {+ ['view-form','view-waiting','view-success'].forEach(v => $(v).classList.toggle('hidden', v !== view));+ }+ function showError(msg) {+ $('form-error-text').textContent = msg;+ $('form-error').classList.remove('hidden');+ }+ function clearError() { $('form-error').classList.add('hidden'); }++ let pollTimer = null;+ async function poll() {+ try {+ const r = await fetch('/api/status', { cache: 'no-store' });+ const s = await r.json();+ if (s.phase === 'enrolling') {+ $('wait-msg').textContent = 'Contacting panel…';+ } else if (s.phase === 'waiting') {+ $('pair-code').textContent = s.pair_code_short || s.pair_code || '— — — — — —';+ $('fingerprint').textContent = s.fingerprint || '—';+ $('wait-msg').textContent = 'Waiting for the panel to claim this agent…';+ setStep(2);+ show('view-waiting');+ } else if (s.phase === 'claimed') {+ stopPoll();+ if (s.server_name) {+ $('success-name').textContent = '"' + s.server_name + '" is paired with the panel.';+ }+ setStep(3);+ show('view-success');+ } else if (s.phase === 'error') {+ stopPoll();+ showError(s.error || 'Pairing failed.');+ $('submit-btn').disabled = false;+ $('submit-btn').textContent = 'Try again';+ setStep(1);+ show('view-form');+ }+ } catch (e) { /* keep polling */ }+ }+ function startPoll() { if (!pollTimer) { poll(); pollTimer = setInterval(poll, 1500); } }+ function stopPoll() { if (pollTimer) { clearInterval(pollTimer); pollTimer = null; } }++ $('submit-btn').addEventListener('click', async () => {+ clearError();+ const panel = $('panel').value.trim();+ const pass = $('passphrase').value;+ if (!panel) { showError('Panel URL is required.'); return; }+ if (pass.length < 4) { showError('Passphrase must be at least 4 characters.'); return; }+ $('submit-btn').disabled = true;+ $('submit-btn').textContent = 'Connecting…';+ try {+ const r = await fetch('/api/start', {+ method: 'POST',+ headers: { 'Content-Type': 'application/json' },+ body: JSON.stringify({ panel_url: panel, passphrase: pass })+ });+ if (!r.ok) throw new Error((await r.text()) || 'Request failed');+ setStep(2);+ show('view-waiting');+ startPoll();+ } catch (err) {+ showError(err.message);+ $('submit-btn').disabled = false;+ $('submit-btn').textContent = 'Begin pairing';+ }+ });++ $('cancel-btn').addEventListener('click', async () => {+ await fetch('/api/cancel', { method: 'POST' });+ stopPoll();+ setStep(1);+ show('view-form');+ $('submit-btn').disabled = false;+ $('submit-btn').textContent = 'Begin pairing';+ });++ $('quit-btn').addEventListener('click', async () => {+ await fetch('/api/close', { method: 'POST' });+ });++ $('close-btn').addEventListener('click', async () => {+ await fetch('/api/close', { method: 'POST' });+ });++ startPoll();+</script>+</body>+</html>diff --git a/agent/packaging/msi/Product.wxs b/agent/packaging/msi/Product.wxsindex 200ccac5..ac82d60e 100644--- a/agent/packaging/msi/Product.wxs+++ b/agent/packaging/msi/Product.wxs@@ -35,6 +35,7 @@<ComponentGroupRef Id="ProductComponents" /><ComponentRef Id="ConfigComponent" /><ComponentRef Id="TrayAutoStart" />+ <ComponentRef Id="StartMenuShortcuts" /></Feature></Package>@@ -52,6 +53,10 @@<Directory Id="AgentDataFolder" Name="Agent" /></Directory></StandardDirectory>++ <StandardDirectory Id="ProgramMenuFolder">+ <Directory Id="ServerKitStartMenuFolder" Name="ServerKit Agent" />+ </StandardDirectory></Fragment><!-- Components -->@@ -68,13 +73,14 @@DisplayName="ServerKit Agent"Description="ServerKit Agent - Remote server management service"Type="ownProcess"- Start="auto"+ Start="demand"ErrorControl="normal"Arguments="start" />+ <!-- Do NOT start service on install: it has no config (token/server) yet.+ The setup wizard / `register` command switches it to auto-start once configured. --><ServiceControlId="ServiceControl"Name="ServerKitAgent"- Start="install"Stop="both"Remove="uninstall"Wait="yes" />@@ -99,6 +105,35 @@Value=""[INSTALLFOLDER]serverkit-agent.exe" tray"KeyPath="yes" /></Component>++ <!-- Start Menu shortcuts -->+ <Component Id="StartMenuShortcuts" Directory="ServerKitStartMenuFolder" Guid="B7C8D9E0-F1A2-3456-7890-ABCDEF123456">+ <Shortcut Id="SetupShortcut"+ Name="ServerKit Agent Setup"+ Description="Pair this server with a ServerKit panel"+ Target="[INSTALLFOLDER]serverkit-agent.exe"+ Arguments="setup"+ WorkingDirectory="INSTALLFOLDER"+ Icon="ServerKitAgentIcon.exe"+ IconIndex="0" />+ <Shortcut Id="StatusShortcut"+ Name="ServerKit Agent Status"+ Description="Show ServerKit Agent connection status"+ Target="[INSTALLFOLDER]serverkit-agent.exe"+ Arguments="status"+ WorkingDirectory="INSTALLFOLDER" />+ <RemoveFolder Id="RemoveStartMenuFolder" On="uninstall" />+ <RegistryValue+ Root="HKCU"+ Key="Software\ServerKit\Agent"+ Name="StartMenuShortcuts"+ Type="integer"+ Value="1"+ KeyPath="yes" />+ </Component>++ <!-- Icon used for shortcut (reuses the agent exe's embedded icon) -->+ <Icon Id="ServerKitAgentIcon.exe" SourceFile="serverkit-agent.exe" /></Fragment></Wix>diff --git a/agent/packaging/msi/build.ps1 b/agent/packaging/msi/build.ps1index 279a6eff..f42d8f97 100644--- a/agent/packaging/msi/build.ps1+++ b/agent/packaging/msi/build.ps1@@ -105,14 +105,15 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\par# Copy WiX sourceCopy-Item "Product.wxs" "$buildDir\"- # Create output directory+ # Create output directory (resolve to absolute path so it survives Push-Location)New-Item -ItemType Directory -Force -Path $OutputDir | Out-Null+ $absOutputDir = (Resolve-Path $OutputDir).Path# Build MSIPush-Location $buildDirtry {Write-Host "Running WiX build..."- wix build Product.wxs -o "$OutputDir\serverkit-agent-$Version-x64.msi" -define Version=$Version+ wix build Product.wxs -o "$absOutputDir\serverkit-agent-$Version-x64.msi" -define Version=$Version}finally {Pop-Location@@ -120,7 +121,7 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\parWrite-Host ""Write-Host "MSI built successfully!"- Write-Host "Output: $OutputDir\serverkit-agent-$Version-x64.msi"+ Write-Host "Output: $absOutputDir\serverkit-agent-$Version-x64.msi"}finally {# Cleanupdiff --git a/agent/packaging/msi/output/serverkit-agent-1.4.17-x64.msi b/agent/packaging/msi/output/serverkit-agent-1.4.17-x64.msinew file mode 100644index 00000000..a109af8cBinary files /dev/null and b/agent/packaging/msi/output/serverkit-agent-1.4.17-x64.msi differdiff --git a/agent/packaging/msi/output/serverkit-agent-1.4.17-x64.wixpdb b/agent/packaging/msi/output/serverkit-agent-1.4.17-x64.wixpdbnew file mode 100644index 00000000..9006dcb1Binary files /dev/null and b/agent/packaging/msi/output/serverkit-agent-1.4.17-x64.wixpdb differdiff --git a/frontend/components.json b/frontend/components.jsonnew file mode 100644index 00000000..0f319333--- /dev/null+++ b/frontend/components.json@@ -0,0 +1,21 @@+{+ "$schema": "https://ui.shadcn.com/schema.json",+ "style": "new-york",+ "rsc": false,+ "tsx": false,+ "tailwind": {+ "config": "",+ "css": "src/globals.css",+ "baseColor": "zinc",+ "cssVariables": true,+ "prefix": ""+ },+ "aliases": {+ "components": "@/components",+ "utils": "@/lib/utils",+ "ui": "@/components/ui",+ "lib": "@/lib",+ "hooks": "@/hooks"+ },+ "iconLibrary": "lucide"+}diff --git a/frontend/jsconfig.json b/frontend/jsconfig.jsonnew file mode 100644index 00000000..abe04df5--- /dev/null+++ b/frontend/jsconfig.json@@ -0,0 +1,8 @@+{+ "compilerOptions": {+ "baseUrl": ".",+ "paths": {+ "@/*": ["./src/*"]+ }+ }+}diff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex 51157ce2..5f1dcbd6 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -8,17 +8,40 @@"name": "serverkit-frontend","version": "0.1.0","dependencies": {- "@rollup/rollup-win32-x64-msvc": "^4.60.0",+ "@radix-ui/react-accordion": "^1.2.12",+ "@radix-ui/react-alert-dialog": "^1.1.15",+ "@radix-ui/react-avatar": "^1.1.11",+ "@radix-ui/react-checkbox": "^1.3.3",+ "@radix-ui/react-dialog": "^1.1.15",+ "@radix-ui/react-dropdown-menu": "^2.1.16",+ "@radix-ui/react-label": "^2.1.8",+ "@radix-ui/react-popover": "^1.1.15",+ "@radix-ui/react-progress": "^1.1.8",+ "@radix-ui/react-scroll-area": "^1.2.10",+ "@radix-ui/react-select": "^2.2.6",+ "@radix-ui/react-separator": "^1.1.8",+ "@radix-ui/react-slot": "^1.2.4",+ "@radix-ui/react-switch": "^1.2.6",+ "@radix-ui/react-tabs": "^1.1.13",+ "@radix-ui/react-tooltip": "^1.2.8",+ "@tailwindcss/vite": "^4.2.4","@xterm/addon-fit": "^0.10.0","@xterm/addon-web-links": "^0.11.0","@xterm/xterm": "^5.5.0","@xyflow/react": "^12.10.0",+ "class-variance-authority": "^0.7.1",+ "clsx": "^2.1.1",+ "cmdk": "^1.1.1","lucide-react": "^0.363.0","react": "^18.3.1","react-dom": "^18.3.1","react-router-dom": "^6.22.3","recharts": "^2.12.3",- "socket.io-client": "^4.7.2"+ "socket.io-client": "^4.7.2",+ "sonner": "^2.0.7",+ "tailwind-merge": "^3.5.0",+ "tailwindcss": "^4.2.4",+ "tailwindcss-animate": "^1.0.7"},"devDependencies": {"@types/react": "^18.3.3",@@ -31,6 +54,9 @@"globals": "^15.9.0","sass": "^1.86.0","vite": "^5.4.1"+ },+ "optionalDependencies": {+ "@rollup/rollup-win32-x64-msvc": "^4.60.0"}},"node_modules/@babel/code-frame": {@@ -331,7 +357,6 @@"cpu": ["ppc64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -348,7 +373,6 @@"cpu": ["arm"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -365,7 +389,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -382,7 +405,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -399,7 +421,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -416,7 +437,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -433,7 +453,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -450,7 +469,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -467,7 +485,6 @@"cpu": ["arm"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -484,7 +501,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -501,7 +517,6 @@"cpu": ["ia32"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -518,7 +533,6 @@"cpu": ["loong64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -535,7 +549,6 @@"cpu": ["mips64el"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -552,7 +565,6 @@"cpu": ["ppc64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -569,7 +581,6 @@"cpu": ["riscv64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -586,7 +597,6 @@"cpu": ["s390x"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -603,7 +613,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -620,7 +629,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -637,7 +645,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -654,7 +661,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -671,7 +677,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -688,7 +693,6 @@"cpu": ["ia32"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -705,7 +709,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -872,6 +875,44 @@"node": "^18.18.0 || ^20.9.0 || >=21.1.0"}},+ "node_modules/@floating-ui/core": {+ "version": "1.7.5",+ "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.5.tgz",+ "integrity": "sha512-1Ih4WTWyw0+lKyFMcBHGbb5U5FtuHJuujoyyr5zTaWS5EYMeT6Jb2AuDeftsCsEuchO+mM2ij5+q9crhydzLhQ==",+ "license": "MIT",+ "dependencies": {+ "@floating-ui/utils": "^0.2.11"+ }+ },+ "node_modules/@floating-ui/dom": {+ "version": "1.7.6",+ "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.6.tgz",+ "integrity": "sha512-9gZSAI5XM36880PPMm//9dfiEngYoC6Am2izES1FF406YFsjvyBMmeJ2g4SAju3xWwtuynNRFL2s9hgxpLI5SQ==",+ "license": "MIT",+ "dependencies": {+ "@floating-ui/core": "^1.7.5",+ "@floating-ui/utils": "^0.2.11"+ }+ },+ "node_modules/@floating-ui/react-dom": {+ "version": "2.1.8",+ "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.8.tgz",+ "integrity": "sha512-cC52bHwM/n/CxS87FH0yWdngEZrjdtLW/qVruo68qg+prK7ZQ4YGdut2GyDVpoGeAYe/h899rVeOVm6Oi40k2A==",+ "license": "MIT",+ "dependencies": {+ "@floating-ui/dom": "^1.7.6"+ },+ "peerDependencies": {+ "react": ">=16.8.0",+ "react-dom": ">=16.8.0"+ }+ },+ "node_modules/@floating-ui/utils": {+ "version": "0.2.11",+ "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.11.tgz",+ "integrity": "sha512-RiB/yIh78pcIxl6lLMG0CgBXAZ2Y0eVHqMPYugu+9U0AeT6YBeiJpf7lbdJNIugFP5SIjwNRgo4DhR1Qxi26Gg==",+ "license": "MIT"+ },"node_modules/@humanfs/core": {"version": "0.19.1","resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",@@ -928,7 +969,6 @@"version": "0.3.13","resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz","integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",- "dev": true,"license": "MIT","dependencies": {"@jridgewell/sourcemap-codec": "^1.5.0",@@ -939,7 +979,6 @@"version": "2.3.5","resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz","integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",- "dev": true,"license": "MIT","dependencies": {"@jridgewell/gen-mapping": "^0.3.5",@@ -950,7 +989,6 @@"version": "3.1.2","resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz","integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",- "dev": true,"license": "MIT","engines": {"node": ">=6.0.0"@@ -960,14 +998,12 @@"version": "1.5.5","resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz","integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",- "dev": true,"license": "MIT"},"node_modules/@jridgewell/trace-mapping": {"version": "0.3.31","resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz","integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",- "dev": true,"license": "MIT","dependencies": {"@jridgewell/resolve-uri": "^3.1.0",@@ -978,7 +1014,6 @@"version": "2.5.6","resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.6.tgz","integrity": "sha512-tmmZ3lQxAe/k/+rNnXQRawJ4NjxO2hqiOLTHvWchtGZULp4RyFeh6aU4XdOYBFe2KE1oShQTv4AblOs2iOrNnQ==",- "dev": true,"hasInstallScript": true,"license": "MIT","optional": true,@@ -1018,7 +1053,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1039,7 +1073,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1060,7 +1093,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1081,7 +1113,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1102,7 +1133,6 @@"cpu": ["arm"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1123,7 +1153,6 @@"cpu": ["arm"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1144,7 +1173,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1165,7 +1193,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1186,7 +1213,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1207,7 +1233,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1228,7 +1253,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1249,7 +1273,6 @@"cpu": ["ia32"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1270,7 +1293,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1284,142 +1306,1450 @@"url": "https://opencollective.com/parcel"}},- "node_modules/@remix-run/router": {- "version": "1.23.2",- "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.23.2.tgz",- "integrity": "sha512-Ic6m2U/rMjTkhERIa/0ZtXJP17QUi2CbWE7cqx4J58M8aA3QTfW+2UlQ4psvTX9IO1RfNVhK3pcpdjej7L+t2w==",- "license": "MIT",- "engines": {- "node": ">=14.0.0"- }+ "node_modules/@radix-ui/number": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.1.1.tgz",+ "integrity": "sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==",+ "license": "MIT"},- "node_modules/@rolldown/pluginutils": {- "version": "1.0.0-beta.27",- "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz",- "integrity": "sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==",- "dev": true,+ "node_modules/@radix-ui/primitive": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.3.tgz",+ "integrity": "sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==","license": "MIT"},- "node_modules/@rollup/rollup-android-arm-eabi": {- "version": "4.55.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.55.1.tgz",- "integrity": "sha512-9R0DM/ykwfGIlNu6+2U09ga0WXeZ9MRC2Ter8jnz8415VbuIykVuc6bhdrbORFZANDmTDvq26mJrEVTl8TdnDg==",- "cpu": [- "arm"- ],- "dev": true,+ "node_modules/@radix-ui/react-accordion": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-accordion/-/react-accordion-1.2.12.tgz",+ "integrity": "sha512-T4nygeh9YE9dLRPhAHSeOZi7HBXo+0kYIPJXayZfvWOWA0+n3dESrZbjfDPUABkUNym6Hd+f2IR113To8D2GPA==","license": "MIT",- "optional": true,- "os": [- "android"- ]+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-collapsible": "1.1.12",+ "@radix-ui/react-collection": "1.1.7",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-controllable-state": "1.2.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }},- "node_modules/@rollup/rollup-android-arm64": {- "version": "4.55.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.55.1.tgz",- "integrity": "sha512-eFZCb1YUqhTysgW3sj/55du5cG57S7UTNtdMjCW7LwVcj3dTTcowCsC8p7uBdzKsZYa8J7IDE8lhMI+HX1vQvg==",- "cpu": [- "arm64"- ],- "dev": true,+ "node_modules/@radix-ui/react-alert-dialog": {+ "version": "1.1.15",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-alert-dialog/-/react-alert-dialog-1.1.15.tgz",+ "integrity": "sha512-oTVLkEw5GpdRe29BqJ0LSDFWI3qu0vR1M0mUkOQWDIUnY/QIkLpgDMWuKxP94c2NAC2LGcgVhG1ImF3jkZ5wXw==","license": "MIT",- "optional": true,- "os": [- "android"- ]+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-dialog": "1.1.15",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-slot": "1.2.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }},- "node_modules/@rollup/rollup-darwin-arm64": {- "version": "4.55.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.55.1.tgz",- "integrity": "sha512-p3grE2PHcQm2e8PSGZdzIhCKbMCw/xi9XvMPErPhwO17vxtvCN5FEA2mSLgmKlCjHGMQTP6phuQTYWUnKewwGg==",- "cpu": [- "arm64"- ],- "dev": true,+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==","license": "MIT",- "optional": true,- "os": [- "darwin"- ]+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }},- "node_modules/@rollup/rollup-darwin-x64": {- "version": "4.55.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.55.1.tgz",- "integrity": "sha512-rDUjG25C9qoTm+e02Esi+aqTKSBYwVTaoS1wxcN47/Luqef57Vgp96xNANwt5npq9GDxsH7kXxNkJVEsWEOEaQ==",- "cpu": [- "x64"- ],- "dev": true,+ "node_modules/@radix-ui/react-arrow": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.7.tgz",+ "integrity": "sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w==","license": "MIT",- "optional": true,- "os": [- "darwin"- ]+ "dependencies": {+ "@radix-ui/react-primitive": "2.1.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }},- "node_modules/@rollup/rollup-freebsd-arm64": {- "version": "4.55.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.55.1.tgz",- "integrity": "sha512-+JiU7Jbp5cdxekIgdte0jfcu5oqw4GCKr6i3PJTlXTCU5H5Fvtkpbs4XJHRmWNXF+hKmn4v7ogI5OQPaupJgOg==",- "cpu": [- "arm64"- ],- "dev": true,+ "node_modules/@radix-ui/react-avatar": {+ "version": "1.1.11",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-avatar/-/react-avatar-1.1.11.tgz",+ "integrity": "sha512-0Qk603AHGV28BOBO34p7IgD5m+V5Sg/YovfayABkoDDBM5d3NCx0Mp4gGrjzLGes1jV5eNOE1r3itqOR33VC6Q==","license": "MIT",- "optional": true,- "os": [- "freebsd"- ]+ "dependencies": {+ "@radix-ui/react-context": "1.1.3",+ "@radix-ui/react-primitive": "2.1.4",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-is-hydrated": "0.1.0",+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }},- "node_modules/@rollup/rollup-freebsd-x64": {- "version": "4.55.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.55.1.tgz",- "integrity": "sha512-V5xC1tOVWtLLmr3YUk2f6EJK4qksksOYiz/TCsFHu/R+woubcLWdC9nZQmwjOAbmExBIVKsm1/wKmEy4z4u4Bw==",- "cpu": [- "x64"- ],- "dev": true,+ "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.3.tgz",+ "integrity": "sha512-ieIFACdMpYfMEjF0rEf5KLvfVyIkOz6PDGyNnP+u+4xQ6jny3VCgA4OgXOwNx2aUkxn8zx9fiVcM8CfFYv9Lxw==","license": "MIT",- "optional": true,- "os": [- "freebsd"- ]+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }},- "node_modules/@rollup/rollup-linux-arm-gnueabihf": {- "version": "4.55.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.55.1.tgz",- "integrity": "sha512-Rn3n+FUk2J5VWx+ywrG/HGPTD9jXNbicRtTM11e/uorplArnXZYsVifnPPqNNP5BsO3roI4n8332ukpY/zN7rQ==",- "cpu": [- "arm"- ],- "dev": true,+ "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive": {+ "version": "2.1.4",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz",+ "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==","license": "MIT",- "optional": true,- "os": [- "linux"- ]+ "dependencies": {+ "@radix-ui/react-slot": "1.2.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }},- "node_modules/@rollup/rollup-linux-arm-musleabihf": {- "version": "4.55.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.55.1.tgz",- "integrity": "sha512-grPNWydeKtc1aEdrJDWk4opD7nFtQbMmV7769hiAaYyUKCT1faPRm2av8CX1YJsZ4TLAZcg9gTR1KvEzoLjXkg==",- "cpu": [- "arm"- ],- "dev": true,+ "node_modules/@radix-ui/react-checkbox": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-checkbox/-/react-checkbox-1.3.3.tgz",+ "integrity": "sha512-wBbpv+NQftHDdG86Qc0pIyXk5IR3tM8Vd0nWLKDcX8nNn4nXFOFwsKuqw2okA/1D/mpaAkmuyndrPJTYDNZtFw==","license": "MIT",- "optional": true,- "os": [- "linux"- ]- },- "node_modules/@rollup/rollup-linux-arm64-gnu": {- "version": "4.55.1",- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.55.1.tgz",- "integrity": "sha512-a59mwd1k6x8tXKcUxSyISiquLwB5pX+fJW9TkWU46lCqD/GRDe9uDN31jrMmVP3feI3mhAdvcCClhV8V5MhJFQ==",- "cpu": [- "arm64"- ],- "dev": true,+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "@radix-ui/react-use-previous": "1.1.1",+ "@radix-ui/react-use-size": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-collapsible": {+ "version": "1.1.12",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.1.12.tgz",+ "integrity": "sha512-Uu+mSh4agx2ib1uIGPP4/CKNULyajb3p92LsVXmH2EHVMTfZWpll88XJ0j4W0z3f8NK1eYl1+Mf/szHPmcHzyA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-collection": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.7.tgz",+ "integrity": "sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-slot": "1.2.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-compose-refs": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz",+ "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-context": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz",+ "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-dialog": {+ "version": "1.1.15",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.15.tgz",+ "integrity": "sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-dismissable-layer": "1.1.11",+ "@radix-ui/react-focus-guards": "1.1.3",+ "@radix-ui/react-focus-scope": "1.1.7",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-portal": "1.1.9",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-slot": "1.2.3",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "aria-hidden": "^1.2.4",+ "react-remove-scroll": "^2.6.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-direction": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.1.tgz",+ "integrity": "sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-dismissable-layer": {+ "version": "1.1.11",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.11.tgz",+ "integrity": "sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-escape-keydown": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-dropdown-menu": {+ "version": "2.1.16",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dropdown-menu/-/react-dropdown-menu-2.1.16.tgz",+ "integrity": "sha512-1PLGQEynI/3OX/ftV54COn+3Sud/Mn8vALg2rWnBLnRaGtJDduNW/22XjlGgPdpcIbiQxjKtb7BkcjP00nqfJw==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-menu": "2.1.16",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-controllable-state": "1.2.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-focus-guards": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.3.tgz",+ "integrity": "sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-focus-scope": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.7.tgz",+ "integrity": "sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-callback-ref": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-id": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.1.tgz",+ "integrity": "sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-label": {+ "version": "2.1.8",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-label/-/react-label-2.1.8.tgz",+ "integrity": "sha512-FmXs37I6hSBVDlO4y764TNz1rLgKwjJMQ0EGte6F3Cb3f4bIuHB/iLa/8I9VKkmOy+gNHq8rql3j686ACVV21A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-primitive": "2.1.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-primitive": {+ "version": "2.1.4",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz",+ "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-slot": "1.2.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-menu": {+ "version": "2.1.16",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-menu/-/react-menu-2.1.16.tgz",+ "integrity": "sha512-72F2T+PLlphrqLcAotYPp0uJMr5SjP5SL01wfEspJbru5Zs5vQaSHb4VB3ZMJPimgHHCHG7gMOeOB9H3Hdmtxg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-collection": "1.1.7",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-dismissable-layer": "1.1.11",+ "@radix-ui/react-focus-guards": "1.1.3",+ "@radix-ui/react-focus-scope": "1.1.7",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-popper": "1.2.8",+ "@radix-ui/react-portal": "1.1.9",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-roving-focus": "1.1.11",+ "@radix-ui/react-slot": "1.2.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "aria-hidden": "^1.2.4",+ "react-remove-scroll": "^2.6.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-popover": {+ "version": "1.1.15",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.1.15.tgz",+ "integrity": "sha512-kr0X2+6Yy/vJzLYJUPCZEc8SfQcf+1COFoAqauJm74umQhta9M7lNJHP7QQS3vkvcGLQUbWpMzwrXYwrYztHKA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-dismissable-layer": "1.1.11",+ "@radix-ui/react-focus-guards": "1.1.3",+ "@radix-ui/react-focus-scope": "1.1.7",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-popper": "1.2.8",+ "@radix-ui/react-portal": "1.1.9",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-slot": "1.2.3",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "aria-hidden": "^1.2.4",+ "react-remove-scroll": "^2.6.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-popper": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.2.8.tgz",+ "integrity": "sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw==",+ "license": "MIT",+ "dependencies": {+ "@floating-ui/react-dom": "^2.0.0",+ "@radix-ui/react-arrow": "1.1.7",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-layout-effect": "1.1.1",+ "@radix-ui/react-use-rect": "1.1.1",+ "@radix-ui/react-use-size": "1.1.1",+ "@radix-ui/rect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-portal": {+ "version": "1.1.9",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.9.tgz",+ "integrity": "sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-presence": {+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.5.tgz",+ "integrity": "sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-primitive": {+ "version": "2.1.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz",+ "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-slot": "1.2.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-progress": {+ "version": "1.1.8",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-progress/-/react-progress-1.1.8.tgz",+ "integrity": "sha512-+gISHcSPUJ7ktBy9RnTqbdKW78bcGke3t6taawyZ71pio1JewwGSJizycs7rLhGTvMJYCQB1DBK4KQsxs7U8dA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-context": "1.1.3",+ "@radix-ui/react-primitive": "2.1.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-context": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.3.tgz",+ "integrity": "sha512-ieIFACdMpYfMEjF0rEf5KLvfVyIkOz6PDGyNnP+u+4xQ6jny3VCgA4OgXOwNx2aUkxn8zx9fiVcM8CfFYv9Lxw==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive": {+ "version": "2.1.4",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz",+ "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-slot": "1.2.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-roving-focus": {+ "version": "1.1.11",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.11.tgz",+ "integrity": "sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-collection": "1.1.7",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-controllable-state": "1.2.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-scroll-area": {+ "version": "1.2.10",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-scroll-area/-/react-scroll-area-1.2.10.tgz",+ "integrity": "sha512-tAXIa1g3sM5CGpVT0uIbUx/U3Gs5N8T52IICuCtObaos1S8fzsrPXG5WObkQN3S6NVl6wKgPhAIiBGbWnvc97A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/number": "1.1.1",+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-select": {+ "version": "2.2.6",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-select/-/react-select-2.2.6.tgz",+ "integrity": "sha512-I30RydO+bnn2PQztvo25tswPH+wFBjehVGtmagkU78yMdwTwVf12wnAOF+AeP8S2N8xD+5UPbGhkUfPyvT+mwQ==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/number": "1.1.1",+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-collection": "1.1.7",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-dismissable-layer": "1.1.11",+ "@radix-ui/react-focus-guards": "1.1.3",+ "@radix-ui/react-focus-scope": "1.1.7",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-popper": "1.2.8",+ "@radix-ui/react-portal": "1.1.9",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-slot": "1.2.3",+ "@radix-ui/react-use-callback-ref": "1.1.1",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "@radix-ui/react-use-layout-effect": "1.1.1",+ "@radix-ui/react-use-previous": "1.1.1",+ "@radix-ui/react-visually-hidden": "1.2.3",+ "aria-hidden": "^1.2.4",+ "react-remove-scroll": "^2.6.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-separator": {+ "version": "1.1.8",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.8.tgz",+ "integrity": "sha512-sDvqVY4itsKwwSMEe0jtKgfTh+72Sy3gPmQpjqcQneqQ4PFmr/1I0YA+2/puilhggCe2gJcx5EBAYFkWkdpa5g==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-primitive": "2.1.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive": {+ "version": "2.1.4",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz",+ "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-slot": "1.2.4"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-slot": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.4.tgz",+ "integrity": "sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-switch": {+ "version": "1.2.6",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-switch/-/react-switch-1.2.6.tgz",+ "integrity": "sha512-bByzr1+ep1zk4VubeEVViV592vu2lHE2BZY5OnzehZqOOgogN80+mNtCqPkhn2gklJqOpxWgPoYTSnhBCqpOXQ==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "@radix-ui/react-use-previous": "1.1.1",+ "@radix-ui/react-use-size": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-tabs": {+ "version": "1.1.13",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tabs/-/react-tabs-1.1.13.tgz",+ "integrity": "sha512-7xdcatg7/U+7+Udyoj2zodtI9H/IIopqo+YOIcZOq1nJwXWBZ9p8xiu5llXlekDbZkca79a/fozEYQXIA4sW6A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-direction": "1.1.1",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-roving-focus": "1.1.11",+ "@radix-ui/react-use-controllable-state": "1.2.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-tooltip": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tooltip/-/react-tooltip-1.2.8.tgz",+ "integrity": "sha512-tY7sVt1yL9ozIxvmbtN5qtmH2krXcBCfjEiCgKGLqunJHvgvZG2Pcl2oQ3kbcZARb1BGEHdkLzcYGO8ynVlieg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/primitive": "1.1.3",+ "@radix-ui/react-compose-refs": "1.1.2",+ "@radix-ui/react-context": "1.1.2",+ "@radix-ui/react-dismissable-layer": "1.1.11",+ "@radix-ui/react-id": "1.1.1",+ "@radix-ui/react-popper": "1.2.8",+ "@radix-ui/react-portal": "1.1.9",+ "@radix-ui/react-presence": "1.1.5",+ "@radix-ui/react-primitive": "2.1.3",+ "@radix-ui/react-slot": "1.2.3",+ "@radix-ui/react-use-controllable-state": "1.2.2",+ "@radix-ui/react-visually-hidden": "1.2.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "1.1.2"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-callback-ref": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.1.tgz",+ "integrity": "sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-controllable-state": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.2.2.tgz",+ "integrity": "sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-use-effect-event": "0.0.2",+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-effect-event": {+ "version": "0.0.2",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.2.tgz",+ "integrity": "sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-escape-keydown": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.1.1.tgz",+ "integrity": "sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-use-callback-ref": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-is-hydrated": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-is-hydrated/-/react-use-is-hydrated-0.1.0.tgz",+ "integrity": "sha512-U+UORVEq+cTnRIaostJv9AGdV3G6Y+zbVd+12e18jQ5A3c0xL03IhnHuiU4UV69wolOQp5GfR58NW/EgdQhwOA==",+ "license": "MIT",+ "dependencies": {+ "use-sync-external-store": "^1.5.0"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-layout-effect": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz",+ "integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-previous": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-1.1.1.tgz",+ "integrity": "sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ==",+ "license": "MIT",+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-rect": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.1.1.tgz",+ "integrity": "sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/rect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-use-size": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.1.tgz",+ "integrity": "sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-use-layout-effect": "1.1.1"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/react-visually-hidden": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.2.3.tgz",+ "integrity": "sha512-pzJq12tEaaIhqjbzpCuv/OypJY/BPavOofm+dbab+MHLajy277+1lLm6JFcGgF5eskJ6mquGirhXY2GD/8u8Ug==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-primitive": "2.1.3"+ },+ "peerDependencies": {+ "@types/react": "*",+ "@types/react-dom": "*",+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "@types/react-dom": {+ "optional": true+ }+ }+ },+ "node_modules/@radix-ui/rect": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.1.tgz",+ "integrity": "sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==",+ "license": "MIT"+ },+ "node_modules/@remix-run/router": {+ "version": "1.23.2",+ "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.23.2.tgz",+ "integrity": "sha512-Ic6m2U/rMjTkhERIa/0ZtXJP17QUi2CbWE7cqx4J58M8aA3QTfW+2UlQ4psvTX9IO1RfNVhK3pcpdjej7L+t2w==",+ "license": "MIT",+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/@rolldown/pluginutils": {+ "version": "1.0.0-beta.27",+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz",+ "integrity": "sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@rollup/rollup-android-arm-eabi": {+ "version": "4.55.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.55.1.tgz",+ "integrity": "sha512-9R0DM/ykwfGIlNu6+2U09ga0WXeZ9MRC2Ter8jnz8415VbuIykVuc6bhdrbORFZANDmTDvq26mJrEVTl8TdnDg==",+ "cpu": [+ "arm"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "android"+ ]+ },+ "node_modules/@rollup/rollup-android-arm64": {+ "version": "4.55.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.55.1.tgz",+ "integrity": "sha512-eFZCb1YUqhTysgW3sj/55du5cG57S7UTNtdMjCW7LwVcj3dTTcowCsC8p7uBdzKsZYa8J7IDE8lhMI+HX1vQvg==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "android"+ ]+ },+ "node_modules/@rollup/rollup-darwin-arm64": {+ "version": "4.55.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.55.1.tgz",+ "integrity": "sha512-p3grE2PHcQm2e8PSGZdzIhCKbMCw/xi9XvMPErPhwO17vxtvCN5FEA2mSLgmKlCjHGMQTP6phuQTYWUnKewwGg==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ]+ },+ "node_modules/@rollup/rollup-darwin-x64": {+ "version": "4.55.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.55.1.tgz",+ "integrity": "sha512-rDUjG25C9qoTm+e02Esi+aqTKSBYwVTaoS1wxcN47/Luqef57Vgp96xNANwt5npq9GDxsH7kXxNkJVEsWEOEaQ==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ]+ },+ "node_modules/@rollup/rollup-freebsd-arm64": {+ "version": "4.55.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.55.1.tgz",+ "integrity": "sha512-+JiU7Jbp5cdxekIgdte0jfcu5oqw4GCKr6i3PJTlXTCU5H5Fvtkpbs4XJHRmWNXF+hKmn4v7ogI5OQPaupJgOg==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "freebsd"+ ]+ },+ "node_modules/@rollup/rollup-freebsd-x64": {+ "version": "4.55.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.55.1.tgz",+ "integrity": "sha512-V5xC1tOVWtLLmr3YUk2f6EJK4qksksOYiz/TCsFHu/R+woubcLWdC9nZQmwjOAbmExBIVKsm1/wKmEy4z4u4Bw==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "freebsd"+ ]+ },+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {+ "version": "4.55.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.55.1.tgz",+ "integrity": "sha512-Rn3n+FUk2J5VWx+ywrG/HGPTD9jXNbicRtTM11e/uorplArnXZYsVifnPPqNNP5BsO3roI4n8332ukpY/zN7rQ==",+ "cpu": [+ "arm"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {+ "version": "4.55.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.55.1.tgz",+ "integrity": "sha512-grPNWydeKtc1aEdrJDWk4opD7nFtQbMmV7769hiAaYyUKCT1faPRm2av8CX1YJsZ4TLAZcg9gTR1KvEzoLjXkg==",+ "cpu": [+ "arm"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@rollup/rollup-linux-arm64-gnu": {+ "version": "4.55.1",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.55.1.tgz",+ "integrity": "sha512-a59mwd1k6x8tXKcUxSyISiquLwB5pX+fJW9TkWU46lCqD/GRDe9uDN31jrMmVP3feI3mhAdvcCClhV8V5MhJFQ==",+ "cpu": [+ "arm64"+ ],"license": "MIT","optional": true,"os": [@@ -1433,7 +2763,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1447,7 +2776,6 @@"cpu": ["loong64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1461,7 +2789,6 @@"cpu": ["loong64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1475,7 +2802,6 @@"cpu": ["ppc64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1489,7 +2815,6 @@"cpu": ["ppc64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1503,7 +2828,6 @@"cpu": ["riscv64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1517,7 +2841,6 @@"cpu": ["riscv64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1531,7 +2854,6 @@"cpu": ["s390x"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1545,7 +2867,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1559,7 +2880,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1573,7 +2893,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1587,7 +2906,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1601,7 +2919,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1615,7 +2932,6 @@"cpu": ["ia32"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -1629,30 +2945,287 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": ["win32"- ]+ ]+ },+ "node_modules/@rollup/rollup-win32-x64-msvc": {+ "version": "4.60.0",+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.0.tgz",+ "integrity": "sha512-PrsWNQ8BuE00O3Xsx3ALh2Df8fAj9+cvvX9AIA6o4KpATR98c9mud4XtDWVvsEuyia5U4tVSTKygawyJkjm60w==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ]+ },+ "node_modules/@socket.io/component-emitter": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz",+ "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==",+ "license": "MIT"+ },+ "node_modules/@tailwindcss/node": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.2.4.tgz",+ "integrity": "sha512-Ai7+yQPxz3ddrDQzFfBKdHEVBg0w3Zl83jnjuwxnZOsnH9pGn93QHQtpU0p/8rYWxvbFZHneni6p1BSLK4DkGA==",+ "license": "MIT",+ "dependencies": {+ "@jridgewell/remapping": "^2.3.5",+ "enhanced-resolve": "^5.19.0",+ "jiti": "^2.6.1",+ "lightningcss": "1.32.0",+ "magic-string": "^0.30.21",+ "source-map-js": "^1.2.1",+ "tailwindcss": "4.2.4"+ }+ },+ "node_modules/@tailwindcss/oxide": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.2.4.tgz",+ "integrity": "sha512-9El/iI069DKDSXwTvB9J4BwdO5JhRrOweGaK25taBAvBXyXqJAX+Jqdvs8r8gKpsI/1m0LeJLyQYTf/WLrBT1Q==",+ "license": "MIT",+ "engines": {+ "node": ">= 20"+ },+ "optionalDependencies": {+ "@tailwindcss/oxide-android-arm64": "4.2.4",+ "@tailwindcss/oxide-darwin-arm64": "4.2.4",+ "@tailwindcss/oxide-darwin-x64": "4.2.4",+ "@tailwindcss/oxide-freebsd-x64": "4.2.4",+ "@tailwindcss/oxide-linux-arm-gnueabihf": "4.2.4",+ "@tailwindcss/oxide-linux-arm64-gnu": "4.2.4",+ "@tailwindcss/oxide-linux-arm64-musl": "4.2.4",+ "@tailwindcss/oxide-linux-x64-gnu": "4.2.4",+ "@tailwindcss/oxide-linux-x64-musl": "4.2.4",+ "@tailwindcss/oxide-wasm32-wasi": "4.2.4",+ "@tailwindcss/oxide-win32-arm64-msvc": "4.2.4",+ "@tailwindcss/oxide-win32-x64-msvc": "4.2.4"+ }+ },+ "node_modules/@tailwindcss/oxide-android-arm64": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.2.4.tgz",+ "integrity": "sha512-e7MOr1SAn9U8KlZzPi1ZXGZHeC5anY36qjNwmZv9pOJ8E4Q6jmD1vyEHkQFmNOIN7twGPEMXRHmitN4zCMN03g==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "android"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-darwin-arm64": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.2.4.tgz",+ "integrity": "sha512-tSC/Kbqpz/5/o/C2sG7QvOxAKqyd10bq+ypZNf+9Fi2TvbVbv1zNpcEptcsU7DPROaSbVgUXmrzKhurFvo5eDg==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-darwin-x64": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.2.4.tgz",+ "integrity": "sha512-yPyUXn3yO/ufR6+Kzv0t4fCg2qNr90jxXc5QqBpjlPNd0NqyDXcmQb/6weunH/MEDXW5dhyEi+agTDiqa3WsGg==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-freebsd-x64": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.2.4.tgz",+ "integrity": "sha512-BoMIB4vMQtZsXdGLVc2z+P9DbETkiopogfWZKbWwM8b/1Vinbs4YcUwo+kM/KeLkX3Ygrf4/PsRndKaYhS8Eiw==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "freebsd"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.2.4.tgz",+ "integrity": "sha512-7pIHBLTHYRAlS7V22JNuTh33yLH4VElwKtB3bwchK/UaKUPpQ0lPQiOWcbm4V3WP2I6fNIJ23vABIvoy2izdwA==",+ "cpu": [+ "arm"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-linux-arm64-gnu": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.2.4.tgz",+ "integrity": "sha512-+E4wxJ0ZGOzSH325reXTWB48l42i93kQqMvDyz5gqfRzRZ7faNhnmvlV4EPGJU3QJM/3Ab5jhJ5pCRUsKn6OQw==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-linux-arm64-musl": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.2.4.tgz",+ "integrity": "sha512-bBADEGAbo4ASnppIziaQJelekCxdMaxisrk+fB7Thit72IBnALp9K6ffA2G4ruj90G9XRS2VQ6q2bCKbfFV82g==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-linux-x64-gnu": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.2.4.tgz",+ "integrity": "sha512-7Mx25E4WTfnht0TVRTyC00j3i0M+EeFe7wguMDTlX4mRxafznw0CA8WJkFjWYH5BlgELd1kSjuU2JiPnNZbJDA==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-linux-x64-musl": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.2.4.tgz",+ "integrity": "sha512-2wwJRF7nyhOR0hhHoChc04xngV3iS+akccHTGtz965FwF0up4b2lOdo6kI1EbDaEXKgvcrFBYcYQQ/rrnWFVfA==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 20"+ }+ },+ "node_modules/@tailwindcss/oxide-wasm32-wasi": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.2.4.tgz",+ "integrity": "sha512-FQsqApeor8Fo6gUEklzmaa9994orJZZDBAlQpK2Mq+DslRKFJeD6AjHpBQ0kZFQohVr8o85PPh8eOy86VlSCmw==",+ "bundleDependencies": [+ "@napi-rs/wasm-runtime",+ "@emnapi/core",+ "@emnapi/runtime",+ "@tybys/wasm-util",+ "@emnapi/wasi-threads",+ "tslib"+ ],+ "cpu": [+ "wasm32"+ ],+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "@emnapi/core": "^1.8.1",+ "@emnapi/runtime": "^1.8.1",+ "@emnapi/wasi-threads": "^1.1.0",+ "@napi-rs/wasm-runtime": "^1.1.1",+ "@tybys/wasm-util": "^0.10.1",+ "tslib": "^2.8.1"+ },+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/@tailwindcss/oxide-win32-arm64-msvc": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.2.4.tgz",+ "integrity": "sha512-L9BXqxC4ToVgwMFqj3pmZRqyHEztulpUJzCxUtLjobMCzTPsGt1Fa9enKbOpY2iIyVtaHNeNvAK8ERP/64sqGQ==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 20"+ }},- "node_modules/@rollup/rollup-win32-x64-msvc": {- "version": "4.60.0",- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.0.tgz",- "integrity": "sha512-PrsWNQ8BuE00O3Xsx3ALh2Df8fAj9+cvvX9AIA6o4KpATR98c9mud4XtDWVvsEuyia5U4tVSTKygawyJkjm60w==",+ "node_modules/@tailwindcss/oxide-win32-x64-msvc": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.2.4.tgz",+ "integrity": "sha512-ESlKG0EpVJQwRjXDDa9rLvhEAh0mhP1sF7sap9dNZT0yyl9SAG6T7gdP09EH0vIv0UNTlo6jPWyujD6559fZvw==","cpu": ["x64"],"license": "MIT",+ "optional": true,"os": ["win32"- ]+ ],+ "engines": {+ "node": ">= 20"+ }},- "node_modules/@socket.io/component-emitter": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz",- "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==",- "license": "MIT"+ "node_modules/@tailwindcss/vite": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.2.4.tgz",+ "integrity": "sha512-pCvohwOCspk3ZFn6eJzrrX3g4n2JY73H6MmYC87XfGPyTty4YsCjYTMArRZm/zOI8dIt3+EcrLHAFPe5A4bgtw==",+ "license": "MIT",+ "dependencies": {+ "@tailwindcss/node": "4.2.4",+ "@tailwindcss/oxide": "4.2.4",+ "tailwindcss": "4.2.4"+ },+ "peerDependencies": {+ "vite": "^5.2.0 || ^6 || ^7 || ^8"+ }},"node_modules/@types/babel__core": {"version": "7.20.5",@@ -1800,7 +3373,6 @@"version": "1.0.8","resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz","integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",- "dev": true,"license": "MIT"},"node_modules/@types/json-schema": {@@ -1832,7 +3404,7 @@"version": "18.3.7","resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz","integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==",- "dev": true,+ "devOptional": true,"license": "MIT","peerDependencies": {"@types/react": "^18.0.0"@@ -1978,6 +3550,18 @@"dev": true,"license": "Python-2.0"},+ "node_modules/aria-hidden": {+ "version": "1.2.6",+ "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz",+ "integrity": "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==",+ "license": "MIT",+ "dependencies": {+ "tslib": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ }+ },"node_modules/array-buffer-byte-length": {"version": "1.0.2","resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz",@@ -2306,7 +3890,7 @@"version": "4.0.3","resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz","integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"readdirp": "^4.0.1"@@ -2318,6 +3902,18 @@"url": "https://paulmillr.com/funding/"}},+ "node_modules/class-variance-authority": {+ "version": "0.7.1",+ "resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.7.1.tgz",+ "integrity": "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==",+ "license": "Apache-2.0",+ "dependencies": {+ "clsx": "^2.1.1"+ },+ "funding": {+ "url": "https://polar.sh/cva"+ }+ },"node_modules/classcat": {"version": "5.0.5","resolved": "https://registry.npmjs.org/classcat/-/classcat-5.0.5.tgz",@@ -2333,6 +3929,22 @@"node": ">=6"}},+ "node_modules/cmdk": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/cmdk/-/cmdk-1.1.1.tgz",+ "integrity": "sha512-Vsv7kFaXm+ptHDMZ7izaRsP70GgrW9NBNGswt9OZaVBLlE0SNpDq8eu/VGXyF9r7M0azK3Wy7OlYXsuyYLFzHg==",+ "license": "MIT",+ "dependencies": {+ "@radix-ui/react-compose-refs": "^1.1.1",+ "@radix-ui/react-dialog": "^1.1.6",+ "@radix-ui/react-id": "^1.1.0",+ "@radix-ui/react-primitive": "^2.0.2"+ },+ "peerDependencies": {+ "react": "^18 || ^19 || ^19.0.0-rc",+ "react-dom": "^18 || ^19 || ^19.0.0-rc"+ }+ },"node_modules/color-convert": {"version": "2.0.1","resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",@@ -2699,13 +4311,17 @@"version": "2.1.2","resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz","integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",- "dev": true,"license": "Apache-2.0",- "optional": true,"engines": {"node": ">=8"}},+ "node_modules/detect-node-es": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz",+ "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==",+ "license": "MIT"+ },"node_modules/doctrine": {"version": "2.1.0","resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",@@ -2773,6 +4389,19 @@"node": ">=10.0.0"}},+ "node_modules/enhanced-resolve": {+ "version": "5.21.0",+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.21.0.tgz",+ "integrity": "sha512-otxSQPw4lkOZWkHpB3zaEQs6gWYEsmX4xQF68ElXC/TWvGxGMSGOvoNbaLXm6/cS/fSfHtsEdw90y20PCd+sCA==",+ "license": "MIT",+ "dependencies": {+ "graceful-fs": "^4.2.4",+ "tapable": "^2.3.3"+ },+ "engines": {+ "node": ">=10.13.0"+ }+ },"node_modules/es-abstract": {"version": "1.24.1","resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.1.tgz",@@ -2954,7 +4583,6 @@"version": "0.21.5","resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz","integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",- "dev": true,"hasInstallScript": true,"license": "MIT","bin": {@@ -3329,7 +4957,6 @@"version": "2.3.3","resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz","integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",- "dev": true,"hasInstallScript": true,"license": "MIT","optional": true,@@ -3426,6 +5053,15 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/get-nonce": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz",+ "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },"node_modules/get-proto": {"version": "1.0.1","resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",@@ -3514,6 +5150,12 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/graceful-fs": {+ "version": "4.2.11",+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",+ "license": "ISC"+ },"node_modules/has-bigints": {"version": "1.1.0","resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz",@@ -3622,7 +5264,7 @@"version": "5.1.5","resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.5.tgz","integrity": "sha512-t7xcm2siw+hlUM68I+UEOK+z84RzmN59as9DZ7P1l0994DKUWV7UXBMQZVxaoMSRQ+PBZbHCOoBt7a2wxOMt+A==",- "dev": true,+ "devOptional": true,"license": "MIT"},"node_modules/import-fresh": {@@ -3815,7 +5457,7 @@"version": "2.1.1","resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz","integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",- "dev": true,+ "devOptional": true,"license": "MIT","engines": {"node": ">=0.10.0"@@ -3861,7 +5503,7 @@"version": "4.0.3","resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz","integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"is-extglob": "^2.1.1"@@ -4090,6 +5732,15 @@"node": ">= 0.4"}},+ "node_modules/jiti": {+ "version": "2.6.1",+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz",+ "integrity": "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==",+ "license": "MIT",+ "bin": {+ "jiti": "lib/jiti-cli.mjs"+ }+ },"node_modules/js-tokens": {"version": "4.0.0","resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",@@ -4105,95 +5756,344 @@"dependencies": {"argparse": "^2.0.1"},- "bin": {- "js-yaml": "bin/js-yaml.js"+ "bin": {+ "js-yaml": "bin/js-yaml.js"+ }+ },+ "node_modules/jsesc": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",+ "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",+ "dev": true,+ "license": "MIT",+ "bin": {+ "jsesc": "bin/jsesc"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/json-buffer": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/json-schema-traverse": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/json-stable-stringify-without-jsonify": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/json5": {+ "version": "2.2.3",+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",+ "dev": true,+ "license": "MIT",+ "bin": {+ "json5": "lib/cli.js"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/jsx-ast-utils": {+ "version": "3.3.5",+ "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz",+ "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "array-includes": "^3.1.6",+ "array.prototype.flat": "^1.3.1",+ "object.assign": "^4.1.4",+ "object.values": "^1.1.6"+ },+ "engines": {+ "node": ">=4.0"+ }+ },+ "node_modules/keyv": {+ "version": "4.5.4",+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",+ "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "json-buffer": "3.0.1"+ }+ },+ "node_modules/levn": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "prelude-ls": "^1.2.1",+ "type-check": "~0.4.0"+ },+ "engines": {+ "node": ">= 0.8.0"+ }+ },+ "node_modules/lightningcss": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",+ "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",+ "license": "MPL-2.0",+ "dependencies": {+ "detect-libc": "^2.0.3"+ },+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ },+ "optionalDependencies": {+ "lightningcss-android-arm64": "1.32.0",+ "lightningcss-darwin-arm64": "1.32.0",+ "lightningcss-darwin-x64": "1.32.0",+ "lightningcss-freebsd-x64": "1.32.0",+ "lightningcss-linux-arm-gnueabihf": "1.32.0",+ "lightningcss-linux-arm64-gnu": "1.32.0",+ "lightningcss-linux-arm64-musl": "1.32.0",+ "lightningcss-linux-x64-gnu": "1.32.0",+ "lightningcss-linux-x64-musl": "1.32.0",+ "lightningcss-win32-arm64-msvc": "1.32.0",+ "lightningcss-win32-x64-msvc": "1.32.0"+ }+ },+ "node_modules/lightningcss-android-arm64": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz",+ "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==",+ "cpu": [+ "arm64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "android"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-darwin-arm64": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",+ "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",+ "cpu": [+ "arm64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-darwin-x64": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz",+ "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==",+ "cpu": [+ "x64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-freebsd-x64": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz",+ "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==",+ "cpu": [+ "x64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "freebsd"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-linux-arm-gnueabihf": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz",+ "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==",+ "cpu": [+ "arm"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-linux-arm64-gnu": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz",+ "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==",+ "cpu": [+ "arm64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"}},- "node_modules/jsesc": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",- "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",- "dev": true,- "license": "MIT",- "bin": {- "jsesc": "bin/jsesc"- },+ "node_modules/lightningcss-linux-arm64-musl": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz",+ "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==",+ "cpu": [+ "arm64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],"engines": {- "node": ">=6"+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"}},- "node_modules/json-buffer": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",- "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",- "dev": true,- "license": "MIT"- },- "node_modules/json-schema-traverse": {- "version": "0.4.1",- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",- "dev": true,- "license": "MIT"- },- "node_modules/json-stable-stringify-without-jsonify": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",- "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",- "dev": true,- "license": "MIT"- },- "node_modules/json5": {- "version": "2.2.3",- "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",- "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",- "dev": true,- "license": "MIT",- "bin": {- "json5": "lib/cli.js"- },+ "node_modules/lightningcss-linux-x64-gnu": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz",+ "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==",+ "cpu": [+ "x64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],"engines": {- "node": ">=6"+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"}},- "node_modules/jsx-ast-utils": {- "version": "3.3.5",- "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz",- "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "array-includes": "^3.1.6",- "array.prototype.flat": "^1.3.1",- "object.assign": "^4.1.4",- "object.values": "^1.1.6"- },+ "node_modules/lightningcss-linux-x64-musl": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz",+ "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==",+ "cpu": [+ "x64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],"engines": {- "node": ">=4.0"+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"}},- "node_modules/keyv": {- "version": "4.5.4",- "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",- "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",- "dev": true,- "license": "MIT",- "dependencies": {- "json-buffer": "3.0.1"+ "node_modules/lightningcss-win32-arm64-msvc": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz",+ "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==",+ "cpu": [+ "arm64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"}},- "node_modules/levn": {- "version": "0.4.1",- "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",- "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "prelude-ls": "^1.2.1",- "type-check": "~0.4.0"- },+ "node_modules/lightningcss-win32-x64-msvc": {+ "version": "1.32.0",+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",+ "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==",+ "cpu": [+ "x64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "win32"+ ],"engines": {- "node": ">= 0.8.0"+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"}},"node_modules/locate-path": {@@ -4256,6 +6156,15 @@"react": "^16.5.1 || ^17.0.0 || ^18.0.0"}},+ "node_modules/magic-string": {+ "version": "0.30.21",+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",+ "license": "MIT",+ "dependencies": {+ "@jridgewell/sourcemap-codec": "^1.5.5"+ }+ },"node_modules/math-intrinsics": {"version": "1.1.0","resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",@@ -4289,7 +6198,6 @@"version": "3.3.11","resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz","integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",- "dev": true,"funding": [{"type": "github",@@ -4315,7 +6223,6 @@"version": "7.1.1","resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz","integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==",- "dev": true,"license": "MIT","optional": true},@@ -4545,14 +6452,12 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz","integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",- "dev": true,"license": "ISC"},"node_modules/picomatch": {"version": "4.0.4","resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz","integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",- "dev": true,"license": "MIT","optional": true,"engines": {@@ -4576,7 +6481,6 @@"version": "8.5.6","resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz","integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==",- "dev": true,"funding": [{"type": "opencollective",@@ -4673,6 +6577,53 @@"node": ">=0.10.0"}},+ "node_modules/react-remove-scroll": {+ "version": "2.7.2",+ "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.2.tgz",+ "integrity": "sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==",+ "license": "MIT",+ "dependencies": {+ "react-remove-scroll-bar": "^2.3.7",+ "react-style-singleton": "^2.2.3",+ "tslib": "^2.1.0",+ "use-callback-ref": "^1.3.3",+ "use-sidecar": "^1.1.3"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/react-remove-scroll-bar": {+ "version": "2.3.8",+ "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.8.tgz",+ "integrity": "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==",+ "license": "MIT",+ "dependencies": {+ "react-style-singleton": "^2.2.2",+ "tslib": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },"node_modules/react-router": {"version": "6.30.3","resolved": "https://registry.npmjs.org/react-router/-/react-router-6.30.3.tgz",@@ -4720,6 +6671,28 @@"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"}},+ "node_modules/react-style-singleton": {+ "version": "2.2.3",+ "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.3.tgz",+ "integrity": "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==",+ "license": "MIT",+ "dependencies": {+ "get-nonce": "^1.0.0",+ "tslib": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },"node_modules/react-transition-group": {"version": "4.4.5","resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz",@@ -4740,7 +6713,7 @@"version": "4.1.2","resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz","integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==",- "dev": true,+ "devOptional": true,"license": "MIT","engines": {"node": ">= 14.18.0"@@ -4864,7 +6837,6 @@"version": "4.55.1","resolved": "https://registry.npmjs.org/rollup/-/rollup-4.55.1.tgz","integrity": "sha512-wDv/Ht1BNHB4upNbK74s9usvl7hObDnvVzknxqY/E/O3X6rW1U1rV1aENEfJ54eFZDTNo7zv1f5N4edCluH7+A==",- "dev": true,"license": "MIT","dependencies": {"@types/estree": "1.0.8"@@ -4912,7 +6884,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -4978,7 +6949,7 @@"version": "1.98.0","resolved": "https://registry.npmjs.org/sass/-/sass-1.98.0.tgz","integrity": "sha512-+4N/u9dZ4PrgzGgPlKnaaRQx64RO0JBKs9sDhQ2pLgN6JQZ25uPQZKQYaBJU48Kd5BxgXoJ4e09Dq7nMcOUW3A==",- "dev": true,+ "devOptional": true,"license": "MIT","dependencies": {"chokidar": "^4.0.0",@@ -5190,11 +7161,20 @@"node": ">=10.0.0"}},+ "node_modules/sonner": {+ "version": "2.0.7",+ "resolved": "https://registry.npmjs.org/sonner/-/sonner-2.0.7.tgz",+ "integrity": "sha512-W6ZN4p58k8aDKA4XPcx2hpIQXBRAgyiWVkYhT7CvK6D3iAu7xjvVyhQHg2/iaKJZ1XVJ4r7XuwGL+WGEK37i9w==",+ "license": "MIT",+ "peerDependencies": {+ "react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc",+ "react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc"+ }+ },"node_modules/source-map-js": {"version": "1.2.1","resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz","integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",- "dev": true,"license": "BSD-3-Clause","engines": {"node": ">=0.10.0"@@ -5351,12 +7331,56 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/tailwind-merge": {+ "version": "3.5.0",+ "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.5.0.tgz",+ "integrity": "sha512-I8K9wewnVDkL1NTGoqWmVEIlUcB9gFriAEkXkfCjX5ib8ezGxtR3xD7iZIxrfArjEsH7F1CHD4RFUtxefdqV/A==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/dcastil"+ }+ },+ "node_modules/tailwindcss": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.2.4.tgz",+ "integrity": "sha512-HhKppgO81FQof5m6TEnuBWCZGgfRAWbaeOaGT00KOy/Pf/j6oUihdvBpA7ltCeAvZpFhW3j0PTclkxsd4IXYDA==",+ "license": "MIT"+ },+ "node_modules/tailwindcss-animate": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/tailwindcss-animate/-/tailwindcss-animate-1.0.7.tgz",+ "integrity": "sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==",+ "license": "MIT",+ "peerDependencies": {+ "tailwindcss": ">=3.0.0 || insiders"+ }+ },+ "node_modules/tapable": {+ "version": "2.3.3",+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz",+ "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/webpack"+ }+ },"node_modules/tiny-invariant": {"version": "1.3.3","resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz","integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==","license": "MIT"},+ "node_modules/tslib": {+ "version": "2.8.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",+ "license": "0BSD"+ },"node_modules/type-check": {"version": "0.4.0","resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",@@ -5508,6 +7532,49 @@"punycode": "^2.1.0"}},+ "node_modules/use-callback-ref": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz",+ "integrity": "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==",+ "license": "MIT",+ "dependencies": {+ "tslib": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },+ "node_modules/use-sidecar": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.3.tgz",+ "integrity": "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==",+ "license": "MIT",+ "dependencies": {+ "detect-node-es": "^1.1.0",+ "tslib": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "peerDependencies": {+ "@types/react": "*",+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ }+ }+ },"node_modules/use-sync-external-store": {"version": "1.6.0","resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz",@@ -5543,7 +7610,6 @@"version": "5.4.21","resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz","integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==",- "dev": true,"license": "MIT","dependencies": {"esbuild": "^0.21.3",diff --git a/frontend/package.json b/frontend/package.jsonindex 31f83ab4..33361945 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -13,16 +13,40 @@"@rollup/rollup-win32-x64-msvc": "^4.60.0"},"dependencies": {+ "@radix-ui/react-accordion": "^1.2.12",+ "@radix-ui/react-alert-dialog": "^1.1.15",+ "@radix-ui/react-avatar": "^1.1.11",+ "@radix-ui/react-checkbox": "^1.3.3",+ "@radix-ui/react-dialog": "^1.1.15",+ "@radix-ui/react-dropdown-menu": "^2.1.16",+ "@radix-ui/react-label": "^2.1.8",+ "@radix-ui/react-popover": "^1.1.15",+ "@radix-ui/react-progress": "^1.1.8",+ "@radix-ui/react-scroll-area": "^1.2.10",+ "@radix-ui/react-select": "^2.2.6",+ "@radix-ui/react-separator": "^1.1.8",+ "@radix-ui/react-slot": "^1.2.4",+ "@radix-ui/react-switch": "^1.2.6",+ "@radix-ui/react-tabs": "^1.1.13",+ "@radix-ui/react-tooltip": "^1.2.8",+ "@tailwindcss/vite": "^4.2.4","@xterm/addon-fit": "^0.10.0","@xterm/addon-web-links": "^0.11.0","@xterm/xterm": "^5.5.0","@xyflow/react": "^12.10.0",+ "class-variance-authority": "^0.7.1",+ "clsx": "^2.1.1",+ "cmdk": "^1.1.1","lucide-react": "^0.363.0","react": "^18.3.1","react-dom": "^18.3.1","react-router-dom": "^6.22.3","recharts": "^2.12.3",- "socket.io-client": "^4.7.2"+ "socket.io-client": "^4.7.2",+ "sonner": "^2.0.7",+ "tailwind-merge": "^3.5.0",+ "tailwindcss": "^4.2.4",+ "tailwindcss-animate": "^1.0.7"},"devDependencies": {"@types/react": "^18.3.3",diff --git a/frontend/src/App.jsx b/frontend/src/App.jsxindex 08b61c95..cb8cbdbc 100644--- a/frontend/src/App.jsx+++ b/frontend/src/App.jsx@@ -4,7 +4,7 @@ import { AuthProvider, useAuth } from './contexts/AuthContext';import { ToastProvider } from './contexts/ToastContext';import { ThemeProvider } from './contexts/ThemeContext';import { ResourceTierProvider } from './contexts/ResourceTierContext';-import { ToastContainer } from './components/Toast';+import { Toaster } from './components/ui/sonner';import DashboardLayout from './layouts/DashboardLayout';import Dashboard from './pages/Dashboard';import Login from './pages/Login';@@ -272,7 +272,7 @@ function App() {<ResourceTierProvider><ToastProvider><AppRoutes />- <ToastContainer />+ <Toaster /></ToastProvider></ResourceTierProvider></AuthProvider>diff --git a/frontend/src/components/ConfirmDialog.jsx b/frontend/src/components/ConfirmDialog.jsxindex 3e2e4b59..2d35b22c 100644--- a/frontend/src/components/ConfirmDialog.jsx+++ b/frontend/src/components/ConfirmDialog.jsx@@ -1,99 +1,82 @@-import React, { useState, useEffect } from 'react';+import { useState, useEffect } from 'react';import { AlertTriangle, Info, AlertCircle } from 'lucide-react';+import {+ AlertDialog,+ AlertDialogContent,+ AlertDialogHeader,+ AlertDialogTitle,+ AlertDialogDescription,+ AlertDialogFooter,+ AlertDialogCancel,+ AlertDialogAction,+} from '@/components/ui/alert-dialog';+import { Input } from '@/components/ui/input';+import { Label } from '@/components/ui/label';+import { cn } from '@/lib/utils';-const iconMap = {- danger: AlertTriangle,- warning: AlertCircle,- info: Info-};+const iconMap = { danger: AlertTriangle, warning: AlertCircle, info: Info };+const iconColor = { danger: 'text-destructive', warning: 'text-yellow-400', info: 'text-blue-400' };export function ConfirmDialog({- isOpen,- title,- message,- details,- confirmText = 'Confirm',- cancelText = 'Cancel',- variant = 'danger',- requireConfirmation,- confirmationPlaceholder,- onConfirm,- onCancel+ isOpen,+ title,+ message,+ details,+ confirmText = 'Confirm',+ cancelText = 'Cancel',+ variant = 'danger',+ requireConfirmation,+ confirmationPlaceholder,+ onConfirm,+ onCancel,}) {- const [inputValue, setInputValue] = useState('');+ const [inputValue, setInputValue] = useState('');- // Reset input when dialog opens/closes- useEffect(() => {- if (isOpen) {- setInputValue('');- }- }, [isOpen]);+ useEffect(() => { if (isOpen) setInputValue(''); }, [isOpen]);- if (!isOpen) return null;+ const Icon = iconMap[variant] || AlertTriangle;+ const isConfirmDisabled = requireConfirmation && inputValue !== requireConfirmation;- const Icon = iconMap[variant] || AlertTriangle;- const isConfirmDisabled = requireConfirmation && inputValue !== requireConfirmation;-- function handleConfirm() {- if (!isConfirmDisabled) {- onConfirm();- }- }-- function handleKeyDown(e) {- if (e.key === 'Enter' && !isConfirmDisabled) {- handleConfirm();- }- }-- return (- <div className="modal-overlay" onClick={onCancel}>- <div className="modal confirm-dialog" onClick={e => e.stopPropagation()}>- <div className="confirm-dialog-content">- <div className={`confirm-dialog-icon confirm-dialog-icon-${variant}`}>- <Icon size={32} />- </div>- <h2 className="confirm-dialog-title">{title}</h2>- <p className="confirm-dialog-message">{message}</p>- {details && (- <div className="confirm-dialog-details">- {details}- </div>- )}- {requireConfirmation && (- <div className="confirm-dialog-input">- <label>- Type <strong>{requireConfirmation}</strong> to confirm:- </label>- <input- type="text"- value={inputValue}- onChange={(e) => setInputValue(e.target.value)}- onKeyDown={handleKeyDown}- placeholder={confirmationPlaceholder || requireConfirmation}- autoFocus- />- </div>- )}- </div>- <div className="confirm-dialog-actions">- <button- className="btn btn-secondary"- onClick={onCancel}- >- {cancelText}- </button>- <button- className={`btn btn-${variant === 'danger' ? 'danger' : 'primary'}`}- onClick={handleConfirm}- disabled={isConfirmDisabled}- >- {confirmText}- </button>- </div>+ return (+ <AlertDialog open={isOpen} onOpenChange={(v) => !v && onCancel()}>+ <AlertDialogContent>+ <AlertDialogHeader>+ <div className="flex flex-col items-center gap-3 text-center">+ <div className={cn('mb-1', iconColor[variant] || 'text-destructive')}>+ <Icon size={32} /></div>- </div>- );+ <AlertDialogTitle>{title}</AlertDialogTitle>+ {message && <AlertDialogDescription>{message}</AlertDialogDescription>}+ {details && <p className="text-sm text-muted-foreground">{details}</p>}+ {requireConfirmation && (+ <div className="w-full text-left mt-2 space-y-1.5">+ <Label className="text-muted-foreground">+ Type <strong className="text-foreground">{requireConfirmation}</strong> to confirm:+ </Label>+ <Input+ value={inputValue}+ onChange={(e) => setInputValue(e.target.value)}+ onKeyDown={(e) => e.key === 'Enter' && !isConfirmDisabled && onConfirm()}+ placeholder={confirmationPlaceholder || requireConfirmation}+ autoFocus+ />+ </div>+ )}+ </div>+ </AlertDialogHeader>+ <AlertDialogFooter>+ <AlertDialogCancel onClick={onCancel}>{cancelText}</AlertDialogCancel>+ <AlertDialogAction+ onClick={onConfirm}+ disabled={isConfirmDisabled}+ className={cn(variant !== 'danger' && 'bg-primary hover:bg-primary/90')}+ >+ {confirmText}+ </AlertDialogAction>+ </AlertDialogFooter>+ </AlertDialogContent>+ </AlertDialog>+ );}export default ConfirmDialog;diff --git a/frontend/src/components/Modal.jsx b/frontend/src/components/Modal.jsxindex 3fc20ca3..a46cee11 100644--- a/frontend/src/components/Modal.jsx+++ b/frontend/src/components/Modal.jsx@@ -1,51 +1,24 @@-import { useEffect, useRef } from 'react';+import {+ Dialog,+ DialogContent,+ DialogHeader,+ DialogTitle,+ DialogFooter,+} from '@/components/ui/dialog';+import { cn } from '@/lib/utils';export default function Modal({ open, onClose, title, children, footer, className = '', size = '' }) {- const modalRef = useRef(null);-- // Close on Escape key- useEffect(() => {- if (!open) return;- const handleKeyDown = (e) => {- if (e.key === 'Escape') onClose();- };- document.addEventListener('keydown', handleKeyDown);- return () => document.removeEventListener('keydown', handleKeyDown);- }, [open, onClose]);-- // Focus trap: focus the modal when it opens- useEffect(() => {- if (open && modalRef.current) {- modalRef.current.focus();- }- }, [open]);-- if (!open) return null;-- return (- <div className="modal-overlay" onClick={onClose}>- <div- className={`modal ${size ? `modal-${size}` : ''} ${className}`.trim()}- onClick={e => e.stopPropagation()}- ref={modalRef}- tabIndex={-1}- role="dialog"- aria-modal="true"- aria-label={title}- >- <div className="modal-header">- <h3>{title}</h3>- <button className="modal-close" onClick={onClose} aria-label="Close">×</button>- </div>- <div className="modal-body">- {children}- </div>- {footer && (- <div className="modal-footer">- {footer}- </div>- )}- </div>- </div>- );+ return (+ <Dialog open={open} onOpenChange={(v) => !v && onClose()}>+ <DialogContent className={cn(size === 'lg' && 'max-w-3xl', className)}>+ {title && (+ <DialogHeader>+ <DialogTitle>{title}</DialogTitle>+ </DialogHeader>+ )}+ {children}+ {footer && <DialogFooter>{footer}</DialogFooter>}+ </DialogContent>+ </Dialog>+ );}diff --git a/frontend/src/components/StatusBadge.jsx b/frontend/src/components/StatusBadge.jsxindex 75eb5930..523c29d5 100644--- a/frontend/src/components/StatusBadge.jsx+++ b/frontend/src/components/StatusBadge.jsx@@ -1,33 +1,44 @@-import React from 'react';+import { Badge } from '@/components/ui/badge';+import { cn } from '@/lib/utils';-const STATUS_MAP = {- online: { label: 'Online', className: 'status-badge--success' },- running: { label: 'Running', className: 'status-badge--success' },- healthy: { label: 'Healthy', className: 'status-badge--success' },- active: { label: 'Active', className: 'status-badge--success' },- connected: { label: 'Connected', className: 'status-badge--success' },- offline: { label: 'Offline', className: 'status-badge--danger' },- stopped: { label: 'Stopped', className: 'status-badge--danger' },- error: { label: 'Error', className: 'status-badge--danger' },- failed: { label: 'Failed', className: 'status-badge--danger' },- disconnected: { label: 'Disconnected', className: 'status-badge--danger' },- warning: { label: 'Warning', className: 'status-badge--warning' },- degraded: { label: 'Degraded', className: 'status-badge--warning' },- pending: { label: 'Pending', className: 'status-badge--info' },- building: { label: 'Building', className: 'status-badge--info' },- deploying: { label: 'Deploying', className: 'status-badge--info' },- paused: { label: 'Paused', className: 'status-badge--muted' },- unknown: { label: 'Unknown', className: 'status-badge--muted' },+const STATUS_VARIANT = {+ online: 'success', running: 'success', healthy: 'success',+ active: 'success', connected: 'success',+ offline: 'destructive', stopped: 'destructive', error: 'destructive',+ failed: 'destructive', disconnected: 'destructive',+ warning: 'warning', degraded: 'warning',+ pending: 'info', building: 'info', deploying: 'info',+ paused: 'secondary', unknown: 'secondary',+};++const DOT_COLOR = {+ success: 'bg-green-400',+ destructive: 'bg-red-400',+ warning: 'bg-yellow-400',+ info: 'bg-blue-400',+ secondary: 'bg-muted-foreground/60',+};++const STATUS_LABEL = {+ online: 'Online', running: 'Running', healthy: 'Healthy',+ active: 'Active', connected: 'Connected',+ offline: 'Offline', stopped: 'Stopped', error: 'Error',+ failed: 'Failed', disconnected: 'Disconnected',+ warning: 'Warning', degraded: 'Degraded',+ pending: 'Pending', building: 'Building', deploying: 'Deploying',+ paused: 'Paused', unknown: 'Unknown',};export default function StatusBadge({ status, label, className = '' }) {- const mapped = STATUS_MAP[status?.toLowerCase()] || STATUS_MAP.unknown;- const displayLabel = label || mapped.label || status;+ const key = status?.toLowerCase();+ const variant = STATUS_VARIANT[key] || 'secondary';+ const dotColor = DOT_COLOR[variant] || DOT_COLOR.secondary;+ const displayLabel = label || STATUS_LABEL[key] || status;- return (- <span className={`status-badge ${mapped.className} ${className}`.trim()}>- <span className="status-badge__dot" />- {displayLabel}- </span>- );+ return (+ <Badge variant={variant} className={cn('gap-1.5', className)}>+ <span className={cn('size-1.5 rounded-full shrink-0', dotColor)} />+ {displayLabel}+ </Badge>+ );}diff --git a/frontend/src/components/ui/accordion.jsx b/frontend/src/components/ui/accordion.jsxnew file mode 100644index 00000000..7de76e46--- /dev/null+++ b/frontend/src/components/ui/accordion.jsx@@ -0,0 +1,42 @@+import * as React from 'react';+import * as AccordionPrimitive from '@radix-ui/react-accordion';+import { ChevronDown } from 'lucide-react';+import { cn } from '@/lib/utils';++const Accordion = AccordionPrimitive.Root;++const AccordionItem = React.forwardRef(({ className, ...props }, ref) => (+ <AccordionPrimitive.Item ref={ref} className={cn('border-b border-border', className)} {...props} />+));+AccordionItem.displayName = 'AccordionItem';++const AccordionTrigger = React.forwardRef(({ className, children, ...props }, ref) => (+ <AccordionPrimitive.Header className="flex">+ <AccordionPrimitive.Trigger+ ref={ref}+ className={cn(+ 'flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left',+ '[&[data-state=open]>svg]:rotate-180',+ className+ )}+ {...props}+ >+ {children}+ <ChevronDown className="size-4 shrink-0 text-muted-foreground transition-transform duration-200" />+ </AccordionPrimitive.Trigger>+ </AccordionPrimitive.Header>+));+AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;++const AccordionContent = React.forwardRef(({ className, children, ...props }, ref) => (+ <AccordionPrimitive.Content+ ref={ref}+ className="overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down"+ {...props}+ >+ <div className={cn('pb-4 pt-0', className)}>{children}</div>+ </AccordionPrimitive.Content>+));+AccordionContent.displayName = AccordionPrimitive.Content.displayName;++export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };diff --git a/frontend/src/components/ui/alert-dialog.jsx b/frontend/src/components/ui/alert-dialog.jsxnew file mode 100644index 00000000..e55a1b00--- /dev/null+++ b/frontend/src/components/ui/alert-dialog.jsx@@ -0,0 +1,99 @@+import * as React from 'react';+import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';+import { cn } from '@/lib/utils';+import { buttonVariants } from '@/components/ui/button';++const AlertDialog = AlertDialogPrimitive.Root;+const AlertDialogTrigger = AlertDialogPrimitive.Trigger;+const AlertDialogPortal = AlertDialogPrimitive.Portal;++const AlertDialogOverlay = React.forwardRef(({ className, ...props }, ref) => (+ <AlertDialogPrimitive.Overlay+ ref={ref}+ className={cn(+ 'fixed inset-0 z-50 bg-black/80',+ 'data-[state=open]:animate-in data-[state=closed]:animate-out',+ 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',+ className+ )}+ {...props}+ />+));+AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;++const AlertDialogContent = React.forwardRef(({ className, ...props }, ref) => (+ <AlertDialogPortal>+ <AlertDialogOverlay />+ <AlertDialogPrimitive.Content+ ref={ref}+ className={cn(+ 'fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2',+ 'gap-4 bg-card border border-border rounded-xl p-6 shadow-lg duration-200',+ 'data-[state=open]:animate-in data-[state=closed]:animate-out',+ 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',+ 'data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',+ 'data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]',+ 'data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]',+ className+ )}+ {...props}+ />+ </AlertDialogPortal>+));+AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;++function AlertDialogHeader({ className, ...props }) {+ return (+ <div className={cn('flex flex-col space-y-2 text-center sm:text-left', className)} {...props} />+ );+}+AlertDialogHeader.displayName = 'AlertDialogHeader';++function AlertDialogFooter({ className, ...props }) {+ return (+ <div className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)} {...props} />+ );+}+AlertDialogFooter.displayName = 'AlertDialogFooter';++const AlertDialogTitle = React.forwardRef(({ className, ...props }, ref) => (+ <AlertDialogPrimitive.Title+ ref={ref}+ className={cn('text-lg font-semibold text-foreground', className)}+ {...props}+ />+));+AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;++const AlertDialogDescription = React.forwardRef(({ className, ...props }, ref) => (+ <AlertDialogPrimitive.Description+ ref={ref}+ className={cn('text-sm text-muted-foreground', className)}+ {...props}+ />+));+AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;++const AlertDialogAction = React.forwardRef(({ className, ...props }, ref) => (+ <AlertDialogPrimitive.Action+ ref={ref}+ className={cn(buttonVariants({ variant: 'destructive' }), className)}+ {...props}+ />+));+AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;++const AlertDialogCancel = React.forwardRef(({ className, ...props }, ref) => (+ <AlertDialogPrimitive.Cancel+ ref={ref}+ className={cn(buttonVariants({ variant: 'outline' }), className)}+ {...props}+ />+));+AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;++export {+ AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger,+ AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle,+ AlertDialogDescription, AlertDialogAction, AlertDialogCancel,+};diff --git a/frontend/src/components/ui/avatar.jsx b/frontend/src/components/ui/avatar.jsxnew file mode 100644index 00000000..509cc7c9--- /dev/null+++ b/frontend/src/components/ui/avatar.jsx@@ -0,0 +1,35 @@+import * as React from 'react';+import * as AvatarPrimitive from '@radix-ui/react-avatar';+import { cn } from '@/lib/utils';++const Avatar = React.forwardRef(({ className, ...props }, ref) => (+ <AvatarPrimitive.Root+ ref={ref}+ className={cn('relative flex size-8 shrink-0 overflow-hidden rounded-full', className)}+ {...props}+ />+));+Avatar.displayName = AvatarPrimitive.Root.displayName;++const AvatarImage = React.forwardRef(({ className, ...props }, ref) => (+ <AvatarPrimitive.Image+ ref={ref}+ className={cn('aspect-square size-full', className)}+ {...props}+ />+));+AvatarImage.displayName = AvatarPrimitive.Image.displayName;++const AvatarFallback = React.forwardRef(({ className, ...props }, ref) => (+ <AvatarPrimitive.Fallback+ ref={ref}+ className={cn(+ 'flex size-full items-center justify-center rounded-full bg-muted text-muted-foreground text-sm font-medium',+ className+ )}+ {...props}+ />+));+AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;++export { Avatar, AvatarImage, AvatarFallback };diff --git a/frontend/src/components/ui/badge.jsx b/frontend/src/components/ui/badge.jsxnew file mode 100644index 00000000..c7808e3d--- /dev/null+++ b/frontend/src/components/ui/badge.jsx@@ -0,0 +1,31 @@+import * as React from 'react';+import { cva } from 'class-variance-authority';+import { cn } from '@/lib/utils';++const badgeVariants = cva(+ 'inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors',+ {+ variants: {+ variant: {+ default: 'border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80',+ secondary: 'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80',+ destructive: 'border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80',+ outline: 'text-foreground border-border',+ success: 'border-transparent bg-green-500/15 text-green-400 border-green-500/20',+ warning: 'border-transparent bg-yellow-500/15 text-yellow-400 border-yellow-500/20',+ info: 'border-transparent bg-blue-500/15 text-blue-400 border-blue-500/20',+ },+ },+ defaultVariants: {+ variant: 'default',+ },+ }+);++function Badge({ className, variant, ...props }) {+ return (+ <span className={cn(badgeVariants({ variant }), className)} {...props} />+ );+}++export { Badge, badgeVariants };diff --git a/frontend/src/components/ui/button.jsx b/frontend/src/components/ui/button.jsxnew file mode 100644index 00000000..2d4de646--- /dev/null+++ b/frontend/src/components/ui/button.jsx@@ -0,0 +1,43 @@+import * as React from 'react';+import { Slot } from '@radix-ui/react-slot';+import { cva } from 'class-variance-authority';+import { cn } from '@/lib/utils';++const buttonVariants = cva(+ 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*="size-"])]:size-4 shrink-0 cursor-pointer',+ {+ variants: {+ variant: {+ default: 'bg-primary text-primary-foreground shadow-xs hover:bg-primary/90',+ destructive: 'bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90',+ outline: 'border border-border bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground',+ secondary: 'bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80',+ ghost: 'hover:bg-accent hover:text-accent-foreground',+ link: 'text-primary underline-offset-4 hover:underline',+ },+ size: {+ default: 'h-9 px-4 py-2 has-[>svg]:px-3',+ sm: 'h-8 rounded-md gap-1.5 px-3 text-xs has-[>svg]:px-2.5',+ lg: 'h-10 rounded-md px-6 has-[>svg]:px-4',+ icon: 'size-9',+ },+ },+ defaultVariants: {+ variant: 'default',+ size: 'default',+ },+ }+);++function Button({ className, variant, size, asChild = false, ...props }) {+ const Comp = asChild ? Slot : 'button';+ return (+ <Comp+ data-slot="button"+ className={cn(buttonVariants({ variant, size, className }))}+ {...props}+ />+ );+}++export { Button, buttonVariants };diff --git a/frontend/src/components/ui/card.jsx b/frontend/src/components/ui/card.jsxnew file mode 100644index 00000000..4b95d528--- /dev/null+++ b/frontend/src/components/ui/card.jsx@@ -0,0 +1,64 @@+import * as React from 'react';+import { cn } from '@/lib/utils';++function Card({ className, ...props }) {+ return (+ <div+ data-slot="card"+ className={cn('bg-card text-card-foreground rounded-xl border border-border shadow-sm', className)}+ {...props}+ />+ );+}++function CardHeader({ className, ...props }) {+ return (+ <div+ data-slot="card-header"+ className={cn('flex flex-col gap-1.5 p-6', className)}+ {...props}+ />+ );+}++function CardTitle({ className, ...props }) {+ return (+ <div+ data-slot="card-title"+ className={cn('leading-none font-semibold text-foreground', className)}+ {...props}+ />+ );+}++function CardDescription({ className, ...props }) {+ return (+ <div+ data-slot="card-description"+ className={cn('text-muted-foreground text-sm', className)}+ {...props}+ />+ );+}++function CardContent({ className, ...props }) {+ return (+ <div+ data-slot="card-content"+ className={cn('p-6 pt-0', className)}+ {...props}+ />+ );+}++function CardFooter({ className, ...props }) {+ return (+ <div+ data-slot="card-footer"+ className={cn('flex items-center p-6 pt-0', className)}+ {...props}+ />+ );+}++export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };diff --git a/frontend/src/components/ui/checkbox.jsx b/frontend/src/components/ui/checkbox.jsxnew file mode 100644index 00000000..ad4cd079--- /dev/null+++ b/frontend/src/components/ui/checkbox.jsx@@ -0,0 +1,27 @@+import * as React from 'react';+import * as CheckboxPrimitive from '@radix-ui/react-checkbox';+import { Check } from 'lucide-react';+import { cn } from '@/lib/utils';++const Checkbox = React.forwardRef(({ className, ...props }, ref) => (+ <CheckboxPrimitive.Root+ ref={ref}+ data-slot="checkbox"+ className={cn(+ 'peer size-4 shrink-0 rounded-sm border border-border shadow-xs',+ 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',+ 'disabled:cursor-not-allowed disabled:opacity-50',+ 'data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=checked]:border-primary',+ 'transition-colors',+ className+ )}+ {...props}+ >+ <CheckboxPrimitive.Indicator className={cn('flex items-center justify-center text-current')}>+ <Check className="size-3.5" />+ </CheckboxPrimitive.Indicator>+ </CheckboxPrimitive.Root>+));+Checkbox.displayName = CheckboxPrimitive.Root.displayName;++export { Checkbox };diff --git a/frontend/src/components/ui/command.jsx b/frontend/src/components/ui/command.jsxnew file mode 100644index 00000000..7ea212ea--- /dev/null+++ b/frontend/src/components/ui/command.jsx@@ -0,0 +1,111 @@+import * as React from 'react';+import { Command as CommandPrimitive } from 'cmdk';+import { Search } from 'lucide-react';+import { cn } from '@/lib/utils';+import { Dialog, DialogContent } from '@/components/ui/dialog';++const Command = React.forwardRef(({ className, ...props }, ref) => (+ <CommandPrimitive+ ref={ref}+ className={cn(+ 'flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground',+ className+ )}+ {...props}+ />+));+Command.displayName = CommandPrimitive.displayName;++function CommandDialog({ children, ...props }) {+ return (+ <Dialog {...props}>+ <DialogContent className="overflow-hidden p-0 shadow-lg">+ <Command className="[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:size-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:size-5">+ {children}+ </Command>+ </DialogContent>+ </Dialog>+ );+}++const CommandInput = React.forwardRef(({ className, ...props }, ref) => (+ <div className="flex items-center border-b border-border px-3" cmdk-input-wrapper="">+ <Search className="mr-2 size-4 shrink-0 opacity-50" />+ <CommandPrimitive.Input+ ref={ref}+ className={cn(+ 'flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none',+ 'placeholder:text-muted-foreground text-foreground',+ 'disabled:cursor-not-allowed disabled:opacity-50',+ className+ )}+ {...props}+ />+ </div>+));+CommandInput.displayName = CommandPrimitive.Input.displayName;++const CommandList = React.forwardRef(({ className, ...props }, ref) => (+ <CommandPrimitive.List+ ref={ref}+ className={cn('max-h-[300px] overflow-y-auto overflow-x-hidden', className)}+ {...props}+ />+));+CommandList.displayName = CommandPrimitive.List.displayName;++const CommandEmpty = React.forwardRef((props, ref) => (+ <CommandPrimitive.Empty+ ref={ref}+ className="py-6 text-center text-sm text-muted-foreground"+ {...props}+ />+));+CommandEmpty.displayName = CommandPrimitive.Empty.displayName;++const CommandGroup = React.forwardRef(({ className, ...props }, ref) => (+ <CommandPrimitive.Group+ ref={ref}+ className={cn(+ 'overflow-hidden p-1 text-foreground',+ '[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground',+ className+ )}+ {...props}+ />+));+CommandGroup.displayName = CommandPrimitive.Group.displayName;++const CommandSeparator = React.forwardRef(({ className, ...props }, ref) => (+ <CommandPrimitive.Separator+ ref={ref}+ className={cn('-mx-1 h-px bg-border', className)}+ {...props}+ />+));+CommandSeparator.displayName = CommandPrimitive.Separator.displayName;++const CommandItem = React.forwardRef(({ className, ...props }, ref) => (+ <CommandPrimitive.Item+ ref={ref}+ className={cn(+ 'relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none',+ 'data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50',+ 'data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground',+ '[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',+ className+ )}+ {...props}+ />+));+CommandItem.displayName = CommandPrimitive.Item.displayName;++const CommandShortcut = ({ className, ...props }) => (+ <span className={cn('ml-auto text-xs tracking-widest text-muted-foreground', className)} {...props} />+);+CommandShortcut.displayName = 'CommandShortcut';++export {+ Command, CommandDialog, CommandInput, CommandList, CommandEmpty,+ CommandGroup, CommandItem, CommandSeparator, CommandShortcut,+};diff --git a/frontend/src/components/ui/dialog.jsx b/frontend/src/components/ui/dialog.jsxnew file mode 100644index 00000000..bb9d2c43--- /dev/null+++ b/frontend/src/components/ui/dialog.jsx@@ -0,0 +1,87 @@+import * as React from 'react';+import * as DialogPrimitive from '@radix-ui/react-dialog';+import { X } from 'lucide-react';+import { cn } from '@/lib/utils';++const Dialog = DialogPrimitive.Root;+const DialogTrigger = DialogPrimitive.Trigger;+const DialogPortal = DialogPrimitive.Portal;+const DialogClose = DialogPrimitive.Close;++const DialogOverlay = React.forwardRef(({ className, ...props }, ref) => (+ <DialogPrimitive.Overlay+ ref={ref}+ className={cn(+ 'fixed inset-0 z-50 bg-black/80',+ 'data-[state=open]:animate-in data-[state=closed]:animate-out',+ 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',+ className+ )}+ {...props}+ />+));+DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;++const DialogContent = React.forwardRef(({ className, children, ...props }, ref) => (+ <DialogPortal>+ <DialogOverlay />+ <DialogPrimitive.Content+ ref={ref}+ className={cn(+ 'fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2',+ 'gap-4 bg-card border border-border rounded-xl p-6 shadow-lg duration-200',+ 'data-[state=open]:animate-in data-[state=closed]:animate-out',+ 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',+ 'data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',+ 'data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]',+ 'data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]',+ className+ )}+ {...props}+ >+ {children}+ <DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:ring-offset-card disabled:pointer-events-none">+ <X className="size-4 text-muted-foreground" />+ <span className="sr-only">Close</span>+ </DialogPrimitive.Close>+ </DialogPrimitive.Content>+ </DialogPortal>+));+DialogContent.displayName = DialogPrimitive.Content.displayName;++function DialogHeader({ className, ...props }) {+ return (+ <div className={cn('flex flex-col space-y-1.5 text-left', className)} {...props} />+ );+}+DialogHeader.displayName = 'DialogHeader';++function DialogFooter({ className, ...props }) {+ return (+ <div className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)} {...props} />+ );+}+DialogFooter.displayName = 'DialogFooter';++const DialogTitle = React.forwardRef(({ className, ...props }, ref) => (+ <DialogPrimitive.Title+ ref={ref}+ className={cn('text-lg font-semibold leading-none tracking-tight text-foreground', className)}+ {...props}+ />+));+DialogTitle.displayName = DialogPrimitive.Title.displayName;++const DialogDescription = React.forwardRef(({ className, ...props }, ref) => (+ <DialogPrimitive.Description+ ref={ref}+ className={cn('text-sm text-muted-foreground', className)}+ {...props}+ />+));+DialogDescription.displayName = DialogPrimitive.Description.displayName;++export {+ Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger,+ DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription,+};diff --git a/frontend/src/components/ui/dropdown-menu.jsx b/frontend/src/components/ui/dropdown-menu.jsxnew file mode 100644index 00000000..d580a59a--- /dev/null+++ b/frontend/src/components/ui/dropdown-menu.jsx@@ -0,0 +1,155 @@+import * as React from 'react';+import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';+import { Check, ChevronRight, Circle } from 'lucide-react';+import { cn } from '@/lib/utils';++const DropdownMenu = DropdownMenuPrimitive.Root;+const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;+const DropdownMenuGroup = DropdownMenuPrimitive.Group;+const DropdownMenuPortal = DropdownMenuPrimitive.Portal;+const DropdownMenuSub = DropdownMenuPrimitive.Sub;+const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;++const DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, ...props }, ref) => (+ <DropdownMenuPrimitive.SubTrigger+ ref={ref}+ className={cn(+ 'flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none',+ 'focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',+ inset && 'pl-8',+ className+ )}+ {...props}+ >+ {children}+ <ChevronRight className="ml-auto size-4" />+ </DropdownMenuPrimitive.SubTrigger>+));+DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;++const DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) => (+ <DropdownMenuPrimitive.SubContent+ ref={ref}+ className={cn(+ 'z-50 min-w-[8rem] overflow-hidden rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-lg',+ 'data-[state=open]:animate-in data-[state=closed]:animate-out',+ 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',+ 'data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',+ 'data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2',+ 'data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',+ className+ )}+ {...props}+ />+));+DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;++const DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => (+ <DropdownMenuPrimitive.Portal>+ <DropdownMenuPrimitive.Content+ ref={ref}+ sideOffset={sideOffset}+ className={cn(+ 'z-50 min-w-[8rem] overflow-hidden rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md',+ 'data-[state=open]:animate-in data-[state=closed]:animate-out',+ 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',+ 'data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',+ 'data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2',+ 'data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',+ className+ )}+ {...props}+ />+ </DropdownMenuPrimitive.Portal>+));+DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;++const DropdownMenuItem = React.forwardRef(({ className, inset, ...props }, ref) => (+ <DropdownMenuPrimitive.Item+ ref={ref}+ className={cn(+ 'relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors',+ 'focus:bg-accent focus:text-accent-foreground',+ 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',+ '[&>svg]:size-4 [&>svg]:shrink-0',+ inset && 'pl-8',+ className+ )}+ {...props}+ />+));+DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;++const DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checked, ...props }, ref) => (+ <DropdownMenuPrimitive.CheckboxItem+ ref={ref}+ className={cn(+ 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors',+ 'focus:bg-accent focus:text-accent-foreground',+ 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',+ className+ )}+ checked={checked}+ {...props}+ >+ <span className="absolute left-2 flex size-3.5 items-center justify-center">+ <DropdownMenuPrimitive.ItemIndicator>+ <Check className="size-4" />+ </DropdownMenuPrimitive.ItemIndicator>+ </span>+ {children}+ </DropdownMenuPrimitive.CheckboxItem>+));+DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;++const DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props }, ref) => (+ <DropdownMenuPrimitive.RadioItem+ ref={ref}+ className={cn(+ 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors',+ 'focus:bg-accent focus:text-accent-foreground',+ 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',+ className+ )}+ {...props}+ >+ <span className="absolute left-2 flex size-3.5 items-center justify-center">+ <DropdownMenuPrimitive.ItemIndicator>+ <Circle className="size-2 fill-current" />+ </DropdownMenuPrimitive.ItemIndicator>+ </span>+ {children}+ </DropdownMenuPrimitive.RadioItem>+));+DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;++const DropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref) => (+ <DropdownMenuPrimitive.Label+ ref={ref}+ className={cn('px-2 py-1.5 text-xs font-semibold text-muted-foreground', inset && 'pl-8', className)}+ {...props}+ />+));+DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;++const DropdownMenuSeparator = React.forwardRef(({ className, ...props }, ref) => (+ <DropdownMenuPrimitive.Separator+ ref={ref}+ className={cn('-mx-1 my-1 h-px bg-border', className)}+ {...props}+ />+));+DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;++const DropdownMenuShortcut = ({ className, ...props }) => (+ <span className={cn('ml-auto text-xs tracking-widest opacity-60', className)} {...props} />+);+DropdownMenuShortcut.displayName = 'DropdownMenuShortcut';++export {+ DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem,+ DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel,+ DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup,+ DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent,+ DropdownMenuSubTrigger, DropdownMenuRadioGroup,+};diff --git a/frontend/src/components/ui/input.jsx b/frontend/src/components/ui/input.jsxnew file mode 100644index 00000000..11c65183--- /dev/null+++ b/frontend/src/components/ui/input.jsx@@ -0,0 +1,23 @@+import * as React from 'react';+import { cn } from '@/lib/utils';++function Input({ className, type, ...props }) {+ return (+ <input+ type={type}+ data-slot="input"+ className={cn(+ 'flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-sm text-foreground shadow-xs transition-[color,box-shadow] outline-none',+ 'placeholder:text-muted-foreground',+ 'file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground',+ 'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]',+ 'disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50',+ 'aria-invalid:border-destructive aria-invalid:ring-destructive/20',+ className+ )}+ {...props}+ />+ );+}++export { Input };diff --git a/frontend/src/components/ui/label.jsx b/frontend/src/components/ui/label.jsxnew file mode 100644index 00000000..0fef65e2--- /dev/null+++ b/frontend/src/components/ui/label.jsx@@ -0,0 +1,19 @@+import * as React from 'react';+import * as LabelPrimitive from '@radix-ui/react-label';+import { cn } from '@/lib/utils';++function Label({ className, ...props }) {+ return (+ <LabelPrimitive.Root+ data-slot="label"+ className={cn(+ 'flex items-center gap-2 text-sm leading-none font-medium select-none',+ 'peer-disabled:cursor-not-allowed peer-disabled:opacity-50',+ className+ )}+ {...props}+ />+ );+}++export { Label };diff --git a/frontend/src/components/ui/popover.jsx b/frontend/src/components/ui/popover.jsxnew file mode 100644index 00000000..a4db7168--- /dev/null+++ b/frontend/src/components/ui/popover.jsx@@ -0,0 +1,30 @@+import * as React from 'react';+import * as PopoverPrimitive from '@radix-ui/react-popover';+import { cn } from '@/lib/utils';++const Popover = PopoverPrimitive.Root;+const PopoverTrigger = PopoverPrimitive.Trigger;+const PopoverAnchor = PopoverPrimitive.Anchor;++const PopoverContent = React.forwardRef(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (+ <PopoverPrimitive.Portal>+ <PopoverPrimitive.Content+ ref={ref}+ align={align}+ sideOffset={sideOffset}+ className={cn(+ 'z-50 w-72 rounded-md border border-border bg-popover p-4 text-popover-foreground shadow-md outline-none',+ 'data-[state=open]:animate-in data-[state=closed]:animate-out',+ 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',+ 'data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',+ 'data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2',+ 'data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',+ className+ )}+ {...props}+ />+ </PopoverPrimitive.Portal>+));+PopoverContent.displayName = PopoverPrimitive.Content.displayName;++export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };diff --git a/frontend/src/components/ui/progress.jsx b/frontend/src/components/ui/progress.jsxnew file mode 100644index 00000000..f92cc3c4--- /dev/null+++ b/frontend/src/components/ui/progress.jsx@@ -0,0 +1,19 @@+import * as React from 'react';+import * as ProgressPrimitive from '@radix-ui/react-progress';+import { cn } from '@/lib/utils';++const Progress = React.forwardRef(({ className, value, ...props }, ref) => (+ <ProgressPrimitive.Root+ ref={ref}+ className={cn('relative h-2 w-full overflow-hidden rounded-full bg-secondary', className)}+ {...props}+ >+ <ProgressPrimitive.Indicator+ className="h-full w-full flex-1 bg-primary transition-all"+ style={{ transform: `translateX(-${100 - (value || 0)}%)` }}+ />+ </ProgressPrimitive.Root>+));+Progress.displayName = ProgressPrimitive.Root.displayName;++export { Progress };diff --git a/frontend/src/components/ui/scroll-area.jsx b/frontend/src/components/ui/scroll-area.jsxnew file mode 100644index 00000000..a029752e--- /dev/null+++ b/frontend/src/components/ui/scroll-area.jsx@@ -0,0 +1,37 @@+import * as React from 'react';+import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';+import { cn } from '@/lib/utils';++const ScrollArea = React.forwardRef(({ className, children, ...props }, ref) => (+ <ScrollAreaPrimitive.Root+ ref={ref}+ className={cn('relative overflow-hidden', className)}+ {...props}+ >+ <ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit]">+ {children}+ </ScrollAreaPrimitive.Viewport>+ <ScrollBar />+ <ScrollAreaPrimitive.Corner />+ </ScrollAreaPrimitive.Root>+));+ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;++const ScrollBar = React.forwardRef(({ className, orientation = 'vertical', ...props }, ref) => (+ <ScrollAreaPrimitive.ScrollAreaScrollbar+ ref={ref}+ orientation={orientation}+ className={cn(+ 'flex touch-none select-none transition-colors',+ orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent p-[1px]',+ orientation === 'horizontal' && 'h-2.5 flex-col border-t border-t-transparent p-[1px]',+ className+ )}+ {...props}+ >+ <ScrollAreaPrimitive.ScrollAreaThumb className="relative flex-1 rounded-full bg-border" />+ </ScrollAreaPrimitive.ScrollAreaScrollbar>+));+ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;++export { ScrollArea, ScrollBar };diff --git a/frontend/src/components/ui/select.jsx b/frontend/src/components/ui/select.jsxnew file mode 100644index 00000000..60490374--- /dev/null+++ b/frontend/src/components/ui/select.jsx@@ -0,0 +1,129 @@+import * as React from 'react';+import * as SelectPrimitive from '@radix-ui/react-select';+import { Check, ChevronDown, ChevronUp } from 'lucide-react';+import { cn } from '@/lib/utils';++const Select = SelectPrimitive.Root;+const SelectGroup = SelectPrimitive.Group;+const SelectValue = SelectPrimitive.Value;++const SelectTrigger = React.forwardRef(({ className, children, ...props }, ref) => (+ <SelectPrimitive.Trigger+ ref={ref}+ className={cn(+ 'flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-xs',+ 'placeholder:text-muted-foreground text-foreground',+ 'focus:outline-none focus:ring-[3px] focus:ring-ring/50 focus:border-ring',+ 'disabled:cursor-not-allowed disabled:opacity-50',+ '[&>span]:line-clamp-1',+ className+ )}+ {...props}+ >+ {children}+ <SelectPrimitive.Icon asChild>+ <ChevronDown className="size-4 opacity-50 shrink-0" />+ </SelectPrimitive.Icon>+ </SelectPrimitive.Trigger>+));+SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;++const SelectScrollUpButton = React.forwardRef(({ className, ...props }, ref) => (+ <SelectPrimitive.ScrollUpButton+ ref={ref}+ className={cn('flex cursor-default items-center justify-center py-1', className)}+ {...props}+ >+ <ChevronUp className="size-4" />+ </SelectPrimitive.ScrollUpButton>+));+SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;++const SelectScrollDownButton = React.forwardRef(({ className, ...props }, ref) => (+ <SelectPrimitive.ScrollDownButton+ ref={ref}+ className={cn('flex cursor-default items-center justify-center py-1', className)}+ {...props}+ >+ <ChevronDown className="size-4" />+ </SelectPrimitive.ScrollDownButton>+));+SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;++const SelectContent = React.forwardRef(({ className, children, position = 'popper', ...props }, ref) => (+ <SelectPrimitive.Portal>+ <SelectPrimitive.Content+ ref={ref}+ className={cn(+ 'relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-border bg-popover text-popover-foreground shadow-md',+ 'data-[state=open]:animate-in data-[state=closed]:animate-out',+ 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',+ 'data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',+ 'data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2',+ 'data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',+ position === 'popper' &&+ 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',+ className+ )}+ position={position}+ {...props}+ >+ <SelectScrollUpButton />+ <SelectPrimitive.Viewport+ className={cn(+ 'p-1',+ position === 'popper' &&+ 'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]'+ )}+ >+ {children}+ </SelectPrimitive.Viewport>+ <SelectScrollDownButton />+ </SelectPrimitive.Content>+ </SelectPrimitive.Portal>+));+SelectContent.displayName = SelectPrimitive.Content.displayName;++const SelectLabel = React.forwardRef(({ className, ...props }, ref) => (+ <SelectPrimitive.Label+ ref={ref}+ className={cn('px-2 py-1.5 text-xs font-semibold text-muted-foreground', className)}+ {...props}+ />+));+SelectLabel.displayName = SelectPrimitive.Label.displayName;++const SelectItem = React.forwardRef(({ className, children, ...props }, ref) => (+ <SelectPrimitive.Item+ ref={ref}+ className={cn(+ 'relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none',+ 'focus:bg-accent focus:text-accent-foreground',+ 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',+ className+ )}+ {...props}+ >+ <span className="absolute left-2 flex size-3.5 items-center justify-center">+ <SelectPrimitive.ItemIndicator>+ <Check className="size-4" />+ </SelectPrimitive.ItemIndicator>+ </span>+ <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>+ </SelectPrimitive.Item>+));+SelectItem.displayName = SelectPrimitive.Item.displayName;++const SelectSeparator = React.forwardRef(({ className, ...props }, ref) => (+ <SelectPrimitive.Separator+ ref={ref}+ className={cn('-mx-1 my-1 h-px bg-border', className)}+ {...props}+ />+));+SelectSeparator.displayName = SelectPrimitive.Separator.displayName;++export {+ Select, SelectGroup, SelectValue, SelectTrigger, SelectContent,+ SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton,+};diff --git a/frontend/src/components/ui/separator.jsx b/frontend/src/components/ui/separator.jsxnew file mode 100644index 00000000..f5241af5--- /dev/null+++ b/frontend/src/components/ui/separator.jsx@@ -0,0 +1,20 @@+import * as React from 'react';+import * as SeparatorPrimitive from '@radix-ui/react-separator';+import { cn } from '@/lib/utils';++const Separator = React.forwardRef(({ className, orientation = 'horizontal', decorative = true, ...props }, ref) => (+ <SeparatorPrimitive.Root+ ref={ref}+ decorative={decorative}+ orientation={orientation}+ className={cn(+ 'shrink-0 bg-border',+ orientation === 'horizontal' ? 'h-px w-full' : 'h-full w-px',+ className+ )}+ {...props}+ />+));+Separator.displayName = SeparatorPrimitive.Root.displayName;++export { Separator };diff --git a/frontend/src/components/ui/sheet.jsx b/frontend/src/components/ui/sheet.jsxnew file mode 100644index 00000000..b6c0a5d3--- /dev/null+++ b/frontend/src/components/ui/sheet.jsx@@ -0,0 +1,75 @@+import * as React from 'react';+import * as SheetPrimitive from '@radix-ui/react-dialog';+import { X } from 'lucide-react';+import { cva } from 'class-variance-authority';+import { cn } from '@/lib/utils';++const Sheet = SheetPrimitive.Root;+const SheetTrigger = SheetPrimitive.Trigger;+const SheetClose = SheetPrimitive.Close;+const SheetPortal = SheetPrimitive.Portal;++const SheetOverlay = React.forwardRef(({ className, ...props }, ref) => (+ <SheetPrimitive.Overlay+ ref={ref}+ className={cn(+ 'fixed inset-0 z-50 bg-black/80',+ 'data-[state=open]:animate-in data-[state=closed]:animate-out',+ 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',+ className+ )}+ {...props}+ />+));+SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;++const sheetVariants = cva(+ 'fixed z-50 flex flex-col gap-4 bg-card border-border p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out',+ {+ variants: {+ side: {+ top: 'inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top',+ bottom: 'inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom',+ left: 'inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm',+ right: 'inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm',+ },+ },+ defaultVariants: { side: 'right' },+ }+);++const SheetContent = React.forwardRef(({ side = 'right', className, children, ...props }, ref) => (+ <SheetPortal>+ <SheetOverlay />+ <SheetPrimitive.Content ref={ref} className={cn(sheetVariants({ side }), className)} {...props}>+ <SheetPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring">+ <X className="size-4 text-muted-foreground" />+ <span className="sr-only">Close</span>+ </SheetPrimitive.Close>+ {children}+ </SheetPrimitive.Content>+ </SheetPortal>+));+SheetContent.displayName = SheetPrimitive.Content.displayName;++function SheetHeader({ className, ...props }) {+ return <div className={cn('flex flex-col space-y-2 text-center sm:text-left', className)} {...props} />;+}+SheetHeader.displayName = 'SheetHeader';++function SheetFooter({ className, ...props }) {+ return <div className={cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2', className)} {...props} />;+}+SheetFooter.displayName = 'SheetFooter';++const SheetTitle = React.forwardRef(({ className, ...props }, ref) => (+ <SheetPrimitive.Title ref={ref} className={cn('text-lg font-semibold text-foreground', className)} {...props} />+));+SheetTitle.displayName = SheetPrimitive.Title.displayName;++const SheetDescription = React.forwardRef(({ className, ...props }, ref) => (+ <SheetPrimitive.Description ref={ref} className={cn('text-sm text-muted-foreground', className)} {...props} />+));+SheetDescription.displayName = SheetPrimitive.Description.displayName;++export { Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription };diff --git a/frontend/src/components/ui/skeleton.jsx b/frontend/src/components/ui/skeleton.jsxnew file mode 100644index 00000000..9aeb7328--- /dev/null+++ b/frontend/src/components/ui/skeleton.jsx@@ -0,0 +1,12 @@+import { cn } from '@/lib/utils';++function Skeleton({ className, ...props }) {+ return (+ <div+ className={cn('animate-pulse rounded-md bg-secondary', className)}+ {...props}+ />+ );+}++export { Skeleton };diff --git a/frontend/src/components/ui/sonner.jsx b/frontend/src/components/ui/sonner.jsxnew file mode 100644index 00000000..eea8de6f--- /dev/null+++ b/frontend/src/components/ui/sonner.jsx@@ -0,0 +1,18 @@+import { Toaster as SonnerToaster } from 'sonner';++export function Toaster() {+ return (+ <SonnerToaster+ position="top-right"+ expand+ richColors+ toastOptions={{+ style: {+ background: 'var(--bg-card)',+ color: 'var(--text-primary)',+ border: '1px solid var(--border-default)',+ },+ }}+ />+ );+}diff --git a/frontend/src/components/ui/switch.jsx b/frontend/src/components/ui/switch.jsxnew file mode 100644index 00000000..d8cdf63d--- /dev/null+++ b/frontend/src/components/ui/switch.jsx@@ -0,0 +1,28 @@+import * as React from 'react';+import * as SwitchPrimitive from '@radix-ui/react-switch';+import { cn } from '@/lib/utils';++const Switch = React.forwardRef(({ className, ...props }, ref) => (+ <SwitchPrimitive.Root+ ref={ref}+ data-slot="switch"+ className={cn(+ 'peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-xs',+ 'transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background',+ 'disabled:cursor-not-allowed disabled:opacity-50',+ 'data-[state=checked]:bg-primary data-[state=unchecked]:bg-input',+ className+ )}+ {...props}+ >+ <SwitchPrimitive.Thumb+ className={cn(+ 'pointer-events-none block size-4 rounded-full bg-background shadow-lg ring-0 transition-transform',+ 'data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0'+ )}+ />+ </SwitchPrimitive.Root>+));+Switch.displayName = SwitchPrimitive.Root.displayName;++export { Switch };diff --git a/frontend/src/components/ui/table.jsx b/frontend/src/components/ui/table.jsxnew file mode 100644index 00000000..eb441991--- /dev/null+++ b/frontend/src/components/ui/table.jsx@@ -0,0 +1,79 @@+import * as React from 'react';+import { cn } from '@/lib/utils';++const Table = React.forwardRef(({ className, ...props }, ref) => (+ <div className="relative w-full overflow-auto">+ <table+ ref={ref}+ className={cn('w-full caption-bottom text-sm', className)}+ {...props}+ />+ </div>+));+Table.displayName = 'Table';++const TableHeader = React.forwardRef(({ className, ...props }, ref) => (+ <thead ref={ref} className={cn('[&_tr]:border-b [&_tr]:border-border', className)} {...props} />+));+TableHeader.displayName = 'TableHeader';++const TableBody = React.forwardRef(({ className, ...props }, ref) => (+ <tbody ref={ref} className={cn('[&_tr:last-child]:border-0', className)} {...props} />+));+TableBody.displayName = 'TableBody';++const TableFooter = React.forwardRef(({ className, ...props }, ref) => (+ <tfoot+ ref={ref}+ className={cn('border-t border-border bg-muted/50 font-medium [&>tr]:last:border-b-0', className)}+ {...props}+ />+));+TableFooter.displayName = 'TableFooter';++const TableRow = React.forwardRef(({ className, ...props }, ref) => (+ <tr+ ref={ref}+ className={cn(+ 'border-b border-border transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted',+ className+ )}+ {...props}+ />+));+TableRow.displayName = 'TableRow';++const TableHead = React.forwardRef(({ className, ...props }, ref) => (+ <th+ ref={ref}+ className={cn(+ 'h-10 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',+ className+ )}+ {...props}+ />+));+TableHead.displayName = 'TableHead';++const TableCell = React.forwardRef(({ className, ...props }, ref) => (+ <td+ ref={ref}+ className={cn(+ 'p-4 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',+ className+ )}+ {...props}+ />+));+TableCell.displayName = 'TableCell';++const TableCaption = React.forwardRef(({ className, ...props }, ref) => (+ <caption+ ref={ref}+ className={cn('mt-4 text-sm text-muted-foreground', className)}+ {...props}+ />+));+TableCaption.displayName = 'TableCaption';++export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption };diff --git a/frontend/src/components/ui/tabs.jsx b/frontend/src/components/ui/tabs.jsxnew file mode 100644index 00000000..ea44bfe0--- /dev/null+++ b/frontend/src/components/ui/tabs.jsx@@ -0,0 +1,46 @@+import * as React from 'react';+import * as TabsPrimitive from '@radix-ui/react-tabs';+import { cn } from '@/lib/utils';++const Tabs = TabsPrimitive.Root;++const TabsList = React.forwardRef(({ className, ...props }, ref) => (+ <TabsPrimitive.List+ ref={ref}+ className={cn(+ 'inline-flex h-9 items-center justify-start rounded-lg bg-muted p-1 text-muted-foreground',+ className+ )}+ {...props}+ />+));+TabsList.displayName = TabsPrimitive.List.displayName;++const TabsTrigger = React.forwardRef(({ className, ...props }, ref) => (+ <TabsPrimitive.Trigger+ ref={ref}+ className={cn(+ 'inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium transition-all',+ 'ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',+ 'disabled:pointer-events-none disabled:opacity-50',+ 'data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm',+ className+ )}+ {...props}+ />+));+TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;++const TabsContent = React.forwardRef(({ className, ...props }, ref) => (+ <TabsPrimitive.Content+ ref={ref}+ className={cn(+ 'mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',+ className+ )}+ {...props}+ />+));+TabsContent.displayName = TabsPrimitive.Content.displayName;++export { Tabs, TabsList, TabsTrigger, TabsContent };diff --git a/frontend/src/components/ui/textarea.jsx b/frontend/src/components/ui/textarea.jsxnew file mode 100644index 00000000..89449135--- /dev/null+++ b/frontend/src/components/ui/textarea.jsx@@ -0,0 +1,22 @@+import * as React from 'react';+import { cn } from '@/lib/utils';++function Textarea({ className, ...props }) {+ return (+ <textarea+ data-slot="textarea"+ className={cn(+ 'border-input flex min-h-[60px] w-full rounded-md border bg-transparent px-3 py-2 text-sm text-foreground shadow-xs',+ 'placeholder:text-muted-foreground',+ 'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] focus-visible:outline-none',+ 'disabled:cursor-not-allowed disabled:opacity-50',+ 'aria-invalid:border-destructive aria-invalid:ring-destructive/20',+ 'transition-[color,box-shadow]',+ className+ )}+ {...props}+ />+ );+}++export { Textarea };diff --git a/frontend/src/components/ui/tooltip.jsx b/frontend/src/components/ui/tooltip.jsxnew file mode 100644index 00000000..7885f7ee--- /dev/null+++ b/frontend/src/components/ui/tooltip.jsx@@ -0,0 +1,28 @@+import * as React from 'react';+import * as TooltipPrimitive from '@radix-ui/react-tooltip';+import { cn } from '@/lib/utils';++const TooltipProvider = TooltipPrimitive.Provider;+const Tooltip = TooltipPrimitive.Root;+const TooltipTrigger = TooltipPrimitive.Trigger;++const TooltipContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => (+ <TooltipPrimitive.Portal>+ <TooltipPrimitive.Content+ ref={ref}+ sideOffset={sideOffset}+ className={cn(+ 'z-50 overflow-hidden rounded-md bg-popover px-3 py-1.5 text-xs text-popover-foreground border border-border shadow-md',+ 'animate-in fade-in-0 zoom-in-95',+ 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95',+ 'data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2',+ 'data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',+ className+ )}+ {...props}+ />+ </TooltipPrimitive.Portal>+));+TooltipContent.displayName = TooltipPrimitive.Content.displayName;++export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };diff --git a/frontend/src/contexts/ToastContext.jsx b/frontend/src/contexts/ToastContext.jsxindex ed4ab819..d5f89bdb 100644--- a/frontend/src/contexts/ToastContext.jsx+++ b/frontend/src/contexts/ToastContext.jsx@@ -1,67 +1,29 @@-import React, { createContext, useContext, useState, useCallback } from 'react';+import React, { createContext, useContext, useCallback } from 'react';+import { toast as sonner } from 'sonner';const ToastContext = createContext(null);export function useToast() {- const context = useContext(ToastContext);- if (!context) {- throw new Error('useToast must be used within a ToastProvider');- }- return context;+ const context = useContext(ToastContext);+ if (!context) throw new Error('useToast must be used within a ToastProvider');+ return context;}-let toastId = 0;-export function ToastProvider({ children }) {- const [toasts, setToasts] = useState([]);-- const removeToast = useCallback((id) => {- setToasts((prev) => prev.filter((toast) => toast.id !== id));- }, []);-- const addToast = useCallback((message, type = 'info', duration = 5000) => {- const id = ++toastId;- const toast = { id, message, type };- setToasts((prev) => [...prev, toast]);-- if (duration > 0) {- setTimeout(() => removeToast(id), duration);- }-- return id;- }, [removeToast]);-- const success = useCallback((message, duration) => {- return addToast(message, 'success', duration);- }, [addToast]);-- const error = useCallback((message, duration) => {- return addToast(message, 'error', duration);- }, [addToast]);-- const warning = useCallback((message, duration) => {- return addToast(message, 'warning', duration);- }, [addToast]);-- const info = useCallback((message, duration) => {- return addToast(message, 'info', duration);- }, [addToast]);-- const value = {- toasts,- addToast,- removeToast,- success,- error,- warning,- info- };-- return (- <ToastContext.Provider value={value}>- {children}- </ToastContext.Provider>- );+ const success = useCallback((message, duration) =>+ sonner.success(message, duration != null ? { duration } : undefined), []);+ const error = useCallback((message, duration) =>+ sonner.error(message, duration != null ? { duration } : undefined), []);+ const warning = useCallback((message, duration) =>+ sonner.warning(message, duration != null ? { duration } : undefined), []);+ const info = useCallback((message, duration) =>+ sonner.info(message, duration != null ? { duration } : undefined), []);++ return (+ <ToastContext.Provider value={{ success, error, warning, info, toasts: [], addToast: sonner, removeToast: () => {} }}>+ {children}+ </ToastContext.Provider>+ );}export default ToastContext;diff --git a/frontend/src/globals.css b/frontend/src/globals.cssnew file mode 100644index 00000000..0de7e22f--- /dev/null+++ b/frontend/src/globals.css@@ -0,0 +1,57 @@+@import "tailwindcss";+@plugin "tailwindcss-animate";++/*+ * Token bridge: maps Tailwind's semantic color names to ServerKit's existing+ * CSS custom properties. The `inline` keyword keeps these as runtime CSS vars+ * so the dark/light theme toggle in _theme-variables.scss continues to work.+ */+@theme inline {+ --color-background: var(--bg-body);+ --color-foreground: var(--text-primary);++ --color-card: var(--bg-card);+ --color-card-foreground: var(--text-primary);++ --color-popover: var(--bg-elevated);+ --color-popover-foreground: var(--text-primary);++ --color-primary: var(--accent-primary);+ --color-primary-foreground: #ffffff;++ --color-secondary: var(--bg-secondary);+ --color-secondary-foreground: var(--text-primary);++ --color-muted: var(--bg-secondary);+ --color-muted-foreground: var(--text-tertiary);++ --color-accent: var(--bg-hover);+ --color-accent-foreground: var(--text-primary);++ --color-destructive: #ef4444;+ --color-destructive-foreground: #ffffff;++ --color-border: var(--border-default);+ --color-input: var(--border-default);+ --color-ring: var(--accent-primary);+ --color-ring-offset: var(--bg-body);++ --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;+ --font-mono: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;++ --radius: 0.5rem;++ /* Accordion animations */+ --animate-accordion-down: accordion-down 0.2s ease-out;+ --animate-accordion-up: accordion-up 0.2s ease-out;+}++@keyframes accordion-down {+ from { height: 0; }+ to { height: var(--radix-accordion-content-height); }+}++@keyframes accordion-up {+ from { height: var(--radix-accordion-content-height); }+ to { height: 0; }+}diff --git a/frontend/src/lib/utils.js b/frontend/src/lib/utils.jsnew file mode 100644index 00000000..0ae73e11--- /dev/null+++ b/frontend/src/lib/utils.js@@ -0,0 +1,6 @@+import { clsx } from 'clsx';+import { twMerge } from 'tailwind-merge';++export function cn(...inputs) {+ return twMerge(clsx(inputs));+}diff --git a/frontend/src/main.jsx b/frontend/src/main.jsxindex 96a58803..257d5201 100644--- a/frontend/src/main.jsx+++ b/frontend/src/main.jsx@@ -1,6 +1,7 @@import React from 'react'import ReactDOM from 'react-dom/client'import App from './App.jsx'+import './globals.css'import './styles/main.scss'ReactDOM.createRoot(document.getElementById('root')).render(diff --git a/frontend/src/pages/Servers.jsx b/frontend/src/pages/Servers.jsxindex da20dea7..2b5e047d 100644--- a/frontend/src/pages/Servers.jsx+++ b/frontend/src/pages/Servers.jsx@@ -608,7 +608,8 @@ const PairAgentForm = ({ groups, onClose, onClaimed }) => {try {const res = await api.lookupPairCode(formattedCode);setLookupResult(res);- if (!name && res.suggested_name) setName(res.suggested_name);+ const suggestedName = res.system_info?.hostname;+ if (!name && suggestedName) setName(suggestedName);} catch (err) {setLookupError(err.message || 'Pair code not found');} finally {@@ -649,6 +650,12 @@ const PairAgentForm = ({ groups, onClose, onClaimed }) => {return (<form className="server-setup-form" onSubmit={handleClaim}><div className="server-setup-form__body">+ <div className="pair-instructions">+ <p>+ On the target machine run <code>serverkit-agent pair</code>. It prints a 6-character code — enter it below. Then supply the passphrase you chose when starting pairing.+ </p>+ </div>+<div className="form-group"><label>Pair code</label><input@@ -667,7 +674,7 @@ const PairAgentForm = ({ groups, onClose, onClaimed }) => {style={{ fontFamily: 'monospace', fontSize: '1.25rem', letterSpacing: '0.15em', textAlign: 'center' }}required/>- <span className="form-hint">Run <code>serverkit-agent pair</code> on the target machine and read the code from its output (or system tray).</span>+ <span className="form-hint">The code is shown in the terminal output or system tray.</span>{lookupError && <div className="error-message" style={{ marginTop: '0.5rem' }}>{lookupError}</div>}</div>@@ -676,7 +683,7 @@ const PairAgentForm = ({ groups, onClose, onClaimed }) => {<div><strong>Agent found</strong><p className="success-subtitle">- Hostname: <code>{lookupResult.hostname || 'unknown'}</code><br />+ Hostname: <code>{lookupResult.system_info?.hostname || 'unknown'}</code><br />Fingerprint: <code style={{ fontFamily: 'monospace' }}>{lookupResult.pubkey_fpr}</code></p><p className="text-muted" style={{ marginTop: '0.25rem', fontSize: '0.85em' }}>@@ -705,8 +712,9 @@ const PairAgentForm = ({ groups, onClose, onClaimed }) => {type="text"value={name}onChange={(e) => setName(e.target.value)}- placeholder="prod-web-01 (optional)"+ placeholder={lookupResult?.system_info?.hostname || 'Auto-detected from agent (optional)'}/>+ <span className="form-hint">Leave blank to use the agent's hostname.</span></div><div className="form-group"><label>Group</label>@@ -790,26 +798,30 @@ Install-ServerKitAgent -Server "${window.location.origin}" -Token "${registratio<div className="modal server-setup-modal" onClick={e => e.stopPropagation()}><div className="modal-header"><div>- <span className="servers-eyebrow">{step === 1 ? 'New agent' : 'Registration ready'}</span><h2>{step === 1 ? 'Add Server' : (mode === 'pair' ? 'Pair Agent' : 'Install Agent')}</h2>- <p>{step === 1 ? 'Pair an already-running agent with a short code, or generate an install script for a new machine.' : (mode === 'pair' ? 'Enter the 6-char code shown on the agent and your passphrase.' : 'Run one command on the target machine to bring it online.')}</p>+ <p>+ {step === 2 && mode !== 'pair'+ ? 'Run one command on the target machine to bring it online.'+ : step === 2+ ? 'Enter the 6-char code shown on the agent and your passphrase.'+ : 'Connect an existing agent or set up a brand-new machine.'}+ </p></div><button className="modal-close" onClick={onClose}>×</button></div>{step === 1 && (- <div className="install-tabs" style={{ padding: '0 1.5rem', marginTop: '0.5rem' }}>+ <div className="mode-switcher"><buttontype="button"- className={`btn ${mode === 'pair' ? 'btn-primary' : 'btn-secondary'}`}+ className={`mode-switcher__tab${mode === 'pair' ? ' is-active' : ''}`}onClick={() => setMode('pair')}- style={{ marginRight: '0.5rem' }}>Pair existing agent</button><buttontype="button"- className={`btn ${mode === 'install' ? 'btn-primary' : 'btn-secondary'}`}+ className={`mode-switcher__tab${mode === 'install' ? ' is-active' : ''}`}onClick={() => setMode('install')}>Install new agentdiff --git a/frontend/src/pages/Templates.jsx b/frontend/src/pages/Templates.jsxindex 7757e6a1..36e172cf 100644--- a/frontend/src/pages/Templates.jsx+++ b/frontend/src/pages/Templates.jsx@@ -438,7 +438,7 @@ const Templates = () => {{/* Template Detail Modal */}{selectedTemplate && (<div className="modal-overlay" onClick={() => setSelectedTemplate(null)}>- <div className="modal modal-lg" onClick={e => e.stopPropagation()}>+ <div className="modal template-detail-drawer" onClick={e => e.stopPropagation()}><div className="modal-header"><div className="template-detail-header"><div className="template-icon-large">diff --git a/frontend/src/services/api/pairing.js b/frontend/src/services/api/pairing.jsindex 314fa159..3b88d015 100644--- a/frontend/src/services/api/pairing.js+++ b/frontend/src/services/api/pairing.js@@ -3,12 +3,12 @@export async function lookupPairCode(code) {return this.request('/pairing/lookup', {method: 'POST',- body: { pair_code: code }+ body: { code }});}export async function claimPairedAgent({ pair_code, passphrase, name, group_id, trust_fingerprint }) {- const body = { pair_code, passphrase };+ const body = { code: pair_code, passphrase };if (name) body.name = name;if (group_id) body.group_id = group_id;if (trust_fingerprint) body.trust_fingerprint = trust_fingerprint;diff --git a/frontend/src/styles/pages/_servers.scss b/frontend/src/styles/pages/_servers.scssindex e9ceca07..a1874c37 100644--- a/frontend/src/styles/pages/_servers.scss+++ b/frontend/src/styles/pages/_servers.scss@@ -769,39 +769,108 @@}.server-setup-modal {+ position: fixed;+ top: 0;+ right: 0;+ bottom: 0;+ width: 480px;+ max-width: 100vw;+ max-height: none;+ border-radius: $radius-2xl 0 0 $radius-2xl;+ border-left: 1px solid $border-subtle;overflow: hidden;- border-radius: 20px;- width: 100%;- max-width: 540px;- max-height: min(720px, 90vh);display: flex;flex-direction: column;+ box-shadow: $shadow-lg;+ animation: drawer-slide-in 0.28s cubic-bezier(0.16, 1, 0.3, 1);.modal-header {flex-shrink: 0;align-items: flex-start;- padding: $space-5 $space-6 $space-4;+ padding: $space-6 $space-6 $space-5;background:linear-gradient(135deg, $accent-glow, transparent 42%),linear-gradient(135deg, $bg-card, $bg-elevated);+ border-bottom: 1px solid $border-subtle;h2 {- margin: $space-1 0 4px;+ margin: 0 0 $space-1;font-size: $font-size-xl;letter-spacing: -0.03em;}p {- max-width: 460px;margin: 0;color: $text-secondary;font-size: $font-size-sm;line-height: 1.45;}}+}- .servers-eyebrow {- font-size: 9px;+@keyframes drawer-slide-in {+ from { transform: translateX(100%); }+ to { transform: translateX(0); }+}++// Segmented tab control used in the Add Server drawer+.mode-switcher {+ display: flex;+ background: $bg-body;+ border: 1px solid $border-subtle;+ border-radius: $radius-lg;+ padding: 3px;+ gap: 2px;+ flex-shrink: 0;+ margin: $space-4 $space-6 0;++ &__tab {+ flex: 1;+ padding: $space-2 $space-3;+ background: transparent;+ border: none;+ border-radius: calc(#{$radius-md} - 1px);+ color: $text-secondary;+ font-size: $font-size-sm;+ font-weight: $font-weight-medium;+ cursor: pointer;+ transition: all 0.15s ease;++ &:hover {+ color: $text-primary;+ }++ &.is-active {+ background: $bg-card;+ color: $text-primary;+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);+ }+ }+}++// Brief instruction callout shown above the pair-code input+.pair-instructions {+ display: flex;+ gap: $space-3;+ padding: $space-3 $space-4;+ background: rgba($accent-primary-raw, 0.07);+ border: 1px solid rgba($accent-primary-raw, 0.22);+ border-radius: $radius-md;++ p {+ margin: 0;+ font-size: $font-size-sm;+ color: $text-secondary;+ line-height: 1.5;++ code {+ font-family: $font-mono;+ font-size: $font-size-xs;+ color: $accent-primary;+ background: rgba($accent-primary-raw, 0.12);+ padding: 1px 5px;+ border-radius: $radius-sm;+ }}}diff --git a/frontend/src/styles/pages/_templates.scss b/frontend/src/styles/pages/_templates.scssindex ac196a6c..3d53b394 100644--- a/frontend/src/styles/pages/_templates.scss+++ b/frontend/src/styles/pages/_templates.scss@@ -414,6 +414,51 @@text-transform: capitalize;}+// Template Detail Drawer+.template-detail-drawer {+ position: fixed;+ top: 0;+ right: 0;+ bottom: 0;+ width: 520px;+ max-width: 100vw;+ max-height: none;+ border-radius: $radius-2xl 0 0 $radius-2xl;+ border-left: 1px solid $border-subtle;+ overflow: hidden;+ display: flex;+ flex-direction: column;+ box-shadow: $shadow-lg;+ animation: drawer-slide-in 0.28s cubic-bezier(0.16, 1, 0.3, 1);++ .modal-header {+ flex-shrink: 0;+ align-items: flex-start;+ padding: $space-6;+ border-bottom: 1px solid $border-subtle;+ background:+ linear-gradient(135deg, $accent-glow, transparent 42%),+ linear-gradient(135deg, $bg-card, $bg-elevated);+ }++ .modal-body {+ flex: 1;+ min-height: 0;+ max-height: none;+ overflow-y: auto;+ @include custom-scrollbar();+ }++ .modal-footer {+ flex-shrink: 0;+ }+}++@keyframes drawer-slide-in {+ from { transform: translateX(100%); }+ to { transform: translateX(0); }+}+// Template Detail Modal.template-detail-header {display: flex;diff --git a/frontend/vite.config.js b/frontend/vite.config.jsindex f5ca9ad8..15ebf91f 100644--- a/frontend/vite.config.js+++ b/frontend/vite.config.js@@ -1,9 +1,15 @@import { defineConfig } from 'vite'import react from '@vitejs/plugin-react'+import tailwindcss from '@tailwindcss/vite'+import { fileURLToPath } from 'url'-// https://vitejs.dev/config/export default defineConfig({- plugins: [react()],+ plugins: [react(), tailwindcss()],+ resolve: {+ alias: {+ '@': fileURLToPath(new URL('./src', import.meta.url)),+ },+ },server: {port: 5274,// Enable polling for WSL (Windows filesystem doesn't support inotify)