Skip to content

A modern and elegant dashboard for network traffic visualization and analysis.

feat: Implement PWA support, enhance backend configuration and verification, and add UI improvements like an about dialog and toast notifications.

luoleieea3cc643ce4
diff --git a/.env.example b/.env.example
new file mode 100644
index 0000000..1d9f463
--- /dev/null
+++ b/.env.example
@@ -0,0 +1,45 @@
+# =============================================================================
+# Clash Master 环境配置文件
+# =============================================================================
+# 使用方法:
+# 1. 复制本文件为 .env: cp .env.example .env
+# 2. 修改下方的端口号(如果默认端口被占用)
+# 3. 启动服务: docker compose up -d
+# =============================================================================
+
+# -----------------------------------------------------------------------------
+# 端口配置(一般只需要改这里)
+# -----------------------------------------------------------------------------
+# 如果启动时提示 "端口已被占用",请修改以下三个端口为其他值
+# 例如:改为 8080, 8081, 8082
+
+# Web UI 访问端口 - 浏览器访问的地址 http://localhost:WEB_EXTERNAL_PORT
+WEB_EXTERNAL_PORT=3000
+
+# API 端口 - 后端 API 服务端口
+API_EXTERNAL_PORT=3001
+
+# WebSocket 端口 - 实时数据传输端口
+WS_EXTERNAL_PORT=3002
+
+# -----------------------------------------------------------------------------
+# 高级配置(一般不需要修改)
+# -----------------------------------------------------------------------------
+# 内部端口(容器内使用,除非你知道自己在做什么,否则不要改)
+# WEB_PORT=3000
+# API_PORT=3001
+# COLLECTOR_WS_PORT=3002
+
+# 数据库路径
+# DB_PATH=/app/data/stats.db
+
+# 运行环境
+# NODE_ENV=production
+
+# =============================================================================
+# 配置完成后,请使用以下命令启动:
+# docker compose up -d
+#
+# 然后访问: http://localhost:WEB_EXTERNAL_PORT
+# 例如: http://localhost:3000
+# =============================================================================
diff --git a/Dockerfile b/Dockerfile
index b5c0509..008d54c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,6 +8,9 @@ RUN apk add --no-cache python3 make g++ gcc && \
# Set working directory
WORKDIR /app
+# Disable Next.js telemetry
+ENV NEXT_TELEMETRY_DISABLED=1
+
# Copy package files
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml turbo.json ./
COPY apps/collector/package.json ./apps/collector/
@@ -26,7 +29,8 @@ RUN pnpm --filter @clashmaster/shared build
# Build collector
RUN pnpm --filter @clashmaster/collector build
-# Build web
+# Build web with production env for PWA
+ENV NODE_ENV=production
RUN pnpm --filter @clashmaster/web build
# Production stage
diff --git a/README.en.md b/README.en.md
index 4e1ab05..544d1ff 100644
--- a/README.en.md
+++ b/README.en.md
@@ -34,25 +34,14 @@ Throughout the entire development process, I didn't write a single line of code
## 📋 Table of Contents
-- [🤔 Preface](#-preface)
-- [📋 Table of Contents](#-table-of-contents)
-- [✨ Features](#-features)
- [🚀 Quick Start](#-quick-start)
- - [Option 1: Docker Compose (Recommended)](#option-1-docker-compose-recommended)
- - [Option 2: Docker Run](#option-2-docker-run)
- - [Option 3: Source Code](#option-3-source-code)
- [📖 First Use](#-first-use)
+- [🔧 Port Conflict Resolution](#-port-conflict-resolution)
- [🐳 Docker Configuration](#-docker-configuration)
- - [Ports](#ports)
- - [Data Persistence](#data-persistence)
- - [Custom Ports](#custom-ports)
- - [Update to Latest](#update-to-latest)
+- [❓ FAQ](#-faq)
- [📁 Project Structure](#-project-structure)
-- [🔧 FAQ](#-faq)
- [🛠️ Tech Stack](#️-tech-stack)
-- [🤝 Contributing](#-contributing)
- [📄 License](#-license)
-- [⭐ Star History](#-star-history)
## ✨ Features
@@ -69,9 +58,27 @@ Throughout the entire development process, I didn't write a single line of code
## 🚀 Quick Start
-### Option 1: Docker Compose (Recommended)
+### Option 1: One-Click Setup Script (Recommended)
-No need to clone the repo. Just create a `docker-compose.yml` file:
+The easiest way - automatically detects port conflicts and configures:
+
+```bash
+# Download and run
+curl -fsSL https://raw.githubusercontent.com/foru17/clash-master/main/setup.sh | bash
+
+# Or use wget
+wget -qO- https://raw.githubusercontent.com/foru17/clash-master/main/setup.sh | bash
+```
+
+The script will automatically:
+- ✅ Check if default ports (3000/3001/3002) are in use
+- ✅ Suggest available alternative ports
+- ✅ Create configuration file
+- ✅ Start the service
+
+### Option 2: Docker Compose (Manual)
+
+Create a `docker-compose.yml` file:
```yaml
services:
@@ -147,6 +154,54 @@ pnpm install
> 💡 **Get OpenClash Address**: OpenClash Plugin → Enable "External Control" → Copy address
+## 🔧 Port Conflict Resolution
+
+If you see "port already in use" error, here are the solutions:
+
+### Solution 1: Use One-Click Script (Easiest)
+
+```bash
+./setup.sh
+```
+
+The script will automatically detect and suggest available ports.
+
+### Solution 2: Use .env File
+
+Create a `.env` file:
+
+```bash
+cp .env.example .env
+```
+
+Modify ports to your preferred values:
+
+```env
+WEB_EXTERNAL_PORT=8080 # Change Web UI port
+API_EXTERNAL_PORT=8081 # Change API port
+WS_EXTERNAL_PORT=8082 # Change WebSocket port
+```
+
+Then restart:
+
+```bash
+docker compose down
+docker compose up -d
+```
+
+Now access http://localhost:8080
+
+### Solution 3: Directly modify docker-compose.yml
+
+```yaml
+ports:
+ - "8080:3000" # External 8080 → Internal 3000
+ - "8081:3001" # External 8081 → Internal 3001
+ - "8082:3002" # External 8082 → Internal 3002
+environment:
+ - NEXT_PUBLIC_WS_PORT=8082 # Tell frontend to use 8082
+```
+
## 🐳 Docker Configuration
### Ports
@@ -166,17 +221,6 @@ volumes:
- ./data:/app/data
```
-### Custom Ports
-
-Create `docker-compose.override.yml` to customize ports:
-
-```yaml
-services:
- clash-master:
- ports:
- - "8080:3000" # Map 3000 to host's 8080
-```
-
### Update to Latest
```bash
@@ -203,50 +247,62 @@ clash-master/
└── shared/ # Shared types and utilities
```
-## 🔧 FAQ
+## ❓ FAQ
-<details>
-<summary><b>Q: Failed to connect to OpenClash?</b></summary>
+### Q: "Port already in use" error?
-Check the following:
+**A:** Use the one-click setup script, it will automatically detect and suggest available ports:
+```bash
+./setup.sh
+```
+
+Or manually modify ports in `.env` file.
+
+### Q: Cannot access after changing ports?
+
+**A:** Make sure three things:
+1. Ports are modified in `.env` file
+2. Service is restarted: `docker compose restart`
+3. You're using the new port (e.g., `http://localhost:8080`)
+
+### Q: Failed to connect to OpenClash?
+
+**A:** Check the following:
1. Is "External Control" enabled in OpenClash?
2. Is the OpenClash address correct? (Format: `IP:Port`)
3. If Secret is configured, is the Token correct?
4. Can the container access OpenClash's network? (Check firewall settings)
-</details>
+### Q: How to view service logs?
-<details>
-<summary><b>Q: How to backup data?</b></summary>
+**A:**
+```bash
+# View all logs
+docker logs -f clash-master
-Data is stored in the mapped directory (default `./data/stats.db`). Simply backup this directory:
+# View last 100 lines
+docker logs --tail 100 clash-master
+```
+
+### Q: How to backup data?
+
+**A:** Data is stored in the mapped directory (default `./data/stats.db`):
```bash
cp -r ./data ./data-backup-$(date +%Y%m%d)
```
-</details>
-
-<details>
-<summary><b>Q: How to clean up historical data?</b></summary>
+### Q: How to clean up historical data?
+**A:**
1. Click "Backend Config" at the bottom of the left sidebar
2. Switch to the "Database" tab
3. Select cleanup range: 1 day / 7 days / 30 days / All
-</details>
-
-<details>
-<summary><b>Q: Support remote access?</b></summary>
-
-Yes. Map Docker ports to public IP to access remotely. Recommendations:
-
-- Use Nginx reverse proxy
-- Enable HTTPS encryption
-- Configure authentication
+### Q: Support ARM architecture?
-</details>
+**A:** Docker images support `linux/amd64` and `linux/arm64`.
## 🛠️ Tech Stack
diff --git a/README.md b/README.md
index 282d4ae..4257d14 100644
--- a/README.md
+++ b/README.md
@@ -24,54 +24,40 @@
![Clash Master Overview](./assets/clash-master-overview.png)
-## 🤔 写在前面
-
-这个项目从构思到当前这个完全体版本,仅用了 **4 小时**。核心 MVP 更是只用了 **1 小时** 就已完成([推文记录](https://x.com/luoleiorg/status/2019418455276204185))。
-
-感谢 [@Kai](https://x.com/real_kai42) 提供的 [Kimi Code](https://www.kimi.com/code/console) Allegretto 订阅支持。
-
-整个开发过程中,我一行代码都没有亲自写过(甚至都没打开 IDE 看过)——全部交给 [Kimi K2.5](https://www.kimi.com/code/console) 完成。作为一名 Vibe Coding 的老手,这次使用 Kimi 的体验依然让我惊喜:**没有调用限制,没有 Token 焦虑**。国产 AI,未来可期。
-
## 📋 目录
-- [🤔 写在前面](#-写在前面)
-- [📋 目录](#-目录)
-- [✨ 功能特性](#-功能特性)
- [🚀 快速开始](#-快速开始)
- - [方式一:Docker Compose(推荐)](#方式一docker-compose推荐)
- - [方式二:Docker 直接运行](#方式二docker-直接运行)
- - [方式三:源码运行](#方式三源码运行)
- [📖 首次使用](#-首次使用)
+- [🔧 端口冲突解决](#-端口冲突解决)
- [🐳 Docker 配置](#-docker-配置)
- - [端口说明](#端口说明)
- - [数据持久化](#数据持久化)
- - [自定义端口](#自定义端口)
- - [更新到最新版本](#更新到最新版本)
+- [❓ 常见问题](#-常见问题)
- [📁 项目结构](#-项目结构)
-- [🔧 常见问题](#-常见问题)
- [🛠️ 技术栈](#️-技术栈)
-- [🤝 贡献](#-贡献)
- [📄 许可证](#-许可证)
-- [⭐ Star 趋势](#-star-趋势)
-## ✨ 功能特性
+## 🚀 快速开始
-| 功能 | 描述 |
-| ------------------- | ------------------------------------------- |
-| 📊 **实时流量监控** | WebSocket 实时采集,延迟低至毫秒级 |
-| 📈 **趋势分析** | 支持 30分钟 / 1小时 / 24小时 多维度流量趋势 |
-| 🌐 **域名分析** | 查看各域名的流量、关联 IP、连接数详情 |
-| 🗺️ **IP 分析** | ASN、地理位置、所属域名关联展示 |
-| 🚀 **代理统计** | 各代理节点流量分配、连接数统计 |
-| 🌙 **深色模式** | 支持浅色 / 深色 / 跟随系统 三种主题 |
-| 🌍 **双语支持** | 中文 / 英文 无缝切换 |
-| 🔄 **多后端** | 同时监控多个 OpenClash 后端实例 |
+### 方式一:一键脚本(推荐)
-## 🚀 快速开始
+最简单的方式,自动检测端口冲突并配置:
-### 方式一:Docker Compose(推荐)
+```bash
+# 下载脚本
+curl -fsSL https://raw.githubusercontent.com/foru17/clash-master/main/setup.sh | bash
-无需克隆代码,只需创建一个 `docker-compose.yml` 文件即可:
+# 或使用 wget
+wget -qO- https://raw.githubusercontent.com/foru17/clash-master/main/setup.sh | bash
+```
+
+脚本会自动:
+- ✅ 检测默认端口(3000/3001/3002)是否被占用
+- ✅ 提供可用的替代端口
+- ✅ 创建配置文件
+- ✅ 启动服务
+
+### 方式二:Docker Compose(手动)
+
+创建 `docker-compose.yml`:
```yaml
services:
@@ -88,19 +74,36 @@ services:
environment:
- NODE_ENV=production
- API_PORT=3001
- - WS_PORT=3002
+ - COLLECTOR_WS_PORT=3002
- DB_PATH=/app/data/stats.db
```
-然后运行:
+启动服务:
```bash
docker compose up -d
```
-访问 `http://localhost:3000` 即可开始使用。
+访问 http://localhost:3000
+
+### 方式三:使用 .env 配置文件
+
+适合需要自定义端口的场景:
-### 方式二:Docker 直接运行
+```bash
+# 1. 下载配置文件
+curl -O https://raw.githubusercontent.com/foru17/clash-master/main/.env.example
+curl -O https://raw.githubusercontent.com/foru17/clash-master/main/docker-compose.yml
+
+# 2. 重命名为 .env 并编辑
+mv .env.example .env
+# 修改 .env 中的端口
+
+# 3. 启动
+docker compose up -d
+```
+
+### 方式四:Docker 直接运行
```bash
docker run -d \
@@ -113,29 +116,11 @@ docker run -d \
foru17/clash-master:latest
```
-访问 `http://localhost:3000` 即可开始使用。
-
-### 方式三:源码运行
-
-```bash
-# 1. 克隆项目
-git clone https://github.com/foru17/clash-master.git
-cd clash-master
-
-# 2. 安装依赖
-pnpm install
-
-# 3. 启动服务
-./start.sh
-
-# 4. 访问 http://localhost:3000 完成配置
-```
-
## 📖 首次使用
![首次使用](./assets/clash-master-setup.png)
-1. 打开 <http://localhost:3000>
+1. 打开 http://localhost:3000
2. 首次访问会弹出**后端配置**对话框
3. 填写 OpenClash 连接信息:
- **名称**: 自定义名称(如 "Home")
@@ -147,6 +132,54 @@ pnpm install
> 💡 **获取 OpenClash 地址**: 进入 OpenClash 插件 → 打开「外部控制」→ 复制地址
+## 🔧 端口冲突解决
+
+如果看到错误提示端口已被占用,有以下几种解决方案:
+
+### 方案 1:使用一键脚本(最简单)
+
+```bash
+./setup.sh
+```
+
+脚本会自动检测并提供可用的端口。
+
+### 方案 2:使用 .env 文件
+
+创建 `.env` 文件:
+
+```bash
+cp .env.example .env
+```
+
+修改端口为你想要的值:
+
+```env
+WEB_EXTERNAL_PORT=8080 # 修改 Web UI 端口
+API_EXTERNAL_PORT=8081 # 修改 API 端口
+WS_EXTERNAL_PORT=8082 # 修改 WebSocket 端口
+```
+
+然后重启:
+
+```bash
+docker compose down
+docker compose up -d
+```
+
+现在访问 http://localhost:8080
+
+### 方案 3:直接修改 docker-compose.yml
+
+```yaml
+ports:
+ - "8080:3000" # 外部 8080 → 内部 3000
+ - "8081:3001" # 外部 8081 → 内部 3001
+ - "8082:3002" # 外部 8082 → 内部 3002
+environment:
+ - NEXT_PUBLIC_WS_PORT=8082 # 告诉前端使用 8082
+```
+
## 🐳 Docker 配置
### 端口说明
@@ -159,24 +192,13 @@ pnpm install
### 数据持久化
-数据默认存储在容器内的 `/app/data` 目录,建议映射到宿主机以防止数据丢失:
+数据默认存储在容器内的 `/app/data` 目录,建议映射到宿主机:
```yaml
volumes:
- ./data:/app/data
```
-### 自定义端口
-
-如需修改默认端口,创建 `docker-compose.override.yml`:
-
-```yaml
-services:
- clash-master:
- ports:
- - "8080:3000" # 将 3000 映射到宿主机的 8080
-```
-
### 更新到最新版本
```bash
@@ -185,100 +207,94 @@ docker compose pull
docker compose up -d
```
-> 💡 每次推送到 `main` 分支或打 Tag 时,GitHub Actions 会自动构建并推送新镜像到 [Docker Hub](https://hub.docker.com/r/foru17/clash-master)。
+## ❓ 常见问题
-## 📁 项目结构
+### Q: 提示 "端口已被占用" 怎么办?
-```
-clash-master/
-├── docker-compose.yml # Docker Compose 配置
-├── Dockerfile # Docker 镜像构建
-├── docker-start.sh # Docker 启动脚本
-├── start.sh # 源码启动脚本
-├── assets/ # 预览图和图标
-├── apps/
-│ ├── collector/ # 数据收集服务(Node.js + WebSocket)
-│ └── web/ # Next.js 前端应用
-└── packages/
- └── shared/ # 共享类型定义和工具
+**A:** 使用一键配置脚本,它会自动检测并提供可用端口:
+
+```bash
+./setup.sh
```
-## 🔧 常见问题
+或者手动修改 `.env` 文件中的端口。
-<details>
-<summary><b>Q: 连接 OpenClash 失败?</b></summary>
+### Q: 修改端口后无法访问?
-检查以下几点:
+**A:** 确保三点:
+1. `.env` 文件中的端口已修改
+2. 重启了服务:`docker compose restart`
+3. 访问时使用了新端口(如 `http://localhost:8080`)
+### Q: 连接 OpenClash 失败?
+
+**A:** 检查以下几点:
1. OpenClash 的「外部控制」是否已开启
2. OpenClash 地址是否正确(格式:`IP:端口`)
3. 如果配置了 Secret,Token 是否填写正确
-4. 容器是否能访问到 OpenClash 所在网络(建议检查防火墙设置)
+4. 容器是否能访问到 OpenClash 所在网络
-</details>
+### Q: 如何查看服务日志?
-<details>
-<summary><b>Q: 如何备份数据?</b></summary>
+**A:**
+```bash
+# 查看所有日志
+docker logs -f clash-master
-数据存储在映射的目录中(默认 `./data/stats.db`),直接备份该目录即可:
+# 只看最后 100 行
+docker logs --tail 100 clash-master
+```
+
+### Q: 如何备份数据?
+
+**A:** 数据存储在映射的目录中(默认 `./data/stats.db`):
```bash
cp -r ./data ./data-backup-$(date +%Y%m%d)
```
-</details>
-
-<details>
-<summary><b>Q: 如何清理历史数据?</b></summary>
+### Q: 如何清理历史数据?
+**A:**
1. 点击左侧边栏底部的「后端配置」
2. 切换到「数据库」标签页
3. 选择清理范围:1天前 / 7天前 / 30天前 / 全部
-</details>
-
-<details>
-<summary><b>Q: 支持远程访问吗?</b></summary>
+### Q: 支持 ARM 架构吗?
-支持。将 Docker 端口映射到公网 IP 即可访问。建议:
+**A:** 目前 Docker 镜像支持 `linux/amd64` 和 `linux/arm64`。
-- 配合 Nginx 反向代理
-- 启用 HTTPS 加密
-- 配置身份验证
+## 📁 项目结构
-</details>
+```
+clash-master/
+├── docker-compose.yml # Docker Compose 配置
+├── Dockerfile # Docker 镜像构建
+├── setup.sh # 一键配置脚本 ⭐
+├── docker-start.sh # Docker 启动脚本
+├── start.sh # 源码启动脚本
+├── .env.example # 环境变量示例
+├── assets/ # 预览图和图标
+├── apps/
+│ ├── collector/ # 数据收集服务(Node.js + WebSocket)
+│ └── web/ # Next.js 前端应用
+└── packages/
+ └── shared/ # 共享类型定义和工具
+```
## 🛠️ 技术栈
-- **前端**: [Next.js 15](https://nextjs.org/) + [React 19](https://react.dev/) + [TypeScript](https://www.typescriptlang.org/)
-- **样式**: [Tailwind CSS](https://tailwindcss.com/) + [shadcn/ui](https://ui.shadcn.com/)
-- **图表**: [Recharts](https://recharts.org/)
-- **国际化**: [next-intl](https://next-intl-docs.vercel.app/)
-- **后端**: [Node.js](https://nodejs.org/) + [Fastify](https://www.fastify.io/) + WebSocket
-- **数据库**: [SQLite](https://www.sqlite.org/) ([better-sqlite3](https://github.com/WiseLibs/better-sqlite3))
-- **构建**: [pnpm](https://pnpm.io/) + [Turborepo](https://turbo.build/)
-
-## 🤝 贡献
-
-欢迎提交 Issue 和 Pull Request!
-
-- 🐛 [提交 Bug](https://github.com/foru17/clash-master/issues/new)
-- 💡 [提出新功能](https://github.com/foru17/clash-master/issues/new)
-- 🔧 [贡献代码](https://github.com/foru17/clash-master/pulls)
+- **前端**: Next.js 15 + React 19 + TypeScript + Tailwind CSS
+- **数据收集**: Node.js + WebSocket + SQLite
+- **可视化**: Recharts + D3.js
+- **部署**: Docker + Docker Compose
## 📄 许可证
-[MIT](LICENSE) © [foru17](https://github.com/foru17)
-
----
-
-## ⭐ Star 趋势
-
-[![Star History Chart](https://api.star-history.com/svg?repos=foru17/clash-master&type=date&legend=top-left)](https://www.star-history.com/#foru17/clash-master&type=date&legend=top-left)
+MIT License © 2024 [foru17](https://github.com/foru17)
---
<p align="center">
- <sub>Made with ❤️ by <a href="https://github.com/foru17">@foru17</a></sub><br>
- <sub>如果这个项目对你有帮助,请考虑给它一颗 ⭐</sub>
+ 如果这个项目对你有帮助,请给个 ⭐ Star 支持一下!
</p>
diff --git a/apps/web/app/[locale]/layout.tsx b/apps/web/app/[locale]/layout.tsx
index c339cef..112764d 100644
--- a/apps/web/app/[locale]/layout.tsx
+++ b/apps/web/app/[locale]/layout.tsx
@@ -7,6 +7,7 @@ import { getMessages } from "next-intl/server";
import { notFound } from "next/navigation";
import { routing } from "@/i18n/routing";
import { ServiceWorkerRegister } from "@/components/sw-register";
+import { Toaster } from "@/components/ui/sonner";
const geistSans = Geist({
variable: "--font-geist-sans",
@@ -76,6 +77,7 @@ export default async function RootLayout({
</NextIntlClientProvider>
</ThemeProvider>
<ServiceWorkerRegister />
+ <Toaster position="top-center" />
</body>
</html>
);
diff --git a/apps/web/app/[locale]/page.tsx b/apps/web/app/[locale]/page.tsx
index 3b65b4e..b645b6c 100644
--- a/apps/web/app/[locale]/page.tsx
+++ b/apps/web/app/[locale]/page.tsx
@@ -1,8 +1,26 @@
"use client";
import { useEffect, useState, useCallback, useRef, memo } from "react";
-import { useTranslations } from "next-intl";
-import { Globe, MapPin, Server, Route, Network, Activity, RefreshCw, Radio, ChevronDown, Pause } from "lucide-react";
+import { useTranslations, useLocale } from "next-intl";
+import { useTheme } from "next-themes";
+import {
+ Globe,
+ MapPin,
+ Server,
+ Route,
+ Activity,
+ RefreshCw,
+ Radio,
+ ChevronDown,
+ Pause,
+ Settings,
+ Moon,
+ Sun,
+ Monitor,
+ Info,
+} from "lucide-react";
+import { useRouter, usePathname } from "next/navigation";
+import Image from "next/image";
import { Navigation } from "@/components/navigation";
import { StatsCards } from "@/components/stats-cards";
import { OverviewTab } from "@/components/overview";
@@ -15,6 +33,7 @@ import { CountryTrafficList } from "@/components/country-traffic-list";
import { DomainsTable } from "@/components/domains-table";
import { IPsTable } from "@/components/ips-table";
import { BackendConfigDialog } from "@/components/backend-config-dialog";
+import { AboutDialog } from "@/components/about-dialog";
import { ThemeToggle } from "@/components/theme-toggle";
import { LanguageSwitcher } from "@/components/language-switcher";
import { Button } from "@/components/ui/button";
@@ -30,7 +49,12 @@ import {
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu";
import { Switch } from "@/components/ui/switch";
-import { api, getPresetTimeRange, type TimeRange, type Backend } from "@/lib/api";
+import {
+ api,
+ getPresetTimeRange,
+ type TimeRange,
+ type Backend,
+} from "@/lib/api";
import { cn } from "@/lib/utils";
import type { StatsSummary, CountryStats } from "@clashmaster/shared";
@@ -53,7 +77,6 @@ const NAV_ITEMS = [
{ id: "countries", label: "countries" },
{ id: "proxies", label: "proxies" },
{ id: "rules", label: "rules" },
- { id: "network", label: "network" },
];
// Memoized tab content components to prevent unnecessary re-renders
@@ -73,8 +96,8 @@ const OverviewContent = memo(function OverviewContent({
return (
<div className="space-y-6">
<StatsCards data={data} error={error} />
- <OverviewTab
- domains={data?.topDomains || []}
+ <OverviewTab
+ domains={data?.topDomains || []}
proxies={data?.proxyStats || []}
countries={countryData}
activeBackendId={activeBackendId}
@@ -98,10 +121,10 @@ const DomainsContent = memo(function DomainsContent({
<TabsTrigger value="domains">{t("domainList")}</TabsTrigger>
<TabsTrigger value="ips">{t("ipList")}</TabsTrigger>
</TabsList>
- <TabsContent value="domains">
+ <TabsContent value="domains" className="overflow-hidden">
<DomainsTable data={data?.topDomains || []} />
</TabsContent>
- <TabsContent value="ips">
+ <TabsContent value="ips" className="overflow-hidden">
<IPsTable data={data?.topIPs || []} />
</TabsContent>
</Tabs>
@@ -120,7 +143,9 @@ const CountriesContent = memo(function CountriesContent({
<WorldTrafficMap data={countryData} />
<Card>
<CardHeader>
- <CardTitle className="text-lg font-semibold">{t("details")}</CardTitle>
+ <CardTitle className="text-lg font-semibold">
+ {t("details")}
+ </CardTitle>
</CardHeader>
<CardContent>
<CountryTrafficList data={countryData} />
@@ -139,8 +164,8 @@ const ProxiesContent = memo(function ProxiesContent({
}) {
return (
<div className="space-y-6">
- <InteractiveProxyStats
- data={data?.proxyStats || []}
+ <InteractiveProxyStats
+ data={data?.proxyStats || []}
activeBackendId={activeBackendId}
/>
</div>
@@ -175,6 +200,10 @@ export default function DashboardPage() {
const t = useTranslations("nav");
const dashboardT = useTranslations("dashboard");
const backendT = useTranslations("backend");
+ const router = useRouter();
+ const pathname = usePathname();
+ const locale = useLocale();
+ const { theme, setTheme } = useTheme();
const [activeTab, setActiveTab] = useState("overview");
const [data, setData] = useState<StatsSummary | null>(null);
const [countryData, setCountryData] = useState<CountryStats[]>([]);
@@ -185,6 +214,7 @@ export default function DashboardPage() {
const [autoRefresh, setAutoRefresh] = useState(true);
const [showBackendDialog, setShowBackendDialog] = useState(false);
const [isFirstTime, setIsFirstTime] = useState(false);
+ const [showAboutDialog, setShowAboutDialog] = useState(false);
const [backends, setBackends] = useState<Backend[]>([]);
const [activeBackend, setActiveBackend] = useState<Backend | null>(null);
const [listeningBackends, setListeningBackends] = useState<Backend[]>([]);
@@ -196,17 +226,17 @@ export default function DashboardPage() {
try {
const backendsData = await api.getBackends();
setBackends(backendsData);
-
+
if (backendsData.length === 0) {
setIsFirstTime(true);
setShowBackendDialog(true);
} else {
// Find active backend
- const active = backendsData.find(b => b.is_active) || backendsData[0];
+ const active = backendsData.find((b) => b.is_active) || backendsData[0];
setActiveBackend(active);
-
+
// Find listening backends
- const listening = backendsData.filter(b => b.listening);
+ const listening = backendsData.filter((b) => b.listening);
setListeningBackends(listening);
}
} catch (err) {
@@ -215,48 +245,52 @@ export default function DashboardPage() {
}, []);
// Load stats with deduplication
- const loadStats = useCallback(async (showLoading = false) => {
- if (showLoading) setIsLoading(true);
-
- try {
- // Get active backend ID if available
- const activeBackendData = await api.getActiveBackend();
-
- // If no active backend, skip stats loading
- if ('error' in activeBackendData) {
- setData(null);
- setCountryData([]);
+ const loadStats = useCallback(
+ async (showLoading = false) => {
+ if (showLoading) setIsLoading(true);
+
+ try {
+ // Get active backend ID if available
+ const activeBackendData = await api.getActiveBackend();
+
+ // If no active backend, skip stats loading
+ if ("error" in activeBackendData) {
+ setData(null);
+ setCountryData([]);
+ setError(null);
+ return;
+ }
+
+ const backendId = activeBackendData.id;
+
+ const [stats, countries] = await Promise.all([
+ api.getSummary(backendId, timeRange),
+ api.getCountries(backendId, 50, timeRange),
+ ]);
+
+ // Check if data actually changed by comparing JSON (include backendId to detect backend switch)
+ const newDataJson = JSON.stringify({
+ backendId,
+ totalDownload: stats?.totalDownload,
+ totalUpload: stats?.totalUpload,
+ totalDomains: stats?.totalDomains,
+ });
+
+ if (newDataJson !== lastDataRef.current) {
+ lastDataRef.current = newDataJson;
+ setData(stats);
+ setCountryData(countries);
+ setLastUpdated(new Date());
+ }
setError(null);
- return;
- }
-
- const backendId = activeBackendData.id;
-
- const [stats, countries] = await Promise.all([
- api.getSummary(backendId, timeRange),
- api.getCountries(backendId, 50, timeRange),
- ]);
-
- // Check if data actually changed by comparing JSON
- const newDataJson = JSON.stringify({
- totalDownload: stats?.totalDownload,
- totalUpload: stats?.totalUpload,
- totalDomains: stats?.totalDomains,
- });
-
- if (newDataJson !== lastDataRef.current) {
- lastDataRef.current = newDataJson;
- setData(stats);
- setCountryData(countries);
- setLastUpdated(new Date());
+ } catch (err) {
+ setError(err instanceof Error ? err.message : "Unknown error");
+ } finally {
+ if (showLoading) setIsLoading(false);
}
- setError(null);
- } catch (err) {
- setError(err instanceof Error ? err.message : "Unknown error");
- } finally {
- if (showLoading) setIsLoading(false);
- }
- }, [timeRange]);
+ },
+ [timeRange],
+ );
// Switch active backend
const handleSwitchBackend = async (backendId: number) => {
@@ -270,9 +304,9 @@ export default function DashboardPage() {
};
// Handle backend configuration changes
- const handleBackendChange = useCallback(() => {
- checkBackend();
- loadStats(true);
+ const handleBackendChange = useCallback(async () => {
+ await checkBackend();
+ await loadStats(true);
}, [checkBackend, loadStats]);
// Initial load
@@ -287,7 +321,7 @@ export default function DashboardPage() {
// Background polling - every 5 seconds without loading state (only when autoRefresh is on)
useEffect(() => {
if (!autoRefresh) return;
-
+
const interval = setInterval(() => {
loadStats(false);
}, 5000);
@@ -311,7 +345,9 @@ export default function DashboardPage() {
case "countries":
return <CountriesContent countryData={countryData} />;
case "proxies":
- return <ProxiesContent data={data} activeBackendId={activeBackend?.id} />;
+ return (
+ <ProxiesContent data={data} activeBackendId={activeBackend?.id} />
+ );
case "rules":
return <RulesContent data={data} />;
case "network":
@@ -331,51 +367,67 @@ export default function DashboardPage() {
return (
<div className="flex min-h-screen bg-background">
- <Navigation activeTab={activeTab} onTabChange={setActiveTab} />
+ <Navigation activeTab={activeTab} onTabChange={setActiveTab} onBackendChange={handleBackendChange} />
- <main className="flex-1 lg:ml-0">
+ <main className="flex-1 min-w-0 lg:ml-0">
<header className="sticky top-0 z-40 lg:static border-b border-border/40 bg-background/80 backdrop-blur-md">
<div className="flex items-center justify-between h-14 px-4 lg:px-6">
<div className="flex items-center gap-3">
- <h2 className="font-semibold">
- {t(activeTab)}
- </h2>
-
+ {/* Mobile: Logo, Desktop: Page Title */}
+ <div className="flex items-center gap-2">
+ <div className="lg:hidden w-8 h-8 rounded-lg bg-primary/10 flex items-center justify-center overflow-hidden">
+ <Image
+ src="/clash-master.png"
+ alt="Clash Master"
+ width={32}
+ height={32}
+ className="w-full h-full object-cover"
+ />
+ </div>
+ <h2 className="hidden lg:block font-semibold">{t(activeTab)}</h2>
+ </div>
+
{/* Backend Selector */}
{backends.length > 0 && (
<DropdownMenu>
<DropdownMenuTrigger asChild>
- <Button variant="ghost" size="sm" className="gap-1">
+ <Button variant="ghost" size="sm" className="gap-1 px-2 sm:px-3">
<Server className="w-4 h-4" />
- <span className="max-w-[120px] truncate">
+ <span className="max-w-[80px] sm:max-w-[120px] truncate">
{activeBackend?.name || backendT("selectBackend")}
</span>
<ChevronDown className="w-3 h-3" />
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="start" className="w-56">
- <DropdownMenuLabel>{backendT("backendsTab")}</DropdownMenuLabel>
+ <DropdownMenuLabel>
+ {backendT("backendsTab")}
+ </DropdownMenuLabel>
<DropdownMenuSeparator />
{backends.map((backend) => (
<DropdownMenuItem
key={backend.id}
onClick={() => handleSwitchBackend(backend.id)}
- className="flex items-center justify-between"
- >
- <span className={cn(
- "truncate",
- backend.is_active && "font-medium"
- )}>
+ className="flex items-center justify-between">
+ <span
+ className={cn(
+ "truncate",
+ backend.is_active && "font-medium",
+ )}>
{backend.name}
</span>
<div className="flex items-center gap-1">
{backend.is_active && (
- <Badge variant="default" className="text-[10px] h-5">
+ <Badge
+ variant="default"
+ className="text-[10px] h-5">
{backendT("displaying")}
</Badge>
)}
{backend.listening && !backend.is_active && (
- <Badge variant="secondary" className="text-[10px] h-5">
+ <Badge
+ variant="secondary"
+ className="text-[10px] h-5">
<Radio className="w-2 h-2 mr-1" />
{backendT("collecting")}
</Badge>
@@ -384,7 +436,8 @@ export default function DashboardPage() {
</DropdownMenuItem>
))}
<DropdownMenuSeparator />
- <DropdownMenuItem onClick={() => setShowBackendDialog(true)}>
+ <DropdownMenuItem
+ onClick={() => setShowBackendDialog(true)}>
<Server className="w-4 h-4 mr-2" />
{backendT("manageBackends")}
</DropdownMenuItem>
@@ -396,11 +449,10 @@ export default function DashboardPage() {
{listeningBackends.length > 0 && (
<div className="hidden md:flex items-center gap-1">
{listeningBackends.slice(0, 3).map((backend) => (
- <Badge
- key={backend.id}
- variant="outline"
- className="text-[10px] h-5 gap-1 border-green-500/30 text-green-600"
- >
+ <Badge
+ key={backend.id}
+ variant="outline"
+ className="text-[10px] h-5 gap-1 border-green-500/30 text-green-600">
<Radio className="w-2 h-2" />
{backend.name}
</Badge>
@@ -414,8 +466,8 @@ export default function DashboardPage() {
)}
</div>
- <div className="flex items-center gap-2">
- {/* Auto refresh toggle */}
+ <div className="flex items-center gap-1 sm:gap-2">
+ {/* Desktop: Auto refresh toggle */}
<div className="hidden sm:flex items-center gap-2 mr-2">
<Switch
id="auto-refresh"
@@ -425,12 +477,13 @@ export default function DashboardPage() {
/>
<label
htmlFor="auto-refresh"
- className="text-sm text-muted-foreground cursor-pointer select-none flex items-center gap-1.5"
- >
+ className="text-sm text-muted-foreground cursor-pointer select-none flex items-center gap-1.5">
{autoRefresh ? (
<>
<RefreshCw className="w-3.5 h-3.5 text-emerald-500" />
- <span className="text-emerald-600">{dashboardT("autoRefresh")}</span>
+ <span className="text-emerald-600">
+ {dashboardT("autoRefresh")}
+ </span>
</>
) : (
<>
@@ -440,16 +493,130 @@ export default function DashboardPage() {
)}
</label>
</div>
- <LanguageSwitcher />
- <ThemeToggle />
+
+ {/* Desktop: Language & Theme */}
+ <div className="hidden sm:flex items-center gap-1">
+ <LanguageSwitcher />
+ <ThemeToggle />
+ </div>
+
+ {/* Mobile: Settings Dropdown */}
+ <div className="sm:hidden">
+ <DropdownMenu>
+ <DropdownMenuTrigger asChild>
+ <Button variant="ghost" size="icon" className="h-9 w-9">
+ <Settings className="w-5 h-5" />
+ </Button>
+ </DropdownMenuTrigger>
+ <DropdownMenuContent align="end" className="w-56">
+ {/* Backend Selector for Mobile */}
+ {backends.length > 0 && (
+ <>
+ <DropdownMenuLabel className="flex items-center gap-2">
+ <Server className="w-4 h-4" />
+ {backendT("backendsTab")}
+ </DropdownMenuLabel>
+ {backends.map((backend) => (
+ <DropdownMenuItem
+ key={backend.id}
+ onClick={() => handleSwitchBackend(backend.id)}
+ className="flex items-center justify-between">
+ <span className={cn(
+ "truncate",
+ backend.is_active && "font-medium"
+ )}>
+ {backend.name}
+ </span>
+ {backend.is_active && (
+ <Badge variant="default" className="text-[10px] h-5">
+ {backendT("displaying")}
+ </Badge>
+ )}
+ </DropdownMenuItem>
+ ))}
+ <DropdownMenuSeparator />
+ <DropdownMenuItem onClick={() => setShowBackendDialog(true)}>
+ <Server className="w-4 h-4 mr-2" />
+ {backendT("manageBackends")}
+ </DropdownMenuItem>
+ <DropdownMenuSeparator />
+ </>
+ )}
+
+ {/* Auto Refresh Toggle */}
+ <DropdownMenuLabel className="flex items-center gap-2">
+ <RefreshCw className="w-4 h-4" />
+ {dashboardT("refresh")}
+ </DropdownMenuLabel>
+ <DropdownMenuItem onClick={() => setAutoRefresh(!autoRefresh)}>
+ <div className="flex items-center justify-between w-full">
+ <span>{autoRefresh ? dashboardT("autoRefresh") : dashboardT("paused")}</span>
+ <Switch checked={autoRefresh} className="data-[state=checked]:bg-emerald-500 ml-2" />
+ </div>
+ </DropdownMenuItem>
+ <DropdownMenuSeparator />
+
+ {/* Theme Selection */}
+ <DropdownMenuLabel className="flex items-center gap-2">
+ {theme === 'dark' ? <Moon className="w-4 h-4" /> : <Sun className="w-4 h-4" />}
+ Theme
+ </DropdownMenuLabel>
+ <DropdownMenuItem onClick={() => setTheme('light')} className={theme === 'light' ? 'bg-muted' : ''}>
+ <Sun className="w-4 h-4 mr-2 text-amber-500" />
+ Light {theme === 'light' && '✓'}
+ </DropdownMenuItem>
+ <DropdownMenuItem onClick={() => setTheme('dark')} className={theme === 'dark' ? 'bg-muted' : ''}>
+ <Moon className="w-4 h-4 mr-2 text-indigo-500" />
+ Dark {theme === 'dark' && '✓'}
+ </DropdownMenuItem>
+ <DropdownMenuItem onClick={() => setTheme('system')} className={theme === 'system' ? 'bg-muted' : ''}>
+ <Monitor className="w-4 h-4 mr-2 text-slate-500" />
+ System {theme === 'system' && '✓'}
+ </DropdownMenuItem>
+ <DropdownMenuSeparator />
+
+ {/* Language Selection */}
+ <DropdownMenuLabel className="flex items-center gap-2">
+ <Globe className="w-4 h-4" />
+ Language
+ </DropdownMenuLabel>
+ <DropdownMenuItem
+ onClick={() => {
+ const newPathname = pathname.replace(`/${locale}`, '/en');
+ router.push(newPathname);
+ }}
+ className={locale === 'en' ? 'bg-muted' : ''}>
+ English {locale === 'en' && '✓'}
+ </DropdownMenuItem>
+ <DropdownMenuItem
+ onClick={() => {
+ const newPathname = pathname.replace(`/${locale}`, '/zh');
+ router.push(newPathname);
+ }}
+ className={locale === 'zh' ? 'bg-muted' : ''}>
+ 中文 {locale === 'zh' && '✓'}
+ </DropdownMenuItem>
+ <DropdownMenuSeparator />
+
+ {/* About */}
+ <DropdownMenuItem onClick={() => setShowAboutDialog(true)}>
+ <Info className="w-4 h-4 mr-2 text-primary" />
+ About
+ </DropdownMenuItem>
+ </DropdownMenuContent>
+ </DropdownMenu>
+ </div>
+
+ {/* Refresh Button - Both Desktop & Mobile */}
<Button
variant="outline"
size="icon"
onClick={() => loadStats(true)}
disabled={isLoading}
- className="ml-1"
- >
- <RefreshCw className={cn("w-4 h-4", isLoading && "animate-spin")} />
+ className="h-9 w-9">
+ <RefreshCw
+ className={cn("w-4 h-4", isLoading && "animate-spin")}
+ />
</Button>
</div>
</div>
@@ -471,6 +638,12 @@ export default function DashboardPage() {
}}
onBackendChange={handleBackendChange}
/>
+
+ {/* About Dialog */}
+ <AboutDialog
+ open={showAboutDialog}
+ onOpenChange={setShowAboutDialog}
+ />
</div>
);
}
diff --git a/apps/web/app/globals.css b/apps/web/app/globals.css
index e3f9891..9e77e1e 100644
--- a/apps/web/app/globals.css
+++ b/apps/web/app/globals.css
@@ -43,85 +43,85 @@
--radius-2xl: calc(var(--radius) + 8px);
--radius-3xl: calc(var(--radius) + 12px);
--radius-4xl: calc(var(--radius) + 16px);
-
+
/* UniFi Style Colors */
- --color-unifi-blue: #0063FF;
- --color-unifi-purple: #7B61FF;
- --color-unifi-cyan: #00C7FF;
- --color-unifi-green: #00D084;
- --color-unifi-orange: #FF8C42;
- --color-unifi-pink: #FF6B9D;
+ --color-unifi-blue: #0063ff;
+ --color-unifi-purple: #7b61ff;
+ --color-unifi-cyan: #00c7ff;
+ --color-unifi-green: #00d084;
+ --color-unifi-orange: #ff8c42;
+ --color-unifi-pink: #ff6b9d;
}
:root {
--radius: 0.75rem;
/* Light Mode - Clean white background */
- --background: #F5F7FA;
- --foreground: #1A1D29;
- --card: #FFFFFF;
- --card-foreground: #1A1D29;
- --popover: #FFFFFF;
- --popover-foreground: #1A1D29;
- --primary: #0063FF;
- --primary-foreground: #FFFFFF;
- --secondary: #E8ECF2;
- --secondary-foreground: #1A1D29;
- --muted: #E8ECF2;
- --muted-foreground: #6B7280;
- --accent: #E8ECF2;
- --accent-foreground: #1A1D29;
- --destructive: #EF4444;
- --border: #E2E8F0;
- --input: #E2E8F0;
- --ring: #0063FF;
- --chart-1: #0063FF;
- --chart-2: #7B61FF;
- --chart-3: #00C7FF;
- --chart-4: #00D084;
- --chart-5: #FF8C42;
- --sidebar: #FFFFFF;
- --sidebar-foreground: #1A1D29;
- --sidebar-primary: #0063FF;
- --sidebar-primary-foreground: #FFFFFF;
- --sidebar-accent: #E8ECF2;
- --sidebar-accent-foreground: #1A1D29;
- --sidebar-border: #E2E8F0;
- --sidebar-ring: #0063FF;
+ --background: #f5f7fa;
+ --foreground: #1a1d29;
+ --card: #ffffff;
+ --card-foreground: #1a1d29;
+ --popover: #ffffff;
+ --popover-foreground: #1a1d29;
+ --primary: #0063ff;
+ --primary-foreground: #ffffff;
+ --secondary: #e8ecf2;
+ --secondary-foreground: #1a1d29;
+ --muted: #e8ecf2;
+ --muted-foreground: #6b7280;
+ --accent: #e8ecf2;
+ --accent-foreground: #1a1d29;
+ --destructive: #ef4444;
+ --border: #e2e8f0;
+ --input: #e2e8f0;
+ --ring: #0063ff;
+ --chart-1: #0063ff;
+ --chart-2: #7b61ff;
+ --chart-3: #00c7ff;
+ --chart-4: #00d084;
+ --chart-5: #ff8c42;
+ --sidebar: #ffffff;
+ --sidebar-foreground: #1a1d29;
+ --sidebar-primary: #0063ff;
+ --sidebar-primary-foreground: #ffffff;
+ --sidebar-accent: #e8ecf2;
+ --sidebar-accent-foreground: #1a1d29;
+ --sidebar-border: #e2e8f0;
+ --sidebar-ring: #0063ff;
}
.dark {
/* Dark Mode - UniFi Dark Theme */
- --background: #0B0F19;
- --foreground: #F8FAFC;
+ --background: #0b0f19;
+ --foreground: #f8fafc;
--card: rgba(23, 28, 43, 0.8);
- --card-foreground: #F8FAFC;
- --popover: #171C2B;
- --popover-foreground: #F8FAFC;
- --primary: #3B82F6;
- --primary-foreground: #FFFFFF;
+ --card-foreground: #f8fafc;
+ --popover: #171c2b;
+ --popover-foreground: #f8fafc;
+ --primary: #3b82f6;
+ --primary-foreground: #ffffff;
--secondary: rgba(59, 130, 246, 0.15);
- --secondary-foreground: #F8FAFC;
- --muted: #1E2538;
- --muted-foreground: #94A3B8;
+ --secondary-foreground: #f8fafc;
+ --muted: #1e2538;
+ --muted-foreground: #94a3b8;
--accent: rgba(59, 130, 246, 0.15);
- --accent-foreground: #F8FAFC;
- --destructive: #EF4444;
+ --accent-foreground: #f8fafc;
+ --destructive: #ef4444;
--border: rgba(255, 255, 255, 0.08);
--input: rgba(255, 255, 255, 0.08);
- --ring: #3B82F6;
- --chart-1: #3B82F6;
- --chart-2: #8B5CF6;
- --chart-3: #06B6D4;
- --chart-4: #10B981;
- --chart-5: #F59E0B;
- --sidebar: #0F1420;
- --sidebar-foreground: #F8FAFC;
- --sidebar-primary: #3B82F6;
- --sidebar-primary-foreground: #FFFFFF;
+ --ring: #3b82f6;
+ --chart-1: #3b82f6;
+ --chart-2: #8b5cf6;
+ --chart-3: #06b6d4;
+ --chart-4: #10b981;
+ --chart-5: #f59e0b;
+ --sidebar: #0f1420;
+ --sidebar-foreground: #f8fafc;
+ --sidebar-primary: #3b82f6;
+ --sidebar-primary-foreground: #ffffff;
--sidebar-accent: rgba(59, 130, 246, 0.15);
- --sidebar-accent-foreground: #F8FAFC;
+ --sidebar-accent-foreground: #f8fafc;
--sidebar-border: rgba(255, 255, 255, 0.08);
- --sidebar-ring: #3B82F6;
+ --sidebar-ring: #3b82f6;
}
@layer base {
@@ -134,12 +134,35 @@
}
body {
@apply bg-background text-foreground antialiased;
- background-image:
- radial-gradient(ellipse at 0% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
- radial-gradient(ellipse at 100% 0%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
- radial-gradient(ellipse at 100% 100%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
+ background-image:
+ radial-gradient(
+ ellipse at 0% 0%,
+ rgba(59, 130, 246, 0.08) 0%,
+ transparent 50%
+ ),
+ radial-gradient(
+ ellipse at 100% 0%,
+ rgba(139, 92, 246, 0.05) 0%,
+ transparent 50%
+ ),
+ radial-gradient(
+ ellipse at 100% 100%,
+ rgba(6, 182, 212, 0.05) 0%,
+ transparent 50%
+ );
background-attachment: fixed;
}
+
+ /* Prevent Radix UI scroll-lock from causing layout shift */
+ /* scrollbar-gutter: stable already reserves space, so we override Radix's compensation */
+ html[data-scroll-locked] {
+ margin-right: 0 !important;
+ }
+
+ body[data-scroll-locked] {
+ padding-right: 0 !important;
+ margin-right: 0 !important;
+ }
}
/* Glass Card Effect */
@@ -148,7 +171,7 @@
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.08);
- box-shadow:
+ box-shadow:
0 4px 6px -1px rgba(0, 0, 0, 0.1),
0 2px 4px -2px rgba(0, 0, 0, 0.1),
inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
@@ -157,7 +180,7 @@
.light .glass-card {
background: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(0, 0, 0, 0.06);
- box-shadow:
+ box-shadow:
0 4px 6px -1px rgba(0, 0, 0, 0.05),
0 2px 4px -2px rgba(0, 0, 0, 0.05),
inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
@@ -165,7 +188,7 @@
/* Gradient Text */
.gradient-text {
- background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #06B6D4 100%);
+ background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
@@ -201,21 +224,22 @@
/* Animations */
@keyframes fade-in-up {
- from {
- opacity: 0;
- transform: translateY(20px);
+ from {
+ opacity: 0;
+ transform: translateY(20px);
}
- to {
- opacity: 1;
- transform: translateY(0);
+ to {
+ opacity: 1;
+ transform: translateY(0);
}
}
@keyframes pulse-glow {
- 0%, 100% {
+ 0%,
+ 100% {
box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}
- 50% {
+ 50% {
box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}
}
@@ -269,7 +293,9 @@
/* Card hover effects */
.hover-lift {
- transition: transform 0.2s ease, box-shadow 0.2s ease;
+ transition:
+ transform 0.2s ease,
+ box-shadow 0.2s ease;
}
.hover-lift:hover {
diff --git a/apps/web/components/about-dialog.tsx b/apps/web/components/about-dialog.tsx
new file mode 100644
index 0000000..9dec54e
--- /dev/null
+++ b/apps/web/components/about-dialog.tsx
@@ -0,0 +1,169 @@
+"use client";
+
+import Image from "next/image";
+import { ExternalLink, ArrowUpCircle, RefreshCw } from "lucide-react";
+import { Button } from "@/components/ui/button";
+import {
+ Dialog,
+ DialogContent,
+ DialogHeader,
+ DialogTitle,
+} from "@/components/ui/dialog";
+import { useTranslations } from "next-intl";
+import { useVersionCheck } from "@/hooks/use-version-check";
+
+interface AboutDialogProps {
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+}
+
+const APP_VERSION = process.env.NEXT_PUBLIC_APP_VERSION || "0.0.0";
+const GITHUB_URL = "https://github.com/foru17/clash-master";
+
+export function AboutDialog({ open, onOpenChange }: AboutDialogProps) {
+ const aboutT = useTranslations("about");
+ const { latestVersion, hasUpdate, isChecking, stars, checkNow } =
+ useVersionCheck(APP_VERSION);
+
+ return (
+ <Dialog open={open} onOpenChange={onOpenChange}>
+ <DialogContent className="sm:max-w-[420px]">
+ <DialogHeader>
+ <DialogTitle className="flex items-center gap-2">
+ About
+ </DialogTitle>
+ </DialogHeader>
+ <div className="py-4">
+ {/* App Info */}
+ <div className="flex items-center gap-4 mb-4">
+ <div className="w-16 h-16 rounded-2xl bg-primary/10 flex items-center justify-center overflow-hidden shrink-0">
+ <Image
+ src="/clash-master.png"
+ alt="Clash Master"
+ width={64}
+ height={64}
+ className="w-full h-full object-cover"
+ />
+ </div>
+ <div>
+ <h3 className="text-xl font-bold">Clash Master</h3>
+ <p className="text-sm text-muted-foreground mt-1">
+ {aboutT("description")}
+ </p>
+ </div>
+ </div>
+
+ {/* All card rows with consistent spacing */}
+ <div className="space-y-2">
+ {/* Current Version */}
+ <div className="flex items-center justify-between p-3 rounded-xl bg-secondary/50 border border-border/50">
+ <span className="text-sm font-medium">
+ {aboutT("currentVersion")}
+ </span>
+ <span className="text-sm font-mono tabular-nums text-primary font-semibold">
+ v{APP_VERSION}
+ </span>
+ </div>
+
+ {/* Latest Version / Update Status */}
+ {hasUpdate && latestVersion ? (
+ <a
+ href={GITHUB_URL}
+ target="_blank"
+ rel="noopener noreferrer"
+ className="flex items-center justify-between p-3 rounded-xl border min-h-[3rem] bg-emerald-500/5 border-emerald-500/20 hover:bg-emerald-500/10 transition-colors group">
+ <div>
+ <span className="text-sm font-medium">
+ {aboutT("latestVersion")}
+ </span>
+ <p className="text-xs text-muted-foreground mt-0.5">
+ {aboutT("updateAvailable")} · v{APP_VERSION} → v
+ {latestVersion}
+ </p>
+ </div>
+ <div className="flex items-center gap-2 h-7 shrink-0">
+ <span className="text-sm font-mono tabular-nums text-emerald-500 font-semibold flex items-center gap-1.5">
+ <ArrowUpCircle className="w-4 h-4" />v{latestVersion}
+ </span>
+ <ExternalLink className="w-3.5 h-3.5 text-emerald-500 group-hover:translate-x-0.5 transition-transform" />
+ </div>
+ </a>
+ ) : (
+ <div className="flex items-center justify-between p-3 rounded-xl border min-h-[3rem] bg-secondary/50 border-border/50">
+ <span className="text-sm font-medium">
+ {aboutT("latestVersion")}
+ </span>
+ <div className="flex items-center gap-2 h-7 min-w-[5.5rem] justify-end">
+ {isChecking ? (
+ <span className="text-xs text-muted-foreground flex items-center gap-1.5">
+ <RefreshCw className="w-3 h-3 animate-spin" />
+ {aboutT("checkingUpdate")}
+ </span>
+ ) : latestVersion ? (
+ <span className="text-sm text-muted-foreground">
+ ✓ {aboutT("upToDate")}
+ </span>
+ ) : (
+ <Button
+ variant="ghost"
+ size="sm"
+ className="h-7 px-2 text-xs"
+ onClick={checkNow}>
+ <RefreshCw className="w-3 h-3 mr-1" />
+ {aboutT("checkNow")}
+ </Button>
+ )}
+ </div>
+ </div>
+ )}
+
+ {/* License */}
+ <div className="flex items-center justify-between p-3 rounded-xl bg-secondary/50 border border-border/50">
+ <span className="text-sm font-medium">{aboutT("license")}</span>
+ <span className="text-sm text-muted-foreground">MIT</span>
+ </div>
+
+ {/* GitHub Link */}
+ <a
+ href={GITHUB_URL}
+ target="_blank"
+ rel="noopener noreferrer"
+ className="flex items-center justify-between p-3 rounded-xl bg-secondary/50 border border-border/50 hover:bg-secondary/80 hover:border-primary/30 transition-all group gap-3">
+ <div className="flex items-center gap-3 min-w-0 flex-1">
+ <svg
+ viewBox="0 0 24 24"
+ className="w-5 h-5 fill-foreground shrink-0"
+ aria-hidden="true">
+ <path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" />
+ </svg>
+ <div className="min-w-0">
+ <p className="text-sm font-medium truncate">
+ {aboutT("openSource")}
+ </p>
+ </div>
+ </div>
+ <div className="flex items-center gap-2 shrink-0">
+ {stars !== null && (
+ <span className="flex items-center gap-1 text-xs font-medium">
+ <svg
+ viewBox="0 0 16 16"
+ className="w-3.5 h-3.5 fill-amber-500 shrink-0"
+ aria-hidden="true">
+ <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.75.75 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25z" />
+ </svg>
+ <span className="text-amber-500 bg-amber-500/10 px-1.5 py-0.5 rounded-full">
+ {stars >= 1000
+ ? `${(stars / 1000).toFixed(1)}k`
+ : stars}
+ </span>
+ </span>
+ )}
+ <ExternalLink className="w-4 h-4 text-muted-foreground group-hover:text-primary transition-colors shrink-0" />
+ </div>
+ </a>
+ </div>
+ </div>
+ </DialogContent>
+ </Dialog>
+ );
+}
diff --git a/apps/web/components/backend-config-dialog.tsx b/apps/web/components/backend-config-dialog.tsx
index b5c17d2..c9f9ffb 100644
--- a/apps/web/components/backend-config-dialog.tsx
+++ b/apps/web/components/backend-config-dialog.tsx
@@ -35,6 +35,8 @@ import {
} from "@/components/ui/alert-dialog";
import { cn, formatBytes, formatNumber } from "@/lib/utils";
import { api } from "@/lib/api";
+import { toast } from "sonner";
+import { BackendVerifyAnimation } from "./backend-verify-animation";
interface Backend {
id: number;
@@ -114,6 +116,16 @@ export function BackendConfigDialog({
const [errorDialogOpen, setErrorDialogOpen] = useState(false);
const [errorMessage, setErrorMessage] = useState("");
+ // Success Alert Dialog State
+ const [successDialogOpen, setSuccessDialogOpen] = useState(false);
+ const [successMessage, setSuccessMessage] = useState("");
+
+ // Verify Animation State
+ const [showVerifyAnimation, setShowVerifyAnimation] = useState(false);
+ const [verifyPhase, setVerifyPhase] = useState<"pending" | "success" | "error">("pending");
+ const [verifyMessage, setVerifyMessage] = useState("");
+ const [pendingBackend, setPendingBackend] = useState<{ name: string; url: string; token: string } | null>(null);
+
const [formData, setFormData] = useState({
name: "",
host: "",
@@ -155,32 +167,70 @@ export function BackendConfigDialog({
const handleAdd = async () => {
if (!formData.name || !formData.host) return;
- setLoading(true);
+ const url = buildUrl(formData.host, formData.port, formData.ssl);
+
+ // Show verification animation immediately
+ setPendingBackend({ name: formData.name, url, token: formData.token });
+ setVerifyPhase("pending");
+ setVerifyMessage("");
+ setShowVerifyAnimation(true);
+
+ // Perform verification
try {
- const url = buildUrl(formData.host, formData.port, formData.ssl);
- const result = await api.createBackend({
- name: formData.name,
- url,
- token: formData.token
- });
- setFormData({ name: "", host: "", port: "9090", ssl: false, token: "" });
- await loadBackends();
- onBackendChange?.();
-
- // Show success message for first backend
- if (result.isActive) {
- setTestResult({ success: true, message: t("firstBackendAutoActive") });
- setTimeout(() => setTestResult(null), 3000);
- }
+ const testResult = await api.testBackend(url, formData.token);
- if (isFirstTime && onConfigComplete) {
- onConfigComplete();
- onOpenChange(false);
+ if (testResult.success) {
+ setVerifyPhase("success");
+ setVerifyMessage(testResult.message || t("testSuccess"));
+ } else {
+ setVerifyPhase("error");
+ setVerifyMessage(testResult.message || t("testFailed"));
}
} catch (error: any) {
- alert(error.message || "Failed to create backend");
- } finally {
- setLoading(false);
+ setVerifyPhase("error");
+ setVerifyMessage(error.message || t("testFailed"));
+ }
+ };
+
+ // Called after verification animation completes
+ const handleVerifyComplete = async () => {
+ if (!pendingBackend) return;
+
+ // Only save if verification was successful
+ if (verifyPhase === "success") {
+ try {
+ const result = await api.createBackend({
+ name: pendingBackend.name,
+ url: pendingBackend.url,
+ token: pendingBackend.token
+ });
+
+ setFormData({ name: "", host: "", port: "9090", ssl: false, token: "" });
+ setShowVerifyAnimation(false);
+ setPendingBackend(null);
+ await loadBackends();
+ await onBackendChange?.();
+
+ // Show success message for first backend
+ if (result.isActive) {
+ setTestResult({ success: true, message: t("firstBackendAutoActive") });
+ setTimeout(() => setTestResult(null), 3000);
+ }
+
+ if (isFirstTime && onConfigComplete) {
+ await onConfigComplete();
+ onOpenChange(false);
+ }
+ } catch (error: any) {
+ setShowVerifyAnimation(false);
+ setPendingBackend(null);
+ setErrorMessage(error.message || "Failed to create backend");
+ setErrorDialogOpen(true);
+ }
+ } else {
+ // Verification failed, just close animation and reset
+ setShowVerifyAnimation(false);
+ setPendingBackend(null);
}
};
@@ -196,9 +246,10 @@ export function BackendConfigDialog({
setEditingId(null);
setFormData({ name: "", host: "", port: "9090", ssl: false, token: "" });
await loadBackends();
- onBackendChange?.();
+ await onBackendChange?.();
} catch (error: any) {
- alert(error.message || "Failed to update backend");
+ setErrorMessage(error.message || "Failed to update backend");
+ setErrorDialogOpen(true);
} finally {
setLoading(false);
}
@@ -218,11 +269,12 @@ export function BackendConfigDialog({
try {
await api.deleteBackend(deleteBackendId);
await loadBackends();
- onBackendChange?.();
+ await onBackendChange?.();
setDeleteDialogOpen(false);
setDeleteBackendId(null);
} catch (error: any) {
- alert(error.message || "Failed to delete backend");
+ setErrorMessage(error.message || "Failed to delete backend");
+ setErrorDialogOpen(true);
} finally {
setLoading(false);
}
@@ -232,14 +284,14 @@ export function BackendConfigDialog({
const handleSetActive = async (id: number) => {
try {
await api.setActiveBackend(id);
+ // Refresh local backend list to update UI (active state, eye icon)
await loadBackends();
- onBackendChange?.();
- // Show success message
- setTestResult({ success: true, message: t("switchSuccess") });
- // Clear success message after 3 seconds
- setTimeout(() => setTestResult(null), 3000);
+ // Notify parent to refresh dashboard data
+ await onBackendChange?.();
+ // Show toast notification
+ toast.success(t("switchSuccess"));
} catch (error: any) {
- alert(error.message || t("switchFailed"));
+ toast.error(error.message || t("switchFailed"));
}
};
@@ -248,9 +300,10 @@ export function BackendConfigDialog({
try {
await api.setBackendListening(id, listening);
await loadBackends();
- onBackendChange?.();
+ await onBackendChange?.();
} catch (error: any) {
- alert(error.message || "Failed to update listening state");
+ setErrorMessage(error.message || "Failed to update listening state");
+ setErrorDialogOpen(true);
}
};
@@ -268,7 +321,7 @@ export function BackendConfigDialog({
try {
await api.clearBackendData(clearDataBackendId);
await loadDbStats();
- onBackendChange?.();
+ await onBackendChange?.();
setClearBackendDataDialogOpen(false);
setClearDataBackendId(null);
} catch (error: any) {
@@ -305,9 +358,11 @@ export function BackendConfigDialog({
await api.clearLogs(clearLogsDays);
await loadDbStats();
setClearLogsDialogOpen(false);
- alert(t("logsCleared"));
+ setSuccessMessage(t("logsCleared"));
+ setSuccessDialogOpen(true);
} catch (error: any) {
- alert(error.message || "Failed to clear logs");
+ setErrorMessage(error.message || "Failed to clear logs");
+ setErrorDialogOpen(true);
} finally {
setClearingLogs(false);
}
@@ -444,35 +499,26 @@ export function BackendConfigDialog({
</div>
) : (
// View Mode
- <div className="flex items-center justify-between">
+ <div className="flex items-center justify-between gap-4">
+ {/* Left: Info */}
<div className="flex-1 min-w-0">
<div className="flex items-center gap-2 flex-wrap">
- <span className="font-medium truncate">{backend.name}</span>
- {backend.is_active && (
- <span className="px-2 py-0.5 rounded-full bg-primary text-primary-foreground text-xs">
- {t("displaying")}
- </span>
- )}
- {backend.listening && (
- <span className="px-2 py-0.5 rounded-full bg-green-500 text-white text-xs flex items-center gap-1">
- <Radio className="w-3 h-3" />
- {t("collecting")}
- </span>
- )}
+ <span className="font-medium text-base">{backend.name}</span>
{!backend.enabled && (
- <span className="px-2 py-0.5 rounded-full bg-muted text-muted-foreground text-xs">
+ <span className="px-2 py-0.5 rounded-full bg-muted text-muted-foreground text-xs font-medium">
{t("disabled")}
</span>
)}
</div>
- <div className="text-sm text-muted-foreground truncate mt-0.5">
+ <div className="text-sm text-muted-foreground mt-1">
{backend.host}:{backend.port}
</div>
</div>
- <div className="flex items-center gap-1 ml-4">
- {/* Listening Toggle */}
- <div className="flex items-center gap-2 mr-2 pr-2 border-r">
+ {/* Right: Actions */}
+ <div className="flex items-center gap-2 shrink-0">
+ {/* Collect Toggle with Label */}
+ <div className="flex items-center gap-2 px-3 py-1.5 rounded-lg bg-secondary/50">
<Switch
checked={backend.listening}
onCheckedChange={(checked) => handleToggleListening(backend.id, checked)}
@@ -483,49 +529,54 @@ export function BackendConfigDialog({
</span>
</div>
- {/* Set Active (Display) Button */}
- {!backend.is_active && (
+ {/* Action Buttons Group */}
+ <div className="flex items-center gap-1 pl-2 border-l border-border">
+ {/* Set Active Button - Show placeholder when active to maintain layout */}
+ <Button
+ variant="ghost"
+ size="icon"
+ className={cn(
+ "h-8 w-8",
+ backend.is_active && "opacity-50 cursor-not-allowed"
+ )}
+ onClick={() => !backend.is_active && handleSetActive(backend.id)}
+ disabled={backend.is_active}
+ title={backend.is_active ? t("displaying") : t("setActive")}
+ >
+ <Eye className={cn("w-4 h-4", backend.is_active && "text-primary")} />
+ </Button>
+
<Button
variant="ghost"
size="icon"
className="h-8 w-8"
- onClick={() => handleSetActive(backend.id)}
- title={t("setActive")}
+ onClick={() => handleTest(backend)}
+ disabled={testingId === backend.id}
+ title={t("testConnection")}
>
- <Eye className="w-4 h-4" />
+ <RefreshCw className={cn("w-4 h-4", testingId === backend.id && "animate-spin")} />
</Button>
- )}
-
- <Button
- variant="ghost"
- size="icon"
- className="h-8 w-8"
- onClick={() => handleTest(backend)}
- disabled={testingId === backend.id}
- title={t("testConnection")}
- >
- <RefreshCw className={cn("w-4 h-4", testingId === backend.id && "animate-spin")} />
- </Button>
-
- <Button
- variant="ghost"
- size="icon"
- className="h-8 w-8"
- onClick={() => startEdit(backend)}
- title={commonT("edit")}
- >
- <Edit2 className="w-4 h-4" />
- </Button>
-
- <Button
- variant="ghost"
- size="icon"
- className="h-8 w-8 text-destructive hover:text-destructive"
- onClick={() => openDeleteDialog(backend.id)}
- title={commonT("delete")}
- >
- <Trash2 className="w-4 h-4" />
- </Button>
+
+ <Button
+ variant="ghost"
+ size="icon"
+ className="h-8 w-8"
+ onClick={() => startEdit(backend)}
+ title={commonT("edit")}
+ >
+ <Edit2 className="w-4 h-4" />
+ </Button>
+
+ <Button
+ variant="ghost"
+ size="icon"
+ className="h-8 w-8 text-destructive hover:text-destructive hover:bg-destructive/10"
+ onClick={() => openDeleteDialog(backend.id)}
+ title={commonT("delete")}
+ >
+ <Trash2 className="w-4 h-4" />
+ </Button>
+ </div>
</div>
</div>
)}
@@ -768,6 +819,35 @@ export function BackendConfigDialog({
</AlertDialogFooter>
</AlertDialogContent>
</AlertDialog>
+
+ {/* Success Alert Dialog */}
+ <AlertDialog open={successDialogOpen} onOpenChange={setSuccessDialogOpen}>
+ <AlertDialogContent>
+ <AlertDialogHeader>
+ <AlertDialogTitle className="flex items-center gap-2">
+ <CheckCircle2 className="h-5 w-5 text-green-500" />
+ {commonT("success") || "Success"}
+ </AlertDialogTitle>
+ <AlertDialogDescription>
+ {successMessage}
+ </AlertDialogDescription>
+ </AlertDialogHeader>
+ <AlertDialogFooter>
+ <AlertDialogAction onClick={() => setSuccessDialogOpen(false)}>
+ {commonT("ok") || "OK"}
+ </AlertDialogAction>
+ </AlertDialogFooter>
+ </AlertDialogContent>
+ </AlertDialog>
+
+ {/* Verification Animation */}
+ <BackendVerifyAnimation
+ show={showVerifyAnimation}
+ phase={verifyPhase}
+ backendName={pendingBackend?.name}
+ message={verifyMessage}
+ onComplete={handleVerifyComplete}
+ />
</>
);
}
diff --git a/apps/web/components/backend-verify-animation.tsx b/apps/web/components/backend-verify-animation.tsx
new file mode 100644
index 0000000..af50448
--- /dev/null
+++ b/apps/web/components/backend-verify-animation.tsx
@@ -0,0 +1,249 @@
+"use client";
+
+import { useEffect, useState } from "react";
+import { motion, AnimatePresence } from "framer-motion";
+import { Check, X, Shield, Server, Loader2 } from "lucide-react";
+import { cn } from "@/lib/utils";
+
+type VerifyPhase = "pending" | "success" | "error";
+
+interface BackendVerifyAnimationProps {
+ show: boolean;
+ phase: VerifyPhase;
+ onComplete?: () => void;
+ backendName?: string;
+ message?: string;
+}
+
+export function BackendVerifyAnimation({
+ show,
+ phase,
+ onComplete,
+ backendName,
+ message,
+}: BackendVerifyAnimationProps) {
+ const [displayPhase, setDisplayPhase] = useState<VerifyPhase>("pending");
+
+ useEffect(() => {
+ if (!show) {
+ setDisplayPhase("pending");
+ return;
+ }
+
+ setDisplayPhase(phase);
+
+ // Auto-complete after showing result
+ if (phase === "success" || phase === "error") {
+ const timer = setTimeout(() => {
+ onComplete?.();
+ }, 1200);
+ return () => clearTimeout(timer);
+ }
+ }, [show, phase, onComplete]);
+
+ if (!show) return null;
+
+ const isPending = displayPhase === "pending";
+ const isSuccess = displayPhase === "success";
+ const isError = displayPhase === "error";
+
+ return (
+ <AnimatePresence>
+ <motion.div
+ initial={{ opacity: 0 }}
+ animate={{ opacity: 1 }}
+ exit={{ opacity: 0 }}
+ transition={{ duration: 0.2 }}
+ className="fixed inset-0 z-[100] flex items-center justify-center bg-background/60 backdrop-blur-sm"
+ >
+ <motion.div
+ initial={{ scale: 0.9, opacity: 0 }}
+ animate={{ scale: 1, opacity: 1 }}
+ exit={{ scale: 0.9, opacity: 0 }}
+ transition={{ duration: 0.2 }}
+ className="relative flex flex-col items-center gap-5 p-8 rounded-3xl glass-card max-w-sm mx-4 w-full"
+ >
+ {/* Animated Icon Container */}
+ <div className="relative w-24 h-24 flex items-center justify-center">
+ {/* Background pulse rings for pending state */}
+ {isPending && (
+ <>
+ <motion.div
+ className="absolute inset-0 rounded-full bg-primary/10"
+ animate={{
+ scale: [1, 1.2, 1],
+ opacity: [0.5, 0, 0.5],
+ }}
+ transition={{ duration: 1.5, repeat: Infinity, ease: "easeInOut" }}
+ />
+ <motion.div
+ className="absolute inset-2 rounded-full bg-primary/20"
+ animate={{
+ scale: [1, 1.1, 1],
+ opacity: [0.6, 0.3, 0.6],
+ }}
+ transition={{ duration: 1.5, repeat: Infinity, ease: "easeInOut", delay: 0.2 }}
+ />
+ </>
+ )}
+
+ {/* Success/Error ring animation */}
+ {(isSuccess || isError) && (
+ <motion.div
+ className={cn(
+ "absolute inset-0 rounded-full",
+ isSuccess ? "bg-green-500/20" : "bg-red-500/20"
+ )}
+ initial={{ scale: 0.8, opacity: 0 }}
+ animate={{ scale: 1.5, opacity: 0 }}
+ transition={{ duration: 0.6, ease: "easeOut" }}
+ />
+ )}
+
+ {/* Main icon */}
+ <motion.div
+ className={cn(
+ "relative z-10 w-16 h-16 rounded-2xl flex items-center justify-center shadow-lg",
+ isPending && "bg-gradient-to-br from-primary to-primary/80 shadow-primary/25",
+ isSuccess && "bg-gradient-to-br from-green-500 to-green-600 shadow-green-500/25",
+ isError && "bg-gradient-to-br from-red-500 to-red-600 shadow-red-500/25"
+ )}
+ animate={{
+ scale: isSuccess || isError ? [1, 1.1, 1] : 1,
+ }}
+ transition={{ duration: 0.3 }}
+ >
+ <AnimatePresence mode="wait">
+ {isPending && (
+ <motion.div
+ key="pending"
+ initial={{ opacity: 0, rotate: -90 }}
+ animate={{ opacity: 1, rotate: 0 }}
+ exit={{ opacity: 0, rotate: 90 }}
+ transition={{ duration: 0.2 }}
+ >
+ <Loader2 className="w-8 h-8 text-white animate-spin" />
+ </motion.div>
+ )}
+ {isSuccess && (
+ <motion.div
+ key="success"
+ initial={{ opacity: 0, scale: 0, rotate: -180 }}
+ animate={{ opacity: 1, scale: 1, rotate: 0 }}
+ transition={{
+ type: "spring",
+ stiffness: 200,
+ damping: 15,
+ }}
+ >
+ <Check className="w-10 h-10 text-white stroke-[3]" />
+ </motion.div>
+ )}
+ {isError && (
+ <motion.div
+ key="error"
+ initial={{ opacity: 0, scale: 0, rotate: 180 }}
+ animate={{ opacity: 1, scale: 1, rotate: 0 }}
+ transition={{
+ type: "spring",
+ stiffness: 200,
+ damping: 15,
+ }}
+ >
+ <X className="w-10 h-10 text-white stroke-[3]" />
+ </motion.div>
+ )}
+ </AnimatePresence>
+ </motion.div>
+
+ {/* Success particles */}
+ {isSuccess && (
+ <>
+ {[...Array(6)].map((_, i) => (
+ <motion.div
+ key={i}
+ className="absolute w-2 h-2 rounded-full bg-green-500"
+ initial={{
+ opacity: 1,
+ scale: 0,
+ x: 0,
+ y: 0
+ }}
+ animate={{
+ opacity: 0,
+ scale: 1,
+ x: Math.cos(i * 60 * Math.PI / 180) * 40,
+ y: Math.sin(i * 60 * Math.PI / 180) * 40,
+ }}
+ transition={{ duration: 0.5, delay: 0.1 }}
+ />
+ ))}
+ </>
+ )}
+ </div>
+
+ {/* Text Content */}
+ <div className="text-center space-y-2">
+ <motion.h3
+ className="text-lg font-semibold"
+ key={displayPhase}
+ initial={{ opacity: 0, y: 5 }}
+ animate={{ opacity: 1, y: 0 }}
+ transition={{ duration: 0.2 }}
+ >
+ {isPending && "Verifying..."}
+ {isSuccess && "Verification Successful"}
+ {isError && "Verification Failed"}
+ </motion.h3>
+
+ {backendName && (
+ <motion.p
+ className="text-sm text-muted-foreground"
+ initial={{ opacity: 0 }}
+ animate={{ opacity: 1 }}
+ transition={{ delay: 0.1 }}
+ >
+ {backendName}
+ </motion.p>
+ )}
+
+ {message && (isSuccess || isError) && (
+ <motion.p
+ className={cn(
+ "text-xs px-3 py-1.5 rounded-lg mt-2",
+ isSuccess && "bg-green-500/10 text-green-600",
+ isError && "bg-red-500/10 text-red-600"
+ )}
+ initial={{ opacity: 0, y: 5 }}
+ animate={{ opacity: 1, y: 0 }}
+ transition={{ delay: 0.15 }}
+ >
+ {message}
+ </motion.p>
+ )}
+ </div>
+
+ {/* Progress indicator */}
+ <div className="w-full h-1 bg-secondary rounded-full overflow-hidden">
+ <motion.div
+ className={cn(
+ "h-full rounded-full",
+ isPending && "bg-primary",
+ isSuccess && "bg-green-500",
+ isError && "bg-red-500"
+ )}
+ initial={{ width: "0%" }}
+ animate={{
+ width: isPending ? "70%" : "100%",
+ }}
+ transition={{
+ duration: isPending ? 1 : 0.3,
+ ease: isPending ? "easeInOut" : "easeOut"
+ }}
+ />
+ </div>
+ </motion.div>
+ </motion.div>
+ </AnimatePresence>
+ );
+}
diff --git a/apps/web/components/domains-table.tsx b/apps/web/components/domains-table.tsx
index ca29651..8b2b31a 100644
--- a/apps/web/components/domains-table.tsx
+++ b/apps/web/components/domains-table.tsx
@@ -189,7 +189,7 @@ export function DomainsTable({ data }: DomainsTableProps) {
};
return (
- <div className="glass-card rounded-2xl overflow-hidden">
+ <div className="glass-card rounded-2xl overflow-hidden overflow-x-hidden">
{/* Header */}
<div className="p-4 sm:p-5 border-b border-border/50">
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3">
@@ -293,7 +293,7 @@ export function DomainsTable({ data }: DomainsTableProps) {
{/* Desktop Row */}
<div
className={cn(
- "hidden sm:grid grid-cols-12 gap-3 px-5 py-4 items-center hover:bg-secondary/20 transition-colors cursor-pointer",
+ "hidden sm:grid grid-cols-12 gap-3 px-5 py-4 items-center hover:bg-secondary/20 transition-colors cursor-pointer min-w-0",
isExpanded && "bg-secondary/10"
)}
style={{ animationDelay: `${index * 50}ms` }}
@@ -390,16 +390,13 @@ export function DomainsTable({ data }: DomainsTableProps) {
)}
onClick={() => toggleExpand(domain.domain)}
>
- {/* Top: Favicon + Domain + Expand */}
+ {/* Row 1: Favicon + Domain (truncate) + IP Count */}
<div className="flex items-center gap-2.5 mb-2">
<Favicon domain={domain.domain} size="sm" className="shrink-0" />
<div className="flex-1 min-w-0">
<p className="font-medium text-sm truncate">
{domain.domain || t("unknown")}
</p>
- <p className="text-xs text-muted-foreground">
- {formatDuration(domain.lastSeen)}
- </p>
</div>
<Button
variant="ghost"
@@ -421,11 +418,11 @@ export function DomainsTable({ data }: DomainsTableProps) {
</Button>
</div>
- {/* Proxy info */}
+ {/* Row 2: Proxy tag - full width, no truncation */}
{domain.chains && domain.chains.length > 0 && (
- <div className="flex items-center gap-1.5 mb-1.5 pl-[30px]">
+ <div className="flex items-center gap-1.5 mb-2 pl-[30px]">
<span
- className="inline-flex items-center gap-1 px-1.5 py-0.5 rounded-md bg-orange-500/10 text-orange-600 dark:text-orange-400 text-[11px] font-medium truncate max-w-[120px]"
+ className="inline-flex items-center gap-1 px-2 py-0.5 rounded-md bg-orange-500/10 text-orange-600 dark:text-orange-400 text-[11px] font-medium whitespace-nowrap"
title={domain.chains[0]}
>
<Waypoints className="h-2.5 w-2.5 shrink-0" />
@@ -439,11 +436,11 @@ export function DomainsTable({ data }: DomainsTableProps) {
</div>
)}
- {/* Bottom: Stats row */}
- <div className="flex items-center justify-between text-xs pl-[30px]">
+ {/* Row 3: Traffic stats - compact layout */}
+ <div className="flex items-center gap-3 text-[11px] pl-[30px]">
<span className="text-blue-500 tabular-nums">↓ {formatBytes(domain.totalDownload)}</span>
<span className="text-purple-500 tabular-nums">↑ {formatBytes(domain.totalUpload)}</span>
- <span className="px-2 py-0.5 rounded-full bg-secondary text-muted-foreground font-medium">
+ <span className="text-muted-foreground tabular-nums ml-auto">
{formatNumber(domain.totalConnections)} {t("conn")}
</span>
</div>
@@ -498,7 +495,7 @@ export function DomainsTable({ data }: DomainsTableProps) {
style={{ width: `${Math.max(percent * (uploadPercent / 100), 0.5)}%` }}
/>
</div>
- <div className="flex items-center gap-3 text-[11px] tabular-nums">
+ <div className="flex flex-wrap items-center gap-2 sm:gap-3 text-[11px] tabular-nums">
<span className="text-blue-500">↓ {formatBytes(ps.totalDownload)}</span>
<span className="text-purple-500">↑ {formatBytes(ps.totalUpload)}</span>
<span className="text-muted-foreground">{formatNumber(ps.totalConnections)} {t("conn")}</span>
@@ -512,10 +509,13 @@ export function DomainsTable({ data }: DomainsTableProps) {
{domain.chains.map((chain) => (
<span
key={chain}
- className="inline-flex items-center gap-1 px-2 py-1 rounded-md bg-orange-500/10 text-orange-600 dark:text-orange-400 text-xs font-medium"
+ className="inline-flex items-center gap-1 px-2 py-1 rounded-md bg-orange-500/10 text-orange-600 dark:text-orange-400 text-xs font-medium max-w-full min-w-0"
+ title={chain}
>
<Waypoints className="h-3 w-3 shrink-0" />
- {chain}
+ <span className="truncate min-w-0">
+ {chain}
+ </span>
</span>
))}
</div>
@@ -571,8 +571,8 @@ export function DomainsTable({ data }: DomainsTableProps) {
style={{ width: `${Math.max(percent * (uploadPercent / 100), 0.5)}%` }}
/>
</div>
- <div className="flex items-center justify-between">
- <div className="flex items-center gap-3 text-[11px] tabular-nums">
+ <div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-1 sm:gap-0">
+ <div className="flex flex-wrap items-center gap-2 sm:gap-3 text-[11px] tabular-nums">
<span className="text-blue-500">↓ {formatBytes(ipStat.totalDownload)}</span>
<span className="text-purple-500">↑ {formatBytes(ipStat.totalUpload)}</span>
<span className="text-muted-foreground">{formatNumber(ipStat.totalConnections)} conn</span>
diff --git a/apps/web/components/interactive-proxy-stats.tsx b/apps/web/components/interactive-proxy-stats.tsx
index b638b33..d27b1c5 100644
--- a/apps/web/components/interactive-proxy-stats.tsx
+++ b/apps/web/components/interactive-proxy-stats.tsx
@@ -56,14 +56,11 @@ const getIPGradient = (ip: string) => {
return colors[Math.abs(hash) % colors.length];
};
-// Simplify proxy name - remove all emojis and brackets like TopProxiesSimple
+// Keep original proxy name - preserve emojis and special characters
function simplifyProxyName(name: string): string {
if (!name) return "DIRECT";
- return name
- .replace(/[✈️🚀📹🚚🏠🐟🛡️⭐💎🔥⚡💨🌟🇨🇳🇺🇸🇯🇵🇭🇰🇸🇬🇬🇧🇩🇪🇫🇷🇹🇼🇰🇷]/gu, "")
- .replace(/^\s+|\s+$/g, "")
- .replace(/^\[.*?\]\s*/, "")
- .trim();
+ // Keep original name with emojis, just trim whitespace
+ return name.trim();
}
// Get emoji for proxy
@@ -162,6 +159,7 @@ export function InteractiveProxyStats({ data, activeBackendId }: InteractiveProx
const [ipPage, setIpPage] = useState(1);
const [ipPageSize, setIpPageSize] = useState<PageSize>(10);
const [ipSearch, setIpSearch] = useState("");
+ const [showDomainBarLabels, setShowDomainBarLabels] = useState(true);
// Sort states
const [domainSortKey, setDomainSortKey] = useState<DomainSortKey>("totalDownload");
@@ -173,6 +171,14 @@ export function InteractiveProxyStats({ data, activeBackendId }: InteractiveProx
const [expandedDomain, setExpandedDomain] = useState<string | null>(null);
const [expandedIP, setExpandedIP] = useState<string | null>(null);
+ useEffect(() => {
+ const media = window.matchMedia("(min-width: 640px)");
+ const update = () => setShowDomainBarLabels(media.matches);
+ update();
+ media.addEventListener("change", update);
+ return () => media.removeEventListener("change", update);
+ }, []);
+
const chartData = useMemo(() => {
if (!data) return [];
return data.map((proxy, index) => ({
@@ -352,7 +358,7 @@ export function InteractiveProxyStats({ data, activeBackendId }: InteractiveProx
return proxyDomains
.slice(0, 10)
.map((domain, index) => ({
- name: domain.domain.length > 22 ? domain.domain.slice(0, 22) + "..." : domain.domain,
+ name: domain.domain.length > 15 ? domain.domain.slice(0, 15) + "..." : domain.domain,
fullDomain: domain.domain,
total: domain.totalDownload + domain.totalUpload,
download: domain.totalDownload,
@@ -399,7 +405,7 @@ export function InteractiveProxyStats({ data, activeBackendId }: InteractiveProx
}
return (
- <div className="space-y-6">
+ <div className="space-y-6 overflow-x-hidden">
{/* Top Section: Three Column Layout */}
<div className="grid grid-cols-1 lg:grid-cols-12 gap-6">
{/* Left: Pie Chart (3 columns) */}
@@ -431,7 +437,7 @@ export function InteractiveProxyStats({ data, activeBackendId }: InteractiveProx
const item = payload[0].payload;
return (
<div className="bg-background border border-border p-3 rounded-lg shadow-lg">
- <p className="font-medium text-sm mb-1">{item.emoji} {item.name}</p>
+ <p className="font-medium text-sm mb-1">{item.name}</p>
<p className="text-xs text-muted-foreground">{formatBytes(item.value)}</p>
</div>
);
@@ -511,8 +517,8 @@ export function InteractiveProxyStats({ data, activeBackendId }: InteractiveProx
/>
</div>
{/* Stats */}
- <div className="flex items-center justify-between text-xs text-muted-foreground">
- <div className="flex items-center gap-2">
+ <div className="flex flex-wrap items-center justify-between gap-1 text-xs text-muted-foreground">
+ <div className="flex flex-wrap items-center gap-1.5 sm:gap-2">
<span className="text-blue-500 dark:text-blue-400">↓ {formatBytes(item.download)}</span>
<span className="text-purple-500 dark:text-purple-400">↑ {formatBytes(item.upload)}</span>
<span className="flex items-center gap-1 tabular-nums">
@@ -541,7 +547,7 @@ export function InteractiveProxyStats({ data, activeBackendId }: InteractiveProx
</CardTitle>
{selectedProxyData && (
<span className="text-xs text-muted-foreground">
- {selectedProxyData.emoji} {selectedProxyData.name}
+ {selectedProxyData.name}
</span>
)}
</div>
@@ -556,12 +562,12 @@ export function InteractiveProxyStats({ data, activeBackendId }: InteractiveProx
{domainsT("noResults")}
</div>
) : (
- <div className="h-[280px] w-full">
+ <div className="h-[280px] w-full min-w-0 overflow-hidden sm:overflow-visible">
<ResponsiveContainer width="100%" height="100%">
<BarChart
data={domainChartData}
layout="vertical"
- margin={{ top: 5, right: 50, left: 5, bottom: 5 }}
+ margin={{ top: 5, right: showDomainBarLabels ? 50 : 10, left: 5, bottom: 5 }}
>
<CartesianGrid
strokeDasharray="3 3"
@@ -577,13 +583,13 @@ export function InteractiveProxyStats({ data, activeBackendId }: InteractiveProx
axisLine={false}
/>
<YAxis
- type="category"
- dataKey="name"
- width={110}
- tick={{ fontSize: 11, fill: "currentColor" }}
- tickLine={false}
- axisLine={false}
- />
+ type="category"
+ dataKey="name"
+ width={90}
+ tick={{ fontSize: 10, fill: "currentColor" }}
+ tickLine={false}
+ axisLine={false}
+ />
<RechartsTooltip
content={({ active, payload }) => {
if (active && payload && payload.length) {
@@ -629,15 +635,17 @@ export function InteractiveProxyStats({ data, activeBackendId }: InteractiveProx
{domainChartData.map((entry, index) => (
<BarCell key={`cell-${index}`} fill={entry.color} />
))}
+ {showDomainBarLabels && (
<LabelList
dataKey="total"
position="right"
content={renderCustomBarLabel}
/>
- </Bar>
- </BarChart>
- </ResponsiveContainer>
- </div>
+ )}
+ </Bar>
+ </BarChart>
+ </ResponsiveContainer>
+ </div>
)}
</CardContent>
</Card>
diff --git a/apps/web/components/ips-table.tsx b/apps/web/components/ips-table.tsx
index a438d6e..01a5b84 100644
--- a/apps/web/components/ips-table.tsx
+++ b/apps/web/components/ips-table.tsx
@@ -185,13 +185,15 @@ export function IPsTable({ data }: IPsTableProps) {
};
return (
- <div className="glass-card rounded-2xl overflow-hidden">
+ <div className="glass-card rounded-2xl overflow-hidden overflow-x-hidden">
{/* Header */}
<div className="p-4 sm:p-5 border-b border-border/50">
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3">
<div>
<h3 className="text-lg font-semibold">{t("title")}</h3>
- <p className="text-sm text-muted-foreground">{t("topIPsByTraffic")}</p>
+ <p className="text-sm text-muted-foreground">
+ {filteredData.length} {t("ipsCount")}
+ </p>
</div>
<div className="relative">
<Search className="absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" />
@@ -287,7 +289,7 @@ export function IPsTable({ data }: IPsTableProps) {
{/* Desktop Row */}
<div
className={cn(
- "hidden sm:grid grid-cols-12 gap-3 px-5 py-4 items-center hover:bg-secondary/20 transition-colors cursor-pointer",
+ "hidden sm:grid grid-cols-12 gap-3 px-5 py-4 items-center hover:bg-secondary/20 transition-colors cursor-pointer min-w-0",
isExpanded && "bg-secondary/10"
)}
style={{ animationDelay: `${index * 50}ms` }}
@@ -391,19 +393,13 @@ export function IPsTable({ data }: IPsTableProps) {
)}
onClick={() => toggleExpand(ip.ip)}
>
- {/* Top: IP Icon + IP + Location + Expand */}
+ {/* Row 1: IP Icon + IP (truncate) + Domain Count */}
<div className="flex items-center gap-2.5 mb-2">
<div className={`w-5 h-5 rounded-md ${ipColor.bg} ${ipColor.text} flex items-center justify-center shrink-0`}>
<Server className="w-3 h-3" />
</div>
<div className="flex-1 min-w-0">
<code className="text-sm font-medium truncate block">{ip.ip}</code>
- {ip.geoIP && ip.geoIP.length > 0 && (
- <div className="flex items-center gap-1.5 text-xs text-muted-foreground">
- <span className="text-sm">{getCountryFlag(ip.geoIP[0])}</span>
- <span className="truncate">{ip.geoIP[1] || ip.geoIP[0]}</span>
- </div>
- )}
</div>
<Button
variant="ghost"
@@ -425,29 +421,35 @@ export function IPsTable({ data }: IPsTableProps) {
</Button>
</div>
- {/* Proxy info */}
- {ip.chains && ip.chains.length > 0 && (
- <div className="flex items-center gap-1.5 mb-1.5 pl-[38px]">
+ {/* Row 2: Location + Proxy tag */}
+ <div className="flex items-center gap-2 mb-2 pl-[30px] flex-wrap">
+ {ip.geoIP && ip.geoIP.length > 0 && (
+ <span className="inline-flex items-center gap-1 text-[11px] text-muted-foreground">
+ <span>{getCountryFlag(ip.geoIP[0])}</span>
+ <span className="truncate">{ip.geoIP[1] || ip.geoIP[0]}</span>
+ </span>
+ )}
+ {ip.chains && ip.chains.length > 0 && (
<span
- className="inline-flex items-center gap-1 px-1.5 py-0.5 rounded-md bg-orange-500/10 text-orange-600 dark:text-orange-400 text-[11px] font-medium truncate max-w-[120px]"
+ className="inline-flex items-center gap-1 px-2 py-0.5 rounded-md bg-orange-500/10 text-orange-600 dark:text-orange-400 text-[11px] font-medium whitespace-nowrap"
title={ip.chains[0]}
>
<Waypoints className="h-2.5 w-2.5 shrink-0" />
{ip.chains[0]}
</span>
- {ip.chains.length > 1 && (
- <span className="text-[11px] text-muted-foreground shrink-0">
- +{ip.chains.length - 1}
- </span>
- )}
- </div>
- )}
+ )}
+ {ip.chains && ip.chains.length > 1 && (
+ <span className="text-[11px] text-muted-foreground">
+ +{ip.chains.length - 1}
+ </span>
+ )}
+ </div>
- {/* Bottom: Stats row */}
- <div className="flex items-center justify-between text-xs pl-[38px]">
+ {/* Row 3: Traffic stats - compact layout */}
+ <div className="flex items-center gap-3 text-[11px] pl-[30px]">
<span className="text-blue-500 tabular-nums">↓ {formatBytes(ip.totalDownload)}</span>
<span className="text-purple-500 tabular-nums">↑ {formatBytes(ip.totalUpload)}</span>
- <span className="px-2 py-0.5 rounded-full bg-secondary text-muted-foreground font-medium">
+ <span className="text-muted-foreground tabular-nums ml-auto">
{formatNumber(ip.totalConnections)} {t("conn")}
</span>
</div>
@@ -500,7 +502,7 @@ export function IPsTable({ data }: IPsTableProps) {
style={{ width: `${Math.max(percent * (uploadPercent / 100), 0.5)}%` }}
/>
</div>
- <div className="flex items-center gap-3 text-[11px] tabular-nums">
+ <div className="flex flex-wrap items-center gap-2 sm:gap-3 text-[11px] tabular-nums">
<span className="text-blue-500">↓ {formatBytes(ps.totalDownload)}</span>
<span className="text-purple-500">↑ {formatBytes(ps.totalUpload)}</span>
<span className="text-muted-foreground">{formatNumber(ps.totalConnections)} {t("conn")}</span>
@@ -514,10 +516,13 @@ export function IPsTable({ data }: IPsTableProps) {
{ip.chains.map((chain) => (
<span
key={chain}
- className="inline-flex items-center gap-1 px-2 py-1 rounded-md bg-orange-500/10 text-orange-600 dark:text-orange-400 text-xs font-medium"
+ className="inline-flex items-center gap-1 px-2 py-1 rounded-md bg-orange-500/10 text-orange-600 dark:text-orange-400 text-xs font-medium max-w-full min-w-0"
+ title={chain}
>
<Waypoints className="h-3 w-3 shrink-0" />
- {chain}
+ <span className="truncate min-w-0">
+ {chain}
+ </span>
</span>
))}
</div>
diff --git a/apps/web/components/navigation.tsx b/apps/web/components/navigation.tsx
index 6febd62..a3fd236 100644
--- a/apps/web/components/navigation.tsx
+++ b/apps/web/components/navigation.tsx
@@ -9,10 +9,7 @@ import {
MapPin,
Server,
Route,
- Network,
Settings,
- Menu,
- X,
Info,
ExternalLink,
ArrowUpCircle,
@@ -32,6 +29,7 @@ import { useVersionCheck } from "@/hooks/use-version-check";
interface NavigationProps {
activeTab: string;
onTabChange: (tab: string) => void;
+ onBackendChange?: () => void;
}
const APP_VERSION = process.env.NEXT_PUBLIC_APP_VERSION || "0.0.0";
@@ -43,11 +41,9 @@ const NAV_ITEMS = [
{ id: "countries", icon: MapPin },
{ id: "proxies", icon: Server },
{ id: "rules", icon: Route },
- { id: "network", icon: Network },
];
-export function Navigation({ activeTab, onTabChange }: NavigationProps) {
- const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
+export function Navigation({ activeTab, onTabChange, onBackendChange }: NavigationProps) {
const [settingsOpen, setSettingsOpen] = useState(false);
const [aboutOpen, setAboutOpen] = useState(false);
const t = useTranslations("nav");
@@ -63,7 +59,7 @@ export function Navigation({ activeTab, onTabChange }: NavigationProps) {
<aside className="hidden lg:flex flex-col w-64 h-screen sticky top-0 border-r border-border/40 bg-background/80 backdrop-blur-md">
{/* Logo */}
<div className="flex items-center gap-3 p-6 border-b border-border/40">
- <div className="w-10 h-10 rounded-xl bg-primary/10 flex items-center justify-center overflow-hidden">
+ <div className="w-16 h-16 rounded-xl flex items-center justify-center overflow-hidden hover:opacity-80">
<Image
src="/clash-master.png"
alt="Clash Master"
@@ -73,8 +69,8 @@ export function Navigation({ activeTab, onTabChange }: NavigationProps) {
/>
</div>
<div>
- <h1 className="font-bold text-lg">{headerT("title")}</h1>
- <p className="text-xs text-muted-foreground">
+ <h1 className="font-bold text-xl">{headerT("title")}</h1>
+ <p className="text-xs text-muted-foreground/60">
{headerT("subtitle")}
</p>
</div>
@@ -134,69 +130,6 @@ export function Navigation({ activeTab, onTabChange }: NavigationProps) {
</div>
</aside>
- {/* Mobile Navigation - Header */}
- <header className="lg:hidden fixed top-0 left-0 right-0 z-50 border-b border-border/40 bg-background/80 backdrop-blur-md">
- <div className="flex items-center justify-between h-14 px-4">
- <div className="flex items-center gap-3">
- <div className="w-8 h-8 rounded-lg bg-primary/10 flex items-center justify-center overflow-hidden">
- <Image
- src="/clash-master.png"
- alt="Clash Master"
- width={32}
- height={32}
- className="w-full h-full object-cover"
- />
- </div>
- <h1 className="font-bold">{headerT("title")}</h1>
- </div>
- <div className="flex items-center gap-2">
- <Button
- variant="ghost"
- size="icon"
- onClick={() => setSettingsOpen(true)}>
- <Settings className="w-5 h-5" />
- </Button>
- <Button
- variant="ghost"
- size="icon"
- onClick={() => setMobileMenuOpen(!mobileMenuOpen)}>
- {mobileMenuOpen ? (
- <X className="w-5 h-5" />
- ) : (
- <Menu className="w-5 h-5" />
- )}
- </Button>
- </div>
- </div>
-
- {/* Mobile Menu */}
- {mobileMenuOpen && (
- <nav className="absolute top-full left-0 right-0 bg-background border-b border-border/40 p-4 space-y-1">
- {NAV_ITEMS.map((item) => {
- const Icon = item.icon;
- const isActive = activeTab === item.id;
- return (
- <button
- key={item.id}
- onClick={() => {
- onTabChange(item.id);
- setMobileMenuOpen(false);
- }}
- className={cn(
- "w-full flex items-center gap-3 px-4 py-3 rounded-xl text-sm font-medium transition-all",
- isActive
- ? "bg-primary text-primary-foreground"
- : "text-muted-foreground hover:bg-secondary",
- )}>
- <Icon className="w-5 h-5" />
- {t(item.id)}
- </button>
- );
- })}
- </nav>
- )}
- </header>
-
{/* Mobile Bottom Navigation */}
<nav className="lg:hidden fixed bottom-0 left-0 right-0 z-50 border-t border-border/40 bg-background/80 backdrop-blur-md">
<div className="flex items-center justify-around h-16 px-2">
@@ -224,6 +157,7 @@ export function Navigation({ activeTab, onTabChange }: NavigationProps) {
open={settingsOpen}
onOpenChange={setSettingsOpen}
isFirstTime={false}
+ onBackendChange={onBackendChange}
/>
{/* About Dialog */}
@@ -273,28 +207,25 @@ export function Navigation({ activeTab, onTabChange }: NavigationProps) {
href={GITHUB_URL}
target="_blank"
rel="noopener noreferrer"
- className="flex items-center justify-between p-3 rounded-xl border min-h-[3rem] bg-emerald-500/5 border-emerald-500/20 hover:bg-emerald-500/10 transition-colors group"
- >
+ className="flex items-center justify-between p-3 rounded-xl border min-h-[3rem] bg-emerald-500/5 border-emerald-500/20 hover:bg-emerald-500/10 transition-colors group">
<div>
<span className="text-sm font-medium">
{aboutT("latestVersion")}
</span>
<p className="text-xs text-muted-foreground mt-0.5">
- {aboutT("updateAvailable")} · v{APP_VERSION} → v{latestVersion}
+ {aboutT("updateAvailable")} · v{APP_VERSION} → v
+ {latestVersion}
</p>
</div>
<div className="flex items-center gap-2 h-7 shrink-0">
<span className="text-sm font-mono tabular-nums text-emerald-500 font-semibold flex items-center gap-1.5">
- <ArrowUpCircle className="w-4 h-4" />
- v{latestVersion}
+ <ArrowUpCircle className="w-4 h-4" />v{latestVersion}
</span>
<ExternalLink className="w-3.5 h-3.5 text-emerald-500 group-hover:translate-x-0.5 transition-transform" />
</div>
</a>
) : (
- <div
- className="flex items-center justify-between p-3 rounded-xl border min-h-[3rem] bg-secondary/50 border-border/50"
- >
+ <div className="flex items-center justify-between p-3 rounded-xl border min-h-[3rem] bg-secondary/50 border-border/50">
<span className="text-sm font-medium">
{aboutT("latestVersion")}
</span>
diff --git a/apps/web/components/overview/top-proxies-simple.tsx b/apps/web/components/overview/top-proxies-simple.tsx
index 3a56695..08028c5 100644
--- a/apps/web/components/overview/top-proxies-simple.tsx
+++ b/apps/web/components/overview/top-proxies-simple.tsx
@@ -15,10 +15,8 @@ interface TopProxiesSimpleProps {
}
function simplifyProxyName(name: string): string {
- return name
- .replace(/[✈️🚀📹🚚🏠🐟🛡️⭐💎🔥⚡💨🌟🇨🇳🇺🇸🇯🇵🇭🇰🇸🇬🇬🇧🇩🇪🇫🇷]/gu, "")
- .replace(/^\s+|\s+$/g, "")
- .replace(/^\[.*?\]\s*/, "");
+ // Keep original name with emojis, just trim whitespace
+ return name.trim();
}
export const TopProxiesSimple = React.memo(function TopProxiesSimple({
diff --git a/apps/web/components/sw-register.tsx b/apps/web/components/sw-register.tsx
index 507d149..526e617 100644
--- a/apps/web/components/sw-register.tsx
+++ b/apps/web/components/sw-register.tsx
@@ -1,17 +1,74 @@
"use client";
-import { useEffect } from "react";
+import { useEffect, useState } from "react";
+import { Button } from "@/components/ui/button";
+import { cn } from "@/lib/utils";
+import { RefreshCw } from "lucide-react";
export function ServiceWorkerRegister() {
+ const [updateAvailable, setUpdateAvailable] = useState(false);
+ const [waitingWorker, setWaitingWorker] = useState<ServiceWorker | null>(null);
+
useEffect(() => {
if ("serviceWorker" in navigator) {
+ // Register service worker
navigator.serviceWorker
.register("/sw.js")
+ .then((registration) => {
+ // Check for updates
+ registration.addEventListener("updatefound", () => {
+ const newWorker = registration.installing;
+ if (newWorker) {
+ newWorker.addEventListener("statechange", () => {
+ if (newWorker.state === "installed" && navigator.serviceWorker.controller) {
+ // New version available
+ setUpdateAvailable(true);
+ setWaitingWorker(newWorker);
+ }
+ });
+ }
+ });
+ })
.catch(() => {
// Silently fail - SW is optional enhancement
});
+
+ // Listen for messages from service worker
+ navigator.serviceWorker.addEventListener("message", (event) => {
+ if (event.data && event.data.type === "SKIP_WAITING") {
+ window.location.reload();
+ }
+ });
}
}, []);
- return null;
+ const handleUpdate = () => {
+ if (waitingWorker) {
+ // Tell the service worker to skip waiting
+ waitingWorker.postMessage({ type: "SKIP_WAITING" });
+ }
+ // Reload to activate new version
+ window.location.reload();
+ };
+
+ if (!updateAvailable) return null;
+
+ return (
+ <div className="fixed bottom-4 right-4 z-50 animate-in slide-in-from-bottom-5 fade-in duration-300">
+ <div className="bg-card border rounded-lg shadow-lg p-4 flex items-center gap-3 max-w-sm">
+ <div className="flex-1">
+ <p className="text-sm font-medium">Update Available</p>
+ <p className="text-xs text-muted-foreground">A new version is ready</p>
+ </div>
+ <Button
+ size="sm"
+ onClick={handleUpdate}
+ className="gap-1.5"
+ >
+ <RefreshCw className="h-3.5 w-3.5" />
+ Update
+ </Button>
+ </div>
+ </div>
+ );
}
diff --git a/apps/web/components/top-domains-chart.tsx b/apps/web/components/top-domains-chart.tsx
index 3a430c1..12c74cf 100644
--- a/apps/web/components/top-domains-chart.tsx
+++ b/apps/web/components/top-domains-chart.tsx
@@ -1,7 +1,17 @@
"use client";
-import { useState, useMemo, useRef } from "react";
-import { BarChart, Bar, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer, Cell, LabelList } from "recharts";
+import { useState, useMemo, useRef, useEffect } from "react";
+import {
+ BarChart,
+ Bar,
+ XAxis,
+ YAxis,
+ CartesianGrid,
+ Tooltip,
+ ResponsiveContainer,
+ Cell,
+ LabelList,
+} from "recharts";
import { useTranslations } from "next-intl";
import { BarChart3 } from "lucide-react";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
@@ -36,14 +46,13 @@ function renderCustomBarLabel(props: any) {
const { x, y, width, value, height } = props;
return (
<text
- x={x + width + 6}
+ x={x + width + 5}
y={y + height / 2}
fill="currentColor"
- fontSize={11}
+ fontSize={10}
dominantBaseline="central"
textAnchor="start"
- style={{ fontVariantNumeric: "tabular-nums" }}
- >
+ style={{ fontVariantNumeric: "tabular-nums" }}>
{formatBytes(value, 0)}
</text>
);
@@ -55,22 +64,44 @@ export function TopDomainsChart({ data }: TopDomainsChartProps) {
const [topN, setTopN] = useState<TopOption>(10);
// Track whether this is the initial render to only animate on first load
const hasRenderedRef = useRef(false);
+ // Track container width to hide labels on small screens
+ const containerRef = useRef<HTMLDivElement>(null);
+ const [containerWidth, setContainerWidth] = useState(0);
+
+ useEffect(() => {
+ if (!containerRef.current) return;
+
+ const observer = new ResizeObserver((entries) => {
+ for (const entry of entries) {
+ setContainerWidth(entry.contentRect.width);
+ }
+ });
+
+ observer.observe(containerRef.current);
+ return () => observer.disconnect();
+ }, []);
+
+ // Show labels only when container is wide enough (> 400px)
+ const showLabels = containerWidth > 400;
const chartData = useMemo(() => {
if (!data) return [];
- const result = data
- .slice(0, topN)
- .map((domain, index) => ({
- name: domain.domain.length > 20 ? domain.domain.slice(0, 20) + "..." : domain.domain,
- fullDomain: domain.domain,
- total: domain.totalDownload + domain.totalUpload,
- download: domain.totalDownload,
- upload: domain.totalUpload,
- color: COLORS[index % COLORS.length],
- }));
+ const result = data.slice(0, topN).map((domain, index) => ({
+ name:
+ domain.domain.length > 15
+ ? domain.domain.slice(0, 15) + "..."
+ : domain.domain,
+ fullDomain: domain.domain,
+ total: domain.totalDownload + domain.totalUpload,
+ download: domain.totalDownload,
+ upload: domain.totalUpload,
+ color: COLORS[index % COLORS.length],
+ }));
// After first data load, mark as rendered so subsequent updates skip animation
if (result.length > 0) {
- setTimeout(() => { hasRenderedRef.current = true; }, 800);
+ setTimeout(() => {
+ hasRenderedRef.current = true;
+ }, 800);
}
return result;
}, [data, topN]);
@@ -82,20 +113,28 @@ export function TopDomainsChart({ data }: TopDomainsChartProps) {
<div className="bg-background border border-border p-3 rounded-lg shadow-lg">
<div className="flex items-center gap-2 mb-2">
<Favicon domain={item.fullDomain} size="sm" />
- <span className="font-medium text-sm text-foreground">{item.fullDomain}</span>
+ <span className="font-medium text-sm text-foreground">
+ {item.fullDomain}
+ </span>
</div>
<div className="space-y-1 text-xs">
<div className="flex justify-between gap-4">
<span className="text-muted-foreground">{commonT("total")}:</span>
- <span className="font-medium text-foreground">{formatBytes(item.total)}</span>
+ <span className="font-medium text-foreground">
+ {formatBytes(item.total)}
+ </span>
</div>
<div className="flex justify-between gap-4">
<span className="text-blue-500">{commonT("download")}:</span>
- <span className="text-foreground">{formatBytes(item.download)}</span>
+ <span className="text-foreground">
+ {formatBytes(item.download)}
+ </span>
</div>
<div className="flex justify-between gap-4">
<span className="text-purple-500">{commonT("upload")}:</span>
- <span className="text-foreground">{formatBytes(item.upload)}</span>
+ <span className="text-foreground">
+ {formatBytes(item.upload)}
+ </span>
</div>
</div>
</div>
@@ -117,10 +156,15 @@ export function TopDomainsChart({ data }: TopDomainsChartProps) {
{t("mostBandwidthConsuming")}
</p>
</div>
- <Tabs value={topN.toString()} onValueChange={(v) => setTopN(parseInt(v) as TopOption)}>
+ <Tabs
+ value={topN.toString()}
+ onValueChange={(v) => setTopN(parseInt(v) as TopOption)}>
<TabsList className="h-8">
{TOP_OPTIONS.map((n) => (
- <TabsTrigger key={n} value={n.toString()} className="text-xs px-3">
+ <TabsTrigger
+ key={n}
+ value={n.toString()}
+ className="text-xs px-3">
Top {n}
</TabsTrigger>
))}
@@ -128,19 +172,23 @@ export function TopDomainsChart({ data }: TopDomainsChartProps) {
</Tabs>
</div>
</CardHeader>
- <CardContent>
- <div className="h-[350px] w-full">
+ <CardContent ref={containerRef}>
+ <div className="h-[350px] w-full min-w-0 overflow-hidden sm:overflow-visible">
<ResponsiveContainer width="100%" height="100%">
<BarChart
data={chartData}
layout="vertical"
- margin={{ top: 10, right: 60, left: 30, bottom: 10 }}
- >
- <CartesianGrid
- strokeDasharray="3 3"
- stroke="#888888"
- opacity={0.2}
- horizontal={false}
+ margin={{
+ top: 10,
+ right: showLabels ? 60 : 10,
+ left: 0,
+ bottom: 10,
+ }}>
+ <CartesianGrid
+ strokeDasharray="3 3"
+ stroke="#888888"
+ opacity={0.2}
+ horizontal={false}
/>
<XAxis
type="number"
@@ -152,30 +200,32 @@ export function TopDomainsChart({ data }: TopDomainsChartProps) {
<YAxis
type="category"
dataKey="name"
- width={100}
- tick={{ fontSize: 11, fill: "currentColor" }}
+ width={70}
+ tick={{ fontSize: 10, fill: "currentColor" }}
tickLine={false}
axisLine={false}
+ interval={0}
/>
- <Tooltip
- content={<CustomTooltip />}
- cursor={{ fill: "rgba(128, 128, 128, 0.1)" }}
+ <Tooltip
+ content={<CustomTooltip />}
+ cursor={{ fill: "rgba(128, 128, 128, 0.1)" }}
/>
<Bar
dataKey="total"
radius={[0, 4, 4, 0]}
maxBarSize={32}
isAnimationActive={!hasRenderedRef.current}
- animationDuration={600}
- >
+ animationDuration={600}>
{chartData.map((entry, index) => (
<Cell key={`cell-${index}`} fill={entry.color} />
))}
- <LabelList
- dataKey="total"
- position="right"
- content={renderCustomBarLabel}
- />
+ {showLabels && (
+ <LabelList
+ dataKey="total"
+ position="right"
+ content={renderCustomBarLabel}
+ />
+ )}
</Bar>
</BarChart>
</ResponsiveContainer>
diff --git a/apps/web/components/ui/sonner.tsx b/apps/web/components/ui/sonner.tsx
new file mode 100644
index 0000000..3af179c
--- /dev/null
+++ b/apps/web/components/ui/sonner.tsx
@@ -0,0 +1,31 @@
+"use client"
+
+import { useTheme } from "next-themes"
+import { Toaster as Sonner } from "sonner"
+
+type ToasterProps = React.ComponentProps<typeof Sonner>
+
+const Toaster = ({ ...props }: ToasterProps) => {
+ const { theme = "system" } = useTheme()
+
+ return (
+ <Sonner
+ theme={theme as ToasterProps["theme"]}
+ className="toaster group"
+ toastOptions={{
+ classNames: {
+ toast:
+ "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
+ description: "group-[.toast]:text-muted-foreground",
+ actionButton:
+ "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
+ cancelButton:
+ "group-[.toast]:bg-muted group-[.toaster]:text-muted-foreground",
+ },
+ }}
+ {...props}
+ />
+ )
+}
+
+export { Toaster }
diff --git a/apps/web/eslint.config.mjs b/apps/web/eslint.config.mjs
index ffb2243..295a825 100644
--- a/apps/web/eslint.config.mjs
+++ b/apps/web/eslint.config.mjs
@@ -1,6 +1,6 @@
import { defineConfig, globalIgnores } from "eslint/config";
-import { default as nextVitals } from "eslint-config-next/core-web-vitals";
-import { default as nextTs } from "eslint-config-next/typescript";
+import { default as nextVitals } from "eslint-config-next/core-web-vitals.js";
+import { default as nextTs } from "eslint-config-next/typescript.js";
const eslintConfig = defineConfig([
...nextVitals,
diff --git a/apps/web/lib/websocket.ts b/apps/web/lib/websocket.ts
index 0db296e..8f2ef3e 100644
--- a/apps/web/lib/websocket.ts
+++ b/apps/web/lib/websocket.ts
@@ -33,8 +33,14 @@ export function useStatsWebSocket(options: UseWebSocketOptions = {}) {
setStatus('connecting');
- // Try multiple possible WebSocket URLs
- const wsUrl = 'ws://localhost:3002';
+ // Support dynamic WebSocket URL configuration
+ // Priority: NEXT_PUBLIC_WS_URL > host-relative WS > default localhost
+ const wsPort = process.env.NEXT_PUBLIC_WS_PORT || '3002';
+ const wsUrl = process.env.NEXT_PUBLIC_WS_URL
+ ? process.env.NEXT_PUBLIC_WS_URL
+ : typeof window !== 'undefined'
+ ? `ws://${window.location.hostname}:${wsPort}`
+ : `ws://localhost:${wsPort}`;
console.log('[WebSocket] Connecting to:', wsUrl);
diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json
index e9e15e9..e1b9894 100644
--- a/apps/web/messages/en.json
+++ b/apps/web/messages/en.json
@@ -22,7 +22,7 @@
"refresh": "Refresh",
"loading": "Loading statistics...",
"error": "Failed to load statistics",
- "errorHint": "Make sure the collector service is running on port 3001",
+ "errorHint": "Make sure the backend API service is running and network connection is normal",
"trafficTrend": "Traffic Trend",
"topDomainsChart": "Top Domains Chart",
"proxyDistribution": "Proxy Distribution",
@@ -193,7 +193,7 @@
"projectName": "Clash Master",
"description": "Modern and beautiful traffic analysis dashboard for OpenClash",
"github": "GitHub",
- "openSource": "Open Source Project",
+ "openSource": "Clash Master",
"license": "MIT License",
"currentVersion": "Current Version",
"latestVersion": "Latest Version",
@@ -217,7 +217,8 @@
"confirm": "Confirm",
"edit": "Edit",
"delete": "Delete",
- "ok": "OK"
+ "ok": "OK",
+ "success": "Success"
},
"settings": {
"title": "Settings",
@@ -285,6 +286,7 @@
"setDisplay": "Set Display",
"selectBackend": "Select Backend",
"manageBackends": "Manage Backends",
- "firstBackendAutoActive": "First backend automatically set as active"
+ "firstBackendAutoActive": "First backend automatically set as active",
+ "verificationFailed": "Backend verification failed. Please check the host address and token."
}
}
diff --git a/apps/web/messages/zh.json b/apps/web/messages/zh.json
index 8ecb67f..bc58012 100644
--- a/apps/web/messages/zh.json
+++ b/apps/web/messages/zh.json
@@ -22,7 +22,7 @@
"refresh": "刷新",
"loading": "加载统计数据...",
"error": "加载统计数据失败",
- "errorHint": "请确保数据收集服务在 3001 端口运行",
+ "errorHint": "请确保后端 API 服务已启动且网络连接正常",
"trafficTrend": "流量趋势",
"topDomainsChart": "热门域名图表",
"proxyDistribution": "代理节点分布",
@@ -216,7 +216,8 @@
"confirm": "确认",
"edit": "编辑",
"delete": "删除",
- "ok": "确定"
+ "ok": "确定",
+ "success": "成功"
},
"settings": {
"title": "设置",
@@ -284,6 +285,7 @@
"setDisplay": "设为显示",
"selectBackend": "选择后端",
"manageBackends": "管理后端",
- "firstBackendAutoActive": "第一个后端已自动设为显示"
+ "firstBackendAutoActive": "第一个后端已自动设为显示",
+ "verificationFailed": "后端验证失败,请检查地址和令牌是否正确"
}
}
diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts
index 76cbd96..be94534 100644
--- a/apps/web/next.config.ts
+++ b/apps/web/next.config.ts
@@ -5,27 +5,82 @@ import { join } from "path";
const withNextIntl = createNextIntlPlugin();
-// Read version from root package.json (same file GitHub version check fetches)
+// Read version from root package.json
const rootPkg = JSON.parse(
readFileSync(join(__dirname, "../../package.json"), "utf-8"),
);
-const API_URL = process.env.API_URL || "http://localhost:3001";
+// API URL configuration
+// - For local dev (default): http://localhost:3001
+// - For Docker/custom: set API_URL env variable
+// - Can use absolute URL (with protocol) or relative path
+const apiUrl = process.env.API_URL || "http://localhost:3001";
+const API_DESTINATION = apiUrl.endsWith('/api')
+ ? `${apiUrl}/:path*`
+ : `${apiUrl}/api/:path*`;
+// Base Next.js config
const nextConfig: NextConfig = {
reactStrictMode: true,
output: 'standalone',
env: {
NEXT_PUBLIC_APP_VERSION: rootPkg.version || "0.0.0",
+ // Expose WebSocket port to browser (for client-side use)
+ NEXT_PUBLIC_WS_PORT: process.env.NEXT_PUBLIC_WS_PORT || "3002",
},
async rewrites() {
return [
{
source: "/api/:path*",
- destination: `${API_URL}/api/:path*`,
+ destination: API_DESTINATION,
+ },
+ ];
+ },
+ async headers() {
+ return [
+ {
+ source: "/manifest.json",
+ headers: [
+ {
+ key: "Cache-Control",
+ value: "public, max-age=0, must-revalidate",
+ },
+ ],
+ },
+ {
+ source: "/sw.js",
+ headers: [
+ {
+ key: "Cache-Control",
+ value: "public, max-age=0, must-revalidate",
+ },
+ {
+ key: "Service-Worker-Allowed",
+ value: "/",
+ },
+ ],
},
];
},
};
-export default withNextIntl(nextConfig);
+// Apply PWA in production only
+let finalConfig = withNextIntl(nextConfig);
+
+if (process.env.NODE_ENV === "production") {
+ try {
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
+ const withPWA = require("@ducanh2912/next-pwa");
+ finalConfig = withPWA({
+ dest: "public",
+ register: true,
+ skipWaiting: true,
+ disable: false,
+ buildExcludes: [/middleware-manifest.json$/],
+ })(finalConfig);
+ } catch {
+ // PWA not available, use base config
+ }
+}
+
+export default finalConfig;
diff --git a/apps/web/package.json b/apps/web/package.json
index cce6b42..ac4a6ce 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -10,12 +10,14 @@
},
"dependencies": {
"@clashmaster/shared": "workspace:*",
+ "@ducanh2912/next-pwa": "^10.2.9",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-scroll-area": "^1.2.10",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"d3-scale": "^4.0.2",
+ "framer-motion": "^12.33.0",
"lucide-react": "^0.563.0",
"next": "15.5.12",
"next-intl": "^3.26.5",
@@ -25,6 +27,7 @@
"react-dom": "^19.2.0",
"react-simple-maps": "^3.0.0",
"recharts": "^2.15.4",
+ "sonner": "^2.0.7",
"tailwind-merge": "^2.6.1"
},
"devDependencies": {
diff --git a/apps/web/public/manifest.json b/apps/web/public/manifest.json
index e549809..e4da2d7 100644
--- a/apps/web/public/manifest.json
+++ b/apps/web/public/manifest.json
@@ -3,6 +3,7 @@
"short_name": "Clash Master",
"description": "Modern and beautiful traffic analysis dashboard for OpenClash",
"start_url": "/",
+ "scope": "/",
"display": "standalone",
"background_color": "#0B0F19",
"theme_color": "#3B82F6",
diff --git a/apps/web/public/sw.js b/apps/web/public/sw.js
index e93d004..f043a60 100644
--- a/apps/web/public/sw.js
+++ b/apps/web/public/sw.js
@@ -31,60 +31,39 @@ self.addEventListener("activate", (event) => {
);
});
-// Fetch event - network-first strategy for API, cache-first for static assets
+// Fetch event - network first strategy
self.addEventListener("fetch", (event) => {
- const { request } = event;
- const url = new URL(request.url);
-
// Skip non-GET requests
- if (request.method !== "GET") return;
-
- // Skip API requests and external URLs - always go to network
- if (url.pathname.startsWith("/api/") || url.origin !== self.location.origin) {
- return;
- }
-
- // For navigation requests (HTML pages) - network first, fall back to cache
- if (request.mode === "navigate") {
- event.respondWith(
- fetch(request)
- .then((response) => {
- const clone = response.clone();
- caches.open(CACHE_NAME).then((cache) => cache.put(request, clone));
- return response;
- })
- .catch(() => caches.match(request).then((cached) => cached || caches.match("/"))),
- );
- return;
- }
-
- // For static assets - cache first, fall back to network
- if (
- url.pathname.startsWith("/_next/static/") ||
- url.pathname.match(/\.(png|jpg|jpeg|svg|gif|ico|webp|woff2?|ttf|css|js)$/)
- ) {
- event.respondWith(
- caches.match(request).then(
- (cached) =>
- cached ||
- fetch(request).then((response) => {
- const clone = response.clone();
- caches.open(CACHE_NAME).then((cache) => cache.put(request, clone));
- return response;
- }),
- ),
- );
- return;
- }
-
- // Default: network first
+ if (event.request.method !== "GET") return;
+
+ // Skip API requests
+ if (event.request.url.includes("/api/")) return;
+
event.respondWith(
- fetch(request)
+ fetch(event.request)
.then((response) => {
- const clone = response.clone();
- caches.open(CACHE_NAME).then((cache) => cache.put(request, clone));
+ // Clone the response
+ const responseToCache = response.clone();
+
+ // Cache successful GET requests
+ if (response.status === 200) {
+ caches.open(CACHE_NAME).then((cache) => {
+ cache.put(event.request, responseToCache);
+ });
+ }
+
return response;
})
- .catch(() => caches.match(request)),
+ .catch(() => {
+ // Fallback to cache if network fails
+ return caches.match(event.request);
+ }),
);
});
+
+// Listen for skip waiting message
+self.addEventListener("message", (event) => {
+ if (event.data && event.data.type === "SKIP_WAITING") {
+ self.skipWaiting();
+ }
+});
diff --git a/docker-compose.yml b/docker-compose.yml
index 232e77c..204dc7a 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,16 +1,14 @@
services:
clash-master:
image: foru17/clash-master:latest
- # Uncomment below to build locally instead of pulling from Docker Hub
- # build:
- # context: .
- # dockerfile: Dockerfile
container_name: clash-master
restart: unless-stopped
ports:
- - "3000:3000" # Web UI
- - "3001:3001" # API
- - "3002:3002" # WebSocket
+ # 外部端口 : 内部端口
+ # 如果端口被占用,修改 .env 文件或环境变量即可
+ - "${WEB_EXTERNAL_PORT:-3000}:3000" # Web UI
+ - "${API_EXTERNAL_PORT:-3001}:3001" # API
+ - "${WS_EXTERNAL_PORT:-3002}:3002" # WebSocket
volumes:
- ./data:/app/data
environment:
@@ -18,4 +16,19 @@ services:
- WEB_PORT=3000
- API_PORT=3001
- COLLECTOR_WS_PORT=3002
+ # 告诉前端浏览器应该连接哪个 WebSocket 端口
+ - NEXT_PUBLIC_WS_PORT=${WS_EXTERNAL_PORT:-3002}
- DB_PATH=/app/data/stats.db
+ networks:Open Source Project
+ - clash-master-network
+ # 健康检查
+ healthcheck:
+ test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:3001/health"]
+ interval: 30s
+ timeout: 10s
+ retries: 3
+ start_period: 40s
+
+networks:
+ clash-master-network:
+ driver: bridge
diff --git a/package.json b/package.json
index 7aea59e..81bfbd5 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "clash-master",
- "version": "1.0.3",
+ "version": "1.0.4",
"private": true,
"workspaces": [
"apps/*",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ba82970..72a202f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -54,6 +54,9 @@ importers:
'@clashmaster/shared':
specifier: workspace:*
version: link:../../packages/shared
+ '@ducanh2912/next-pwa':
+ specifier: ^10.2.9
'@radix-ui/react-alert-dialog':
specifier: ^1.1.15
@@ -72,15 +75,18 @@ importers:
d3-scale:
specifier: ^4.0.2
version: 4.0.2
+ framer-motion:
+ specifier: ^12.33.0
lucide-react:
specifier: ^0.563.0
version: 0.563.0([email protected])
next:
specifier: 15.5.12
next-intl:
specifier: ^3.26.5
next-themes:
specifier: ^0.4.6
@@ -99,6 +105,9 @@ importers:
recharts:
specifier: ^2.15.4
+ sonner:
+ specifier: ^2.0.7
tailwind-merge:
specifier: ^2.6.1
version: 2.6.1
@@ -158,10 +167,513 @@ packages:
resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
engines: {node: '>=10'}
+ '@apideck/[email protected]':
+ resolution: {integrity: sha512-P+ZygBLZtkp0qqOAJJVX4oX/sFo5JR3eBWwwuqHHhK0GIgQOKWrAfiAaWX0aArHkRWHMuggFEgAZNxVPwPZYaA==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ ajv: '>=8'
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-N1EhvLtHzOvj7QQOUCCS3NrPJP8c5W6ZXCHDn7Yialuy1iu4r5EmIYkXlKNqT99Ciw+W0mDqWoR6HWMZlFP3hw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-mOAsxeeKkUKayvZR3HeTYD/fICpCPLJrU5ZjelT/PA6WHtNDBOE436YiaEUvHN454bRM3CebhDsIpieCc4texA==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-7fiA521aVw8lSPeI4ZOD3vRFkoqkJcS+z4hFo82bFSH/2tNd6eJ5qCVMS5OzDmZh/kaHQeBaeyxK6wljcPtveA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-z+PwLziMNBeSQJonizz2AGnndLsP2DeGHIxDAn+wdHOGuo4Fo1x1HBPPXeE9TAOPHNNWQKCSlA2VZyYyyibDnQ==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww==}
+ engines: {node: '>=6.0.0'}
+ hasBin: true
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-87GDMS3tsmMSi/3bWOte1UblL+YUTFMV8SZPZ2eSEL17s74Cw/l63rR6NmGVKMYW2GYi85nE+/d6Hw5N0bEk2Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qNeq3bCKnGgLkEXUuFry6dPlGfCdQNZbn7yUAPCInwAJHMU7THJfrBSozkcWq5sNM6RcF3S8XyQL2A52KNR9IA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.27.1':
+ resolution: {integrity: sha512-g4L7OYun04N1WyqMNjldFwlfPCLVkgB54A/YCXICZYBsvJJE3kByKv9c9+R/nAfmIfjl2rKYLNyMHboYbZaWaA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-oO02gcONcD5O1iTLi/6frMJBIwWEHceWGSGqrpCmEL8nogiS6J9PBlE48CaK20/Jx1LuRml9aDftLgdjXT8+Cw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.13.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-a0aBScVTlNaiUe35UtfxAN7A/tehvvG4/ByO6+46VPKTRSlfnAFsgKy0FUh+qAkQrDTmhDkT+IBOKlOoMUxQ0g==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2':
+ resolution: {integrity: sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-pSJUpFHdx9z5nqTSirOCMtYVP2wFgoWhP0p3g8ONK/4IHhLIBd0B9NYqAvIUAhq+OkhO4VM1tENCt0cjlsNShw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-va0VdWro4zlBr2JsXC+ofCPB2iG12wPtVGTWFx2WLDOM3nYQZZIGP82qku2eW/JR83sD+k2k+CsNtyEbUqhU6w==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-ilTRcmbuXjsMmcZ3HASTe4caH5Tpo93PkTxF9oG2VZsSWsahydmcEHhix9Ik122RcTnZnUzPbmux4wh1swfv7g==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-cnqkuOtZLapWYZUYM5rVIdv1nXYuFVIltZ6ZJ7nIj585QsjKM5dhL2Fu/lICXZ1OyIAFc7Qy+bvDAtTXqGrlhg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-tt/7wOtBmwHPNMPu7ax4pdPz6shjFrmHDghvNC+FG9Qvj7D6mJcoRQIF5dy4njmxR941l6rgtvfSB2zX3VlUIw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-dY2wS3I2G7D697VHndN91TJr8/AAfXQNt5ynCTI/MpxMsSzHp+52uNivYT5wCPax3whc47DR8Ba7cmlQMg24bw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-rfQ++ghVwTWTqQ7w8qyDxL1XGihjBss4CmTgGRCTAC9RIbhVpyp4fOeZtta0Lbf+dTNIVJer6ych2ibHwkZqsQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.12.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-EF5KONAqC5zAqT783iMGuM2ZtmEBy+mJMOKl2BCvPZ2lVrwvXnB6o+OBWCS+CoeCCpVRF2sA2RBKUxvT8tQT5Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-bcc3k0ijhHbc2lEfpFHgx7eYw9KNXqOerKWfzbxEHUGKnS3sz9C4CNL9OiFN1297bDNfUiSO7DaLzbvHQQQ1BQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Kl9Bc6D0zTUcFUvkNuQh4eGXPKKNDOJQXVyyM4ZAQPMveniJdxi8XMJwLo+xSoW3MIq81bD33lcUe9kZpl0MCw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-SljjowuNKB7q5Oayv4FoPzeB74g3QgLt8IVJw9ADvWy3QnUb/01aw8I4AVv8wYnPvQz2GDDZ/g3GhcNyDBI4Bg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-MTyJk98sHvSs+cvZ4nOauwTTG1JeonDjSGvGGUNHreGQns+Mpt6WX/dVzWBHgg+dYZhkC4X+zTDfkTU+Vy9y7Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-zBPcW2lFGxdiD8PUnPwJjag2J9otbcLQzvbiOzDxpYXyCuYX9agOwMPGn1prVH0a4qzhCKu24rlH4c1f7yA8rw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-MHzkWQcEmjzzVW9j2q8LGjwGWpG2mjwaaB0BNQwst3FIjqsg8Ct/mIZlvSPJvfi9y2AC8mi/ktxbFVL9pZ1I4A==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Iao5Konzx2b6g7EPqTy40UZbcdXE126tTxVFr/nAIj+WItNxjKSYTEw3RC+A2/ZetmdJsgueL1KhaMCQHkLPIg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-WitabqiGjV/vJ0aPOLSFfNY1u9U3R7W36B03r5I2KoNix+a3sOhJ3pKFB3R5It9/UiK78NiO0KE9P21cMhlPkw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-tQvHWSZ3/jH2xuq/vZDy0jNn+ZdXJeM8gHvX4lnJmsc3+50yPlWdZXIc5ay+umX+2/tJIqHqiEqcJvxlmIvRvQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-BfbWFFEJFQzLCQ5N8VocnCtA8J1CLkNTe2Ms2wocj75dd6VpiqS5Z5quTYcUoo4Yq+DN0rtikODccuv7RU81sw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-1bQeydJF9Nr1eBCMMbC+hdwmRlsv5XYOMu03YSWFwNs0HsAmtSxxF1fyuYPqemVldVyFmlCU7w8UE14LupUSZQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Nr+hEN+0geQkzhbdgQVPoqr47lZbm+5fCUmO70722xJZd0Mvb59+33QLImGj6F+DkK3xgDi1YVysP8whD6FQAw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-0HCFSepIpLTkLcsi86GG3mTUzxV5jpmbv97hTETW3yzrAij8aqlD36toB1D0daVFJM8NK6GvKO0gslVQmm+zZA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-+anKKair6gpi8VsM/95kmomGNMD0eLz1NQ8+Pfw5sAwWH9fGYXT50E55ZpV0pHUHWf6IUTWPM+f/7AAff+wr9A==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-hqoBX4dcZ1I33jCSWcXrP+1Ku7kdqXf1oeah7ooKOIiAdKQ+uqftgCFNOSzA5AMS2XIHEYeGFg4cKRCdpxzVOQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-iCsytMg/N9/oFq6n+gFTvUYDZQOMK5kEdeYxmxt91fcJGycfxVP9CnrxoliM0oumFERba2i8ZtwRUCMhvP1LnA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-jppVbf8IV9iWWwWTQIxJMAJCWBuuKx71475wHwYytrRGQ2CWiDvYlADQno3tcYpS/T2UUWFQp3nVtYfK/YBQrA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-PrujnVFbOdUpw4UHiVwKvKRLMMic8+eC0CuNlxjsyZUiBjhFdPsewdXCkveh2KqBA9/waD0W1b4hXSOBQJezpQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-iQBE/xC5BV1OxJbp6WG7jq9IWiD+xxlZhLrdwpPkTX3ydmXdvoCpyfJN7acaIBZaOqTfr76pgzqBJflNbeRK+w==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-1CZQA5KNAD6ZYQLPw7oi5ewtDNxH/2vuCh+6SmvgDfhumForvs8a1o9n0UrEoBD8HU4djO2yWngTQlXl1NDVEQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-f6PiYeqXQ05lYq3TIfIDu/MtliKUbNwkGApPUvyo6+tc7uaR4cPjPe7DFPr15Uyycg2lZU6btZ575CuQoYh7MQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-3wKbRgmzYbw24mDJXT7N+ADXw8BC/imU9yo9c9X9NKaLF1fW+e5H1U5QjMUBe4Qo4Ox/o++IyUkl1sVCLgevKg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-SJR8hPynj8outz+SlStQSwvziMN4+Bq99it4tMIf5/Caq+3iOc0JtKyse8puvyXkk3eFRIA5ID/XfunGgO5i6w==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-5rh+JR4JBC4pGkXLAcYdLHZjXudVxWMXbB6u6+E9lRL5TrGVbHt1TjxGbZ8CkmYw9zjkB7jutzOROArsqtncEA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-SFy8S9plRPbIcxlJ8A6mT/CxFdJx/c04JEctz4jf8YZaVS2px34j7NXRrlGlHkN/M2gnpL37ZpGRGVFLd3l8Ng==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-R8ja/Pyrv0OGAvAXQhSTmWyPJPml+0TMqXlO5w+AsMEiwb2fg3WkOvob7UxFSL3OIttFSGSRFKQsOhJ/X6HQdQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-A4zobikRGJTsX9uqVFdafzGkqD30t26ck2LmOzAuLL8b2x6k3TIqRiT2xVvA9fNmFeTX484VpsdgmKNA0bS23w==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qBkYTYCb76RRxUM6CcZA5KRu8K4SM8ajzVeUgVdMVO9NN9uI/GaVmBg/WKJJGnNokV9SY8FxNOVWGXzqzUidBg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-piiuapX9CRv7+0st8lmuUlRSmX6mBcVeNQ1b4AYzJxfCMuBfB0vBXDiGSmm03pKJw1v6cZ8KSeM+oUnM6yAExg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-b97jvNSOb5+ehyQmBpmhOCiUC5oVK4PMnpRvO7+ymFBoqYjeDHIU9jnrNUuwHOiL9RpGDoKBpSViarV+BU+eVA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-oThy3BCuCha8kDZ8ZkgOg2exvPYUlprMukKQXI1r1pJ47NCvxfkEy8vK+r/hT9nF0Aa4H1WUPZZjHTFtAhGfmQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-FijqlqMA7DmRdg/aINBSs04y8XNTYw/lr1gJ2WsmBnnaNw1iS43EPkJW+zK7z65auG3AWRFXWj+NcTQwYptUog==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-QGWAepm9qxpaIs7UM9FvUSnCGlb8Ua1RhyM4/veAxLwt3gMat/LSGrZixyuj4I6+Kn9iwvqCyPTtbdxanYoWYg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-V2ABPHIJX4kC7HegLkYoDpfg9PVmuWy/i6vUM5eGK22bx4YVFD3M5F0QQnWQoDs6AGsUWTVOopBiMFQgHaSkVw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-9U4QObUC0FtJl05AsUcodau/RWDytrU6uKgkxu09mLR9HLDAtUMoPuuskm5huQsoktmsYpI+bGmq+iapDcriKA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-lhInBO5bi/Kowe2/aLdBAawijx+q1pQzicSgnkB6dUPc1+RC8QmJHKf2OjvU+NZWitguJHEaEmbV6VWEouT58g==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-RiSILC+nRJM7FY5srIyc4/fGIwUhyDuuBSdWn4y6yT6gm652DpCHZjIipgn6B7MQ1ITOUnAKWixEUjQRIBIcLw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Ysg4v6AmF26k9vpfFuTZg8HRfVWzsh1kVfowA23y9j/Gu6dOuahdUVhkLqpObp3JIv27MLSii6noRnuKN8H0Mg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-4Wlbdl/sIZjzi/8St0evF0gEZrgOswVO6aOzqxh1kDZOl9WmLrHq2HtGhnOJZmHZYKP8WZ1MDLCt5DAWwRo57A==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-/wHc/paTUmsDYN7SZkpWxogTOBNnlx7nBQYfy6JJlCT7G3mVhltk3e++N7zV0XfgGsrqBxd4rJQt9H16I21Y1Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-fNEdfc0yi16lt6IZo2Qxk3knHVdfMYX33czNb4v8yWhemoBhibCpQK/uYHtSKIiO+p/zd3+8fYVXhQdOVV608w==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0
+
resolution: {integrity: sha512-05WQkdpL9COIMz4LjTxGpPNCdlpyimKppYNoJ5Di5EUObifl8t4tuLuUBBZEpoLYOmfvIWrsp9fCl0HoPRVTdA==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==}
+ engines: {node: '>=6.9.0'}
+
+ '@ducanh2912/[email protected]':
+ resolution: {integrity: sha512-Wtu823+0Ga1owqSu1I4HqKgeRYarduCCKwsh1EJmJiJqgbt+gvVf5cFwFH8NigxYyyEvriAro4hzm0pMSrXdRQ==}
+ peerDependencies:
+ next: '>=14.0.0'
+ webpack: '>=5.9.0'
+
'@emnapi/[email protected]':
resolution: {integrity: sha512-AvT9QFpxK0Zd8J0jopedNm+w/2fIzvtPKPjqyw9jwvBaReTTqPBk9Hixaz7KbjimP+QNz605/XnjFcDAL2pqBg==}
@@ -576,6 +1088,9 @@ packages:
resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}
engines: {node: '>=6.0.0'}
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==}
+
'@jridgewell/[email protected]':
resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}
@@ -1383,12 +1898,64 @@ packages:
'@radix-ui/[email protected]':
resolution: {integrity: sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==}
- '@rtsao/[email protected]':
- resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==}
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==}
+ engines: {node: '>= 10.0.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+ '@types/babel__core': ^7.1.9
+ rollup: ^1.20.0||^2.0.0
+ peerDependenciesMeta:
+ '@types/babel__core':
+ optional: true
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-tgg6b91pAybXHJQMAAwW9VuWBO6Thi+q7BCNARLwSqlmsHz0XYURtGvh/AuwSADXSI4h/2uHbs7s4FzlZDGSGA==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ rollup: ^2.78.0||^3.0.0||^4.0.0
+ peerDependenciesMeta:
+ rollup:
+ optional: true
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==}
+ peerDependencies:
+ rollup: ^1.20.0 || ^2.0.0
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ rollup: ^2.0.0||^3.0.0||^4.0.0
+ peerDependenciesMeta:
+ rollup:
+ optional: true
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==}
+ engines: {node: '>= 8.0.0'}
+ peerDependencies:
+ rollup: ^1.20.0||^2.0.0
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
+ peerDependenciesMeta:
+ rollup:
+ optional: true
+
+ '@rtsao/[email protected]':
+ resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==}
'@rushstack/[email protected]':
resolution: {integrity: sha512-ojSshQPKwVvSMR8yT2L/QtUkV5SXi/IfDiJ4/8d6UbTPjiHVmxZzUAzGD8Tzks1b9+qQkZa0isUOvYObedITaw==}
+ '@surma/[email protected]':
+ resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==}
+
resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==}
@@ -1513,6 +2080,15 @@ packages:
resolution: {integrity: sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==}
+
resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
@@ -1533,6 +2109,12 @@ packages:
resolution: {integrity: sha512-tORuanb01iEzWvMGVGv2ZDhYZVeRMrw453DCSAIn/5yvcSVnMoUMTyf33nQJLahYEnv9xqrTNbgz4qY5EfSh0g==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==}
+
resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==}
@@ -1690,9 +2272,66 @@ packages:
cpu: [x64]
os: [win32]
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==}
+
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==}
+
+ resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==}
+
+ resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==}
+
resolution: {integrity: sha512-2BjRTZxTPvheOvGbBslFSYOUkr+SjPtOnrLP33f+VIWLzezQpZcqVg7ja3L4dBXmzzgwT+a029jRx5PCi3JuiA==}
+ resolution: {integrity: sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==}
+ engines: {node: '>=10.13.0'}
+ peerDependencies:
+ acorn: ^8.14.0
+
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
peerDependencies:
@@ -1719,6 +2358,11 @@ packages:
ajv:
optional: true
+ resolution: {integrity: sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==}
+ peerDependencies:
+ ajv: ^8.8.2
+
resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
@@ -1779,6 +2423,13 @@ packages:
resolution: {integrity: sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==}
+
+ resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==}
+ engines: {node: '>= 4.0.0'}
+
resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==}
engines: {node: '>=8.0.0'}
@@ -1798,12 +2449,31 @@ packages:
resolution: {integrity: sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-hR3GwrRwHUfYwGfrisXPIDP3JcYfBrW7wKE7+Au6wDYl7fm/ka1NEII6kORzxNU556JjfidZeBsO10kYvtV1aw==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+
+ resolution: {integrity: sha512-AvDcMxJ34W4Wgy4KBIIePQTAOP1Ie2WFwkQp3dB7FQ/f0lI5+nM96zUnYEOE1P9sEg0es5VCP0HxiWu5fUHZAQ==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+
+ resolution: {integrity: sha512-hYm+XLYRMvupxiQzrvXUj7YyvFFVfv5gI0R71AJzudg1g2AI2vyCPPIFEBjk162/wFzti3inBHo7isWFuEVS/A==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}
+ resolution: {integrity: sha512-ipDqC8FrAl/76p2SSWKSI+H9tFwm7vYqXQrItCuiVPt26Km0jS+NzSsBWAaBusvSbQcfJG+JitdMm+wZAgTYqg==}
+ hasBin: true
+
resolution: {integrity: sha512-EwhOpyXiOEL/lKzHz9AW1msWFNzGc/z+LzeB3/jnFJpxu+th2yqvzsSWas1v9jgs9+xiXJcD5A8CJxAG2TaghQ==}
@@ -1823,6 +2493,14 @@ packages:
resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==}
+ engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
+ hasBin: true
+
+ resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
+
resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==}
@@ -1852,6 +2530,10 @@ packages:
resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==}
+ resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==}
+ engines: {node: '>=6.0'}
+
resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==}
@@ -1872,17 +2554,31 @@ packages:
resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
+ resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==}
+ engines: {node: '>=4.0.0'}
+
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
+ resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
+
resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}
engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-OM4cAF3D6VtH/WkLtWvyNC56EZVXsZdU3iqaMG2B4WvYrlqU831pc4UtG5yp0sE9z8Y02wVN7PjW5Zf9Gt0f1Q==}
+
resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
engines: {node: '>= 8'}
+ resolution: {integrity: sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==}
@@ -2014,6 +2710,10 @@ packages:
resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}
+ resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}
+ engines: {node: '>=0.10.0'}
+
resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==}
engines: {node: '>= 0.4'}
@@ -2044,6 +2744,14 @@ packages:
resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==}
+ engines: {node: '>=0.10.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-9tfDXhJ4RKFNerfjdCcZfufu49vg620741MNs26a9+bhLThdB+plgMeou98CAaHu/WATj2iHOOHTp1hWtABj2A==}
+
resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
@@ -2070,6 +2778,9 @@ packages:
resolution: {integrity: sha512-BrUQ0cPTB/IwXj23HtwHjS9n7O4h9FX94b4xc5zlTHxeLgTAdzYUDyy6KdExAl9lbN5rtfe44xpjpmj9grxs5w==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==}
+
resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}
engines: {node: '>= 0.4'}
@@ -2091,6 +2802,10 @@ packages:
engines: {node: '>=18'}
hasBin: true
+ resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
engines: {node: '>=10'}
@@ -2169,6 +2884,10 @@ packages:
peerDependencies:
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7
+ resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==}
+ engines: {node: '>=8.0.0'}
+
resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -2203,10 +2922,20 @@ packages:
resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==}
engines: {node: '>=4.0'}
+ resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==}
+ engines: {node: '>=4.0'}
+
resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==}
engines: {node: '>=4.0'}
+ resolution: {integrity: sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==}
+
+ resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
+
resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}
engines: {node: '>=0.10.0'}
@@ -2214,6 +2943,10 @@ packages:
resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==}
+ resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==}
+ engines: {node: '>=0.8.x'}
+
resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==}
engines: {node: '>=6'}
@@ -2235,6 +2968,10 @@ packages:
resolution: {integrity: sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==}
engines: {node: '>=8.6.0'}
+ resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==}
+ engines: {node: '>=8.6.0'}
+
resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}
@@ -2278,6 +3015,9 @@ packages:
resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==}
+ resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==}
+
resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
engines: {node: '>=8'}
@@ -2305,9 +3045,30 @@ packages:
resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==}
engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-ca8d+rRPcDP5iIF+MoT3WNc0KHJMjIyFAbtVLvM9eA7joGSpeqDfiNH/kCs1t4CHi04njYvWyj0jS4QlEK/rJQ==}
+ peerDependencies:
+ '@emotion/is-prop-valid': '*'
+ react: ^18.0.0 || ^19.0.0
+ react-dom: ^18.0.0 || ^19.0.0
+ peerDependenciesMeta:
+ '@emotion/is-prop-valid':
+ optional: true
+ react:
+ optional: true
+ react-dom:
+ optional: true
+
resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
+ resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
+
resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
@@ -2327,6 +3088,10 @@ packages:
resolution: {integrity: sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}
engines: {node: '>= 0.4'}
@@ -2335,6 +3100,9 @@ packages:
resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==}
+
resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==}
engines: {node: '>= 0.4'}
@@ -2357,6 +3125,13 @@ packages:
resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==}
engines: {node: '>=10.13.0'}
+ resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==}
+
+ resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
+
resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
engines: {node: '>=18'}
@@ -2399,6 +3174,9 @@ packages:
resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==}
+
resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==}
@@ -2418,6 +3196,10 @@ packages:
resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}
engines: {node: '>=0.8.19'}
+ resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
+ deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
+
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
@@ -2497,6 +3279,9 @@ packages:
resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==}
+
resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==}
engines: {node: '>= 0.4'}
@@ -2509,10 +3294,18 @@ packages:
resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}
engines: {node: '>=0.12.0'}
+ resolution: {integrity: sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==}
+ engines: {node: '>=0.10.0'}
+
resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==}
+ engines: {node: '>=0.10.0'}
+
resolution: {integrity: sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==}
engines: {node: '>= 0.4'}
@@ -2521,6 +3314,10 @@ packages:
resolution: {integrity: sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==}
engines: {node: '>= 0.4'}
@@ -2555,6 +3352,15 @@ packages:
resolution: {integrity: sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-wpHYzhxiVQL+IV05BLE2Xn34zW1S223hvjtqk0+gsPrwd/8JNLXJgZZM/iPFsYc1xyphF+6M6EvdE5E9MBGkDA==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==}
+ engines: {node: '>= 10.13.0'}
+
resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==}
hasBin: true
@@ -2566,9 +3372,17 @@ packages:
resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==}
hasBin: true
+ resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==}
+ engines: {node: '>=6'}
+ hasBin: true
+
resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==}
+ resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==}
+
resolution: {integrity: sha512-EJAj1pgHc1hxF6vo2Z3s69fMjO1INq6eGHXZ8Z6wCQeldCuwxGK9Sxf4/cScGn3FZubCVUehfWtcDM/PLteCQw==}
@@ -2578,6 +3392,9 @@ packages:
resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}
+ resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==}
+
resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
@@ -2585,6 +3402,18 @@ packages:
resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==}
hasBin: true
+ resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==}
+ engines: {node: '>=6'}
+ hasBin: true
+
+ resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==}
+
+ resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==}
+ engines: {node: '>=0.10.0'}
+
resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==}
engines: {node: '>=4.0'}
@@ -2599,6 +3428,10 @@ packages:
resolution: {integrity: sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==}
engines: {node: '>=0.10'}
+ resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
engines: {node: '>= 0.8.0'}
@@ -2676,13 +3509,23 @@ packages:
resolution: {integrity: sha512-utfs7Pr5uJyyvDETitgsaqSyjCb2qNRAtuqUeWIAKztsOYdcACf2KtARYXg2pSvhkt+9NfoaNY7fxjl6nuMjIQ==}
engines: {node: '>= 12.0.0'}
+ resolution: {integrity: sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q==}
+ engines: {node: '>=6.11.5'}
+
resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==}
+
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
+ resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==}
+
resolution: {integrity: sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==}
@@ -2690,11 +3533,17 @@ packages:
resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
hasBin: true
+ resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
+
resolution: {integrity: sha512-8dXPB2GI4dI8jV4MgUDGBeLdGk8ekfqVZ0BdLcrRzocGgG75ltNEmWS+gE7uokKF/0oSUuczNDT+g9hFJ23FkA==}
peerDependencies:
react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==}
+
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
@@ -2702,6 +3551,9 @@ packages:
resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
+
resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
engines: {node: '>= 8'}
@@ -2710,6 +3562,14 @@ packages:
resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==}
engines: {node: '>=8.6'}
+ resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
+ engines: {node: '>= 0.6'}
+
resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==}
engines: {node: '>=10'}
@@ -2717,6 +3577,10 @@ packages:
resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
+ resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==}
engines: {node: '>=16 || 14 >=14.17'}
@@ -2730,6 +3594,12 @@ packages:
resolution: {integrity: sha512-A/0v5Z59y63US00cRSLiloEIw3t5G+MiKz4BhX21FI+YBJXBOGW0ohFxTxO08dsOYlzxo87T7vGfZKYp2bcAWA==}
+ resolution: {integrity: sha512-XRPebVypsl0UM+7v0Hr8o9UAj0S2djsQWRdHBd5iVouVpMrQqAI0C/rDAT3QaYnXnHuC5hMcwDHCboNeyYjPoQ==}
+
+ resolution: {integrity: sha512-G3kc34H2cX2gI63RqU+cZq+zWRRPSsNIOjpdl9TN4AQwC4sgwYPl/Q/Obf/d53nOm569T0fYK+tcoSV50BWx8A==}
+
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
@@ -2753,6 +3623,9 @@ packages:
resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==}
engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
+
resolution: {integrity: sha512-EQlCIfY0jOhRldiFxwSXG+ImwkQtDEfQeSOEQp6ieAGSLWGlgjdb/Ck/O7wMfC430ZHGeUKVKax8KGusTPKCgg==}
peerDependencies:
@@ -2790,6 +3663,9 @@ packages:
resolution: {integrity: sha512-+CGM1L1CgmtheLcBuleyYOn7NWPVu0s0EJH2C4puxgEZb9h8QpR9G2dBfZJOAUhi7VQxuBPMd0hiISWcTyiYyQ==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==}
+
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
engines: {node: '>=0.10.0'}
@@ -2856,6 +3732,10 @@ packages:
resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}
+ engines: {node: '>=0.10.0'}
+
resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
engines: {node: '>=8'}
@@ -2905,6 +3785,10 @@ packages:
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
engines: {node: '>= 0.8.0'}
+ resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-mqn0kFRl0EoqhnL0GQ0veqFHyIN1yig9RHh/InzORTUiZHFRAur+aMtRkELNwGs9aNwKS6tg/An4NYBPGwvtzQ==}
@@ -2944,6 +3828,9 @@ packages:
'@types/react-dom':
optional: true
+ resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==}
+
resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==}
hasBin: true
@@ -3034,10 +3921,28 @@ packages:
resolution: {integrity: sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-m03P+zhBeQd1RGnYxrGyDAPpWX/epKirLrp8e3qevZdVkKtnCrjjWczIbYc8+xd6vcTStVlqfycTx1KR4LOr0g==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==}
+
resolution: {integrity: sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-0ghuzq67LI9bLXpOX/ISfve/Mq33a4aFRzoQYhnnok1JOFpmE/A2TBGkNVenOGEeSBCjIiWcc6MVOG5HEQv0sA==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==}
+
+ resolution: {integrity: sha512-NZQZdC5wOE/H3UT28fVGL+ikOZcEzfMGk/c3iN9UGxzWHMa1op7274oyiUVrAG4B2EuFhus8SvkaYnhvW92p9Q==}
+ hasBin: true
+
resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
engines: {node: '>=0.10.0'}
@@ -3069,6 +3974,11 @@ packages:
resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==}
+ resolution: {integrity: sha512-fS6iqSPZDs3dr/y7Od6y5nha8dW1YnbgtsyotCVvoFGKbERG++CVRFv1meyGDE1SNItQA8BrnCw7ScdAhRJ3XQ==}
+ engines: {node: '>=10.0.0'}
+ hasBin: true
+
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
@@ -3097,6 +4007,10 @@ packages:
resolution: {integrity: sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==}
+ resolution: {integrity: sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==}
+ engines: {node: '>= 10.13.0'}
+
resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==}
@@ -3104,11 +4018,19 @@ packages:
resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
hasBin: true
+ resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==}
+ engines: {node: '>=10'}
+ hasBin: true
+
resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==}
engines: {node: '>=10'}
hasBin: true
+ resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==}
+
resolution: {integrity: sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==}
@@ -3158,13 +4080,41 @@ packages:
resolution: {integrity: sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==}
+ resolution: {integrity: sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==}
+
resolution: {integrity: sha512-INb7TM37/mAcsGmc9hyyI6+QR3rR1zVRu36B0NeGXKnOOLiZOfER5SA+N7X7k3yUYRzLWafduTDvJAfDswwEww==}
+ resolution: {integrity: sha512-W6ZN4p58k8aDKA4XPcx2hpIQXBRAgyiWVkYhT7CvK6D3iAu7xjvVyhQHg2/iaKJZ1XVJ4r7XuwGL+WGEK37i9w==}
+ peerDependencies:
+ react: ^18.0.0 || ^19.0.0 || ^19.0.0-rc
+ react-dom: ^18.0.0 || ^19.0.0 || ^19.0.0-rc
+
+ resolution: {integrity: sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==}
+
resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
+
+ resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==}
+ engines: {node: '>= 8'}
+ deprecated: The work that was done in this beta branch won't be included in future versions
+
+ resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==}
+ deprecated: Please use @jridgewell/sourcemap-codec instead
+
resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==}
engines: {node: '>= 10.x'}
@@ -3202,10 +4152,18 @@ packages:
resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==}
+ resolution: {integrity: sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==}
+ engines: {node: '>=4'}
+
resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}
engines: {node: '>=4'}
+ resolution: {integrity: sha512-ZprKx+bBLXv067WTCALv8SSz5l2+XhpYCsVtSqlMnkAXMWDq+/ekVbl1ghqP9rUHTzv6sm/DwCOiYutU/yp1fw==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==}
engines: {node: '>=0.10.0'}
@@ -3231,6 +4189,10 @@ packages:
resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
engines: {node: '>= 0.4'}
@@ -3252,6 +4214,35 @@ packages:
resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-G13vtMYPT/J8A4X2SjdtBTphZlrp1gKv6hZiOjw14RCWg6GbHuQBGtjlx75xLbYV/wEc0D7G5K4rxKP/cXk8Bw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-h9oBFCWrq78NyWWVcSwZarJkZ01c2AyGrzs1crmHZO3QUg9D61Wu4NPjBy69n7JqylFF5y+CsUZYmYEIZ3mR+Q==}
+ engines: {node: '>= 10.13.0'}
+ peerDependencies:
+ '@swc/core': '*'
+ esbuild: '*'
+ uglify-js: '*'
+ webpack: ^5.1.0
+ peerDependenciesMeta:
+ '@swc/core':
+ optional: true
+ esbuild:
+ optional: true
+ uglify-js:
+ optional: true
+
+ resolution: {integrity: sha512-jTwoImyr/QbOWFFso3YoU3ik0jBBDJ6JTOQiy/J2YxVJdZCc+5u7skhNwiOR3FQIygFqVUPHl7qbbxtjW2K3Qg==}
+ engines: {node: '>=10'}
+ hasBin: true
+
resolution: {integrity: sha512-OqyPZ9u96VohAyMfJykzmivOrY2wfMSf3C5TtFJVgN+Hm6aj+voFhlK+kZEIv2FBh1X6Xp3DlnCOfEQ3B2J86A==}
@@ -3274,6 +4265,9 @@ packages:
resolution: {integrity: sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw==}
hasBin: true
+ resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==}
+
resolution: {integrity: sha512-3TaVTaAv2gTiMB35i3FiGJaRfwb3Pyn/j3m/bfAvGe8FB7CF6u+LMYqYlDh7reQf7UNvoTvdfAqHGmPGOSsPmA==}
engines: {node: '>=18.12'}
@@ -3304,154 +4298,954 @@ packages:
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-vxMDXwaOjweW/4etY7BxrXCSkvtwh0PbwVafyfT1Ww659SedUxd5rM3V2ZCmbwG8NiCfY7d6VtxyHx3Wh1GoZA==}
- cpu: [x64]
- os: [linux]
+ resolution: {integrity: sha512-vxMDXwaOjweW/4etY7BxrXCSkvtwh0PbwVafyfT1Ww659SedUxd5rM3V2ZCmbwG8NiCfY7d6VtxyHx3Wh1GoZA==}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-mQX7uYBZFkuPLLlKaNe9IjR1JIef4YvY8f21xFocvttXvdPebnq3PK1Zjzl9A1zun2BEuWNUwQIL8lgvN9Pm3Q==}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-YLGEfppGxZj3VWcNOVa08h6ISsVKiG85aCAWosOKNUjb6yErWEuydv6/qImRJUI+tDLvDvW7BxopAkujRnWCrw==}
+ cpu: [x64]
+ os: [win32]
+
+ resolution: {integrity: sha512-afTUGKBRmOJU1smQSBnFGcbq0iabAPwh1uXu2BVk7BREg30/1gMnJh9DFEQTah+UD3n3ru8V55J83RQNFfqoyw==}
+ cpu: [arm64]
+ os: [win32]
+
+ resolution: {integrity: sha512-8Osxz5Tu/Dw2kb31EAY+nhq/YZ3wzmQSmYa1nIArqxgCAldxv9TPlrAiaBUDVnKA4aiPn0OFBD1ACcpc5VFOAQ==}
+ hasBin: true
+
+ resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
+ engines: {node: '>= 0.8.0'}
+
+ resolution: {integrity: sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
+ engines: {node: '>=14.17'}
+ hasBin: true
+
+ resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
+
+ resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-JQ84qTuMg4nVkx8ga4A16a1epI9H6uTXAknqxkGF/aFfRLw1xC/Bp24HNLaZhHSkWd3+84t8iXnp1J0kYcZHhg==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-hpbDzxUY9BFwX+UeBnxv3Sh1q7HFxj48DTmXchNgRa46lO8uj3/1iEn3MiNUYTg1g9ctIqXCCERn8gYZhHC5lQ==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==}
+ engines: {node: '>= 10.0.0'}
+
+ resolution: {integrity: sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==}
+
+ resolution: {integrity: sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==}
+ hasBin: true
+ peerDependencies:
+ browserslist: '>= 4.21.0'
+
+ resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
+
+ resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==}
+ 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
+
+ resolution: {integrity: sha512-OdsJnC/znPvHCHLQH/duvQNXnP1w0hPfS+tkSi3mAbfjYBGh4JnyfdwkQBfIVf7t8gs9eSX/CntxUMvtKdG2MQ==}
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0 || ^19.0.0
+
+ resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==}
+ 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
+
+ resolution: {integrity: sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==}
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+
+ resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
+
+ resolution: {integrity: sha512-PnpQQMuxlwYdocC8fIJqVXvkeViHYzotI+NJrCuav0ZYFoq912ZHBk3mCeuj+5/VpodOjPe1z0Fk2ihgzlXqjQ==}
+
+ resolution: {integrity: sha512-Zn5uXdcFNIA1+1Ei5McRd+iRzfhENPCe7LeABkJtNulSxjma+l7ltNx55BWZkRlwRnpOgHqxnjyaDgJnNXnqzg==}
+ engines: {node: '>=10.13.0'}
+
+ resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==}
+
+ resolution: {integrity: sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==}
+
+ resolution: {integrity: sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==}
+ engines: {node: '>=10.13.0'}
+
+ resolution: {integrity: sha512-gX/dMkRQc7QOMzgTe6KsYFM7DxeIONQSui1s0n/0xht36HvrgbxtM1xBlgx596NbpHuQU8P7QpKwrZYwUX48nw==}
+ engines: {node: '>=10.13.0'}
+ hasBin: true
+ peerDependencies:
+ webpack-cli: '*'
+ peerDependenciesMeta:
+ webpack-cli:
+ optional: true
+
+ resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==}
+
+ resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-LYfpUkmqwl0h9A2HL09Mms427Q1RZWuOHsukfVcKRq9q95iQxdw0ix1JQrqbcDR9PH1QDwf5Qo8OZb5lksZ8Xg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
+ engines: {node: '>= 8'}
+ hasBin: true
+
+ resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-rMbgrzueVWDFcEq1610YyDW71z0oAXLfdRHRQcKw4SGihkfOK0JUEvqWHFwA6rJ+6TClnMIn7KQI5PNN1XQXwQ==}
+
+ resolution: {integrity: sha512-O36hIfhjej/c5ar95pO67k1GQw0/bw5tKP7CERNgK+JdxBANQhDmIuOXZTNvwb2IHBx9hj2kxvcDyRIh5nzOgQ==}
+
+ resolution: {integrity: sha512-F6R94XAxjB2j4ETMkP1EXKfjECOtDmyvt0vz3BzgWJMI68TNSXIVNkgatwUKBlPGOfy9n2F/4voYRNAhEvPJNg==}
+ engines: {node: '>=16.0.0'}
+
+ resolution: {integrity: sha512-WdkVdC70VMpf5NBCtNbiwdSZeKVuhTEd5PV3mAwpTQCGAB5XbOny1P9egEgNdetv4srAMmMKjvBk4RD58LpooA==}
+ engines: {node: '>=16.0.0'}
+
+ resolution: {integrity: sha512-iwsLBll8Hvua3xCuBB9h92+/e0wdsmSVgR2ZlvcfjepZWwhd3osumQB3x9o7flj+FehtWM2VHbZn8UJeBXXo6Q==}
+
+ resolution: {integrity: sha512-5KB4KOY8rtL31nEF7BfvU7FMzKT4B5TkbYa2tzkS+Peqj0gayMT9SytSFtNzlrvMaWgv6y/yvP9C0IbpFjV30Q==}
+
+ resolution: {integrity: sha512-m5DcMY+A63rJlPTbbBNtpJ20i3enkyOtSgYfv/l8h+D6YbbNiA0zKEkCUaMsdDlxggla1oOfRkyqTvl5Ni5KQQ==}
+
+ resolution: {integrity: sha512-FvE53kBQHfVTcZyczeBVRexhh7JTkyQ8HAvbVY6mXd2n2A7Oyz/9fIwnY406ZcDhvE4NFfKGjW56N4gBiqkrew==}
+
+ resolution: {integrity: sha512-4wyAbo0vNI/X0uWNJhCMKxnPanNyhybsReMGN9QUpaePLTiDpKxPqFxl4oUmBNddPwIXug01eTSLVIFXimRG/A==}
+
+ resolution: {integrity: sha512-LyxzQts+UEpgtmfnolo0hHdNjoB7EoRWcF7EDslt+lQGd0lW4iTvvSe3v5JiIckQSB5KTW5xiCqjFviRKPj1zA==}
+
+ resolution: {integrity: sha512-m7+O4EHolNs5yb/79CrnwPR/g/PRzMFYEdo01LqwixVnc/sbzNSvKz0d04OE3aMRel1CwAAZQheRsqGDwATgPQ==}
+
+ resolution: {integrity: sha512-NRrk4ycFN9BHXJB6WrKiRX3W3w75YNrNrzSX9cEZgFB5ubeGoO8s/SDmOYVrFYp9HMw6sh1Pm3eAY/1gVS8YLg==}
+
+ resolution: {integrity: sha512-oOYk+kLriUY2QyHkIilxUlVcFqwduLJB7oRZIENbqPGeBP/3TWHYNNdmGNhz1dvKuw7aqvJ7CQxn27/jprlTdg==}
+
+ resolution: {integrity: sha512-/UracPiGhUNehGjRm/tLUQ+9PtWmCbRufWtV0tNrALuf+HZ4F7cmObSEK+E4/Bx1p8Syx2tM+pkIrvtyetdlew==}
+
+ resolution: {integrity: sha512-WyHAVxRXBMfysM8ORwiZnI98wvGWTVAq/lOyBjf00pXFvG0mNaVz4Ji+u+fKa/mf1i2SnTfikoYKto4ihHeS6w==}
+
+ resolution: {integrity: sha512-Hml/9+/njUXBglv3dtZ9WBKHI235AQJyLBV1G7EFmh4/mUdSQuXui80RtjDeVRrXnm/6QWgRUEHG3/YBVbxtsA==}
+
+ resolution: {integrity: sha512-em0vY0Uq7zXzOeEJYpFNX7x6q3RrRVqfaMhA4kadd3UkX/JuClgT9IUW2iX2cjmMPwI3W611c4fSRjtG5wPm2w==}
+ engines: {node: '>=16.0.0'}
+ peerDependencies:
+ webpack: ^4.4.0 || ^5.91.0
+
+ resolution: {integrity: sha512-ZHeROyqR+AS5UPzholQRDttLFqGMwP0Np8MKWAdyxsDETxq3qOAyXvqessc3GniohG6e0mAqSQyKOHmT8zPF7g==}
+
+ resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
+
+ resolution: {integrity: sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==}
+ engines: {node: '>=10.0.0'}
+ peerDependencies:
+ bufferutil: ^4.0.1
+ utf-8-validate: '>=5.0.2'
+ peerDependenciesMeta:
+ bufferutil:
+ optional: true
+ utf-8-validate:
+ optional: true
+
+ resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}
+
+ resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
+ engines: {node: '>=10'}
+
+snapshots:
+
+ '@alloc/[email protected]': {}
+
+ dependencies:
+ ajv: 8.17.1
+ json-schema: 0.4.0
+ jsonpointer: 5.0.1
+ leven: 3.1.0
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/helper-validator-identifier': 7.28.5
+ js-tokens: 4.0.0
+ picocolors: 1.1.1
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.29.0
+ '@babel/generator': 7.29.1
+ '@babel/helper-compilation-targets': 7.28.6
+ '@babel/helper-module-transforms': 7.28.6(@babel/[email protected])
+ '@babel/helpers': 7.28.6
+ '@babel/parser': 7.29.0
+ '@babel/template': 7.28.6
+ '@babel/traverse': 7.29.0
+ '@babel/types': 7.29.0
+ '@jridgewell/remapping': 2.3.5
+ convert-source-map: 2.0.0
+ debug: 4.4.3
+ gensync: 1.0.0-beta.2
+ json5: 2.2.3
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/parser': 7.29.0
+ '@babel/types': 7.29.0
+ '@jridgewell/gen-mapping': 0.3.13
+ '@jridgewell/trace-mapping': 0.3.31
+ jsesc: 3.1.0
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.29.0
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/compat-data': 7.29.0
+ '@babel/helper-validator-option': 7.27.1
+ browserslist: 4.28.1
+ lru-cache: 5.1.1
+ semver: 6.3.1
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-member-expression-to-functions': 7.28.5
+ '@babel/helper-optimise-call-expression': 7.27.1
+ '@babel/helper-replace-supers': 7.28.6(@babel/[email protected])
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ '@babel/traverse': 7.29.0
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-annotate-as-pure': 7.27.3
+ regexpu-core: 6.4.0
+ semver: 6.3.1
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-compilation-targets': 7.28.6
+ '@babel/helper-plugin-utils': 7.28.6
+ debug: 4.4.3
+ lodash.debounce: 4.0.8
+ resolve: 1.22.11
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/traverse': 7.29.0
+ '@babel/types': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/traverse': 7.29.0
+ '@babel/types': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-module-imports': 7.28.6
+ '@babel/helper-validator-identifier': 7.28.5
+ '@babel/traverse': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.29.0
+
+ '@babel/[email protected]': {}
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-wrap-function': 7.28.6
+ '@babel/traverse': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-member-expression-to-functions': 7.28.5
+ '@babel/helper-optimise-call-expression': 7.27.1
+ '@babel/traverse': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/traverse': 7.29.0
+ '@babel/types': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/template': 7.28.6
+ '@babel/traverse': 7.29.0
+ '@babel/types': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/template': 7.28.6
+ '@babel/types': 7.29.0
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.29.0
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/traverse': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.27.1(@babel/[email protected])':
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ '@babel/plugin-transform-optional-chaining': 7.28.6(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/traverse': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/[email protected])':
+ dependencies:
+ '@babel/core': 7.29.0
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/helper-remap-async-to-generator': 7.27.1(@babel/[email protected])
+ '@babel/traverse': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-module-imports': 7.28.6
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/helper-remap-async-to-generator': 7.27.1(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-create-class-features-plugin': 7.28.6(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-create-class-features-plugin': 7.28.6(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-compilation-targets': 7.28.6
+ '@babel/helper-globals': 7.28.0
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/helper-replace-supers': 7.28.6(@babel/[email protected])
+ '@babel/traverse': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/template': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/traverse': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/plugin-transform-destructuring': 7.28.5(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-mQX7uYBZFkuPLLlKaNe9IjR1JIef4YvY8f21xFocvttXvdPebnq3PK1Zjzl9A1zun2BEuWNUwQIL8lgvN9Pm3Q==}
- cpu: [arm64]
- os: [linux]
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-YLGEfppGxZj3VWcNOVa08h6ISsVKiG85aCAWosOKNUjb6yErWEuydv6/qImRJUI+tDLvDvW7BxopAkujRnWCrw==}
- cpu: [x64]
- os: [win32]
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-afTUGKBRmOJU1smQSBnFGcbq0iabAPwh1uXu2BVk7BREg30/1gMnJh9DFEQTah+UD3n3ru8V55J83RQNFfqoyw==}
- cpu: [arm64]
- os: [win32]
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-8Osxz5Tu/Dw2kb31EAY+nhq/YZ3wzmQSmYa1nIArqxgCAldxv9TPlrAiaBUDVnKA4aiPn0OFBD1ACcpc5VFOAQ==}
- hasBin: true
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-compilation-targets': 7.28.6
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/traverse': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
- engines: {node: '>= 0.8.0'}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-module-transforms': 7.28.6(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
- engines: {node: '>=14.17'}
- hasBin: true
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-module-transforms': 7.28.6(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-module-transforms': 7.28.6(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/helper-validator-identifier': 7.28.5
+ '@babel/traverse': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-module-transforms': 7.28.6(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==}
- 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
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-OdsJnC/znPvHCHLQH/duvQNXnP1w0hPfS+tkSi3mAbfjYBGh4JnyfdwkQBfIVf7t8gs9eSX/CntxUMvtKdG2MQ==}
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0 || ^19.0.0
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==}
- 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
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-compilation-targets': 7.28.6
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/plugin-transform-destructuring': 7.28.5(@babel/[email protected])
+ '@babel/plugin-transform-parameters': 7.27.7(@babel/[email protected])
+ '@babel/traverse': 7.29.0
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==}
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/helper-replace-supers': 7.28.6(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-PnpQQMuxlwYdocC8fIJqVXvkeViHYzotI+NJrCuav0ZYFoq912ZHBk3mCeuj+5/VpodOjPe1z0Fk2ihgzlXqjQ==}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-create-class-features-plugin': 7.28.6(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-create-class-features-plugin': 7.28.6(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-LYfpUkmqwl0h9A2HL09Mms427Q1RZWuOHsukfVcKRq9q95iQxdw0ix1JQrqbcDR9PH1QDwf5Qo8OZb5lksZ8Xg==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
- engines: {node: '>= 8'}
- hasBin: true
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==}
- engines: {node: '>=0.10.0'}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==}
- engines: {node: '>=10.0.0'}
- peerDependencies:
- bufferutil: ^4.0.1
- utf-8-validate: '>=5.0.2'
- peerDependenciesMeta:
- bufferutil:
- optional: true
- utf-8-validate:
- optional: true
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
- resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
- engines: {node: '>=10'}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
-snapshots:
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.28.6
+
+ dependencies:
+ '@babel/compat-data': 7.29.0
+ '@babel/core': 7.29.0
+ '@babel/helper-compilation-targets': 7.28.6
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/helper-validator-option': 7.27.1
+ '@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.28.5(@babel/[email protected])
+ '@babel/plugin-bugfix-safari-class-field-initializer-scope': 7.27.1(@babel/[email protected])
+ '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.27.1(@babel/[email protected])
+ '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.27.1(@babel/[email protected])
+ '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.28.6(@babel/[email protected])
+ '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/[email protected])
+ '@babel/plugin-syntax-import-assertions': 7.28.6(@babel/[email protected])
+ '@babel/plugin-syntax-import-attributes': 7.28.6(@babel/[email protected])
+ '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/[email protected])
+ '@babel/plugin-transform-arrow-functions': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-async-generator-functions': 7.29.0(@babel/[email protected])
+ '@babel/plugin-transform-async-to-generator': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-block-scoped-functions': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-block-scoping': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-class-properties': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-class-static-block': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-classes': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-computed-properties': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-destructuring': 7.28.5(@babel/[email protected])
+ '@babel/plugin-transform-dotall-regex': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-duplicate-keys': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.29.0(@babel/[email protected])
+ '@babel/plugin-transform-dynamic-import': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-explicit-resource-management': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-exponentiation-operator': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-export-namespace-from': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-for-of': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-function-name': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-json-strings': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-literals': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-logical-assignment-operators': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-member-expression-literals': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-modules-amd': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-modules-commonjs': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-modules-systemjs': 7.29.0(@babel/[email protected])
+ '@babel/plugin-transform-modules-umd': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-named-capturing-groups-regex': 7.29.0(@babel/[email protected])
+ '@babel/plugin-transform-new-target': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-nullish-coalescing-operator': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-numeric-separator': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-object-rest-spread': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-object-super': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-optional-catch-binding': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-optional-chaining': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-parameters': 7.27.7(@babel/[email protected])
+ '@babel/plugin-transform-private-methods': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-private-property-in-object': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-property-literals': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-regenerator': 7.29.0(@babel/[email protected])
+ '@babel/plugin-transform-regexp-modifiers': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-reserved-words': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-shorthand-properties': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-spread': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-sticky-regex': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-template-literals': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-typeof-symbol': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-unicode-escapes': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-unicode-property-regex': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-unicode-regex': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-unicode-sets-regex': 7.28.6(@babel/[email protected])
+ '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/[email protected])
+ babel-plugin-polyfill-corejs2: 0.4.15(@babel/[email protected])
+ babel-plugin-polyfill-corejs3: 0.14.0(@babel/[email protected])
+ babel-plugin-polyfill-regenerator: 0.6.6(@babel/[email protected])
+ core-js-compat: 3.48.0
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
- '@alloc/[email protected]': {}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-plugin-utils': 7.28.6
+ '@babel/types': 7.29.0
+ esutils: 2.0.3
'@babel/[email protected]': {}
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.29.0
+ '@babel/parser': 7.29.0
+ '@babel/types': 7.29.0
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.29.0
+ '@babel/generator': 7.29.1
+ '@babel/helper-globals': 7.28.0
+ '@babel/parser': 7.29.0
+ '@babel/template': 7.28.6
+ '@babel/types': 7.29.0
+ debug: 4.4.3
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/helper-string-parser': 7.27.1
+ '@babel/helper-validator-identifier': 7.28.5
+
+ dependencies:
+ fast-glob: 3.3.2
+ semver: 7.6.3
+ webpack: 5.105.0
+ workbox-build: 7.1.1
+ workbox-core: 7.1.0
+ workbox-webpack-plugin: 7.1.0([email protected])
+ workbox-window: 7.1.0
+ transitivePeerDependencies:
+ - '@types/babel__core'
+ - supports-color
+
'@emnapi/[email protected]':
dependencies:
'@emnapi/wasi-threads': 1.1.0
@@ -3780,6 +5574,11 @@ snapshots:
'@jridgewell/[email protected]': {}
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/gen-mapping': 0.3.13
+ '@jridgewell/trace-mapping': 0.3.31
+
'@jridgewell/[email protected]': {}
'@jridgewell/[email protected]':
@@ -4612,10 +6411,65 @@ snapshots:
'@radix-ui/[email protected]': {}
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-module-imports': 7.28.6
+ '@rollup/pluginutils': 3.1.0([email protected])
+ rollup: 2.79.2
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@rollup/pluginutils': 5.3.0([email protected])
+ '@types/resolve': 1.20.2
+ deepmerge: 4.3.1
+ is-module: 1.0.0
+ resolve: 1.22.11
+ optionalDependencies:
+ rollup: 2.79.2
+
+ dependencies:
+ '@rollup/pluginutils': 3.1.0([email protected])
+ magic-string: 0.25.9
+ rollup: 2.79.2
+
+ dependencies:
+ serialize-javascript: 6.0.2
+ smob: 1.5.0
+ terser: 5.46.0
+ optionalDependencies:
+ rollup: 2.79.2
+
+ dependencies:
+ '@types/estree': 0.0.39
+ estree-walker: 1.0.1
+ picomatch: 2.3.1
+ rollup: 2.79.2
+
+ dependencies:
+ '@types/estree': 1.0.8
+ estree-walker: 2.0.2
+ picomatch: 4.0.3
+ optionalDependencies:
+ rollup: 2.79.2
+
'@rtsao/[email protected]': {}
'@rushstack/[email protected]': {}
+ '@surma/[email protected]':
+ dependencies:
+ ejs: 3.1.10
+ json5: 2.2.3
+ magic-string: 0.25.9
+ string.prototype.matchall: 4.0.12
+
dependencies:
tslib: 2.8.1
@@ -4722,6 +6576,18 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]':
+ dependencies:
+ '@types/eslint': 9.6.1
+ '@types/estree': 1.0.8
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/estree': 1.0.8
+ '@types/json-schema': 7.0.15
+
+ '@types/[email protected]': {}
+
'@types/[email protected]': {}
'@types/[email protected]': {}
@@ -4740,6 +6606,10 @@ snapshots:
dependencies:
csstype: 3.2.3
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
dependencies:
'@types/node': 22.19.9
@@ -4891,11 +6761,95 @@ snapshots:
optional: true
- optional: true
+ optional: true
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/helper-numbers': 1.13.2
+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2
+
+ '@webassemblyjs/[email protected]': {}
+
+ '@webassemblyjs/[email protected]': {}
+
+ '@webassemblyjs/[email protected]': {}
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/floating-point-hex-parser': 1.13.2
+ '@webassemblyjs/helper-api-error': 1.13.2
+ '@xtuc/long': 4.2.2
+
+ '@webassemblyjs/[email protected]': {}
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/ast': 1.14.1
+ '@webassemblyjs/helper-buffer': 1.14.1
+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2
+ '@webassemblyjs/wasm-gen': 1.14.1
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@xtuc/ieee754': 1.2.0
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@xtuc/long': 4.2.2
+
+ '@webassemblyjs/[email protected]': {}
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/ast': 1.14.1
+ '@webassemblyjs/helper-buffer': 1.14.1
+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2
+ '@webassemblyjs/helper-wasm-section': 1.14.1
+ '@webassemblyjs/wasm-gen': 1.14.1
+ '@webassemblyjs/wasm-opt': 1.14.1
+ '@webassemblyjs/wasm-parser': 1.14.1
+ '@webassemblyjs/wast-printer': 1.14.1
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/ast': 1.14.1
+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2
+ '@webassemblyjs/ieee754': 1.13.2
+ '@webassemblyjs/leb128': 1.13.2
+ '@webassemblyjs/utf8': 1.13.2
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/ast': 1.14.1
+ '@webassemblyjs/helper-buffer': 1.14.1
+ '@webassemblyjs/wasm-gen': 1.14.1
+ '@webassemblyjs/wasm-parser': 1.14.1
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/ast': 1.14.1
+ '@webassemblyjs/helper-api-error': 1.13.2
+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2
+ '@webassemblyjs/ieee754': 1.13.2
+ '@webassemblyjs/leb128': 1.13.2
+ '@webassemblyjs/utf8': 1.13.2
+
+ '@webassemblyjs/[email protected]':
+ dependencies:
+ '@webassemblyjs/ast': 1.14.1
+ '@xtuc/long': 4.2.2
+
+ '@xtuc/[email protected]': {}
+
+ '@xtuc/[email protected]': {}
+ dependencies:
+ acorn: 8.15.0
+
dependencies:
acorn: 8.15.0
@@ -4910,6 +6864,11 @@ snapshots:
optionalDependencies:
ajv: 8.17.1
+ dependencies:
+ ajv: 8.17.1
+ fast-deep-equal: 3.1.3
+
dependencies:
fast-deep-equal: 3.1.3
@@ -5007,6 +6966,10 @@ snapshots:
+
+
@@ -5022,10 +6985,36 @@ snapshots:
+ dependencies:
+ '@babel/compat-data': 7.29.0
+ '@babel/core': 7.29.0
+ '@babel/helper-define-polyfill-provider': 0.6.6(@babel/[email protected])
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-define-polyfill-provider': 0.6.6(@babel/[email protected])
+ core-js-compat: 3.48.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.0
+ '@babel/helper-define-polyfill-provider': 0.6.6(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+
dependencies:
bindings: 1.5.0
@@ -5054,6 +7043,16 @@ snapshots:
dependencies:
fill-range: 7.1.1
+ dependencies:
+ baseline-browser-mapping: 2.9.19
+ caniuse-lite: 1.0.30001767
+ electron-to-chromium: 1.5.286
+ node-releases: 2.0.27
+ update-browserslist-db: 1.2.3([email protected])
+
+
dependencies:
base64-js: 1.5.1
@@ -5087,6 +7086,8 @@ snapshots:
+
dependencies:
clsx: 2.1.1
@@ -5103,16 +7104,26 @@ snapshots:
+
+
+ dependencies:
+ browserslist: 4.28.1
+
dependencies:
path-key: 3.1.1
shebang-command: 2.0.0
which: 2.0.2
+
@@ -5237,6 +7248,8 @@ snapshots:
+
dependencies:
es-define-property: 1.0.1
@@ -5270,6 +7283,12 @@ snapshots:
es-errors: 1.3.0
gopd: 1.2.0
+ dependencies:
+ jake: 10.9.4
+
+
@@ -5361,6 +7380,8 @@ snapshots:
iterator.prototype: 1.1.5
safe-array-concat: 1.1.3
+
dependencies:
es-errors: 1.3.0
@@ -5411,6 +7432,8 @@ snapshots:
'@esbuild/win32-ia32': 0.27.2
'@esbuild/win32-x64': 0.27.2
+
@@ -5541,6 +7564,11 @@ snapshots:
string.prototype.matchall: 4.0.12
string.prototype.repeat: 1.0.0
+ dependencies:
+ esrecurse: 4.3.0
+ estraverse: 4.3.0
+
dependencies:
esrecurse: 4.3.0
@@ -5605,12 +7633,20 @@ snapshots:
dependencies:
estraverse: 5.3.0
+
+
+
+
@@ -5629,6 +7665,14 @@ snapshots:
merge2: 1.4.1
micromatch: 4.0.8
+ dependencies:
+ '@nodelib/fs.stat': 2.0.5
+ '@nodelib/fs.walk': 1.2.8
+ glob-parent: 5.1.2
+ merge2: 1.4.1
+ micromatch: 4.0.8
+
@@ -5686,6 +7730,10 @@ snapshots:
+ dependencies:
+ minimatch: 5.1.6
+
dependencies:
to-regex-range: 5.0.1
@@ -5714,8 +7762,26 @@ snapshots:
+ dependencies:
+ motion-dom: 12.33.0
+ motion-utils: 12.29.2
+ tslib: 2.8.1
+ optionalDependencies:
+ react: 19.2.4
+ react-dom: 19.2.4([email protected])
+
+ dependencies:
+ at-least-node: 1.0.0
+ graceful-fs: 4.2.11
+ jsonfile: 6.2.0
+ universalify: 2.0.1
+
+
optional: true
@@ -5734,6 +7800,8 @@ snapshots:
+
dependencies:
call-bind-apply-helpers: 1.0.2
@@ -5749,6 +7817,8 @@ snapshots:
+
dependencies:
dunder-proto: 1.0.1
@@ -5774,6 +7844,17 @@ snapshots:
dependencies:
is-glob: 4.0.3
+
+ dependencies:
+ fs.realpath: 1.0.0
+ inflight: 1.0.6
+ inherits: 2.0.4
+ minimatch: 3.1.2
+ once: 1.4.0
+ path-is-absolute: 1.0.1
+
@@ -5807,6 +7888,8 @@ snapshots:
dependencies:
function-bind: 1.1.2
+
@@ -5820,6 +7903,11 @@ snapshots:
+ dependencies:
+ once: 1.4.0
+ wrappy: 1.0.2
+
@@ -5907,6 +7995,8 @@ snapshots:
+
@@ -5916,6 +8006,8 @@ snapshots:
+
dependencies:
call-bound: 1.0.4
@@ -5923,12 +8015,16 @@ snapshots:
has-tostringtag: 1.0.2
hasown: 2.0.2
+
dependencies:
call-bound: 1.0.4
+
dependencies:
call-bound: 1.0.4
@@ -5968,6 +8064,18 @@ snapshots:
has-symbols: 1.1.0
set-function-name: 2.0.2
+ dependencies:
+ async: 3.2.6
+ filelist: 1.0.4
+ picocolors: 1.1.1
+
+ dependencies:
+ '@types/node': 22.19.9
+ merge-stream: 2.0.0
+ supports-color: 8.1.1
+
@@ -5976,8 +8084,12 @@ snapshots:
dependencies:
argparse: 2.0.1
+
+
dependencies:
fast-deep-equal: 3.1.3
@@ -5986,12 +8098,24 @@ snapshots:
+
dependencies:
minimist: 1.2.8
+
+ dependencies:
+ universalify: 2.0.1
+ optionalDependencies:
+ graceful-fs: 4.2.11
+
+
dependencies:
array-includes: 3.1.9
@@ -6009,6 +8133,8 @@ snapshots:
dependencies:
language-subtag-registry: 0.3.23
+
dependencies:
prelude-ls: 1.2.1
@@ -6069,28 +8195,44 @@ snapshots:
lightningcss-win32-arm64-msvc: 1.30.2
lightningcss-win32-x64-msvc: 1.30.2
+
dependencies:
p-locate: 5.0.0
+
+
dependencies:
js-tokens: 4.0.0
+ dependencies:
+ yallist: 3.1.1
+
dependencies:
react: 19.2.4
+ dependencies:
+ sourcemap-codec: 1.4.8
+
dependencies:
'@jridgewell/sourcemap-codec': 1.5.5
+
@@ -6098,12 +8240,22 @@ snapshots:
braces: 3.0.3
picomatch: 2.3.1
+
+ dependencies:
+ mime-db: 1.52.0
+
dependencies:
brace-expansion: 1.1.12
+ dependencies:
+ brace-expansion: 2.0.2
+
dependencies:
brace-expansion: 2.0.2
@@ -6116,6 +8268,12 @@ snapshots:
dependencies:
obliterator: 2.0.5
+ dependencies:
+ motion-utils: 12.29.2
+
+
@@ -6128,11 +8286,13 @@ snapshots:
+
dependencies:
'@formatjs/intl-localematcher': 0.5.10
negotiator: 1.0.0
react: 19.2.4
use-intl: 3.26.5([email protected])
@@ -6141,7 +8301,7 @@ snapshots:
react: 19.2.4
react-dom: 19.2.4([email protected])
dependencies:
'@next/env': 15.5.12
'@swc/helpers': 0.5.15
@@ -6149,7 +8309,7 @@ snapshots:
postcss: 8.4.31
react: 19.2.4
react-dom: 19.2.4([email protected])
- styled-jsx: 5.1.6([email protected])
+ styled-jsx: 5.1.6(@babel/[email protected])([email protected])
optionalDependencies:
'@next/swc-darwin-arm64': 15.5.12
'@next/swc-darwin-x64': 15.5.12
@@ -6168,6 +8328,8 @@ snapshots:
dependencies:
semver: 7.7.3
+
@@ -6247,6 +8409,8 @@ snapshots:
+
@@ -6308,6 +8472,8 @@ snapshots:
+
@@ -6397,6 +8563,10 @@ snapshots:
'@types/react': 19.2.11
'@types/react-dom': 19.2.3(@types/[email protected])
+ dependencies:
+ safe-buffer: 5.2.1
+
dependencies:
deep-extend: 0.6.0
@@ -6505,6 +8675,12 @@ snapshots:
get-proto: 1.0.1
which-builtin-type: 1.2.1
+ dependencies:
+ regenerate: 1.4.2
+
+
dependencies:
call-bind: 1.0.8
@@ -6514,6 +8690,21 @@ snapshots:
gopd: 1.2.0
set-function-name: 2.0.2
+ dependencies:
+ regenerate: 1.4.2
+ regenerate-unicode-properties: 10.2.2
+ regjsgen: 0.8.0
+ regjsparser: 0.13.0
+ unicode-match-property-ecmascript: 2.0.0
+ unicode-match-property-value-ecmascript: 2.2.1
+
+
+ dependencies:
+ jsesc: 3.1.0
+
@@ -6538,6 +8729,10 @@ snapshots:
+ optionalDependencies:
+ fsevents: 2.3.3
+
dependencies:
queue-microtask: 1.2.3
@@ -6571,12 +8766,25 @@ snapshots:
+ dependencies:
+ '@types/json-schema': 7.0.15
+ ajv: 8.17.1
+ ajv-formats: 2.1.1([email protected])
+ ajv-keywords: 5.1.0([email protected])
+
+
+ dependencies:
+ randombytes: 2.1.0
+
@@ -6675,12 +8883,34 @@ snapshots:
once: 1.4.0
simple-concat: 1.0.1
+
dependencies:
atomic-sleep: 1.0.0
+ dependencies:
+ react: 19.2.4
+ react-dom: 19.2.4([email protected])
+
+
+ dependencies:
+ buffer-from: 1.1.2
+ source-map: 0.6.1
+
+
+ dependencies:
+ whatwg-url: 7.1.0
+
+
@@ -6744,21 +8974,35 @@ snapshots:
dependencies:
safe-buffer: 5.2.1
+ dependencies:
+ get-own-enumerable-property-symbols: 3.0.2
+ is-obj: 1.0.1
+ is-regexp: 1.0.0
+
+
dependencies:
client-only: 0.0.1
react: 19.2.4
+ optionalDependencies:
+ '@babel/core': 7.29.0
dependencies:
has-flag: 4.0.0
+ dependencies:
+ has-flag: 4.0.0
+
@@ -6782,6 +9026,31 @@ snapshots:
inherits: 2.0.4
readable-stream: 3.6.2
+
+ dependencies:
+ is-stream: 2.0.1
+ temp-dir: 2.0.0
+ type-fest: 0.16.0
+ unique-string: 2.0.0
+
+ dependencies:
+ '@jridgewell/trace-mapping': 0.3.31
+ jest-worker: 27.5.1
+ schema-utils: 4.3.3
+ serialize-javascript: 6.0.2
+ terser: 5.46.0
+ webpack: 5.105.0
+
+ dependencies:
+ '@jridgewell/source-map': 0.3.11
+ acorn: 8.15.0
+ commander: 2.20.3
+ source-map-support: 0.5.21
+
dependencies:
real-require: 0.2.0
@@ -6803,6 +9072,10 @@ snapshots:
dependencies:
commander: 2.20.3
+ dependencies:
+ punycode: 2.3.1
+
dependencies:
typescript: 5.9.3
@@ -6858,6 +9131,8 @@ snapshots:
dependencies:
prelude-ls: 1.2.1
+
dependencies:
call-bound: 1.0.4
@@ -6902,6 +9177,23 @@ snapshots:
+
+ dependencies:
+ unicode-canonical-property-names-ecmascript: 2.0.1
+ unicode-property-aliases-ecmascript: 2.2.0
+
+
+
+ dependencies:
+ crypto-random-string: 2.0.0
+
+
dependencies:
napi-postinstall: 0.3.4
@@ -6926,6 +9218,14 @@ snapshots:
'@unrs/resolver-binding-win32-ia32-msvc': 1.11.1
'@unrs/resolver-binding-win32-x64-msvc': 1.11.1
+
+ dependencies:
+ browserslist: 4.28.1
+ escalade: 3.2.0
+ picocolors: 1.1.1
+
dependencies:
punycode: 2.3.1
@@ -6974,6 +9274,58 @@ snapshots:
d3-time: 3.1.0
d3-timer: 3.0.1
+ dependencies:
+ glob-to-regexp: 0.4.1
+ graceful-fs: 4.2.11
+
+
+ dependencies:
+ source-list-map: 2.0.1
+ source-map: 0.6.1
+
+
+ dependencies:
+ '@types/eslint-scope': 3.7.7
+ '@types/estree': 1.0.8
+ '@types/json-schema': 7.0.15
+ '@webassemblyjs/ast': 1.14.1
+ '@webassemblyjs/wasm-edit': 1.14.1
+ '@webassemblyjs/wasm-parser': 1.14.1
+ acorn: 8.15.0
+ acorn-import-phases: 1.0.4([email protected])
+ browserslist: 4.28.1
+ chrome-trace-event: 1.0.4
+ enhanced-resolve: 5.19.0
+ es-module-lexer: 2.0.0
+ eslint-scope: 5.1.1
+ events: 3.3.0
+ glob-to-regexp: 0.4.1
+ graceful-fs: 4.2.11
+ json-parse-even-better-errors: 2.3.1
+ loader-runner: 4.3.1
+ mime-types: 2.1.35
+ neo-async: 2.6.2
+ schema-utils: 4.3.3
+ tapable: 2.3.0
+ terser-webpack-plugin: 5.3.16([email protected])
+ watchpack: 2.5.1
+ webpack-sources: 3.3.3
+ transitivePeerDependencies:
+ - '@swc/core'
+ - esbuild
+ - uglify-js
+
+ dependencies:
+ lodash.sortby: 4.7.0
+ tr46: 1.0.1
+ webidl-conversions: 4.0.2
+
dependencies:
is-bigint: 1.1.0
@@ -7021,8 +9373,178 @@ snapshots:
+ dependencies:
+ idb: 7.1.1
+ workbox-core: 7.1.0
+
+ dependencies:
+ workbox-core: 7.1.0
+
+ dependencies:
+ '@apideck/better-ajv-errors': 0.3.6([email protected])
+ '@babel/core': 7.29.0
+ '@babel/preset-env': 7.29.0(@babel/[email protected])
+ '@babel/runtime': 7.28.6
+ '@rollup/plugin-babel': 5.3.1(@babel/[email protected])([email protected])
+ '@rollup/plugin-node-resolve': 15.3.1([email protected])
+ '@rollup/plugin-replace': 2.4.2([email protected])
+ '@rollup/plugin-terser': 0.4.4([email protected])
+ '@surma/rollup-plugin-off-main-thread': 2.2.3
+ ajv: 8.17.1
+ common-tags: 1.8.2
+ fast-json-stable-stringify: 2.1.0
+ fs-extra: 9.1.0
+ glob: 7.2.3
+ lodash: 4.17.23
+ pretty-bytes: 5.6.0
+ rollup: 2.79.2
+ source-map: 0.8.0-beta.0
+ stringify-object: 3.3.0
+ strip-comments: 2.0.1
+ tempy: 0.6.0
+ upath: 1.2.0
+ workbox-background-sync: 7.1.0
+ workbox-broadcast-update: 7.1.0
+ workbox-cacheable-response: 7.1.0
+ workbox-core: 7.1.0
+ workbox-expiration: 7.1.0
+ workbox-google-analytics: 7.1.0
+ workbox-navigation-preload: 7.1.0
+ workbox-precaching: 7.1.0
+ workbox-range-requests: 7.1.0
+ workbox-recipes: 7.1.0
+ workbox-routing: 7.1.0
+ workbox-strategies: 7.1.0
+ workbox-streams: 7.1.0
+ workbox-sw: 7.1.0
+ workbox-window: 7.1.0
+ transitivePeerDependencies:
+ - '@types/babel__core'
+ - supports-color
+
+ dependencies:
+ '@apideck/better-ajv-errors': 0.3.6([email protected])
+ '@babel/core': 7.29.0
+ '@babel/preset-env': 7.29.0(@babel/[email protected])
+ '@babel/runtime': 7.28.6
+ '@rollup/plugin-babel': 5.3.1(@babel/[email protected])([email protected])
+ '@rollup/plugin-node-resolve': 15.3.1([email protected])
+ '@rollup/plugin-replace': 2.4.2([email protected])
+ '@rollup/plugin-terser': 0.4.4([email protected])
+ '@surma/rollup-plugin-off-main-thread': 2.2.3
+ ajv: 8.17.1
+ common-tags: 1.8.2
+ fast-json-stable-stringify: 2.1.0
+ fs-extra: 9.1.0
+ glob: 7.2.3
+ lodash: 4.17.23
+ pretty-bytes: 5.6.0
+ rollup: 2.79.2
+ source-map: 0.8.0-beta.0
+ stringify-object: 3.3.0
+ strip-comments: 2.0.1
+ tempy: 0.6.0
+ upath: 1.2.0
+ workbox-background-sync: 7.1.0
+ workbox-broadcast-update: 7.1.0
+ workbox-cacheable-response: 7.1.0
+ workbox-core: 7.1.0
+ workbox-expiration: 7.1.0
+ workbox-google-analytics: 7.1.0
+ workbox-navigation-preload: 7.1.0
+ workbox-precaching: 7.1.0
+ workbox-range-requests: 7.1.0
+ workbox-recipes: 7.1.0
+ workbox-routing: 7.1.0
+ workbox-strategies: 7.1.0
+ workbox-streams: 7.1.0
+ workbox-sw: 7.1.0
+ workbox-window: 7.1.0
+ transitivePeerDependencies:
+ - '@types/babel__core'
+ - supports-color
+
+ dependencies:
+ workbox-core: 7.1.0
+
+
+ dependencies:
+ idb: 7.1.1
+ workbox-core: 7.1.0
+
+ dependencies:
+ workbox-background-sync: 7.1.0
+ workbox-core: 7.1.0
+ workbox-routing: 7.1.0
+ workbox-strategies: 7.1.0
+
+ dependencies:
+ workbox-core: 7.1.0
+
+ dependencies:
+ workbox-core: 7.1.0
+ workbox-routing: 7.1.0
+ workbox-strategies: 7.1.0
+
+ dependencies:
+ workbox-core: 7.1.0
+
+ dependencies:
+ workbox-cacheable-response: 7.1.0
+ workbox-core: 7.1.0
+ workbox-expiration: 7.1.0
+ workbox-precaching: 7.1.0
+ workbox-routing: 7.1.0
+ workbox-strategies: 7.1.0
+
+ dependencies:
+ workbox-core: 7.1.0
+
+ dependencies:
+ workbox-core: 7.1.0
+
+ dependencies:
+ workbox-core: 7.1.0
+ workbox-routing: 7.1.0
+
+
+ dependencies:
+ fast-json-stable-stringify: 2.1.0
+ pretty-bytes: 5.6.0
+ upath: 1.2.0
+ webpack: 5.105.0
+ webpack-sources: 1.4.3
+ workbox-build: 7.1.0
+ transitivePeerDependencies:
+ - '@types/babel__core'
+ - supports-color
+
+ dependencies:
+ '@types/trusted-types': 2.0.7
+ workbox-core: 7.1.0
+
+
diff --git a/setup.sh b/setup.sh
new file mode 100755
index 0000000..a68a898
--- /dev/null
+++ b/setup.sh
@@ -0,0 +1,315 @@
+#!/bin/bash
+
+# Clash Master One-Click Setup Script
+# Automatically detects port conflicts and provides solutions
+
+set -e
+
+# Colors
+RED='\033[0;31m'
+GREEN='\033[0;32m'
+YELLOW='\033[1;33m'
+BLUE='\033[0;34m'
+NC='\033[0m' # No Color
+
+# Default ports
+DEFAULT_WEB_PORT=3000
+DEFAULT_API_PORT=3001
+DEFAULT_WS_PORT=3002
+
+# Current ports (will be modified)
+WEB_PORT=$DEFAULT_WEB_PORT
+API_PORT=$DEFAULT_API_PORT
+WS_PORT=$DEFAULT_WS_PORT
+
+# Print colored messages
+print_info() {
+ echo -e "${BLUE}[INFO]${NC} $1"
+}
+
+print_success() {
+ echo -e "${GREEN}[✓]${NC} $1"
+}
+
+print_warning() {
+ echo -e "${YELLOW}[!]${NC} $1"
+}
+
+print_error() {
+ echo -e "${RED}[✗]${NC} $1"
+}
+
+# Check if port is in use
+check_port() {
+ local port=$1
+ if lsof -Pi :$port -sTCP:LISTEN -t >/dev/null 2>&1; then
+ return 0 # Port in use
+ else
+ return 1 # Port available
+ fi
+}
+
+# Find available port
+find_available_port() {
+ local start_port=$1
+ local port=$start_port
+
+ while check_port $port; do
+ port=$((port + 1))
+ done
+
+ echo $port
+}
+
+# Show welcome message
+show_welcome() {
+ echo ""
+ echo "╔════════════════════════════════════════════════════════╗"
+ echo "║ Clash Master - One-Click Setup ║"
+ echo "╚════════════════════════════════════════════════════════╝"
+ echo ""
+ print_info "This script will help you quickly configure Clash Master"
+ echo ""
+}
+
+# Check port conflicts and ask user
+check_ports() {
+ print_info "Checking if default ports are available..."
+ echo ""
+
+ local conflict_found=false
+ local suggested_web=$DEFAULT_WEB_PORT
+ local suggested_api=$DEFAULT_API_PORT
+ local suggested_ws=$DEFAULT_WS_PORT
+
+ # Check each port
+ if check_port $DEFAULT_WEB_PORT; then
+ suggested_web=$(find_available_port $DEFAULT_WEB_PORT)
+ print_warning "Port $DEFAULT_WEB_PORT (Web UI) is already in use"
+ print_info " Suggested alternative: $suggested_web"
+ conflict_found=true
+ fi
+
+ if check_port $DEFAULT_API_PORT; then
+ suggested_api=$(find_available_port $DEFAULT_API_PORT)
+ print_warning "Port $DEFAULT_API_PORT (API) is already in use"
+ print_info " Suggested alternative: $suggested_api"
+ conflict_found=true
+ fi
+
+ if check_port $DEFAULT_WS_PORT; then
+ suggested_ws=$(find_available_port $DEFAULT_WS_PORT)
+ print_warning "Port $DEFAULT_WS_PORT (WebSocket) is already in use"
+ print_info " Suggested alternative: $suggested_ws"
+ conflict_found=true
+ fi
+
+ echo ""
+
+ if [ "$conflict_found" = true ]; then
+ print_warning "Port conflicts detected!"
+ echo ""
+ echo "Please choose an option:"
+ echo " 1) Use suggested ports ($suggested_web/$suggested_api/$suggested_ws)"
+ echo " 2) Enter custom ports manually"
+ echo " 3) Exit and configure manually later"
+ echo ""
+ read -p "Enter your choice [1-3]: " choice
+
+ case $choice in
+ 1)
+ WEB_PORT=$suggested_web
+ API_PORT=$suggested_api
+ WS_PORT=$suggested_ws
+ print_success "Using suggested ports"
+ ;;
+ 2)
+ echo ""
+ read -p "Web UI port [$suggested_web]: " input_web
+ read -p "API port [$suggested_api]: " input_api
+ read -p "WebSocket port [$suggested_ws]: " input_ws
+ WEB_PORT=${input_web:-$suggested_web}
+ API_PORT=${input_api:-$suggested_api}
+ WS_PORT=${input_ws:-$suggested_ws}
+ ;;
+ 3)
+ echo ""
+ print_info "You can manually configure later using one of these methods:"
+ echo " 1. Copy .env.example to .env and modify ports"
+ echo " 2. Edit docker-compose.yml directly"
+ echo ""
+ exit 0
+ ;;
+ *)
+ print_error "Invalid option"
+ exit 1
+ ;;
+ esac
+ else
+ print_success "All default ports are available"
+ fi
+
+ echo ""
+}
+
+# Create .env file
+create_env_file() {
+ print_info "Creating configuration file..."
+
+ cat > .env << EOF
+# =============================================================================
+# Clash Master Environment Configuration
+# =============================================================================
+# Generated at: $(date)
+
+# -----------------------------------------------------------------------------
+# Port Configuration (Change these if ports are already in use)
+# -----------------------------------------------------------------------------
+# These ports will be exposed on your host machine
+
+# Web UI access port (default: 3000)
+# Access the dashboard at http://your-host:WEB_EXTERNAL_PORT
+WEB_EXTERNAL_PORT=$WEB_PORT
+
+# API port (default: 3001)
+API_EXTERNAL_PORT=$API_PORT
+
+# WebSocket port (default: 3002)
+WS_EXTERNAL_PORT=$WS_PORT
+
+# -----------------------------------------------------------------------------
+# Advanced Configuration (Usually don't need to change)
+# -----------------------------------------------------------------------------
+# Internal ports used inside the container
+# WEB_PORT=3000
+# API_PORT=3001
+# COLLECTOR_WS_PORT=3002
+
+# Database path inside container
+# DB_PATH=/app/data/stats.db
+
+# Node environment
+# NODE_ENV=production
+
+# =============================================================================
+# After configuration, start the service with:
+# docker compose up -d
+#
+# Then access: http://localhost:$WEB_PORT
+# =============================================================================
+EOF
+
+ print_success "Configuration file created: .env"
+ echo ""
+}
+
+# Create data directory
+create_data_dir() {
+ if [ ! -d "./data" ]; then
+ mkdir -p ./data
+ print_success "Data directory created: ./data"
+ fi
+}
+
+# Show configuration summary
+show_summary() {
+ echo ""
+ echo "╔════════════════════════════════════════════════════════╗"
+ echo "║ Configuration Summary ║"
+ echo "╚════════════════════════════════════════════════════════╝"
+ echo ""
+ echo " Web UI Port: $WEB_PORT"
+ echo " API Port: $API_PORT"
+ echo " WebSocket Port: $WS_PORT"
+ echo ""
+ echo " Access URL:"
+ echo " http://localhost:$WEB_PORT"
+ echo ""
+ echo " Config file: .env"
+ echo ""
+}
+
+# Ask if user wants to start service
+ask_start() {
+ read -p "Start the service now? [Y/n]: " start_now
+ start_now=${start_now:-Y}
+
+ if [[ $start_now =~ ^[Yy]$ ]]; then
+ echo ""
+ print_info "Starting Clash Master..."
+ echo ""
+
+ if command -v docker-compose &> /dev/null; then
+ docker-compose up -d
+ else
+ docker compose up -d
+ fi
+
+ echo ""
+ print_success "Service started!"
+ echo ""
+ echo " Please wait 10-20 seconds for services to fully initialize"
+ echo " Then access: http://localhost:$WEB_PORT"
+ echo ""
+ echo " Common commands:"
+ echo " View logs: docker logs -f clash-master"
+ echo " Stop: docker compose down"
+ echo " Restart: docker compose restart"
+ echo ""
+ else
+ echo ""
+ print_info "Configuration complete. Start later with:"
+ echo " docker compose up -d"
+ echo ""
+ fi
+}
+
+# Main function
+main() {
+ show_welcome
+
+ # Check if Docker is installed
+ if ! command -v docker &> /dev/null; then
+ print_error "Docker is not installed"
+ echo ""
+ echo "Please install Docker first:"
+ echo " https://docs.docker.com/get-docker/"
+ echo ""
+ exit 1
+ fi
+
+ # Check docker-compose
+ if ! command -v docker-compose &> /dev/null && ! docker compose version &> /dev/null; then
+ print_error "Docker Compose is not installed"
+ echo ""
+ exit 1
+ fi
+
+ # Check if .env already exists
+ if [ -f ".env" ]; then
+ print_warning "Existing .env file detected"
+ read -p "Reconfigure? [y/N]: " reconfig
+ if [[ ! $reconfig =~ ^[Yy]$ ]]; then
+ print_info "Using existing configuration"
+ show_summary
+ ask_start
+ exit 0
+ fi
+ fi
+
+ # Check ports
+ check_ports
+
+ # Create configuration
+ create_env_file
+ create_data_dir
+
+ # Show summary
+ show_summary
+
+ # Ask to start
+ ask_start
+}
+
+# Run main function
+main